/frameworks/native/services/sensorservice/ |
D | mat.h | 27 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/ |
D | slang_rs_object_ref_count.cpp | 43 void RSObjectRefCount::GetRSRefCountingFunctions(clang::ASTContext &C) { in GetRSRefCountingFunctions() argument 49 clang::TranslationUnitDecl *TUDecl = C.getTranslationUnitDecl(); in GetRSRefCountingFunctions() 97 clang::Stmt *CreateSingleRSSetObject(clang::ASTContext &C, 104 clang::CompoundStmt* BuildCompoundStmt(clang::ASTContext &C, in BuildCompoundStmt() argument 119 clang::CompoundStmt *CS = new(C) clang::CompoundStmt( in BuildCompoundStmt() 120 C, llvm::makeArrayRef(CompoundStmtList, CompoundStmtCount), Loc, Loc); in BuildCompoundStmt() 127 void AppendAfterStmt(clang::ASTContext &C, in AppendAfterStmt() argument 172 CS->setStmts(C, llvm::makeArrayRef(UpdatedStmtList, UpdatedStmtCount)); in AppendAfterStmt() 265 clang::Expr *ClearSingleRSObject(clang::ASTContext &C, in ClearSingleRSObject() argument 291 new(C) clang::UnaryOperator(RefRSVar, in ClearSingleRSObject() [all …]
|
D | slang_rs_object_ref_count.h | 91 void InsertStmt(const clang::ASTContext &C, clang::Stmt *NewStmt); 94 void ReplaceStmt(const clang::ASTContext &C, clang::Stmt *NewStmt); 97 void ReplaceExpr(const clang::ASTContext& C, clang::Expr* OldExpr, 126 static void GetRSRefCountingFunctions(clang::ASTContext &C); 141 clang::ASTContext &C, 150 clang::ASTContext& C, 156 explicit RSObjectRefCount(clang::ASTContext &C) in RSObjectRefCount() argument 157 : mCtx(C), RSInitFD(false), mTempID(0) { in RSObjectRefCount()
|
/frameworks/av/media/libeffects/lvm/lib/Common/lib/ |
D | LVM_Macros.h | 36 #define MUL32x32INTO32(A,B,C,ShiftR) \ argument 59 (C) = MUL32x32INTO32_temp2;\ 75 #define MUL32x16INTO32(A,B,C,ShiftR) \ argument 85 (C)=MUL32x16INTO32_HH+(LVM_INT32)(MUL32x16INTO32_LL>>shiftValue);\ 89 (C)=MUL32x16INTO32_HH+(LVM_INT32)(MUL32x16INTO32_LL>>shiftValue);\ 92 (C)=MUL32x16INTO32_HH>>(shiftValue-16);}\ 103 #define ADD2_SAT_32x32(A,B,C) \ argument 104 {(C)=(A)+(B);\ 105 if ((((C) ^ (A)) & ((C) ^ (B))) >> 31)\ 108 (C)=0x80000000l;\ [all …]
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | ArrayUtilsTest.java | 31 final Object C = 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() 47 final Object C = 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() 52 assertEquals(2, ArrayUtils.indexOf(new Object[] { A, B, C }, C)); in testIndexOf() [all …]
|
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/ |
D | CallbackRegistry.java | 44 public class CallbackRegistry<C, T, A> implements Cloneable { 48 private List<C> mCallbacks = new ArrayList<C>(); 69 private final NotifierCallback<C, T, A> mNotifier; 75 public CallbackRegistry(NotifierCallback<C, T, A> notifier) { in CallbackRegistry() argument 212 public synchronized void add(C callback) { in add() 273 public synchronized void remove(C callback) { in remove() 309 public synchronized ArrayList<C> copyCallbacks() { in copyCallbacks() 310 ArrayList<C> callbacks = new ArrayList<C>(mCallbacks.size()); in copyCallbacks() 325 public synchronized void copyCallbacks(List<C> callbacks) { in copyCallbacks() 373 public synchronized CallbackRegistry<C, T, A> clone() { in clone() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | CallbackRegistry.java | 42 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/ |
D | CXADemangle.tcc | 33 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/services/audioflinger/ |
D | AudioResamplerFirGen.h | 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)))))))); 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/rs/cpp/ |
D | ScriptIntrinsicBLAS.cpp | 102 float beta, RsAllocation C, int incX, int incY, int KL, int KU) { in nScriptIntrinsicBLAS_Single() argument 106 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Single() 116 double beta, RsAllocation C, int incX, int incY, int KL, int KU) { in nScriptIntrinsicBLAS_Double() argument 120 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Double() 129 … float betaX, float betaY, RsAllocation C, int incX, int incY, int KL, int KU) { in nScriptIntrinsicBLAS_Complex() argument 133 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Complex() 142 … double betaX, double betaY, RsAllocation C, int incX, int incY, int KL, int KU) { in nScriptIntrinsicBLAS_Z() argument 146 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_Z() 155 RsAllocation C, int c_offset, int c_mult_int) { in nScriptIntrinsicBLAS_BNNM() argument 167 RsAllocation in_allocs[3] = {A, B, C}; in nScriptIntrinsicBLAS_BNNM() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptIntrinsicBLAS.java | 2259 …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/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | ScriptIntrinsicBLAS.java | 2862 …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/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | mp4def.h | 46 #define PV_MEDIAN(A,B,C) ((A) > (B) ? ((A) < (C) ? (A) : (B) > (C) ? (B) : (C)): (B) < (C) ? (B) : … argument
|
D | post_filter.cpp | 189 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/cpu_ref/ |
D | rsCpuIntrinsicBLAS.cpp | 74 void** C, in initABC() argument 88 *C = ain[2]->mHal.drvState.lod[0].mallocPtr; in initABC() 112 void *C = nullptr; in invokeForEach() local 495 initABC(ain, sizeof(float), &A, &B, &C, &lda, &ldb, &ldc); in invokeForEach() 497 (float*)A, lda, (float*)B, ldb, call->beta.f, (float*)C, ldc); in invokeForEach() 500 initABC(ain, sizeof(float), &A, &B, &C, &lda, &ldb, &ldc); in invokeForEach() 502 lda, (float*)B, ldb, call->beta.f, (float*)C, ldc); in invokeForEach() 505 initABC(ain, sizeof(float), &A, nullptr, &C, &lda, nullptr, &ldc); in invokeForEach() 507 lda, call->beta.f, (float*)C, ldc); in invokeForEach() 510 initABC(ain, sizeof(float), &A, &B, &C, &lda, &ldb, &ldc); in invokeForEach() [all …]
|
D | rsCpuBLASDispatch.h | 294 const float beta, float *C, const int ldc); 299 float *C, const int ldc); 303 const float beta, float *C, const int ldc); 308 float *C, const int ldc); 324 const double beta, double *C, const int ldc); 329 double *C, const int ldc); 333 const double beta, double *C, const int ldc); 338 double *C, const int ldc); 354 const void *beta, void *C, const int ldc); 359 void *C, const int ldc); [all …]
|
/frameworks/base/docs/html/ndk/reference/ |
D | annotated.jd | 13 …="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="… 14 …="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="… 15 …="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="… 16 …="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="… 17 …="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="… 18 …="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="… 19 …="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="… 20 …="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="… 21 …="ftv2node.png" alt="o" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="… 22 …v2lastnode.png" alt="\" width="16" height="22" /><img src="ftv2cl.png" alt="C" width="24" height="…
|
/frameworks/native/vulkan/libvulkan/ |
D | code-generator.tmpl | 51 {{Macro "C++.DeclareTableEntry" $f}}; 61 {{Macro "C++.DeclareTableEntry" $f}}; 104 {{Macro "C++.DefineInitProcMacro" "dispatch"}} 106 {{Macro "api.C++.DefineInitProcExtMacro"}} 113 {{Macro "api.C++.DefineExtensionStub" $f}} 129 {{Macro "C++.InitProc" $f}} 147 {{Macro "C++.InitProc" $f}} 170 {{Macro "api.C++.InterceptInstanceProcAddr" $}} 172 {{Macro "api.C++.InterceptDeviceProcAddr" $}} 175 {{Macro "api.C++.Dispatch" $f}} [all …]
|
/frameworks/base/docs/html/ndk/guides/ |
D | cpp-support.jd | 1 page.title=C++ Library Support 17 <p>The Android platform provides a very minimal C++ runtime support library ({@code libstdc++}). 21 <li>Standard C++ Library support (except a few trivial headers).</li> 22 <li>C++ exceptions support</li> 47 <td>The default minimal system C++ runtime library.</td> 54 <td>C++ Exceptions and RTTI</td> 60 <td>C++ Exceptions and RTTI</td> 66 <td> C++ Exceptions and RTTI; Standard Library</td> 72 <td> C++ Exceptions and RTTI; Standard Library</td> 78 <td> C++ Exceptions and RTTI; Standard Library</td> [all …]
|
/frameworks/base/docs/html-intl/intl/vi/preview/ |
D | download.jd | 19 Đây là Thỏa thuận Cấp phép Android SDK Preview (gọi là “Thỏa thuận Cấp phép”). 23 …Cấp phép này gọi là “Preview” và cụ thể bao gồm các tệp hệ thống Android, các API dạng gói, và các… 31 2. Chấp thuận Thỏa thuận Cấp phép 33 …ước tiên bạn phải đồng ý với Thỏa thuận Cấp phép. Bạn không được sử dụng Preview nếu không chấp nh… 35 …p nhận và/hoặc sử dụng Preview, theo đây bạn đồng ý với các điều khoản của Thỏa thuận Cấp phép này. 37 2.3 Bạn không được sử dụng Preview và không được chấp nhận Thỏa thuận Cấp phép nếu bạn là người bị … 39 …Cấp phép này đại diện cho bên tuyển dụng của mình hoặc đơn vị khác, và bạn tuyên bố và bảo đảm rằn… 43 3.1 Tùy thuộc vào các điều khoản của Thỏa thuận Cấp phép này, Google cấp cho bạn một giấy phép giới… 49 … Preview cho bất kỳ mục đích nào không được cho phép rõ ràng bởi Thỏa thuận Cấp phép này. Trừ trườ… 51 …các điều khoản của giấy phép phần mềm nguồn mở đó chứ không phải Thỏa thuận Cấp phép này. Bạn đồng… [all …]
|
/frameworks/base/core/java/android/text/style/ |
D | TtsSpan.java | 526 public static class Builder<C extends Builder<?>> { 554 public C setStringArgument(String arg, String value) { in setStringArgument() 556 return (C) this; in setStringArgument() 565 public C setIntArgument(String arg, int value) { in setIntArgument() 567 return (C) this; in setIntArgument() 576 public C setLongArgument(String arg, long value) { in setLongArgument() 578 return (C) this; in setLongArgument() 588 public static class SemioticClassBuilder<C extends SemioticClassBuilder<?>> 589 extends Builder<C> { 601 public C setGender(String gender) { in setGender() [all …]
|
/frameworks/native/include/ui/ |
D | vec4.h | 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() 103 template<typename A, typename B, typename C> 104 tvec4(const Impersonator< tvec2<A> >& v, B z, C w) in tvec4()
|
/frameworks/compile/slang/BitWriter_2_9/ |
D | BitcodeWriter.cpp | 843 const Constant *C = cast<Constant>(V); in WriteConstants() local 846 if (C->isNullValue()) { in WriteConstants() 848 } else if (isa<UndefValue>(C)) { in WriteConstants() 850 } else if (const ConstantInt *IV = dyn_cast<ConstantInt>(C)) { in WriteConstants() 875 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(C)) { in WriteConstants() 895 } else if (isa<ConstantDataSequential>(C) && in WriteConstants() 896 cast<ConstantDataSequential>(C)->isString()) { in WriteConstants() 897 const ConstantDataSequential *Str = cast<ConstantDataSequential>(C); in WriteConstants() 923 dyn_cast<ConstantDataSequential>(C)) { in WriteConstants() 932 } else if (isa<ConstantArray>(C) || isa<ConstantStruct>(C) || in WriteConstants() [all …]
|
/frameworks/base/docs/html-intl/intl/es/training/monitoring-device-state/ |
D | docking-monitoring.jd | 1 page.title=Cómo determinar y controlar el tipo de conector y el estado de la conexión 2 parent.title=Cómo optimizar la duración de la batería 6 previous.title=Cómo controlar el nivel de batería y el estado de carga 8 next.title=Cómo determinar y controlar el estado de la conectividad 18 <li><a href="#CurrentDockState">Cómo solicitar el foco de audio</a></li> 19 <li><a href="#DockType">Cómo determinar el tipo de conector actual</a></li> 20 …<li><a href="#MonitorDockState">Cómo supervisar los cambios en el tipo de conector o en el estado … 39 <h2 id="CurrentDockState">Cómo determinar el estado de conexión actual</h2> 52 <h2 id="DockType">Cómo determinar el tipo de conector actual</h2> 68 <h2 id="MonitorDockState">Cómo supervisar los cambios en el tipo de conector o en el estado del mis…
|
/frameworks/compile/slang/BitWriter_3_2/ |
D | BitcodeWriter.cpp | 878 const Constant *C = cast<Constant>(V); in WriteConstants() local 881 if (C->isNullValue()) { in WriteConstants() 883 } else if (isa<UndefValue>(C)) { in WriteConstants() 885 } else if (const ConstantInt *IV = dyn_cast<ConstantInt>(C)) { in WriteConstants() 903 } else if (const ConstantFP *CFP = dyn_cast<ConstantFP>(C)) { in WriteConstants() 923 } else if (isa<ConstantDataSequential>(C) && in WriteConstants() 924 cast<ConstantDataSequential>(C)->isString()) { in WriteConstants() 925 const ConstantDataSequential *Str = cast<ConstantDataSequential>(C); in WriteConstants() 951 dyn_cast<ConstantDataSequential>(C)) { in WriteConstants() 962 } else if (isa<ConstantArray>(C) || isa<ConstantStruct>(C) || in WriteConstants() [all …]
|