Home
last modified time | relevance | path

Searched refs:template (Results 1 – 25 of 483) sorted by relevance

12345678910>>...20

/system/chre/external/flatbuffers/include/flatbuffers/
Dstl_emulation.h65 template <typename T> inline T *vector_data(std::vector<T> &vector) { in vector_data()
71 template <typename T> inline const T *vector_data( in vector_data()
76 template <typename T, typename V>
88 template <typename T>
91 template <typename T> class numeric_limits :
95 template <typename T> class numeric_limits :
104 template <> class numeric_limits<float> :
110 template <> class numeric_limits<double> :
116 template <> class numeric_limits<unsigned long long> {
125 template <> class numeric_limits<long long> {
[all …]
/system/nvram/messages/include/nvram/messages/
Dtype_traits.h30 template <typename T>
34 template <typename T>
39 template <typename T>
43 template <typename T>
47 template <typename T>
52 template <bool value, typename T = void>
55 template <typename T>
60 template <typename T, T const_value>
68 template <typename T>
71 template <size_t... index>
[all …]
Dtagged_union.h101 template <uint64_t tag, typename Member>
107 template <typename TagType, typename... Members>
113 template <size_t... Values>
116 template <>
121 template <size_t head, size_t... tail>
129 template <typename TagType, TagType tag, typename... Member>
132 template <typename TagType,
144 template <typename TagType, TagType tag, typename MemberType, typename... Tail>
153 template <typename Elem, typename...Tail>
160 template <typename TagType, typename... Member>
[all …]
Dstruct.h114 template <typename Struct>
124 template <typename Struct, typename Member>
148 template <typename Struct, typename Member>
156 template <typename TagType, typename... Member>
164 template <typename Struct, typename TagType, typename... Member>
181 template <typename Struct, typename TagType, typename... Member>
193 template <typename... FieldSpec>
200 template <size_t index, typename... FieldSpec>
205 template <size_t index, typename FieldSpec, typename... Tail>
216 template <typename FieldSpec, typename... Tail>
[all …]
/system/chre/util/include/chre/util/
Dunique_ptr_impl.h31 template <typename ObjectType>
34 template <typename ObjectType>
37 template <typename ObjectType>
43 template <typename ObjectType>
44 template <typename OtherObjectType>
50 template <typename ObjectType>
55 template <typename ObjectType>
60 template <typename ObjectType>
65 template <typename ObjectType>
72 template <typename ObjectType>
[all …]
Ddynamic_vector_impl.h31 template <typename ElementType>
34 template <typename ElementType>
38 template <typename ElementType>
44 template <typename ElementType>
61 template <typename ElementType>
67 template <typename ElementType>
72 template <typename ElementType>
77 template <typename ElementType>
83 template <typename ElementType>
89 template <typename ElementType>
[all …]
Doptional_impl.h27 template <typename ObjectType>
33 template <typename ObjectType>
39 template <typename ObjectType>
44 template <typename ObjectType>
49 template <typename ObjectType>
57 template <typename ObjectType>
62 template <typename ObjectType>
67 template <typename ObjectType>
79 template <typename ObjectType>
96 template <typename ObjectType>
[all …]
Dpriority_queue_impl.h30 template <typename ElementType, typename CompareFunction>
33 template <typename ElementType, typename CompareFunction>
38 template <typename ElementType, typename CompareFunction>
43 template <typename ElementType, typename CompareFunction>
48 template <typename ElementType, typename CompareFunction>
53 template <typename ElementType, typename CompareFunction>
63 template <typename ElementType, typename CompareFunction>
64 template <typename... Args>
73 template <typename ElementType, typename CompareFunction>
79 template <typename ElementType, typename CompareFunction>
[all …]
Darray_queue_impl.h28 template <typename ElementType, size_t kCapacity>
33 template <typename ElementType, size_t kCapacity>
38 template <typename ElementType, size_t kCapacity>
43 template <typename ElementType, size_t kCapacity>
48 template <typename ElementType, size_t kCapacity>
54 template <typename ElementType, size_t kCapacity>
60 template <typename ElementType, size_t kCapacity>
66 template <typename ElementType, size_t kCapacity>
72 template <typename ElementType, size_t kCapacity>
78 template <typename ElementType, size_t kCapacity>
[all …]
Dfixed_size_vector_impl.h29 template <typename ElementType, size_t kCapacity>
34 template <typename ElementType, size_t kCapacity>
40 template <typename ElementType, size_t kCapacity>
46 template <typename ElementType, size_t kCapacity>
52 template <typename ElementType, size_t kCapacity>
58 template <typename ElementType, size_t kCapacity>
63 template <typename ElementType, size_t kCapacity>
68 template <typename ElementType, size_t kCapacity>
73 template <typename ElementType, size_t kCapacity>
78 template <typename ElementType, size_t kCapacity>
[all …]
Dsingleton_impl.h27 template <typename ObjectType>
31 template <typename ObjectType>
34 template <typename ObjectType>
35 template <typename... Args>
43 template <typename ObjectType>
51 template <typename ObjectType>
56 template <typename ObjectType>
61 template <typename ObjectType>
/system/core/libutils/include/utils/
DStrongPointer.h26 template<typename T> class wp;
30 template<typename T>
50 template <typename... Args>
65 template <typename U>
68 template <typename U>
75 template<typename U> sp(const sp<U>& other); // NOLINT(implicit)
76 template<typename U> sp(sp<U>&& other); // NOLINT(implicit)
81 template <typename U>
91 template<typename U> sp& operator = (const sp<U>& other);
92 template<typename U> sp& operator = (sp<U>&& other);
[all …]
DTypeHelpers.h35 template <typename T> struct trait_trivial_ctor { enum { value = false }; };
36 template <typename T> struct trait_trivial_dtor { enum { value = false }; };
37 template <typename T> struct trait_trivial_copy { enum { value = false }; };
38 template <typename T> struct trait_trivial_move { enum { value = false }; };
39 template <typename T> struct trait_pointer { enum { value = false }; };
40 template <typename T> struct trait_pointer<T*> { enum { value = true }; };
42 template <typename TYPE>
58 template <typename T, typename U>
74 template<> struct trait_trivial_ctor< T > { enum { value = true }; };
77 template<> struct trait_trivial_dtor< T > { enum { value = true }; };
[all …]
DRefBase.h232 template<typename U> \
241 template<template<typename C> class comparator, typename T, typename U>
249 template<typename U> \
400 template <typename T>
419 template <typename U>
422 template <typename U>
429 template<typename U> wp(const sp<U>& other); // NOLINT(implicit)
430 template<typename U> wp(const wp<U>& other); // NOLINT(implicit)
439 template<typename U> wp& operator = (const wp<U>& other);
440 template<typename U> wp& operator = (const sp<U>& other);
[all …]
DVector.h43 template <typename TYPE>
54 template <class TYPE>
226 template<class TYPE> inline
236 template<class TYPE> inline
241 template<class TYPE> inline
246 template<class TYPE> inline
251 template<class TYPE> inline
257 template<class TYPE> inline
263 template<class TYPE> inline
269 template<class TYPE> inline
[all …]
DSortedVector.h35 template <class TYPE>
158 template<class TYPE> inline
168 template<class TYPE> inline
173 template<class TYPE> inline
178 template<class TYPE> inline
184 template<class TYPE> inline
190 template<class TYPE> inline
195 template<class TYPE> inline
201 template<class TYPE> inline
209 template<class TYPE> inline
[all …]
DFlattenable.h37 template<size_t N>
43 template<size_t N>
51 template<size_t N>
72 template<typename T>
81 template<typename T>
99 template <typename T>
125 template<typename T>
129 template<typename T>
133 template<typename T>
138 template<typename T>
[all …]
/system/memory/libmemunreachable/
DAllocator.h37 template <typename T>
64 template <class T>
75 template <class T>
78 template <class T, class... Args>
89 template <class T>
92 template <class T, class... Args>
101 template <typename T>
113 template <typename U>
125 template <typename U>
129 template <typename U>
[all …]
/system/teeui/libteeui/include/teeui/
Dcbor.h28 template <typename In, typename Out> Out copy(In begin, In end, Out out) { in copy()
53 template <typename Key, typename Value> struct MapElement {
59 template <typename... Elems> struct Array;
61 template <typename Head, typename... Tail> struct Array<Head, Tail...> {
68 template <> struct Array<> {};
73 template <typename T, typename Variant> struct StringBuffer {
88 template <size_t size> StringBuffer<char, TextStr> text(const char (&str)[size]) {
96 template <size_t size> StringBuffer<char, TextStr> text_keep_last(const char (&str)[size]) {
100 template <typename T> auto getData(const T& v) -> decltype(v.data()) {
104 template <typename T> auto getData(const T& v) -> decltype(v.c_str()) {
[all …]
Dutils.h39 template <typename T, size_t elements> class Array {
78 template <typename T> auto bytesCast(const T& v) -> const uint8_t (&)[sizeof(T)] {
81 template <typename T> auto bytesCast(T& v) -> uint8_t (&)[sizeof(T)] {
86 template <typename T> struct has_data {
87 template <typename U> static int f(const U*, const void*) { return 0; } in f()
88 template <typename U> static int* f(const U* u, decltype(u->data())) { return nullptr; }
93 template <typename T>
99 template <size_t size>
105 template <size_t size>
131 template <typename Impl> class HMac {
[all …]
/system/iorap/src/common/
Dtype.h103 template <typename T>
108 template <typename T>
113 template <typename T>
117 template <typename T>
120 template <typename T>
123 template <auto X>
128 template <int X>
131 template <typename T>
141 template <size_t i, typename Tuple, typename F>
152 template <typename Tuple, typename F>
[all …]
/system/media/audio_utils/include/audio_utils/
Dvariadic_utils.h48 template <typename T, template <typename...> class C>
50 template <template <typename...> class C, typename... args>
53 template <typename T> using is_tuple = is_template<std::decay_t<T>, std::tuple>;
54 template <typename T> using is_pair = is_template<std::decay_t<T>, std::pair>;
57 template <typename T>
59 template <typename T, size_t N>
61 template <typename T>
67 template <typename T> static int test(int, int[std::tuple_size<T>::value] = nullptr);
68 template <typename T> static bool test(...);
71 template <typename T>
[all …]
/system/keymaster/include/keymaster/
Dkeymaster_tags.h64 template <bool b> struct StaticAssert {};
65 template <> struct StaticAssert<true> {
80 template <keymaster_tag_type_t tag_type> struct TagValueType {};
81 template <> struct TagValueType<KM_ULONG> { typedef uint64_t value_type; };
82 template <> struct TagValueType<KM_ULONG_REP> { typedef uint64_t value_type; };
83 template <> struct TagValueType<KM_DATE> { typedef uint64_t value_type; };
84 template <> struct TagValueType<KM_UINT> { typedef uint32_t value_type; };
85 template <> struct TagValueType<KM_UINT_REP> { typedef uint32_t value_type; };
86 template <> struct TagValueType<KM_INVALID> { typedef Void value_type; };
87 template <> struct TagValueType<KM_BOOL> { typedef bool value_type; };
[all …]
/system/incremental_delivery/incfs/util/include/util/
Dmap_ptr.h48 template <typename T, bool Verified = false>
79 template <typename T = void>
113 template <typename, bool>
119 template <typename T>
130 template <typename T, bool Verified>
136 template <typename, bool>
139 template <typename T1>
142 template <typename T1>
145 template <bool V>
148 template <bool V>
[all …]
/system/bt/gd/packet/parser/
Dcustom_type_checker.h27 template <typename T, bool packet_little_endian>
30 template <class C, void (C::*)(BitInserter&) const>
33 template <class C, size_t (C::*)() const>
36template <class C, bool little_endian, std::optional<Iterator<little_endian>> (*)(C* vec, Iterator…
39 template <class C, std::string (C::*)() const>
42 template <class C, bool little_endian>
46 template <class C, bool little_endian>

12345678910>>...20