/frameworks/native/services/sensorservice/ |
D | vec.h | 36 template <typename TYPE, size_t SIZE> 39 template <typename TYPE, size_t SIZE> 48 typename TYPE, size_t SIZE, size_t S> 49 vec<TYPE, SIZE>& doAssign( in doAssign() argument 50 vec<TYPE, SIZE>& lhs, const VEC<TYPE, S>& rhs) { in doAssign() argument 64 typename TYPE, 67 VLHS<TYPE, SIZE> PURE doAdd( in doAdd() 68 const VLHS<TYPE, SIZE>& lhs, in doAdd() argument 69 const VRHS<TYPE, SIZE>& rhs) { in doAdd() argument 70 VLHS<TYPE, SIZE> r; in doAdd() [all …]
|
D | quat.h | 29 template <typename TYPE> 30 mat<TYPE, 3, 3> quatToMatrix(const vec<TYPE, 4>& q) { in quatToMatrix() argument 31 mat<TYPE, 3, 3> R; in quatToMatrix() 32 TYPE q0(q.w); in quatToMatrix() 33 TYPE q1(q.x); in quatToMatrix() 34 TYPE q2(q.y); in quatToMatrix() 35 TYPE q3(q.z); in quatToMatrix() 36 TYPE sq_q1 = 2 * q1 * q1; in quatToMatrix() 37 TYPE sq_q2 = 2 * q2 * q2; in quatToMatrix() 38 TYPE sq_q3 = 2 * q3 * q3; in quatToMatrix() [all …]
|
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() 35 typename TypeTraits<TYPE>::ParameterType rhs) { in doAssign() 42 template <typename TYPE, size_t C, size_t R, size_t D> 43 mat<TYPE, C, R> PURE doMul( in doMul() 44 const mat<TYPE, D, R>& lhs, in doMul() argument 45 const mat<TYPE, C, D>& rhs) in doMul() 47 mat<TYPE, C, R> res; in doMul() [all …]
|
D | Fusion.cpp | 109 template <typename TYPE, size_t C, size_t R> 110 static mat<TYPE, R, R> scaleCovariance( in scaleCovariance() 111 const mat<TYPE, C, R>& A, in scaleCovariance() argument 112 const mat<TYPE, C, C>& P) { in scaleCovariance() 114 mat<TYPE, R, R> APAt; in scaleCovariance() 131 template <typename TYPE, typename OTHER_TYPE> 132 static mat<TYPE, 3, 3> crossMatrix(const vec<TYPE, 3>& p, OTHER_TYPE diag) { in crossMatrix() argument 133 mat<TYPE, 3, 3> r; in crossMatrix() 147 template<typename TYPE, size_t SIZE> 149 mat<TYPE, SIZE, SIZE> mSumXX; [all …]
|
/frameworks/rs/cpp/util/ |
D | TypeHelpers.h | 41 template <typename TYPE> 45 is_pointer = trait_pointer<TYPE>::value, 47 has_trivial_ctor = is_pointer || trait_trivial_ctor<TYPE>::value, 49 has_trivial_dtor = is_pointer || trait_trivial_dtor<TYPE>::value, 51 has_trivial_copy = is_pointer || trait_trivial_copy<TYPE>::value, 53 has_trivial_move = is_pointer || trait_trivial_move<TYPE>::value 118 template<typename TYPE> inline 119 int strictly_order_type(const TYPE& lhs, const TYPE& rhs) { 123 template<typename TYPE> inline 124 int compare_type(const TYPE& lhs, const TYPE& rhs) { [all …]
|
D | RefBase.h | 465 template <typename TYPE> 467 virtual size_t getReferenceTypeSize() const { return sizeof( sp<TYPE> ); } in getReferenceTypeSize() 469 sp<TYPE> const* sptr(reinterpret_cast<sp<TYPE> const*>(p)); in getReferenceBase() 470 return static_cast<typename TYPE::basetype *>(sptr->get()); in getReferenceBase() 474 template <typename TYPE> 476 virtual size_t getReferenceTypeSize() const { return sizeof( wp<TYPE> ); } in getReferenceTypeSize() 478 wp<TYPE> const* sptr(reinterpret_cast<wp<TYPE> const*>(p)); in getReferenceBase() 479 return static_cast<typename TYPE::basetype *>(sptr->unsafe_get()); in getReferenceBase() 484 template<typename TYPE> static inline 485 void move_references(sp<TYPE>* d, sp<TYPE> const* s, size_t n) { in move_references() [all …]
|
/frameworks/base/libs/hwui/ |
D | VertexBuffer.h | 57 template <class TYPE> 58 TYPE* alloc(int vertexCount) { in alloc() 60 TYPE* reallocBuffer = (TYPE*)mReallocBuffer; in alloc() 71 mByteCount = mVertexCount * sizeof(TYPE); in alloc() 72 mReallocBuffer = mBuffer = (void*)new TYPE[vertexCount]; in alloc() 74 mCleanupMethod = &(cleanup<TYPE>); in alloc() 76 return (TYPE*)mBuffer; in alloc() 79 template <class TYPE> 80 TYPE* allocIndices(int indexCount) { in allocIndices() 83 mIndices = (void*)new TYPE[indexCount]; in allocIndices() [all …]
|
/frameworks/av/media/libstagefright/renderfright/include/renderengine/ |
D | Mesh.h | 42 template <typename TYPE> 53 VertexArray(VertexArray<TYPE>& other, size_t offset) in VertexArray() 56 TYPE& operator[](size_t index) { 57 return *reinterpret_cast<TYPE*>(&mData[(index + mOffset) * mStride]); 59 TYPE const& operator[](size_t index) const { 60 return *reinterpret_cast<TYPE const*>(&mData[(index + mOffset) * mStride]); 64 template <typename TYPE> 65 VertexArray<TYPE> getPositionArray() { in getPositionArray() 66 return VertexArray<TYPE>(getPositions(), mStride); in getPositionArray() 69 template <typename TYPE> [all …]
|
/frameworks/native/libs/renderengine/include/renderengine/ |
D | Mesh.h | 42 template <typename TYPE> 53 VertexArray(VertexArray<TYPE>& other, size_t offset) in VertexArray() 56 TYPE& operator[](size_t index) { 57 return *reinterpret_cast<TYPE*>(&mData[(index + mOffset) * mStride]); 59 TYPE const& operator[](size_t index) const { 60 return *reinterpret_cast<TYPE const*>(&mData[(index + mOffset) * mStride]); 64 template <typename TYPE> 65 VertexArray<TYPE> getPositionArray() { in getPositionArray() 66 return VertexArray<TYPE>(getPositions(), mStride); in getPositionArray() 69 template <typename TYPE> [all …]
|
/frameworks/native/libs/ui/include/ui/ |
D | ANativeObjectBase.h | 37 template <typename NATIVE_TYPE, typename TYPE, typename REF, 51 typedef ANativeObjectBase<NATIVE_TYPE, TYPE, REF, NATIVE_BASE> BASE; 56 static inline TYPE* getSelf(NATIVE_TYPE* self) { in getSelf() 57 return static_cast<TYPE*>(self); in getSelf() 59 static inline TYPE const* getSelf(NATIVE_TYPE const* self) { in getSelf() 60 return static_cast<TYPE const *>(self); in getSelf() 62 static inline TYPE* getSelf(NATIVE_BASE* base) { in getSelf() 65 static inline TYPE const * getSelf(NATIVE_BASE const* base) { in getSelf()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | ANativeObjectBase.h | 37 template <typename NATIVE_TYPE, typename TYPE, typename REF, 51 typedef ANativeObjectBase<NATIVE_TYPE, TYPE, REF, NATIVE_BASE> BASE; 56 static inline TYPE* getSelf(NATIVE_TYPE* self) { in getSelf() 57 return static_cast<TYPE*>(self); in getSelf() 59 static inline TYPE const* getSelf(NATIVE_TYPE const* self) { in getSelf() 60 return static_cast<TYPE const *>(self); in getSelf() 62 static inline TYPE* getSelf(NATIVE_BASE* base) { in getSelf() 65 static inline TYPE const * getSelf(NATIVE_BASE const* base) { in getSelf()
|
/frameworks/native/libs/ui/include_private/ui/ |
D | RegionHelper.h | 32 typedef typename RECT::value_type TYPE; typedef 33 static const TYPE max_value = std::numeric_limits<TYPE>::max(); 49 TYPE dx; 50 TYPE dy; 54 inline region(RECT const* _r, size_t _c, TYPE _dx, TYPE _dy) in region() 100 TYPE lhs_head; 101 TYPE lhs_tail; 102 TYPE rhs_head; 103 TYPE rhs_tail; 105 inline int next(TYPE& head, TYPE& tail, bool& more_lhs, bool& more_rhs) { in next() [all …]
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
D | VCardImporterTests.java | 493 .put(Organization.TYPE, Organization.TYPE_WORK); in testOrgBeforTitle() 505 .put(Organization.TYPE, Organization.TYPE_WORK); in testTitleBeforOrg() 520 .put(Phone.TYPE, Phone.TYPE_HOME); in testV21PrefToIsPrimary() 523 .put(Phone.TYPE, Phone.TYPE_WORK) in testV21PrefToIsPrimary() 527 .put(Phone.TYPE, Phone.TYPE_ISDN); in testV21PrefToIsPrimary() 530 .put(Email.TYPE, Email.TYPE_HOME) in testV21PrefToIsPrimary() 534 .put(Email.TYPE, Email.TYPE_MOBILE) in testV21PrefToIsPrimary() 539 .put(Organization.TYPE, Organization.TYPE_WORK); in testV21PrefToIsPrimary() 543 .put(Organization.TYPE, Organization.TYPE_WORK); in testV21PrefToIsPrimary() 547 .put(Organization.TYPE, Organization.TYPE_WORK); in testV21PrefToIsPrimary() [all …]
|
D | VCardExporterTests.java | 411 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneBasicCommon() 437 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneRefrainFormatting() 451 .put(Phone.TYPE, Phone.TYPE_HOME); in testPhoneVariousTypeSupport() 454 .put(Phone.TYPE, Phone.TYPE_WORK); in testPhoneVariousTypeSupport() 457 .put(Phone.TYPE, Phone.TYPE_FAX_HOME); in testPhoneVariousTypeSupport() 460 .put(Phone.TYPE, Phone.TYPE_FAX_WORK); in testPhoneVariousTypeSupport() 463 .put(Phone.TYPE, Phone.TYPE_MOBILE); in testPhoneVariousTypeSupport() 466 .put(Phone.TYPE, Phone.TYPE_PAGER); in testPhoneVariousTypeSupport() 469 .put(Phone.TYPE, Phone.TYPE_OTHER); in testPhoneVariousTypeSupport() 472 .put(Phone.TYPE, Phone.TYPE_CAR); in testPhoneVariousTypeSupport() [all …]
|
D | VCardJapanizationTests.java | 218 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_CUSTOM) in testPostalAddressWithJapaneseCommon() 244 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_HOME); in testPostalAddressWithJapaneseCommon() 258 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_WORK) in testPostalAdrressForDoCoMo_1() 261 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_OTHER) in testPostalAdrressForDoCoMo_1() 264 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_HOME) in testPostalAdrressForDoCoMo_1() 267 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_CUSTOM) in testPostalAdrressForDoCoMo_1() 286 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_OTHER) in testPostalAdrressForDoCoMo_2() 289 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_WORK) in testPostalAdrressForDoCoMo_2() 292 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_CUSTOM) in testPostalAdrressForDoCoMo_2() 311 .put(StructuredPostal.TYPE, StructuredPostal.TYPE_CUSTOM) in testPostalAdrressForDoCoMo_3() [all …]
|
/frameworks/libs/net/common/native/bpf_headers/include/bpf/ |
D | bpf_helpers.h | 140 #define DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, \ argument 143 .type = BPF_MAP_TYPE_##TYPE, \ 175 #define DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md) \ argument 176 DEFINE_BPF_MAP_EXT(the_map, TYPE, KeyType, ValueType, num_entries, usr, grp, md, "", "", false) 178 #define DEFINE_BPF_MAP(the_map, TYPE, KeyType, ValueType, num_entries) \ argument 179 DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, AID_ROOT, AID_ROOT, 0600) 181 #define DEFINE_BPF_MAP_GWO(the_map, TYPE, KeyType, ValueType, num_entries, gid) \ argument 182 DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, AID_ROOT, gid, 0620) 184 #define DEFINE_BPF_MAP_GRO(the_map, TYPE, KeyType, ValueType, num_entries, gid) \ argument 185 DEFINE_BPF_MAP_UGM(the_map, TYPE, KeyType, ValueType, num_entries, AID_ROOT, gid, 0640) [all …]
|
/frameworks/opt/vcard/tests/res/raw/ |
D | v30_adr_types.vcf | 5 ADR;TYPE=WORK:;;1010 Technology Pkwy\, Silicon City\, Somecountry;;;; 6 ADR;TYPE=X-Other:;;123 Main St\, Anytown\, Anywhere;;;; 7 ADR;TYPE=X-School:;;112358 Academic Lane\, College Town\, Someplace Great;;;;
|
D | v40_sip.vcf | 5 TEL;TYPE=HOME:tel:1 6 TEL;TYPE=HOME:sip:example@example.com
|
D | v30_comma_separated.vcf | 3 N;TYPE=PREF,HOME:F;G;M;; 4 TEL;TYPE="COMMA,SEPARATED:INSIDE.DQUOTE",PREF:1
|
/frameworks/av/media/libstagefright/httplive/fuzzer/corpus/ |
D | prog_index.m3u8 | 2 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="eng",NAME="English",AUTOSELECT=YES,DEFAULT=YES,U… 3 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="fre",NAME="Français",AUTOSELECT=YES,DEFAULT=NO,U… 4 #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",LANGUAGE="sp",NAME="Espanol",AUTOSELECT=YES,DEFAULT=NO,URI… 9 #EXT-X-PLAYLIST-TYPE:VOD
|
/frameworks/libs/modules-utils/java/android/annotation/ |
D | SystemApi.java | 24 import static java.lang.annotation.ElementType.TYPE; 41 @Target({TYPE, FIELD, METHOD, CONSTRUCTOR, ANNOTATION_TYPE, PACKAGE}) 76 @Target(TYPE)
|
D | SystemService.java | 19 import static java.lang.annotation.ElementType.TYPE; 33 @Target(TYPE)
|
/frameworks/base/core/java/com/android/internal/util/ |
D | DataClass.java | 24 import static java.lang.annotation.ElementType.TYPE; 38 @Target(ElementType.TYPE) 231 @Target({FIELD, METHOD, ANNOTATION_TYPE, CONSTRUCTOR, TYPE}) 246 @Target({TYPE})
|
/frameworks/base/core/java/android/view/inspector/ |
D | InspectableProperty.java | 21 import static java.lang.annotation.ElementType.TYPE; 113 @Target({TYPE}) 138 @Target({TYPE})
|
/frameworks/libs/net/common/device/com/android/net/module/util/netlink/ |
D | StructNdOptRdnss.java | 53 public static final int TYPE = 25; field in StructNdOptRdnss 62 super((byte) TYPE, servers.length * 2 + 1); in StructNdOptRdnss() 69 this.header = new RdnssOption((byte) TYPE, (byte) (servers.length * 2 + 1), in StructNdOptRdnss() 85 if (header.type != TYPE) { in parse()
|