Home
last modified time | relevance | path

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

12345678910>>...41

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBLAS.cpp72 void** A, in initABC() argument
80 *A = ain[0]->mHal.drvState.lod[0].mallocPtr; in initABC()
110 void *A = nullptr; in invokeForEach() local
136 initABC(ain, sizeof(float), &A, &X, &Y, &lda, &ldb, &ldc); in invokeForEach()
137 cblas_sgemv(CblasRowMajor, TransA, call->M, call->N, call->alpha.f, (float*)A, in invokeForEach()
141 initABC(ain, sizeof(float), &A, &X, &Y, &lda, &ldb, &ldc); in invokeForEach()
143 call->alpha.f, (float*)A, lda, (float*)X, call->incX, in invokeForEach()
147 initABC(ain, sizeof(float), &A, &X, nullptr, &lda, &ldb, nullptr); in invokeForEach()
148 cblas_strmv(CblasRowMajor, Uplo, TransA, Diag, call->N, (float*)A, in invokeForEach()
152 initABC(ain, sizeof(float), &A, &X, nullptr, &lda, &ldb, nullptr); in invokeForEach()
[all …]
DrsCpuBLASDispatch.h23 const float alpha, const float *A, const int lda,
29 const float *A, const int lda, const float *X,
33 const int N, const float *A, const int lda,
37 const int N, const int K, const float *A, const int lda,
44 const int N, const float *A, const int lda, float *X,
48 const int N, const int K, const float *A, const int lda,
56 const double alpha, const double *A, const int lda,
62 const double *A, const int lda, const double *X,
66 const int N, const double *A, const int lda,
70 const int N, const int K, const double *A, const int lda,
[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/support/v8/renderscript/java/src/android/support/v8/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.cpp103 float alpha, RsAllocation A, RsAllocation B, in nScriptIntrinsicBLAS_Single() argument
108 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Single()
117 double alpha, RsAllocation A, RsAllocation B, in nScriptIntrinsicBLAS_Double() argument
122 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Double()
130 float alphaX, float alphaY, RsAllocation A, RsAllocation B, in nScriptIntrinsicBLAS_Complex() argument
135 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Complex()
143 double alphaX, double alphaY, RsAllocation A, RsAllocation B, in nScriptIntrinsicBLAS_Z() argument
148 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Z()
156 RsAllocation A, int a_offset, RsAllocation B, int b_offset, in nScriptIntrinsicBLAS_BNNM() argument
169 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_BNNM()
[all …]
/frameworks/compile/slang/tests/P_warnings_rsSetElementAt/
Dsetelementat.rs4 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.java24 …private static final Signature A = new Signature("308201D33082013CA0030201020219373565373461363A31… field in SignatureTest
31 assertTrue(Signature.areExactMatch(asArray(A), asArray(A))); in testExactlyEqual()
34 assertFalse(Signature.areExactMatch(asArray(A), asArray(B))); in testExactlyEqual()
35 assertFalse(Signature.areExactMatch(asArray(A), asArray(M))); in testExactlyEqual()
36 assertFalse(Signature.areExactMatch(asArray(M), asArray(A))); in testExactlyEqual()
38 assertTrue(Signature.areExactMatch(asArray(A, M), asArray(M, A))); in testExactlyEqual()
42 assertTrue(Signature.areEffectiveMatch(asArray(A), asArray(A))); in testEffectiveMatch()
45 assertFalse(Signature.areEffectiveMatch(asArray(A), asArray(B))); in testEffectiveMatch()
46 assertTrue(Signature.areEffectiveMatch(asArray(A), asArray(M))); in testEffectiveMatch()
47 assertTrue(Signature.areEffectiveMatch(asArray(M), asArray(A))); in testEffectiveMatch()
[all …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DArrayUtilsTest.java29 final Object A = new Object(); in testContains() local
34 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, A)); in testContains()
35 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, B)); in testContains()
36 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, C)); in testContains()
37 assertTrue(ArrayUtils.contains(new Object[] { A, null, C }, null)); in testContains()
39 assertFalse(ArrayUtils.contains(new Object[] { A, B, C }, null)); in testContains()
41 assertFalse(ArrayUtils.contains(new Object[] { null }, A)); in testContains()
45 final Object A = new Object(); in testIndexOf() local
50 assertEquals(0, ArrayUtils.indexOf(new Object[] { A, B, C }, A)); in testIndexOf()
51 assertEquals(1, ArrayUtils.indexOf(new Object[] { A, B, C }, B)); in testIndexOf()
[all …]
/frameworks/native/include/ui/
Dvec4.h74 template<typename A>
75 tvec4(A v) : x(v), y(v), z(v), w(v) { } in tvec4()
77 template<typename A, typename B, typename C, typename D>
78 tvec4(A x, B y, C z, D w) : x(x), y(y), z(z), w(w) { } in tvec4()
80 template<typename A, typename B, typename C>
81 tvec4(const tvec2<A>& v, B z, C w) : x(v.x), y(v.y), z(z), w(w) { } in tvec4()
83 template<typename A, typename B>
84 tvec4(const tvec3<A>& v, B w) : x(v.x), y(v.y), z(v.z), w(w) { } in tvec4()
86 template<typename A>
87 explicit tvec4(const tvec4<A>& v) : x(v.x), y(v.y), z(v.z), w(v.w) { } in tvec4()
[all …]
Dvec3.h70 template<typename A>
71 tvec3(A v) : x(v), y(v), z(v) { } in tvec3()
73 template<typename A, typename B, typename C>
74 tvec3(A x, B y, C z) : x(x), y(y), z(z) { } in tvec3()
76 template<typename A, typename B>
77 tvec3(const tvec2<A>& v, B z) : x(v.x), y(v.y), z(z) { } in tvec3()
79 template<typename A>
80 explicit tvec3(const tvec3<A>& v) : x(v.x), y(v.y), z(v.z) { } in tvec3()
82 template<typename A>
83 tvec3(const Impersonator< tvec3<A> >& v) in tvec3()
[all …]
Dvec2.h69 template<typename A>
70 tvec2(A v) : x(v), y(v) { } in tvec2()
72 template<typename A, typename B>
73 tvec2(A x, B y) : x(x), y(y) { } in tvec2()
75 template<typename A>
76 explicit tvec2(const tvec2<A>& v) : x(v.x), y(v.y) { } in tvec2()
78 template<typename A>
79 tvec2(const Impersonator< tvec2<A> >& v) in tvec2()
80 : x(((const tvec2<A>&)v).x), in tvec2()
81 y(((const tvec2<A>&)v).y) { } in tvec2()
Dmat4.h112 template <typename A, typename B, typename C, typename D>
113 tmat44(const tvec4<A>& v0, const tvec4<B>& v1, const tvec4<C>& v2, const tvec4<D>& v3);
117 typename A, typename B, typename C, typename D,
121 tmat44( A m00, B m01, C m02, D m03,
138 template <typename A, typename B, typename C>
139 static tmat44 lookAt(const tvec3<A>& eye, const tvec3<B>& center, const tvec3<C>& up);
141 template <typename A>
142 static tmat44 translate(const tvec4<A>& t);
144 template <typename A>
145 static tmat44 scale(const tvec4<A>& s);
[all …]
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DLVM_Macros.h36 #define MUL32x32INTO32(A,B,C,ShiftR) \ argument
41 MUL32x32INTO32_HH= ((LVM_INT32)((LVM_INT16)((A)>>16))*((LVM_INT16)((B)>>16)) );\
42 MUL32x32INTO32_HL= ((LVM_INT32)((B)&MUL32x32INTO32_mask)*((LVM_INT16)((A)>>16))) ;\
43 MUL32x32INTO32_LH= ((LVM_INT32)((A)&MUL32x32INTO32_mask)*((LVM_INT16)((B)>>16)));\
44 … MUL32x32INTO32_LL= (LVM_INT32)((A)&MUL32x32INTO32_mask)*(LVM_INT32)((B)&MUL32x32INTO32_mask);\
75 #define MUL32x16INTO32(A,B,C,ShiftR) \ argument
80 MUL32x16INTO32_HH= ((LVM_INT32)(B)*((LVM_INT16)((A)>>16)));\
81 MUL32x16INTO32_LL= ((LVM_INT32)((A)&MUL32x16INTO32_mask)*(B));\
103 #define ADD2_SAT_32x32(A,B,C) \ argument
104 {(C)=(A)+(B);\
[all …]
/frameworks/av/media/libeffects/lvm/lib/Common/src/
DLVM_Polynomial.c49 LVM_INT32 Y,A,XTemp,Temp,sign; in LVM_Polynomial() local
72 A=*pCoefficients; in LVM_Polynomial()
75 MUL32x32INTO32(A,XTemp,Temp,31) in LVM_Polynomial()
82 A=*pCoefficients; in LVM_Polynomial()
85 if(A<0) in LVM_Polynomial()
87 A=Abs_32(A); in LVM_Polynomial()
88 Y=Y>>A; in LVM_Polynomial()
92 Y = Y<<A; in LVM_Polynomial()
/frameworks/av/services/audioflinger/
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 …]
/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/rs/scriptc/
Drs_value_types.rsh97 * A 16 bit floating point value.
143 * A 16 bit signed integer type.
150 * A 32 bit signed integer type.
157 * A 64 bit signed integer type.
177 * A 16 bit unsigned integer type.
184 * A 32 bit unsigned integer type.
191 * A 64 bit unsigned integer type.
211 * A 16 bit unsigned integer type.
218 * A 32 bit unsigned integer type.
225 * A 64 bit unsigned integer type.
[all …]
Drs_object_types.rsh139 RS_TYPE_FLOAT_16 = 1, // A 16 bit floating point value.
140 RS_TYPE_FLOAT_32 = 2, // A 32 bit floating point value.
141 RS_TYPE_FLOAT_64 = 3, // A 64 bit floating point value.
143 RS_TYPE_SIGNED_16 = 5, // A 16 bit signed integer.
144 RS_TYPE_SIGNED_32 = 6, // A 32 bit signed integer.
145 RS_TYPE_SIGNED_64 = 7, // A 64 bit signed integer.
147 RS_TYPE_UNSIGNED_16 = 9, // A 16 bit unsigned integer.
148 RS_TYPE_UNSIGNED_32 = 10, // A 32 bit unsigned integer.
149 RS_TYPE_UNSIGNED_64 = 11, // A 64 bit unsigned integer.
151 …RS_TYPE_UNSIGNED_5_6_5 = 13, // A 16 bit unsigned integer packing graphical data in 5, 6, and 5 bi…
[all …]
/frameworks/compile/slang/
Dlegacy_bitcode.h20 static inline uint64_t encodeLLVMAttributesForBitcode(llvm::AttributeSet A, in encodeLLVMAttributesForBitcode() argument
22 uint64_t EncodedAttrs = A.Raw(i) & 0xffff; in encodeLLVMAttributesForBitcode()
23 if (A.hasAttribute(i, llvm::Attribute::Alignment)) { in encodeLLVMAttributesForBitcode()
26 EncodedAttrs |= (A.getParamAlignment(i) << 16); in encodeLLVMAttributesForBitcode()
29 EncodedAttrs |= (A.Raw(i) & (0xfffull << 21)) << 11; in encodeLLVMAttributesForBitcode()
/frameworks/av/media/libstagefright/foundation/
DAHierarchicalStateMachine.cpp80 Vector<sp<AState> > A; in changeState() local
83 A.push(cur); in changeState()
101 while (A.size() > 0 && B.size() > 0 && A.top() == B.top()) { in changeState()
102 A.pop(); in changeState()
108 for (size_t i = 0; i < A.size(); ++i) { in changeState()
109 A.editItemAt(i)->stateExited(); in changeState()
/frameworks/base/core/java/com/android/internal/util/
DCallbackRegistry.java42 public class CallbackRegistry<C, T, A> implements Cloneable {
71 private final NotifierCallback<C, T, A> mNotifier;
77 public CallbackRegistry(NotifierCallback<C, T, A> notifier) { in CallbackRegistry()
91 public synchronized void notifyCallbacks(T sender, int arg, A arg2) { in notifyCallbacks()
122 private void notifyFirst64Locked(T sender, int arg, A arg2) { in notifyFirst64Locked()
142 private void notifyRecurseLocked(T sender, int arg, A arg2) { in notifyRecurseLocked()
170 private void notifyRemainderLocked(T sender, int arg, A arg2, int remainderIndex) { in notifyRemainderLocked()
199 private void notifyCallbacksLocked(T sender, int arg, A arg2, final int startIndex, in notifyCallbacksLocked()
355 public synchronized CallbackRegistry<C, T, A> clone() { in clone()
356 CallbackRegistry<C, T, A> clone = null; in clone()
[all …]
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
DCallbackRegistry.java44 public class CallbackRegistry<C, T, A> implements Cloneable {
69 private final NotifierCallback<C, T, A> mNotifier;
75 public CallbackRegistry(NotifierCallback<C, T, A> notifier) { in CallbackRegistry()
89 public synchronized void notifyCallbacks(T sender, int arg, A arg2) { in notifyCallbacks()
120 private void notifyFirst64(T sender, int arg, A arg2) { in notifyFirst64()
139 private void notifyRecurse(T sender, int arg, A arg2) { in notifyRecurse()
167 private void notifyRemainder(T sender, int arg, A arg2, int remainderIndex) { in notifyRemainder()
196 private void notifyCallbacks(T sender, int arg, A arg2, final int startIndex, in notifyCallbacks()
373 public synchronized CallbackRegistry<C, T, A> clone() { in clone()
374 CallbackRegistry<C, T, A> clone = null; in clone()
[all …]
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
DUT_foreach_bounds.java25 private Allocation A; field in UT_foreach_bounds
43 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
44 s.set_aRaw(A); in initializeGlobals()
46 s.set_ain(A); in initializeGlobals()
47 s.set_aout(A); in initializeGlobals()
52 s.forEach_zero(A); in initializeGlobals()
56 s.forEach_root(A, sc); in initializeGlobals()
DUT_foreach.java25 private Allocation A; field in UT_foreach
39 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
40 s.set_aRaw(A); in initializeGlobals()
50 s.forEach_root(A); in run()
52 s.forEach_foo(A, A); in run()
/frameworks/rs/java/tests/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_foreach.java25 private Allocation A; field in UT_foreach
39 A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
40 s.set_aRaw(A); in initializeGlobals()
50 s.forEach_root(A); in run()
52 s.forEach_foo(A, A); in run()

12345678910>>...41