/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | type_operators.h | 23 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 …]
|
D | variant.h | 18 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 …]
|
D | remote_method.h | 27 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 …]
|
D | argument_encoder.h | 21 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 …]
|
D | find_replace.h | 13 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>
|
D | remote_method_type.h | 17 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 …]
|
D | serialization.h | 72 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 …]
|
D | copy_cv_reference.h | 13 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/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | AData.h | 99 template<typename T, typename ...Args> 115 template<typename T> 146 template<typename ...Ts> 149 using _type = typename std::aligned_union<0, Ts...>::type; ///< storage type 165 typename T, typename ...Args, 166 typename=typename std::enable_if<is_one_of<T, void, Ts...>::value>::type> 182 typename T, 183 typename=typename std::enable_if<is_one_of<T, void, Ts...>::value>::type> 197 typename T, 198 typename=typename std::enable_if<is_one_of<T, Ts...>::value>::type> [all …]
|
D | TypeTraits.h | 36 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 …]
|
D | Flagged.h | 115 template<typename Flag> 131 template<typename Flag> 148 template<typename Flag, typename IntFlag = typename underlying_integral_type<Flag>::type> 167 template<typename Flag, typename IntFlag=typename underlying_integral_type<Flag>::type> 203 template<typename Flag, 204 typename IntFlag = typename underlying_integral_type<Flag>::type> 254 template<typename Flag> 267 typename T, typename Flag, 268 bool=std::is_base_of<base<typename underlying_integral_type<Flag>::type>, T>::value> 270 using IntFlag = typename underlying_integral_type<Flag>::type; [all …]
|
D | ALookup.h | 26 template<typename T, typename U> 33 template<typename V, typename = typename std::enable_if<!std::is_same<T, V>::value>::type> 36 template<typename V, typename = typename std::enable_if<!std::is_same<T, V>::value>::type> 43 template<typename T, typename U> 48 template<typename T, typename U> 59 template<typename T, typename U>
|
/frameworks/native/libs/binder/include/binder/ |
D | SafeInterface.h | 49 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/ |
D | C2.h | 189 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 …]
|
D | C2ParamDef.h | 38 template<typename S, typename=decltype(S() == S())> 40 template<typename> 43 template<typename S, typename=decltype(S() != S())> 45 template<typename> 54 template<typename S> 63 template<typename S, int=S::CORE_INDEX> 65 template<typename> 76 template<typename S, int CoreIndex> 88 template<typename S, int CoreIndex, unsigned TypeFlags> 112 template<typename S, unsigned=S::FLEX_SIZE> [all …]
|
/frameworks/native/libs/math/include/math/ |
D | mat4.h | 41 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 …]
|
D | mat3.h | 37 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 …]
|
D | mat2.h | 71 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/tools/aapt2/util/ |
D | Maybe.h | 34 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/base/libs/hwui/utils/ |
D | TypeLogic.h | 23 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/native/include/ftl/ |
D | small_map.h | 57 template <typename K, typename V, std::size_t N> 65 using value_type = typename Map::value_type; 66 using size_type = typename Map::size_type; 67 using difference_type = typename Map::difference_type; 69 using reference = typename Map::reference; 70 using iterator = typename Map::iterator; 72 using const_reference = typename Map::const_reference; 73 using const_iterator = typename Map::const_iterator; 95 template <typename U, std::size_t... Sizes, typename... Types> 150 template <typename F, typename R = std::invoke_result_t<F, const mapped_type&>> [all …]
|
D | initializer_list.h | 49 template <typename T, typename Sizes = std::index_sequence<>, typename... Types> 52 template <typename T, std::size_t... Sizes, typename... Types> 56 template <typename... Args> 68 template <typename K, typename V> 74 template <typename K, typename V, std::size_t... Sizes, typename... Types> 77 template <typename... Args> 92 template <typename T, typename... Args> 97 template <typename K, typename V, typename... Args> 102 template <typename K, typename V>
|
/frameworks/rs/cpp/util/ |
D | StrongPointer.h | 34 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/ |
D | traits.h | 29 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 …]
|
/frameworks/native/libs/binder/ndk/include_cpp/android/ |
D | binder_to_string.h | 63 template <typename _T> 69 template <typename _T> 71 template <typename _U> 73 template <typename _U> 81 template <typename _T> 83 template <typename _U> 85 template <typename _U> 92 template <typename T, template <typename...> typename U> 95 template <template <typename...> typename U, typename... Args> 99 template <typename _T> [all …]
|