Home
last modified time | relevance | path

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

12345678910>>...15

/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dtype_operators.h23 template <typename T>
24 using Decay = typename std::decay<T>::type;
27 template <typename A, typename B>
28 using IsEquivalent = typename std::is_same<Decay<A>, Decay<B>>::type;
31 template <typename... T>
33 template <typename A, typename B>
35 template <typename A, typename B, typename... Rest>
52 template <typename A, typename B>
57 template <template <typename, typename...> class TT, typename A, typename B,
58 typename... AnyA, typename... AnyB>
[all …]
Dvariant.h18 template <typename T>
22 template <std::size_t I, typename... Types>
26 template <std::size_t I, typename... Types>
39 template <typename...>
41 template <typename T, typename U>
47 template <typename T, typename... Args>
51 template <typename R, typename T, typename... Args>
53 typename std::enable_if<IsConstructible<T, Args...>::value, R>::type;
55 template <typename R, typename T, typename... Args>
57 typename std::enable_if<!IsConstructible<T, Args...>::value, R>::type;
[all …]
Dremote_method.h27 template <typename RemoteMethodType>
28 using IsVoidMethod = typename std::integral_constant<
30 std::is_same<typename RemoteMethodType::Traits::template Arg<0>,
34 template <typename RemoteMethodType>
36 typename std::enable_if<IsVoidMethod<RemoteMethodType>::value>::type;
39 template <typename RemoteMethodType>
41 typename std::enable_if<!IsVoidMethod<RemoteMethodType>::value>::type;
47 template <typename RemoteMethodType>
49 template <typename RemoteMethodType>
56 template <typename T>
[all …]
Dfind_replace.h13 template <typename Find, typename Replace>
16 template <typename T, typename U>
17 using IsSameBaseType = typename std::is_same<typename std::decay<T>::type,
18 typename std::decay<U>::type>;
22 template <typename Find, typename Replace, typename Subject>
24 typename std::conditional<IsSameBaseType<Find, Subject>::value,
30 template <typename Find, typename... Types>
33 template <typename Find, typename First, typename... Rest>
38 template <typename Find>
Dargument_encoder.h21 template <typename T>
25 template <typename... Args>
40 template <typename Return, typename... Args>
44 using ReturnType = typename std::decay<Return>::type;
64 template <typename Return, typename... Args>
72 template <typename Class, typename Return, typename... Args>
80 template <typename Class, typename Return, typename... Args>
88 template <typename Signature>
100 template <typename T>
104 template <typename... Args>
[all …]
Dremote_method_type.h17 template <int Opcode_, typename Signature_>
23 typedef typename Traits::Signature Signature;
24 typedef typename Traits::Return Return;
25 typedef typename Traits::Args Args;
27 template <typename... Params>
28 using RewriteArgs = typename Traits::template RewriteArgs<Params...>;
30 template <typename ReturnType, typename... Params>
32 typename Traits::template RewriteSignature<ReturnType, Params...>;
34 template <template <typename> class Wrapper, typename ReturnType,
35 typename... Params>
[all …]
Dserialization.h72 template <typename T>
75 template <typename T, typename... MemberPointers>
79 template <template <typename...> class TT, typename... Ts>
81 template <template <typename...> class TT>
85 template <template <typename...> class TT, typename T>
89 template <typename... Ts>
94 template <typename, typename = void>
96 template <typename T>
98 T, TrySerializableMembersType<typename T::SerializableMembers>>
101 typename T::SerializableMembers>::value> {};
[all …]
Dcopy_cv_reference.h13 template <typename T, typename U>
16 using R = typename std::remove_reference<T>::type;
18 typename std::conditional<std::is_const<R>::value,
19 typename std::add_const<U>::type, U>::type;
21 typename std::conditional<std::is_volatile<R>::value,
22 typename std::add_volatile<U1>::type, U1>::type;
24 typename std::conditional<std::is_lvalue_reference<T>::value,
25 typename std::add_lvalue_reference<U2>::type,
28 typename std::conditional<std::is_rvalue_reference<T>::value,
29 typename std::add_rvalue_reference<U3>::type,
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dmap_util.h73 const typename Collection::value_type::second_type&
75 const typename Collection::value_type::first_type& key) {
76 typename Collection::const_iterator it = collection.find(key);
83 typename Collection::value_type::second_type&
85 const typename Collection::value_type::first_type& key) {
86 typename Collection::iterator it = collection.find(key);
93 const typename Collection::value_type::second_type&
95 const typename Collection::value_type::first_type& key) {
96 typename Collection::const_iterator it = collection.find(key);
103 typename Collection::value_type::second_type&
[all …]
Dcallback.h81 template<typename R>
93 template<typename R, typename A1>
105 template<typename R, typename A1, typename A2>
138 template <typename Class>
159 template <typename Arg1>
182 template <typename Class, typename Arg1>
206 template <typename Arg1, typename Arg2>
230 template <typename Class, typename Arg1, typename Arg2>
255 template<typename R>
276 template<typename R, typename P1>
[all …]
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAData.h95 template<typename T, typename ...Args>
111 template<typename T>
142 template<typename ...Ts>
145 using _type = typename std::aligned_union<0, Ts...>::type; ///< storage type
161 typename T, typename ...Args,
162 typename=typename std::enable_if<is_one_of<T, void, Ts...>::value>::type>
178 typename T,
179 typename=typename std::enable_if<is_one_of<T, void, Ts...>::value>::type>
193 typename T,
194 typename=typename std::enable_if<is_one_of<T, Ts...>::value>::type>
[all …]
DTypeTraits.h36 template<typename T>
48 template<typename T,
49 typename U=typename std::enable_if<is_integral_or_enum<T>::value>::type,
59 template<typename T, typename U>
63 typedef typename std::underlying_type<T>::type type;
67 template<typename T, typename U>
77 template<typename T>
80 typename underlying_integral_type<T, unsigned>::type>::value> { };
85 template<typename T>
88 typename underlying_integral_type<T, signed>::type>::value> {
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Darena.h70 template<typename Type>
74 template<typename T> void arena_destruct_object(void* object) { in arena_destruct_object()
77 template<typename T> void arena_delete_object(void* object) { in arena_delete_object()
249 template <typename T> GOOGLE_ATTRIBUTE_ALWAYS_INLINE
261 template <typename T, typename Arg> GOOGLE_ATTRIBUTE_ALWAYS_INLINE
274 template <typename T, typename Arg1, typename Arg2> GOOGLE_ATTRIBUTE_ALWAYS_INLINE
301 template <typename T> GOOGLE_ATTRIBUTE_ALWAYS_INLINE
311 template <typename T, typename Arg> GOOGLE_ATTRIBUTE_ALWAYS_INLINE
322 template <typename T, typename Arg1, typename Arg2> GOOGLE_ATTRIBUTE_ALWAYS_INLINE
334 template <typename T, typename Arg1, typename Arg2, typename Arg3>
[all …]
Drepeated_field.h83 template <typename Iter>
88 template <typename Iter>
94 template <typename Iter>
96 typedef typename std::iterator_traits<Iter>::iterator_category Category; in CalculateReserve()
106 template <typename Element>
112 template <typename Iter>
293 template<typename Element>
298 template <typename It> class RepeatedPtrIterator;
299 template <typename It, typename VoidPtr> class RepeatedPtrOverPtrsIterator;
308 template <typename Element,
[all …]
Dmap_field_inl.h47 template<typename T>
75 template<typename T>
103 template <typename Key, typename T>
104 typename Map<Key, T>::const_iterator&
107 return *reinterpret_cast<typename Map<Key, T>::const_iterator *>( in InternalGetIterator()
111 template <typename Key, typename T>
117 template <typename Key, typename T>
122 template <typename Key, typename T>
129 template <typename Key, typename T>
136 template <typename Key, typename T>
[all …]
Dmap_field_lite.h44 template <typename Key, typename T,
94 template <typename Key, typename T,
105 template <typename Key, typename T,
116 template <typename Key, typename T,
125 template <typename Key, typename T,
135 template <typename Key, typename T,
145 template <typename Key, typename T,
155 template <typename Key, typename T,
165 template <typename Key, typename T,
173 for (typename Map<Key, T>::const_iterator it = other.map_->begin(); in MergeFrom()
[all …]
/frameworks/native/libs/binder/include/binder/
DSafeInterface.h49 template <typename E>
50 typename std::enable_if<std::is_enum<E>::value, status_t>::type read(const Parcel& parcel, in read()
52 typename std::underlying_type<E>::type u{}; in read()
57 template <typename E>
58 typename std::enable_if<std::is_enum<E>::value, status_t>::type write(Parcel* parcel, in write()
60 return write(parcel, static_cast<typename std::underlying_type<E>::type>(e)); in write()
62 template <typename T>
63 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type read( in read()
67 template <typename T>
68 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write( in write()
[all …]
/frameworks/av/media/codec2/core/include/
DC2.h189 template<typename T, typename B>
197 template<typename T>
199 template<typename U, typename E=typename std::enable_if<std::is_integral<U>::value>::type>
205 template<typename U, typename E=typename std::enable_if<(sizeof(U) >= sizeof(T))>::type>
235 template<typename T, typename B=typename std::enable_if<std::is_integral<T>::value && std::is_unsig…
242 template<typename U>
254 template<typename U>
261 inline constexpr typename std::make_signed<T>::type peek() const { in peek()
262 return static_cast<typename std::make_signed<T>::type>(mValue); in peek()
291 template<typename U, typename E=typename std::enable_if<(sizeof(U) < sizeof(T))>::type>
[all …]
/frameworks/native/libs/math/include/math/
Dmat4.h41 template<typename T>
83 template <typename T>
183 template<typename U>
199 template <typename U>
203 template <typename U>
216 template <typename A, typename B, typename C, typename D>
233 typename A, typename B, typename C, typename D,
234 typename E, typename F, typename G, typename H,
235 typename I, typename J, typename K, typename L,
236 typename M, typename N, typename O, typename P>
[all …]
Dmat3.h37 template<typename T>
77 template <typename T>
179 template<typename U>
195 template <typename U>
201 template <typename U>
215 template <typename A, typename B, typename C>
231 typename A, typename B, typename C,
232 typename D, typename E, typename F,
233 typename G, typename H, typename I>
242 template <typename U>
[all …]
Dmat2.h71 template <typename T>
169 template<typename U>
184 template <typename U>
190 template <typename U>
204 template <typename A, typename B>
219 typename A, typename B,
220 typename C, typename D>
226 template <typename U>
249 template <typename T>
255 template <typename T>
[all …]
/frameworks/base/libs/hwui/utils/
DTypeLogic.h23 template <typename D, typename S> struct copy_const {
26 template <typename D, typename S> using copy_const_t = typename copy_const<D, S>::type;
28 template <typename D, typename S> struct copy_volatile {
31 template <typename D, typename S> using copy_volatile_t = typename copy_volatile<D, S>::type;
33 template <typename D, typename S> struct copy_cv {
37 template <typename D, typename S> using same_cv = copy_cv<std::remove_cv_t<D>, S>;
38 template <typename D, typename S> using same_cv_t = typename same_cv<D, S>::type;
/frameworks/base/tools/aapt2/util/
DMaybe.h34 template <typename T>
46 template <typename U>
51 template <typename U>
56 template <typename U>
61 template <typename U>
95 template <typename U>
98 template <typename U>
101 template <typename U>
108 typename std::aligned_storage<sizeof(T), alignof(T)>::type storage_;
111 template <typename T>
[all …]
/frameworks/rs/cpp/util/
DStrongPointer.h34 template<typename T> class wp;
45 template<typename U> \
49 template<typename U> \
56 template<typename U> \
63 template <typename T>
71 template<typename U> sp(U* other); // NOLINT, implicit
72 template<typename U> sp(const sp<U>& other); // NOLINT, implicit
81 template<typename U> sp& operator = (const sp<U>& other);
82 template<typename U> sp& operator = (U* other);
107 template<typename Y> friend class sp;
[all …]
/frameworks/native/services/sensorservice/
Dtraits.h29 template <typename T, typename U>
43 template <typename TList, typename T> struct IndexOf;
45 template <typename T>
50 template <typename T, typename Tail>
55 template <typename Head, typename Tail, typename T>
66 template <bool flag, typename T, typename U>
70 template <typename T, typename U>
78 template <typename T>
94 template<typename U> struct PointerTraits {
98 template<typename U> struct PointerTraits<U*> {
[all …]

12345678910>>...15