Home
last modified time | relevance | path

Searched refs:A (Results 1 – 25 of 540) sorted by relevance

12345678910>>...22

/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dtype_operators.h27 template <typename A, typename B>
28 using IsEquivalent = typename std::is_same<Decay<A>, Decay<B>>::type;
33 template <typename A, typename B>
34 struct And<A, B> : std::integral_constant<bool, A::value && B::value> {};
35 template <typename A, typename B, typename... Rest>
36 struct And<A, B, Rest...> : And<A, And<B, Rest...>> {};
52 template <typename A, typename B>
53 struct IsConvertible : IsEquivalent<A, B> {};
57 template <template <typename, typename...> class TT, typename A, typename B,
59 struct IsConvertible<TT<A, AnyA...>, TT<B, AnyB...>>
[all …]
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledLambda.java179 static <A> PooledRunnable obtainRunnable( in obtainRunnable()
180 Consumer<? super A> function, in obtainRunnable()
181 A arg1) { in obtainRunnable()
196 static <A> PooledSupplier<Boolean> obtainSupplier( in obtainSupplier()
197 Predicate<? super A> function, in obtainSupplier()
198 A arg1) { in obtainSupplier()
213 static <A, R> PooledSupplier<R> obtainSupplier( in obtainSupplier()
214 Function<? super A, ? extends R> function, in obtainSupplier() argument
215 A arg1) { in obtainSupplier()
243 static <A> Message obtainMessage( in obtainMessage()
[all …]
DOmniFunction.java46 abstract class OmniFunction<A, B, C, D, E, F, G, H, I, R> implements
47 PooledFunction<A, R>, BiFunction<A, B, R>, TriFunction<A, B, C, R>,
48 QuadFunction<A, B, C, D, R>, QuintFunction<A, B, C, D, E, R>,
49 HexFunction<A, B, C, D, E, F, R>, HeptFunction<A, B, C, D, E, F, G, R>,
50 OctFunction<A, B, C, D, E, F, G, H, R>, NonaFunction<A, B, C, D, E, F, G, H, I, R>,
51 PooledConsumer<A>, BiConsumer<A, B>, TriConsumer<A, B, C>, QuadConsumer<A, B, C, D>,
52 QuintConsumer<A, B, C, D, E>, HexConsumer<A, B, C, D, E, F>,
53 HeptConsumer<A, B, C, D, E, F, G>, OctConsumer<A, B, C, D, E, F, G, H>,
54 NonaConsumer<A, B, C, D, E, F, G, H, I>, PooledPredicate<A>, BiPredicate<A, B>,
58 abstract R invoke(A a, B b, C c, D d, E e, F f, G g, H h, I i); in invoke()
[all …]
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicBLAS.java275 …static void validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocation Y… in validateGEMV() argument
277 int M = A.getType().getY(); in validateGEMV()
278 int N = A.getType().getX(); in validateGEMV()
279 if (!A.getType().getElement().isCompatible(e) || in validateGEMV()
320 …public void SGEMV(@Transpose int TransA, float alpha, Allocation A, Allocation X, int incX, float … in SGEMV() argument
321 validateGEMV(Element.F32(mRS), TransA, A, X, incX, Y, incY); in SGEMV() local
322 int M = A.getType().getY(); in SGEMV()
323 int N = A.getType().getX(); in SGEMV()
324 …icBLAS_Single(getID(mRS), RsBlas_sgemv, TransA, 0, 0, 0, 0, M, N, 0, alpha, A.getID(mRS), X.getID(… in SGEMV()
342 …public void DGEMV(@Transpose int TransA, double alpha, Allocation A, Allocation X, int incX, doubl… in DGEMV() argument
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBLAS.cpp65 void** A, in initABC() argument
73 *A = ain[0]->mHal.drvState.lod[0].mallocPtr; in initABC()
150 void *A = nullptr; in walk_tiled_gemm() local
161 initABC(ain, sizeof(T_data) * vecSize, &A, &B, &C, &lda, &ldb, &ldc); in walk_tiled_gemm()
185 (T_data *)A + mStart * mStride * vecSize, lda, in walk_tiled_gemm()
251 void *A = nullptr; in invokeForEach() local
279 initABC(ain, sizeof(float), &A, &X, &Y, &lda, &ldb, &ldc); in invokeForEach()
280 cblas_sgemv(CblasRowMajor, TransA, call->M, call->N, call->alpha.f, (float*)A, in invokeForEach()
284 initABC(ain, sizeof(float), &A, &X, &Y, &lda, &ldb, &ldc); in invokeForEach()
286 call->alpha.f, (float*)A, lda, (float*)X, call->incX, in invokeForEach()
[all …]
DrsCpuBLASDispatch.h26 const float alpha, const float *A, const int lda,
32 const float *A, const int lda, const float *X,
36 const int N, const float *A, const int lda,
40 const int N, const int K, const float *A, const int lda,
47 const int N, const float *A, const int lda, float *X,
51 const int N, const int K, const float *A, const int lda,
59 const double alpha, const double *A, const int lda,
65 const double *A, const int lda, const double *X,
69 const int N, const double *A, const int lda,
73 const int N, const int K, const double *A, const int lda,
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptIntrinsicBLAS.java282 …static void validateGEMV(Element e, int TransA, Allocation A, Allocation X, int incX, Allocation Y…
284 int M = A.getType().getY();
285 int N = A.getType().getX();
286 if (!A.getType().getElement().isCompatible(e) ||
327 …public void SGEMV(@Transpose int TransA, float alpha, Allocation A, Allocation X, int incX, float … in SGEMV() argument
328 validateGEMV(Element.F32(mRS), TransA, A, X, incX, Y, incY); in SGEMV() local
329 int M = A.getType().getY(); in SGEMV()
330 int N = A.getType().getX(); in SGEMV()
333 long aID = A.getID(mRS); in SGEMV()
337 aID = getDummyAlloc(A); in SGEMV()
[all …]
/frameworks/rs/cpp/
DScriptIntrinsicBLAS.cpp109 float alpha, RsAllocation A, RsAllocation B, in nScriptIntrinsicBLAS_Single() argument
114 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Single()
123 double alpha, RsAllocation A, RsAllocation B, in nScriptIntrinsicBLAS_Double() argument
128 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Double()
136 float alphaX, float alphaY, RsAllocation A, RsAllocation B, in nScriptIntrinsicBLAS_Complex() argument
141 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Complex()
149 double alphaX, double alphaY, RsAllocation A, RsAllocation B, in nScriptIntrinsicBLAS_Z() argument
154 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Z()
162 RsAllocation A, int a_offset, RsAllocation B, int b_offset, in nScriptIntrinsicBLAS_BNNM() argument
175 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_BNNM()
[all …]
/frameworks/compile/slang/tests/P_warnings_rsSetElementAt/
Dsetelementat.rscript4 rs_allocation A;
21 rsSetElementAt(A, &a, 0, 0);
22 rsSetElementAt(A, &d, 0, 0);
23 rsSetElementAt(A, &a2, 0, 0);
24 rsSetElementAt(A, &a3, 0, 0);
25 rsSetElementAt(A, &a4, 0, 0);
26 rsSetElementAt(A, &c, 0, 0);
27 rsSetElementAt(A, &uc, 0, 0);
28 rsSetElementAt(A, &s, 0, 0);
29 rsSetElementAt(A, &us, 0, 0);
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DSignatureTest.java27 …private static final Signature A = new Signature("308201D33082013CA0030201020219373565373461363A31… field in SignatureTest
34 assertTrue(Signature.areExactMatch(asArray(A), asArray(A))); in testExactlyEqual()
37 assertFalse(Signature.areExactMatch(asArray(A), asArray(B))); in testExactlyEqual()
38 assertFalse(Signature.areExactMatch(asArray(A), asArray(M))); in testExactlyEqual()
39 assertFalse(Signature.areExactMatch(asArray(M), asArray(A))); in testExactlyEqual()
41 assertTrue(Signature.areExactMatch(asArray(A, M), asArray(M, A))); in testExactlyEqual()
45 assertTrue(Signature.areEffectiveMatch(asArray(A), asArray(A))); in testEffectiveMatch()
48 assertFalse(Signature.areEffectiveMatch(asArray(A), asArray(B))); in testEffectiveMatch()
49 assertTrue(Signature.areEffectiveMatch(asArray(A), asArray(M))); in testEffectiveMatch()
50 assertTrue(Signature.areEffectiveMatch(asArray(M), asArray(A))); in testEffectiveMatch()
[all …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DArrayUtilsTest.java30 final Object A = new Object(); in testContains() local
35 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, A)); in testContains()
36 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, B)); in testContains()
37 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, C)); in testContains()
38 assertTrue(ArrayUtils.contains(new Object[] { A, null, C }, null)); in testContains()
40 assertFalse(ArrayUtils.contains(new Object[] { A, B, C }, null)); in testContains()
42 assertFalse(ArrayUtils.contains(new Object[] { null }, A)); in testContains()
46 final Object A = new Object(); in testIndexOf() local
51 assertEquals(0, ArrayUtils.indexOf(new Object[] { A, B, C }, A)); in testIndexOf()
52 assertEquals(1, ArrayUtils.indexOf(new Object[] { A, B, C }, B)); in testIndexOf()
[all …]
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/
DRollbackTest.java107 Uninstall.packages(TestApp.A); in testBasic()
108 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(-1); in testBasic()
115 rm.getRecentlyCommittedRollbacks(), TestApp.A); in testBasic()
123 waitForUnavailableRollback(TestApp.A); in testBasic()
127 rm.getRecentlyCommittedRollbacks(), TestApp.A)).isNull(); in testBasic()
131 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(1); in testBasic()
135 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(2); in testBasic()
138 RollbackInfo available = waitForAvailableRollback(TestApp.A); in testBasic()
150 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(1); in testBasic()
161 rm.getRecentlyCommittedRollbacks(), TestApp.A); in testBasic()
[all …]
DStagedRollbackTest.java96 Uninstall.packages(TestApp.A); in testBadApkOnlyEnableRollback()
97 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(-1); in testBadApkOnlyEnableRollback()
100 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(1); in testBadApkOnlyEnableRollback()
101 InstallUtils.processUserData(TestApp.A); in testBadApkOnlyEnableRollback()
115 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(2); in testBadApkOnlyConfirmEnableRollback()
116 InstallUtils.processUserData(TestApp.A); in testBadApkOnlyConfirmEnableRollback()
120 rm.getAvailableRollbacks(), TestApp.A); in testBadApkOnlyConfirmEnableRollback()
138 RollbackUtils.sendCrashBroadcast(TestApp.A, 5); in testBadApkOnlyTriggerRollback()
154 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(1); in testBadApkOnlyConfirmRollback()
155 InstallUtils.processUserData(TestApp.A); in testBadApkOnlyConfirmRollback()
[all …]
DMultiUserRollbackTest.java68 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(-1); in testMultipleUsersInstallV1()
70 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(1); in testMultipleUsersInstallV1()
71 InstallUtils.processUserData(TestApp.A); in testMultipleUsersInstallV1()
81 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(1); in testMultipleUsersUpgradeToV2()
83 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(2); in testMultipleUsersUpgradeToV2()
85 rm.getAvailableRollbacks(), TestApp.A); in testMultipleUsersUpgradeToV2()
97 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(2); in testMultipleUsersUpdateUserData()
98 InstallUtils.processUserData(TestApp.A); in testMultipleUsersUpdateUserData()
108 assertThat(InstallUtils.getInstalledVersion(TestApp.A)).isEqualTo(1); in testMultipleUsersVerifyUserdataRollback()
109 InstallUtils.processUserData(TestApp.A); in testMultipleUsersVerifyUserdataRollback()
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DLVM_Macros.h31 #define MUL32x32INTO32(A,B,C,ShiftR) \ argument
36 MUL32x32INTO32_HH= ((LVM_INT32)((LVM_INT16)((A)>>16))*((LVM_INT16)((B)>>16)) );\
37 MUL32x32INTO32_HL= ((LVM_INT32)((B)&MUL32x32INTO32_mask)*((LVM_INT16)((A)>>16))) ;\
38 MUL32x32INTO32_LH= ((LVM_INT32)((A)&MUL32x32INTO32_mask)*((LVM_INT16)((B)>>16)));\
39 … MUL32x32INTO32_LL= (LVM_INT32)((A)&MUL32x32INTO32_mask)*(LVM_INT32)((B)&MUL32x32INTO32_mask);\
68 #define MUL32x16INTO32(A,B,C,ShiftR) \ argument
73 MUL32x16INTO32_HH= ((LVM_INT32)(B)*((LVM_INT16)((A)>>16)));\
74 MUL32x16INTO32_LL= ((LVM_INT32)((A)&MUL32x16INTO32_mask)*(B));\
94 #define ADD2_SAT_32x32(A,B,C) \ argument
95 {(C)=(A)+(B);\
[all …]
/frameworks/base/cmds/incident_helper/testdata/
Dcpufreq.txt4 748800 N/A N/A 10547 10547
5 768000 22652 22652 N/A N/A
6 825600 N/A N/A 13173 13173
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_foreach.java26 private Allocation A; field in UT_foreach
39 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
40 s.set_aRaw(A); in initializeGlobals()
49 s.forEach_root(A); in run()
51 s.forEach_foo(A, A); in run()
55 A.getType().destroy(); in run()
56 A.destroy(); in run()
DUT_foreach_bounds.java27 private Allocation A; field in UT_foreach_bounds
44 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
45 s.set_aRaw(A); in initializeGlobals()
47 s.set_ain(A); in initializeGlobals()
48 s.set_aout(A); in initializeGlobals()
53 s.forEach_zero(A); in initializeGlobals()
57 s.forEach_root(A, sc); in initializeGlobals()
69 A.getType().destroy(); in run()
70 A.destroy(); in run()
DUT_noroot.java26 private Allocation A; field in UT_noroot
39 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
40 s.set_aRaw(A); in initializeGlobals()
49 s.forEach_foo(A, A); in run()
53 A.getType().destroy(); in run()
54 A.destroy(); in run()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_foreach.java28 private Allocation A; field in UT_foreach
41 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
42 s.set_aRaw(A); in initializeGlobals()
51 s.forEach_root(A); in run()
53 s.forEach_foo(A, A); in run()
57 A.getType().destroy(); in run()
58 A.destroy(); in run()
DUT_foreach_bounds.java29 private Allocation A; field in UT_foreach_bounds
46 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
47 s.set_aRaw(A); in initializeGlobals()
49 s.set_ain(A); in initializeGlobals()
50 s.set_aout(A); in initializeGlobals()
55 s.forEach_zero(A); in initializeGlobals()
59 s.forEach_root(A, sc); in initializeGlobals()
71 A.getType().destroy(); in run()
72 A.destroy(); in run()
DUT_noroot.java28 private Allocation A; field in UT_noroot
41 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
42 s.set_aRaw(A); in initializeGlobals()
51 s.forEach_foo(A, A); in run()
55 A.getType().destroy(); in run()
56 A.destroy(); in run()
/frameworks/base/tools/hiddenapi/
Dsort_api.sh11 readarray A < "$source_list"
16 A=( $(grep -v -E '^#' <<< "${A[*]}" || :) )
18 A=( $(LC_COLLATE=C sort -f <<< "${A[*]}") )
19 A=( $(uniq <<< "${A[*]}") )
21 A=( ${C[*]} ${A[*]} )
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocator.cpp64 Relocation::DWord A() const { return m_Addend; } in A() function in mcld::MipsRelocationInfo
298 .reserveLocalEntry(*rsym, pReloc.type(), pReloc.A())) { in scanLocalReloc()
680 value += pReloc.A(); in getGOTOffset()
695 Relocator::DWord A = pReloc.A(); in createDynRel() local
703 pReloc.result() = A; in createDynRel()
706 pReloc.result() = A + S; in createDynRel()
715 return pHiReloc.A(); in calcAHL()
720 uint64_t AHI = pHiReloc.A() & 0xFFFF; in calcAHL()
721 uint64_t ALO = m_CurrentLo16Reloc->A() & 0xFFFF; in calcAHL()
847 Relocator::DWord A = pReloc.A(); in abs32() local
[all …]
/frameworks/av/media/libaudioprocessing/
DAudioResamplerFirGen.h221 inline double Poly2(double A, double B, double x) {
222 return A + x * B;
225 inline double Poly4(double A, double B, double C, double D, double x) {
226 return A + x * (B + x * (C + x * (D)));
229 inline double Poly7(double A, double B, double C, double D, double E, double F, double G,
231 return A + x * (B + x * (C + x * (D + x * (E + x * (F + x * (G))))));
234 inline double Poly9(double A, double B, double C, double D, double E, double F, double G,
236 return A + x * (B + x * (C + x * (D + x * (E + x * (F + x * (G + x * (H + x * (I))))))));
247 inline double Poly2(double A, double B, double x) {
248 return A + B * x;
[all …]

12345678910>>...22