Home
last modified time | relevance | path

Searched refs:C (Results 1 – 25 of 1632) sorted by relevance

12345678910>>...66

/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledLambda.java362 static <A, B, C> PooledPredicate<A> obtainPredicate( in obtainPredicate()
363 TriPredicate<? super A, ? super B, ? super C> function, in obtainPredicate()
364 ArgumentPlaceholder<A> arg1, B arg2, C arg3) { in obtainPredicate()
382 static <A, B, C, D> PooledPredicate<A> obtainPredicate( in obtainPredicate()
383 QuadPredicate<? super A, ? super B, ? super C, ? super D> function, in obtainPredicate() argument
384 ArgumentPlaceholder<A> arg1, B arg2, C arg3, D arg4) { in obtainPredicate()
403 static <A, B, C, D, E> PooledPredicate<A> obtainPredicate( in obtainPredicate()
404 QuintPredicate<? super A, ? super B, ? super C, ? super D, ? super E> function, in obtainPredicate() argument
405 ArgumentPlaceholder<A> arg1, B arg2, C arg3, D arg4, E arg5) { in obtainPredicate()
528 static <A, B, C> PooledRunnable obtainRunnable( in obtainRunnable()
[all …]
DOmniFunction.java53 abstract class OmniFunction<A, B, C, D, E, F, G, H, I, J, K, R> implements
54 PooledFunction<A, R>, BiFunction<A, B, R>, TriFunction<A, B, C, R>,
55 QuadFunction<A, B, C, D, R>, QuintFunction<A, B, C, D, E, R>,
56 HexFunction<A, B, C, D, E, F, R>, HeptFunction<A, B, C, D, E, F, G, R>,
57 OctFunction<A, B, C, D, E, F, G, H, R>, NonaFunction<A, B, C, D, E, F, G, H, I, R>,
58 DecFunction<A, B, C, D, E, F, G, H, I, J, R>,
59 UndecFunction<A, B, C, D, E, F, G, H, I, J, K, R>,
60 PooledConsumer<A>, BiConsumer<A, B>, TriConsumer<A, B, C>, QuadConsumer<A, B, C, D>,
61 QuintConsumer<A, B, C, D, E>, HexConsumer<A, B, C, D, E, F>,
62 HeptConsumer<A, B, C, D, E, F, G>, OctConsumer<A, B, C, D, E, F, G, H>,
[all …]
/frameworks/native/services/sensorservice/
Dmat.h27 template <typename TYPE, size_t C, size_t R>
32 template <typename TYPE, size_t C, size_t R>
33 mat<TYPE, C, R>& doAssign( in doAssign() argument
34 mat<TYPE, C, R>& lhs, in doAssign()
36 for (size_t i=0 ; i<C ; i++) in doAssign()
42 template <typename TYPE, size_t C, size_t R, size_t D>
43 mat<TYPE, C, R> PURE doMul( in doMul() argument
45 const mat<TYPE, C, D>& rhs) in doMul()
47 mat<TYPE, C, R> res; in doMul()
48 for (size_t c=0 ; c<C ; c++) { in doMul()
[all …]
/frameworks/compile/slang/
Dslang_rs_object_ref_count.cpp42 void RSObjectRefCount::GetRSRefCountingFunctions(clang::ASTContext &C) { in GetRSRefCountingFunctions() argument
48 clang::TranslationUnitDecl *TUDecl = C.getTranslationUnitDecl(); in GetRSRefCountingFunctions()
96 clang::Stmt *CreateSingleRSSetObject(clang::ASTContext &C,
103 clang::CompoundStmt* BuildCompoundStmt(clang::ASTContext &C, in BuildCompoundStmt() argument
118 clang::CompoundStmt *CS = new(C) clang::CompoundStmt( in BuildCompoundStmt()
119 C, llvm::makeArrayRef(CompoundStmtList, CompoundStmtCount), Loc, Loc); in BuildCompoundStmt()
126 void AppendAfterStmt(clang::ASTContext &C, in AppendAfterStmt() argument
171 CS->setStmts(C, llvm::makeArrayRef(UpdatedStmtList, UpdatedStmtCount)); in AppendAfterStmt()
264 clang::Expr *ClearSingleRSObject(clang::ASTContext &C, in ClearSingleRSObject() argument
290 new(C) clang::UnaryOperator(RefRSVar, in ClearSingleRSObject()
[all …]
Dslang_rs_object_ref_count.h92 void InsertStmt(const clang::ASTContext &C, clang::Stmt *NewStmt);
95 void ReplaceStmt(const clang::ASTContext &C, clang::Stmt *NewStmt);
98 void ReplaceExpr(const clang::ASTContext& C, clang::Expr* OldExpr,
127 static void GetRSRefCountingFunctions(clang::ASTContext &C);
142 clang::ASTContext &C,
151 clang::ASTContext& C,
157 explicit RSObjectRefCount(clang::ASTContext &C) in RSObjectRefCount() argument
158 : mCtx(C), RSInitFD(false), mTempID(0) { in RSObjectRefCount()
220 static clang::DeclRefExpr *CreateGuard(clang::ASTContext &C,
272 clang::ASTContext &C,
/frameworks/av/media/libeffects/lvm/lib/Common/lib/
DLVM_Macros.h31 #define MUL32x32INTO32(A,B,C,ShiftR) \ argument
54 (C) = MUL32x32INTO32_temp2;\
68 #define MUL32x16INTO32(A,B,C,ShiftR) \ argument
78 (C)=MUL32x16INTO32_HH+(LVM_INT32)(MUL32x16INTO32_LL>>shiftValue);\
82 (C)=MUL32x16INTO32_HH+(LVM_INT32)(MUL32x16INTO32_LL>>shiftValue);\
85 (C)=MUL32x16INTO32_HH>>(shiftValue-16);}\
94 #define ADD2_SAT_32x32(A,B,C) \ argument
95 {(C)=(A)+(B);\
96 if ((((C) ^ (A)) & ((C) ^ (B))) >> 31)\
99 (C)=0x80000000l;\
[all …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DArrayUtilsTest.java32 final Object C = 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()
48 final Object C = 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()
53 assertEquals(2, ArrayUtils.indexOf(new Object[] { A, B, C }, C)); in testIndexOf()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DCallbackRegistry.java42 public class CallbackRegistry<C, T, A> implements Cloneable {
46 private List<C> mCallbacks = new ArrayList<C>();
71 private final NotifierCallback<C, T, A> mNotifier;
77 public CallbackRegistry(NotifierCallback<C, T, A> notifier) { in CallbackRegistry() argument
215 public synchronized void add(C callback) { in add()
274 public synchronized void remove(C callback) { in remove()
310 public synchronized ArrayList<C> copyListeners() { in copyListeners()
311 ArrayList<C> callbacks = new ArrayList<C>(mCallbacks.size()); in copyListeners()
355 public synchronized CallbackRegistry<C, T, A> clone() { in clone()
356 CallbackRegistry<C, T, A> clone = null; in clone()
[all …]
/frameworks/compile/mclinker/include/mcld/Support/
DCXADemangle.tcc33 template <class C>
34 const char* parse_type(const char* first, const char* last, C& db);
35 template <class C>
36 const char* parse_encoding(const char* first, const char* last, C& db);
37 template <class C>
38 const char* parse_name(const char* first, const char* last, C& db,
40 template <class C>
41 const char* parse_expression(const char* first, const char* last, C& db);
42 template <class C>
43 const char* parse_template_args(const char* first, const char* last, C& db);
[all …]
/frameworks/av/media/libaudioprocessing/
DAudioResamplerFirGen.h225 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))))))));
251 inline double Poly3(double A, double B, double C, double x, double x2) {
252 return Poly2(A, B, x) + C * x2;
255 inline double Poly3(double A, double B, double C, double x) {
256 return Poly2(A, B, x) + C * x * x;
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
Dmp4def.h46 #define PV_MEDIAN(A,B,C) ((A) > (B) ? ((A) < (C) ? (A) : (B) > (C) ? (B) : (C)): (B) < (C) ? (B) : … argument
Dpost_filter.cpp189 int mbnum, strength, A_D, d1_2, d1, d2, A, B, C, D, b_size; in H263_Deblock() local
226 C = *rec_y; in H263_Deblock()
228 d = (((C - B) << 2) + A_D); in H263_Deblock()
278 tmpvar = C - d1; in H263_Deblock()
323 C = *rec_y; in H263_Deblock()
325 d = (((C - B) << 2) + A_D); in H263_Deblock()
375 tmpvar = C - d1; in H263_Deblock()
414 C = *rec_y; in H263_Deblock()
416 d = (((C - B) << 2) + A_D); in H263_Deblock()
466 tmpvar = C - d1; in H263_Deblock()
[all …]
/frameworks/rs/cpp/
DScriptIntrinsicBLAS.cpp110 float beta, RsAllocation C, int incX, int incY, int KL, int KU) { in nScriptIntrinsicBLAS_Single() argument
114 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Single()
124 double beta, RsAllocation C, int incX, int incY, int KL, int KU) { in nScriptIntrinsicBLAS_Double() argument
128 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Double()
137 … float betaX, float betaY, RsAllocation C, int incX, int incY, int KL, int KU) { in nScriptIntrinsicBLAS_Complex() argument
141 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Complex()
150 … double betaX, double betaY, RsAllocation C, int incX, int incY, int KL, int KU) { in nScriptIntrinsicBLAS_Z() argument
154 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Z()
163 RsAllocation C, int c_offset, int c_mult_int) { in nScriptIntrinsicBLAS_BNNM() argument
175 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_BNNM()
[all …]
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicBLAS.java2259 …validateL3(Element e, int TransA, int TransB, int Side, Allocation A, Allocation B, Allocation C) { in validateL3() argument
2263 (C != null && !C.getType().getElement().isCompatible(e))) { in validateL3()
2266 if (C == null) { in validateL3()
2270 cM = C.getType().getY(); in validateL3()
2271 cN = C.getType().getX(); in validateL3()
2305 if (A != null && B != null && C != null) { in validateL3()
2309 } else if (A != null && C != null) { in validateL3()
2341 Allocation B, float beta, Allocation C) { in SGEMM() argument
2344 validateL3(Element.F32(mRS), TransA, TransB, 0, A, B, C); in SGEMM() local
2360 beta, C.getID(mRS), 0, 0, 0, 0); in SGEMM()
[all …]
/frameworks/minikin/doc/
Dminikin_style.md3 The C++ style in Minikin follows Android Framework C++ Code Style Guide except for following rules:
12 3. C system files
13 4. C++ system files
25 #include <math.h> // C system header files.
26 #include <string> // C++ system header files.
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptIntrinsicBLAS.java2862 …validateL3(Element e, int TransA, int TransB, int Side, Allocation A, Allocation B, Allocation C) { in validateL3() argument
2866 (C != null && !C.getType().getElement().isCompatible(e))) { in validateL3()
2869 if (C == null) { in validateL3()
2873 cM = C.getType().getY(); in validateL3()
2874 cN = C.getType().getX(); in validateL3()
2908 if (A != null && B != null && C != null) { in validateL3()
2912 } else if (A != null && C != null) { in validateL3()
2944 Allocation B, float beta, Allocation C) { in SGEMM() argument
2947 validateL3(Element.F32(mRS), TransA, TransB, 0, A, B, C); in SGEMM() local
2966 long cID = C.getID(mRS); in SGEMM()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicBLAS.cpp67 void** C, in initABC() argument
81 *C = ain[2]->mHal.drvState.lod[0].mallocPtr; in initABC()
152 void *C = nullptr; in walk_tiled_gemm() local
161 initABC(ain, sizeof(T_data) * vecSize, &A, &B, &C, &lda, &ldb, &ldc); in walk_tiled_gemm()
187 (T_data *)C + (mStart * ldc + nStart) * vecSize, ldc); in walk_tiled_gemm()
253 void *C = nullptr; in invokeForEach() local
642 initABC(ain, sizeof(float), &A, &B, &C, &lda, &ldb, &ldc); in invokeForEach()
644 (float*)A, lda, (float*)B, ldb, call->beta.f, (float*)C, ldc); in invokeForEach()
648 initABC(ain, sizeof(float), &A, &B, &C, &lda, &ldb, &ldc); in invokeForEach()
650 lda, (float*)B, ldb, call->beta.f, (float*)C, ldc); in invokeForEach()
[all …]
DrsCpuBLASDispatch.h297 const float beta, float *C, const int ldc);
302 float *C, const int ldc);
306 const float beta, float *C, const int ldc);
311 float *C, const int ldc);
327 const double beta, double *C, const int ldc);
332 double *C, const int ldc);
336 const double beta, double *C, const int ldc);
341 double *C, const int ldc);
357 const void *beta, void *C, const int ldc);
362 void *C, const int ldc);
[all …]
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_with_password13 …'&x��5�ҷ/���И�a n �N��8�LH~��`�����t�|6��l���KX�������;�l=��!��l�C)��Wh����i#��8��s"�g�…
16 �i�8H���-M"�n�Df�*�}`Jo( �9�)�i��^[�E4��]Ѽ�Ҳ7Џ�Ӹ���F���*�m��K�w�C$ïJ���7�7R��i���fK����\�/…
17 �1�Cϻ.1�$}-�t(�%ö"�]f�4�D��Q�
26 …̗hC���mwT GB¥�8p�p,��)�⊯L�L!/3Xv�И f=�b<�m?��g�X�@�ф���Wa�ޡ�%e�Zo�C�I��"N�]���{%���� �?…
33 …�HZ��A��c�Gӗ��a�v�i�<]c�Ұ/՗ɺEg�q��sn6�u� .I��/�<tM�T{&k}��l�~jyB��2C%�@��3Y[�����J�,��…
37Cmb-�q��k�5@+r��W�/��F(C�y�p� ��Lm~d����&�%h��b�1;�L�����g��A%���!�W?b`?tnYg�����u8�WͲ�k8��z…
38 Ɨ�u�7��*:��,ίr�(�v$!5�&���Y�!���Tig(&X_6q�>��5�2��@e��rf��[cDL��C=q��PR�Gi{A���2N��P�x�$�…
48 …��N�W�X ����z�{;-Cv#w>ʜ���ӽ2�BL!�A�Q.��6 �tI\��)C�ŋ�hC7B��$��D��ܵ��T�@ϩ�ӌZ~����0��Ֆ�p��C
54 �g<zi] ���1�X�b8��1u���F_��ږ�w�����d(�����II�������Š>5���NO�b�_'�,��\�2�?bA�c��7�����C�…
56 %]���]��c�Yފbc�FD��.9�C�0�e�!4���r�q�$0�]~�]�W4]詪�d�Y\�[,Cϲ�����4�c/���X��qʐ���� �SD�?fRg"…
Dbackup_telephony_no_password13 E���@;��0��C�a0x#`ap ���b1��� � 0H;
15 …_����B���A8�@>/�h �E���8�`��GC`��-0!`x��84����,�������C �(�oJ�q����!��[…
17 ? �/L��`������W�!�(�/�1���?_��=�X��A�@>�a|N#q�;��'$��������{��y��`8|�����C��ߔǻ…
21 …r%u��.��!��+Z}��d���1J����S��~�'�5�����e�/�Fܐ�Xn�K wNFe�� � �����{���b�6v��� �~CΜ�3�y�#ES
23 N*���{�|z�������P�������h���x�C�nU����������� �NaRO�oMޖ�d���'?��Nx�sD��/3�ө�$����p��q�6L�?…
25 …:�>�Ugt�!���ҊE�[��(!��b����;(ʂ;�Ȣ,�{�a� �E�*e�-�`��Naz�B$�?���1������C%�1�^<S�Ml���;�=��|…
33 …�T/~$��Q^��6M#i���H���Yi�tˬ~�c���*�����Z�7����H�84JX,"�S�yF���$TZ�C����>�@�!#�!=4.�l��…
35 …*(���%�{{�4G����>}��а~oLH�>�w� ��?lA<Qb�ݛRZ.��T��_nĹ��k4�� �78�z��g��C���F#�r3���~�}>V�o�…
38 ����7Q�^:l�Z�C�:�FGy)�����%��J�(C�;]����=~P�æ���Zzs�UJ%�EÈ,;.���7���w�2�"ʪ�;��f�jt��H����g�w…
61 { S`���� `��V�C��Ce���@�[�iN�҂/nE�+�H~�@��\4f��R�*�/F��-H�v��3a�6���JϤ��vy�7M2�w��eGb�#EY��b����…
[all …]
/frameworks/native/libs/vr/libpdx/private/pdx/
Dservice.h246 template <class C>
248 std::shared_ptr<C>* channel) const { in CheckChannel()
253 *channel = std::static_pointer_cast<C>(base_pointer); in CheckChannel()
257 template <class C>
259 std::shared_ptr<C>* channel) const { in CheckChannel()
264 *channel = std::static_pointer_cast<C>(base_pointer); in CheckChannel()
319 template <class C>
320 std::shared_ptr<C> GetChannel() const { in GetChannel()
321 return std::static_pointer_cast<C>(GetChannel()); in GetChannel()
431 template <class C>
[all …]
/frameworks/base/tools/hiddenapi/
Dsort_api.sh15 C=( $(grep -E '^#' <<< "${A[*]}" || :) )
18 A=( $(LC_COLLATE=C sort -f <<< "${A[*]}") )
21 A=( ${C[*]} ${A[*]} )
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/display/
DBrightnessUtils.java30 private static final float C = 0.55991073f; field in BrightnessUtils
60 ret = MathUtils.exp((normalizedVal - C) / A) + B; in convertGammaToLinear()
83 ret = MathUtils.exp((normalizedVal - C) / A) + B; in convertGammaToLinearFloat()
136 ret = A * MathUtils.log(normalizedVal - B) + C; in convertLinearToGammaFloat()
/frameworks/opt/vcard/tests/res/raw/
Dv21_japanese_2.vcf3 FN;CHARSET=SHIFT_JIS:���� ���C�h 1
4 N;CHARSET=SHIFT_JIS:����;���C�h1;;;
6 ADR;HOME;CHARSET=SHIFT_JIS;ENCODING=QUOTED-PRINTABLE:;=93=8C=8B=9E=93=73=
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/testables/
DMultipleStaticMocksTest.java54 C.b(); in testMultipleStaticMocks()
78 private static class C { class in MultipleStaticMocksTest
133 sessionBuilder.spyStatic(C.class); in setUpMockedClasses()
143 }).when(C::a); in setUpMockBehaviors()
147 }).when(C::b); in setUpMockBehaviors()

12345678910>>...66