Home
last modified time | relevance | path

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

12345678910>>...88

/frameworks/native/libs/tracing_perfetto/
Dtracing_perfetto_internal.cpp17 #define FRAMEWORK_CATEGORIES(C) \ argument
18 C(always, "always", "Always category") \
19 C(graphics, "graphics", "Graphics category") \
20 C(input, "input", "Input category") \
21 C(view, "view", "View category") \
22 C(webview, "webview", "WebView category") \
23 C(windowmanager, "wm", "WindowManager category") \
24 C(activitymanager, "am", "ActivityManager category") \
25 C(syncmanager, "syncmanager", "SyncManager category") \
26 C(audio, "audio", "Audio category") \
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DUtils.kt27 fun <A, B, C> toTriple(a: A, bc: Pair<B, C>) = Triple(a, bc.first, bc.second) in <lambda>()
29 fun <A, B, C> toTriple(ab: Pair<A, B>, c: C) = Triple(ab.first, ab.second, c) in <lambda>()
31 fun <A, B, C, D> toQuad(a: A, b: B, c: C, d: D) = Quad(a, b, c, d) in <lambda>()
33 fun <A, B, C, D> toQuad(a: A, bcd: Triple<B, C, D>) = in <lambda>()
35 fun <A, B, C, D> toQuad(abc: Triple<A, B, C>, d: D) = in <lambda>()
38 fun <A, B, C, D, E> toQuint(a: A, b: B, c: C, d: D, e: E) = Quint(a, b, c, d, e) in <lambda>()
40 fun <A, B, C, D, E> toQuint(a: A, bcde: Quad<B, C, D, E>) = in <lambda>()
43 fun <A, B, C, D, E, F> toSextuple(a: A, bcdef: Quint<B, C, D, E, F>) = in <lambda>()
46 fun <A, B, C, D, E, F, G> toSeptuple(a: A, bcdefg: Sextuple<B, C, D, E, F, G>) = in <lambda>()
71 fun <A, B, C> Flow<A>.sample(b: Flow<B>, c: Flow<C>): Flow<Triple<A, B, C>> { in <lambda>()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DReflectionPerfTest.java40 C c = new C(); in timeObject_getClass()
49 Class<?> klass = C.class; in timeClass_getField()
58 Class<?> klass = C.class; in timeClass_getDeclaredField()
67 Class<?> klass = C.class; in timeClass_getConstructor()
76 Class<?> klass = C.class; in timeClass_newInstance()
86 Class<?> klass = C.class; in timeClass_getMethod()
95 Class<?> klass = C.class; in timeClass_getDeclaredMethod()
104 Class<?> klass = C.class; in timeField_setInt()
106 C instance = new C(); in timeField_setInt()
115 Class<?> klass = C.class; in timeField_getInt()
[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/base/core/java/com/android/internal/util/function/pooled/
DPooledLambda.java264 static <A, B, C> PooledPredicate<A> obtainPredicate( in obtainPredicate()
265 TriPredicate<? super A, ? super B, ? super C> function, in obtainPredicate()
266 ArgumentPlaceholder<A> arg1, B arg2, C arg3) { in obtainPredicate()
284 static <A, B, C, D> PooledPredicate<A> obtainPredicate( in obtainPredicate()
285 QuadPredicate<? super A, ? super B, ? super C, ? super D> function, in obtainPredicate() argument
286 ArgumentPlaceholder<A> arg1, B arg2, C arg3, D arg4) { in obtainPredicate()
305 static <A, B, C, D, E> PooledPredicate<A> obtainPredicate( in obtainPredicate()
306 QuintPredicate<? super A, ? super B, ? super C, ? super D, ? super E> function, in obtainPredicate() argument
307 ArgumentPlaceholder<A> arg1, B arg2, C arg3, D arg4, E arg5) { in obtainPredicate()
376 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 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 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/av/media/libeffects/lvm/lib/Common/lib/
DLVM_Macros.h31 #define MUL32x32INTO32(A, B, C, ShiftR) \ argument
59 (C) = MUL32x32INTO32_temp2; \
73 #define MUL32x16INTO32(A, B, C, ShiftR) \ argument
83 (C) = MUL32x16INTO32_HH + (LVM_INT32)(MUL32x16INTO32_LL >> shiftValue); \
86 (C) = MUL32x16INTO32_HH + (LVM_INT32)(MUL32x16INTO32_LL >> shiftValue); \
88 (C) = MUL32x16INTO32_HH >> (shiftValue - 16); \
98 #define ADD2_SAT_32x32(A, B, C) \ argument
100 (C) = (A) + (B); \
101 if ((((C) ^ (A)) & ((C) ^ (B))) >> 31) { \
103 (C) = 0x80000000l; \
[all …]
/frameworks/av/media/libaudiohal/impl/
DCleanups.h66 template<class C>
69 LockedAccessor(C& instance, std::mutex& mutex) in LockedAccessor()
74 C& lock() { mLock.lock(); return mInstance; } in lock()
77 C& mInstance;
85 template<class C>
88 typedef void (C::*Cleaner)(int32_t); // A member function of "C" performing a cleanup action.
89 explicit Cleanups(const LockedAccessor<C>& accessor) : mAccessor(accessor) {} in Cleanups()
92 C& c = mAccessor.lock(); in ~Cleanups()
103 LockedAccessor<C> mAccessor;
/frameworks/base/core/java/com/android/internal/util/
DCallbackRegistry.java43 public class CallbackRegistry<C, T, A> implements Cloneable {
47 private List<C> mCallbacks = new ArrayList<C>();
72 private final NotifierCallback<C, T, A> mNotifier;
78 public CallbackRegistry(NotifierCallback<C, T, A> notifier) { in CallbackRegistry() argument
216 public synchronized void add(C callback) { in add()
275 public synchronized void remove(C callback) { in remove()
311 public synchronized ArrayList<C> copyListeners() { in copyListeners()
312 ArrayList<C> callbacks = new ArrayList<C>(mCallbacks.size()); in copyListeners()
356 public synchronized CallbackRegistry<C, T, A> clone() { in clone()
357 CallbackRegistry<C, T, A> clone = null; in clone()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DSingleInstanceRemoteListener.java38 public class SingleInstanceRemoteListener<C extends RemoteCallable, L extends IInterface> {
48 private final C mCallableController;
49 private final Consumer<C> mOnRegisterCallback;
50 private final Consumer<C> mOnUnregisterCallback;
59 final C callableController = mCallableController;
72 public SingleInstanceRemoteListener(C callableController, in SingleInstanceRemoteListener()
73 Consumer<C> onRegisterCallback, in SingleInstanceRemoteListener()
74 Consumer<C> onUnregisterCallback) { in SingleInstanceRemoteListener()
/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/base/apct-tests/perftests/core/src/android/libcore/
DMethodInvocationPerfTest.java39 static class C implements I { class in MethodInvocationPerfTest
69 new C().timeInternalGetter(state); in timeInternalGetter()
74 new C().timeInternalFieldAccess(state); in timeInternalFieldAccess()
89 C c = new C(); in timeEmptyStatic()
98 C c = new C(); in timeEmptyVirtual()
107 I c = new C(); in timeEmptyInterface()
/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/module/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.cpp43 int mbnum, strength, A_D, d1_2, d1, d2, A, B, C, D, b_size; in H263_Deblock() local
80 C = *rec_y; in H263_Deblock()
82 d = (((C - B) << 2) + A_D); in H263_Deblock()
132 tmpvar = C - d1; in H263_Deblock()
177 C = *rec_y; in H263_Deblock()
179 d = (((C - B) << 2) + A_D); in H263_Deblock()
229 tmpvar = C - d1; in H263_Deblock()
268 C = *rec_y; in H263_Deblock()
270 d = (((C - B) << 2) + A_D); in H263_Deblock()
320 tmpvar = C - d1; in H263_Deblock()
[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/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.java2263 …validateL3(Element e, int TransA, int TransB, int Side, Allocation A, Allocation B, Allocation C) { in validateL3() argument
2267 (C != null && !C.getType().getElement().isCompatible(e))) { in validateL3()
2270 if (C == null) { in validateL3()
2274 cM = C.getType().getY(); in validateL3()
2275 cN = C.getType().getX(); in validateL3()
2309 if (A != null && B != null && C != null) { in validateL3()
2313 } else if (A != null && C != null) { in validateL3()
2345 Allocation B, float beta, Allocation C) { in SGEMM() argument
2348 validateL3(Element.F32(mRS), TransA, TransB, 0, A, B, C); in SGEMM() local
2364 beta, C.getID(mRS), 0, 0, 0, 0); in SGEMM()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptIntrinsicBLAS.java2866 …validateL3(Element e, int TransA, int TransB, int Side, Allocation A, Allocation B, Allocation C) { in validateL3() argument
2870 (C != null && !C.getType().getElement().isCompatible(e))) { in validateL3()
2873 if (C == null) { in validateL3()
2877 cM = C.getType().getY(); in validateL3()
2878 cN = C.getType().getX(); in validateL3()
2912 if (A != null && B != null && C != null) { in validateL3()
2916 } else if (A != null && C != null) { in validateL3()
2948 Allocation B, float beta, Allocation C) { in SGEMM() argument
2951 validateL3(Element.F32(mRS), TransA, TransB, 0, A, B, C); in SGEMM() local
2970 long cID = C.getID(mRS); in SGEMM()
[all …]
/frameworks/native/include/ftl/
Dcast.h55 using C = std::common_type_t<R, T>; in cast_safety() local
67 return static_cast<C>(v) <= static_cast<C>(L::max()) ? CastSafety::kSafe in cast_safety()
75 return static_cast<C>(v) <= static_cast<C>(L::max()) ? CastSafety::kSafe in cast_safety()
/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 …]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DArrayUtilsTest.java45 final Object C = new Object(); in testContains() local
48 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, A)); in testContains()
49 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, B)); in testContains()
50 assertTrue(ArrayUtils.contains(new Object[] { A, B, C }, C)); in testContains()
51 assertTrue(ArrayUtils.contains(new Object[] { A, null, C }, null)); in testContains()
53 assertFalse(ArrayUtils.contains(new Object[] { A, B, C }, null)); in testContains()
62 final Object C = new Object(); in testIndexOf() local
65 assertEquals(0, ArrayUtils.indexOf(new Object[] { A, B, C }, A)); in testIndexOf()
66 assertEquals(1, ArrayUtils.indexOf(new Object[] { A, B, C }, B)); in testIndexOf()
67 assertEquals(2, ArrayUtils.indexOf(new Object[] { A, B, C }, C)); in testIndexOf()
[all …]
/frameworks/base/services/tests/mockingservicestests/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"…

12345678910>>...88