Home
last modified time | relevance | path

Searched refs:enable_if (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/native/libs/binder/include/binder/
DSafeInterface.h50 typename std::enable_if<std::is_enum<E>::value, status_t>::type read(const Parcel& parcel, in read()
58 typename std::enable_if<std::is_enum<E>::value, status_t>::type write(Parcel* parcel, in write()
63 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type read( in read()
68 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write( in write()
73 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type read( in read()
79 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write( in write()
84 typename std::enable_if<std::is_base_of<LightFlattenable<T>, T>::value, status_t>::type read( in read()
89 typename std::enable_if<std::is_base_of<LightFlattenable<T>, T>::value, status_t>::type write( in write()
94 typename std::enable_if<std::is_same<NH, sp<NativeHandle>>::value, status_t>::type read( in read()
100 typename std::enable_if<std::is_same<NH, sp<NativeHandle>>::value, status_t>::type write( in write()
[all …]
/frameworks/av/media/codec2/core/include/
DC2.h199 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…
291 template<typename U, typename E=typename std::enable_if<(sizeof(U) < sizeof(T))>::type>
312 template<typename U, typename E=typename std::enable_if<(sizeof(U) < sizeof(T))>::type> \
341 template<typename U, typename E=typename std::enable_if<std::is_unsigned<U>::value>::type>
347 template<typename U, typename E=typename std::enable_if<std::is_unsigned<U>::value>::type>
384 template<typename U, typename T, typename E=typename std::enable_if<std::is_integral<U>::value>::ty…
389 template<typename U, typename T, typename E=typename std::enable_if<std::is_integral<U>::value>::ty…
394 template<typename U, typename T, typename E=typename std::enable_if<std::is_integral<U>::value>::ty…
/frameworks/native/libs/vr/libbroadcastring/include/libbroadcastring/
Dbroadcast_ring.h624 typename std::enable_if<T::kUseStaticRecordSize, uint32_t>::type
630 typename std::enable_if<!T::kUseStaticRecordSize, uint32_t>::type
636 typename std::enable_if<T::kUseStaticRecordSize, void>::type set_record_size( in set_record_size()
640 typename std::enable_if<!T::kUseStaticRecordSize, void>::type set_record_size( in set_record_size()
646 typename std::enable_if<T::kUseStaticRecordCount, uint32_t>::type
652 typename std::enable_if<!T::kUseStaticRecordCount, uint32_t>::type
658 typename std::enable_if<T::kUseStaticRecordCount, void>::type
662 typename std::enable_if<!T::kUseStaticRecordCount, void>::type
/frameworks/base/libs/androidfw/include/androidfw/
DMutexGuard.h55 typename std::enable_if<std::is_copy_constructible<U>::value>::type = void())
61 typename std::enable_if<std::is_move_constructible<U>::value>::type = void())
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAData.h162 typename=typename std::enable_if<is_one_of<T, void, Ts...>::value>::type>
179 typename=typename std::enable_if<is_one_of<T, void, Ts...>::value>::type>
194 typename=typename std::enable_if<is_one_of<T, Ts...>::value>::type>
241 using enable_if_T_is_same_as = typename std::enable_if<std::is_same<U, T>::value>::type;
338 using enable_if_T_is_same_as = typename std::enable_if<std::is_same<U, T>::value>::type;
493 static typename std::enable_if<std::is_move_constructible<V>::value, bool>::type
505 static typename std::enable_if<!std::is_move_constructible<V>::value, bool>::type
616 template<typename T, typename=typename std::enable_if<is_one_of<T, Ts...>::value>::type>
649 using enable_if_can_be_converted = typename std::enable_if<
693 template<typename T, typename=typename std::enable_if<is_one_of<T, Ts...>::value>::type>
[all …]
DALookup.h33 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>
DTypeTraits.h49 typename U=typename std::enable_if<is_integral_or_enum<T>::value>::type,
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dreflection.h66 T, typename internal::enable_if<!internal::is_base_of<Message, T>::value>::type> {
109 T, typename internal::enable_if<!internal::is_base_of<Message, T>::value>::type> {
174 T, typename internal::enable_if<internal::is_base_of<Message, T>::value>::type> {
235 T, typename internal::enable_if<internal::is_base_of<Message, T>::value>::type> {
525 T, typename internal::enable_if<PrimitiveTraits<T>::is_primitive>::type> {
540 T, typename internal::enable_if<is_proto_enum<T>::value>::type> {
556 … T, typename internal::enable_if< ::google::protobuf::internal::is_same<string, T>::value>::type> {
584 T, typename internal::enable_if<internal::is_base_of<Message, T>::value>::type> {
/frameworks/base/tools/aapt2/util/
DMaybe.h288 typename std::enable_if<has_eq_op<T, U>::value, bool>::type operator==(const Maybe<T>& a,
299 typename std::enable_if<has_eq_op<T, U>::value, bool>::type operator==(const Maybe<T>& a,
306 typename std::enable_if<has_eq_op<T, U>::value, bool>::type operator!=(const Maybe<T>& a,
312 typename std::enable_if<has_lt_op<T, U>::value, bool>::type operator<(const Maybe<T>& a,
DImmutableMap.h51 template <typename TKey2, typename = typename std::enable_if<
/frameworks/native/libs/math/include/math/
DTMatHelpers.h539 typename = typename std::enable_if<std::is_arithmetic<Y>::value >::type,
540 typename = typename std::enable_if<std::is_arithmetic<P>::value >::type,
541 typename = typename std::enable_if<std::is_arithmetic<R>::value >::type
558 typename = typename std::enable_if<std::is_arithmetic<Y>::value >::type,
559 typename = typename std::enable_if<std::is_arithmetic<P>::value >::type,
560 typename = typename std::enable_if<std::is_arithmetic<R>::value >::type
Dmat2.h343 constexpr typename std::enable_if<std::is_arithmetic<U>::value, TMat22<T>>::type PURE
350 constexpr typename std::enable_if<std::is_arithmetic<U>::value, TMat22<T>>::type PURE
Dvec2.h88 template<typename A, typename = typename std::enable_if<std::is_arithmetic<A>::value >::type>
Dvec3.h88 template<typename A, typename = typename std::enable_if<std::is_arithmetic<A>::value >::type>
Dvec4.h92 template<typename A, typename = typename std::enable_if<std::is_arithmetic<A>::value >::type>
Dmat3.h396 constexpr typename std::enable_if<std::is_arithmetic<U>::value, TMat33<T>>::type PURE
403 constexpr typename std::enable_if<std::is_arithmetic<U>::value, TMat33<T>>::type PURE
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dnumeric.h108 std::enable_if<std::is_floating_point<T>::value>::type* = 0) {
118 std::enable_if<std::is_integral<T>::value>::type* = 0) {
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dtype_traits.h88 template <bool cond, class T = void> struct enable_if;
119 template<bool cond, class T> struct enable_if { typedef T type; }; struct
120 template<class T> struct enable_if<false, T> {};
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dremote_method.h36 typename std::enable_if<IsVoidMethod<RemoteMethodType>::value>::type;
41 typename std::enable_if<!IsVoidMethod<RemoteMethodType>::value>::type;
73 typename std::enable_if<IsDirectReturn<Return>::value, Type>::type;
77 typename std::enable_if<!IsDirectReturn<Return>::value, Type>::type;
Dvariant.h53 typename std::enable_if<IsConstructible<T, Args...>::value, R>::type;
57 typename std::enable_if<!IsConstructible<T, Args...>::value, R>::type;
99 typename std::enable_if<HasType<T, Types...>::value, R>::type;
103 typename std::enable_if<!HasType<T, Types...>::value, R>::type;
110 typename std::enable_if<!HasType<T, Types...>::value &&
121 typename std::enable_if<HasType<T, Types...>::value ||
/frameworks/base/tools/aapt2/test/
DCommon.h112 typename std::enable_if<std::is_base_of<Value, T>::value, std::ostream&>::type operator<<(
208 typename = typename std::enable_if<!std::is_pointer<TValue>::value, void>::type>
/frameworks/native/libs/vr/libvrflinger/
Dhwc_types.h72 using EnableIfMatchingEnum = typename std::enable_if<
80 using EnableIfSafeCast = typename std::enable_if<
/frameworks/native/libs/ui/include/ui/
DSize.h112 typename std::enable_if< in clamp()
/frameworks/native/libs/ui/include_vndk/ui/
DSize.h112 typename std::enable_if< in clamp()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dutility.h242 typename std::enable_if<sizeof(Type) == sizeof(uint8_t), bool>::type
248 typename std::enable_if<sizeof(Type) == sizeof(uint8_t), bool>::type

12