Home
last modified time | relevance | path

Searched refs:typename (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/system/chre/util/include/chre/util/
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 …]
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>
78 typename DynamicVector<ElementType>::size_type
83 template<typename ElementType>
[all …]
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 …]
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 …]
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 …]
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 …]
Dsingleton_impl.h27 template<typename ObjectType>
28 typename std::aligned_storage<sizeof(ObjectType), alignof(ObjectType)>::type
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/libvintf/include/vintf/
DMapValueIterator.h27 template<typename Map>
29 using K = typename Map::key_type;
30 using V = typename Map::mapped_type;
38 typename std::conditional<is_const, const V *, V *>::type /* Pointer */,
39 typename std::conditional<is_const, const V &, V &>::type /* Reference */
43 using ptr_type = typename traits::pointer;
44 using ref_type = typename traits::reference;
45 using diff_type = typename traits::difference_type;
47 using map_iter = typename std::conditional<is_const,
48 typename Map::const_iterator, typename Map::iterator>::type;
[all …]
/system/nvram/messages/include/nvram/messages/
Dtagged_union.h101 template <uint64_t tag, typename Member>
107 template <typename TagType, typename... Members>
129 template <typename TagType, TagType tag, typename... Member>
132 template <typename TagType,
135 typename MemberType,
136 typename... Tail>
141 using Type = typename MemberForTag<TagType, tag, Tail...>::Type;
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>
208 using Type = typename Prev::Type;
[all …]
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>
76 using Type = typename make_index_sequence_builder<size - 1,
[all …]
/system/core/libutils/include/utils/
DKeyedVector.h35 template <typename KEY, typename VALUE>
107 template <typename KEY, typename VALUE>
120 template<typename KEY, typename VALUE> inline
125 template<typename KEY, typename VALUE> inline
130 template<typename KEY, typename VALUE> inline
135 template<typename KEY, typename VALUE> inline
142 template<typename KEY, typename VALUE> inline
147 template<typename KEY, typename VALUE> inline
152 template<typename KEY, typename VALUE> inline
157 template<typename KEY, typename VALUE> inline
[all …]
DStrongPointer.h26 template<typename T> class wp;
30 template<typename T>
38 template <typename... Args>
44 template<typename U> sp(U* other); // NOLINT(implicit)
45 template<typename U> sp(const sp<U>& other); // NOLINT(implicit)
46 template<typename U> sp(sp<U>&& other); // NOLINT(implicit)
56 template<typename U> sp& operator = (const sp<U>& other);
57 template<typename U> sp& operator = (sp<U>&& other);
58 template<typename U> sp& operator = (U* other);
75 template<typename U>
[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>
119 template<typename TYPE> inline
124 template<typename TYPE> inline
[all …]
DLruCache.h30 template<typename EntryKey, typename EntryValue>
37 template <typename TKey, typename TValue>
106 typename LruCacheSet::iterator findByKey(const TKey& key) { in findByKey()
108 typename LruCacheSet::iterator result = mSet->find(&entryForSearch); in findByKey()
156 typename LruCacheSet::iterator mIterator;
162 template <typename TKey, typename TValue>
173 template <typename TKey, typename TValue>
179 template<typename K, typename V>
184 template <typename TKey, typename TValue>
189 template <typename TKey, typename TValue>
[all …]
DRefBase.h194 template<typename U> \
203 template<template<typename C> class comparator, typename T, typename U>
205 return comparator<typename std::common_type<T*, U*>::type>()(a, b); in _wp_compare_()
211 template<typename U> \
360 template <typename T>
364 typedef typename RefBase::weakref_type weakref_type;
371 template<typename U> wp(U* other); // NOLINT(implicit)
372 template<typename U> wp(const sp<U>& other); // NOLINT(implicit)
373 template<typename U> wp(const wp<U>& other); // NOLINT(implicit)
383 template<typename U> wp& operator = (U* other);
[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/libbase/include/android-base/
Dcollections.h35 template <typename CollectionType, typename T>
40 template <typename CollectionType, typename T, typename... Args>
48 template <typename T, typename Arg, typename... Args>
50 static_assert(std::is_same<T, typename std::decay<Arg>::type>::value); in AssertType()
53 template <typename T, typename Arg, typename... Args>
55 static_assert(std::is_same<T, typename std::decay<Arg>::type>::value); in AssertType()
/system/core/fs_mgr/libsnapshot/
Dfuzz_utils.h42 template <typename Class>
47 template <typename Class>
50 void CheckEmplace(typename FunctionMapImpl<Class>::key_type key, in CheckEmplace()
51 typename FunctionMapImpl<Class>::mapped_type&& value) { in CheckEmplace()
58 template <typename Action>
73 template <typename Action>
75 const typename Action::Proto& action_proto) { in GetValueFieldDescriptor()
85 template <typename Action>
86 void ExecuteActionProto(typename Action::ClassType* module, in ExecuteActionProto()
87 const typename Action::Proto& action_proto) { in ExecuteActionProto()
[all …]
/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); // NOLINT, implicit
57 template<typename U> sp(const sp<U>& other); // NOLINT, implicit
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/teeui/libteeui/include/teeui/
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>
131 template <typename Impl> class HMac {
133 template <typename... Data>
141 template <typename IntType, uint32_t byteOrder> struct choose_hton;
[all …]
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...> {
73 template <typename T, typename Variant> struct StringBuffer {
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()) {
108 template <typename T>
117 template <typename T, size_t size> StringBuffer<T, ByteStr> bytes(const T (&str)[size]) {
121 template <typename T> StringBuffer<T, ByteStr> bytes(const T* str, size_t size) {
[all …]
/system/libfmq/include/fmq/
DMessageQueueBase.h36 template <template <typename, hardware::MQFlavor> class MQDescriptorType, typename T,
451 template <template <typename, hardware::MQFlavor> typename MQDescriptorType, typename T,
468 template <template <typename, hardware::MQFlavor> typename MQDescriptorType, typename T,
503 template <template <typename, hardware::MQFlavor> typename MQDescriptorType, typename T,
535 template <template <typename, hardware::MQFlavor> typename MQDescriptorType, typename T,
567 template <template <typename, hardware::MQFlavor> typename MQDescriptorType, typename T,
613 template <template <typename, hardware::MQFlavor> typename MQDescriptorType, typename T,
625 template <template <typename, hardware::MQFlavor> typename MQDescriptorType, typename T,
678 template <template <typename, hardware::MQFlavor> typename MQDescriptorType, typename T,
698 template <template <typename, hardware::MQFlavor> typename MQDescriptorType, typename T,
[all …]
/system/security/keystore/include/keystore/
Dkeystore_concurrency.h25 template <typename LockedType> class UnlockProxyLockHelper {
56 template <typename T = LockedType>
63 template <typename LockedType, typename MutexType, template <typename> class GuardType>
75 template <typename T = LockedType>
82 template <typename Implementation> class ProxyLock {
89 template <typename... Args> ProxyLock(Args&&... args) : impl_{std::forward<Args>(args)...} {} in ProxyLock()
93 template <typename T = typename Implementation::lockedType>
94 std::enable_if_t<!std::is_const<typename Implementation::lockedType>::value, T*> operator->() {
98 template <typename T = typename Implementation::lockedType>
99 std::enable_if_t<!std::is_const<typename Implementation::lockedType>::value, T&> operator*() {
[all …]
/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>
93 std::is_same<typename FromAction::OutputObjectType, in BondActions()
94 typename ToAction::InputObjectType>::value, in BondActions()
96 ActionPipe<typename FromAction::OutputObjectType>::Bond(from, to); in BondActions()

12345678910>>...13