Home
last modified time | relevance | path

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

12345

/system/core/include/utils/
DStrongPointer.h29 template<typename T> class wp;
40 template<typename U> \
44 template<typename U> \
51 template<typename U> \
58 template<typename T>
66 template<typename U> sp(U* other);
67 template<typename U> sp(const sp<U>& other);
68 template<typename U> sp(sp<U>&& other);
78 template<typename U> sp& operator = (const sp<U>& other);
79 template<typename U> sp& operator = (sp<U>&& other);
[all …]
DTypeHelpers.h33 template <typename T> struct trait_trivial_ctor { enum { value = false }; };
34 template <typename T> struct trait_trivial_dtor { enum { value = false }; };
35 template <typename T> struct trait_trivial_copy { enum { value = false }; };
36 template <typename T> struct trait_trivial_move { enum { value = false }; };
37 template <typename T> struct trait_pointer { enum { value = false }; };
38 template <typename T> struct trait_pointer<T*> { enum { value = true }; };
40 template <typename TYPE>
56 template <typename T, typename U>
72 template<> struct trait_trivial_ctor< T > { enum { value = true }; };
75 template<> struct trait_trivial_dtor< T > { enum { value = true }; };
[all …]
DVector.h33 template <typename TYPE>
42 template <class TYPE>
212 template<typename T> struct trait_trivial_move<Vector<T> > { enum { value = true }; };
218 template<class TYPE> inline
228 template<class TYPE> inline
233 template<class TYPE> inline
238 template<class TYPE> inline
243 template<class TYPE> inline
249 template<class TYPE> inline
255 template<class TYPE> inline
[all …]
DSortedVector.h34 template <class TYPE>
138 template<typename T> struct trait_trivial_move<SortedVector<T> > { enum { value = true }; };
144 template<class TYPE> inline
154 template<class TYPE> inline
159 template<class TYPE> inline
164 template<class TYPE> inline
170 template<class TYPE> inline
176 template<class TYPE> inline
181 template<class TYPE> inline
187 template<class TYPE> inline
[all …]
DRefBase.h45 template<typename U> \
49 template<typename U> \
173 template <class T>
216 template <typename T>
227 template<typename U> wp(U* other);
228 template<typename U> wp(const sp<U>& other);
229 template<typename U> wp(const wp<U>& other);
239 template<typename U> wp& operator = (U* other);
240 template<typename U> wp& operator = (const wp<U>& other);
241 template<typename U> wp& operator = (const sp<U>& other);
[all …]
DFlattenable.h31 template<int N>
37 template<int N>
45 template<int N>
61 template<typename T>
68 template<typename T>
82 template <typename T>
108 template<typename T>
112 template<typename T>
116 template<typename T>
121 template<typename T>
[all …]
DKeyedVector.h34 template <typename KEY, typename VALUE>
102 template<typename KEY, typename VALUE> struct trait_trivial_move<KeyedVector<KEY, VALUE> > {
113 template <typename KEY, typename VALUE>
126 template<typename KEY, typename VALUE> inline
131 template<typename KEY, typename VALUE> inline
136 template<typename KEY, typename VALUE> inline
141 template<typename KEY, typename VALUE> inline
148 template<typename KEY, typename VALUE> inline
153 template<typename KEY, typename VALUE> inline
158 template<typename KEY, typename VALUE> inline
[all …]
DDebug.h27 template<bool> struct CompileTimeAssert;
28 template<> struct CompileTimeAssert<true> {};
30 template class CompileTimeAssert< (_exp) >;
38 template<bool C, typename LSH, typename RHS> struct CompileTimeIfElse;
39 template<typename LHS, typename RHS>
41 template<typename LHS, typename RHS>
DLruCache.h30 template<typename EntryKey, typename EntryValue>
37 template <typename TKey, typename TValue>
141 template <typename TKey, typename TValue>
152 template <typename TKey, typename TValue>
158 template<typename K, typename V>
163 template <typename TKey, typename TValue>
168 template <typename TKey, typename TValue>
180 template <typename TKey, typename TValue>
196 template <typename TKey, typename TValue>
212 template <typename TKey, typename TValue>
[all …]
DList.h41 template<typename T>
71 template <typename TYPE>
77 template <typename TYPE>
83 template<
85 template <class> class Constness
103 template<typename V> explicit
125 template<typename OTHER>
129 template<typename OTHER>
268 template<
270 template <class> class CL,
[all …]
DSingleton.h28 template <typename TYPE>
68 template<> ::android::Mutex \
70 template<> TYPE* ::android::Singleton< TYPE >::sInstance(0); \
71 template class ::android::Singleton< TYPE >;
/system/core/libpixelflinger/codeflinger/tinyutils/
Dsmartpointer.h37 template<typename U> \
41 template<typename U> \
48 template <typename T>
56 template<typename U> sp(U* other);
57 template<typename U> sp(const sp<U>& other);
66 template<typename U> sp& operator = (const sp<U>& other);
67 template<typename U> sp& operator = (U* other);
88 template<typename Y> friend class sp;
96 template<typename T>
103 template<typename T>
[all …]
/system/core/libmemunreachable/
DAllocator.h34 template<typename T>
62 template<class T>
77 template<class T>
80 template<class T, class... Args>
92 template<class T>
95 template<class T, class... Args>
104 template<typename T>
117 template<typename U>
133 template<typename U>
137 template<typename U>
[all …]
DTarjan.h26 template<class T>
43 template<class F>
53 template<class T>
56 template<class T>
59 template<class T>
62 template<class T>
78 template<class T>
96 template<class T>
125 template<class T>
/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 …]
Dauthorization_set.h220 template <keymaster_tag_t Tag, typename T>
228 template <keymaster_tag_t Tag, typename T>
236 template <keymaster_tag_t Tag>
245 template <keymaster_tag_t T>
255 template <keymaster_tag_t Tag>
264 template <keymaster_tag_t T>
274 template <keymaster_tag_t Tag>
283 template <keymaster_tag_t Tag, typename T>
293 template <keymaster_tag_t Tag, typename T>
303 template <keymaster_tag_t Tag, typename T>
[all …]
Dandroid_keymaster_utils.h53 template <typename T, size_t N> inline size_t array_size(const T (&a)[N]) { in array_size()
60 template <typename T, size_t N> inline size_t array_length(const T (&)[N]) { in array_length()
68 template <typename T> inline T* dup_array(const T* a, size_t n) { in dup_array()
81 template <typename T, size_t N> inline T* dup_array(const T (&a)[N]) { in dup_array()
94 template <typename T, size_t N> inline void copy_array(const T (&arr)[N], T* dest) { in copy_array()
104 template <typename T, size_t N> inline bool array_contains(const T (&a)[N], T val) { in array_contains()
144 template <typename T> explicit Eraser(T* t);
146 template <typename T>
149 template <size_t N> explicit Eraser(uint8_t (&arr)[N]) : buf_(arr), size_(N) {} in Eraser()
167 template <typename T> class ArrayWrapper {
[all …]
/system/core/libcutils/
Dashmem-host.c43 char template[PATH_MAX]; in ashmem_create_region() local
44 snprintf(template, sizeof(template), "/tmp/android-ashmem-%d-XXXXXXXXX", getpid()); in ashmem_create_region()
45 int fd = mkstemp(template); in ashmem_create_region()
48 unlink(template); in ashmem_create_region()
/system/core/base/include/android-base/
Dstrings.h39 template <typename ContainerT, typename SeparatorT>
54 extern template std::string Join(const std::vector<std::string>&, char);
55 extern template std::string Join(const std::vector<const char*>&, char);
56 extern template std::string Join(const std::vector<std::string>&, const std::string&);
57 extern template std::string Join(const std::vector<const char*>&, const std::string&);
/system/core/include/sysutils/
DList.h42 template<typename T>
72 template <typename TYPE>
78 template <typename TYPE>
84 template<
86 template <class> class Constness
104 template<typename V> explicit
126 template<typename OTHER>
130 template<typename OTHER>
269 template<
271 template <class> class CL,
[all …]
/system/keymaster/
DList.h41 template<typename T>
71 template <typename TYPE>
77 template <typename TYPE>
83 template<
85 template <class> class Constness
103 template<typename V> explicit
125 template<typename OTHER>
129 template<typename OTHER>
268 template<
270 template <class> class CL,
[all …]
/system/core/liblog/tests/
Dbenchmark.h30 template <typename T> class BenchmarkWantsArg;
31 template <typename T> class BenchmarkWithArg;
58 template <typename T>
75 template <typename T>
97 template <typename T>
104 template <>
122 template <typename T>
129 template <typename T>
/system/extras/perfprofd/quipper/base/
Dmacros.h63 template <typename T, size_t N>
70 template <typename T, size_t N>
135 template<typename To, typename From>
212 template <class Dest, class Source>
229 template<typename T>
/system/bt/service/ipc/binder/
Dremote_callback_map.h37 template<typename K, typename V>
125 template<typename K, typename V>
130 template<typename K, typename V>
157 template<typename K, typename V>
170 template<typename K, typename V>
181 template<typename K, typename V>
194 template<typename K, typename V>
202 template<typename K, typename V>
223 template<typename K, typename V>
236 template<typename K, typename V>
/system/update_engine/common/
Daction_pipe.h51 template<typename T>
54 template<typename ObjectType>
70 template<typename FromAction, typename ToAction>
90 template<typename FromAction, typename ToAction>

12345