Home
last modified time | relevance | path

Searched refs:enable_if_t (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/skia/include/private/
DSkBitmaskEnum.h16 std::enable_if_t<sknonstd::is_bitmask_enum<E>::value, bool> constexpr Any(E e) { in Any()
22 std::enable_if_t<sknonstd::is_bitmask_enum<E>::value, E> constexpr operator|(E l, E r) {
28 std::enable_if_t<sknonstd::is_bitmask_enum<E>::value, E&> constexpr operator|=(E& l, E r) {
33 std::enable_if_t<sknonstd::is_bitmask_enum<E>::value, E> constexpr operator&(E l, E r) {
39 std::enable_if_t<sknonstd::is_bitmask_enum<E>::value, E&> constexpr operator&=(E& l, E r) {
44 std::enable_if_t<sknonstd::is_bitmask_enum<E>::value, E> constexpr operator^(E l, E r) {
50 std::enable_if_t<sknonstd::is_bitmask_enum<E>::value, E&> constexpr operator^=(E& l, E r) {
55 std::enable_if_t<sknonstd::is_bitmask_enum<E>::value, E> constexpr operator~(E e) {
DSkChecksum.h52 std::enable_if_t<sizeof(K) == 4, uint32_t> operator()(const K& k) const { in operator()
57 std::enable_if_t<sizeof(K) != 4, uint32_t> operator()(const K& k) const { in operator()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DTraits.hpp54 struct IsDefined<T, std::enable_if_t<(sizeof(T) > 0)>>
160 struct CToReactorPtr<T, std::enable_if_t<HasReactorType<T>::value>>
180 struct CToReactorPtr<T, std::enable_if_t<std::is_function<T>::value>>
194 struct CToReactor<T, std::enable_if_t<std::is_pointer<T>::value>>
203 struct CToReactor<T, std::enable_if_t<std::is_enum<T>::value>>
217 struct IsRValue<T, std::enable_if_t<IsDefined<typename T::rvalue_underlying_type>::value>>
236 struct IsReference<T, std::enable_if_t<IsDefined<typename T::reference_underlying_type>::value>>
248 struct ReactorType<T, std::enable_if_t<IsDefined<CToReactorT<T>>::value>>
254 struct ReactorType<T, std::enable_if_t<IsRValue<T>::value>>
260 struct ReactorType<T, std::enable_if_t<IsLValue<T>::value>>
[all …]
DTraits.inl32 CToReactorPtr<T, std::enable_if_t<HasReactorType<T>::value>>::cast(const T *v)
46 CToReactorPtr<T, std::enable_if_t<std::is_function<T>::value>>::cast(T *v)
54 CToReactor<T, std::enable_if_t<std::is_pointer<T>::value>>::cast(T v)
62 CToReactor<T, std::enable_if_t<std::is_enum<T>::value>>::cast(T v)
/third_party/json/include/nlohmann/detail/conversions/
Dto_json.hpp69enable_if_t < !std::is_same<CompatibleStringType, typename BasicJsonType::string_t>::value,
165enable_if_t < !std::is_same<CompatibleArrayType, typename BasicJsonType::array_t>::value,
195 enable_if_t<std::is_convertible<T, BasicJsonType>::value, int> = 0>
235enable_if_t < !std::is_same<CompatibleObjectType, typename BasicJsonType::object_t>::value, int > …
254 enable_if_t<std::is_same<T, typename BasicJsonType::boolean_t>::value, int> = 0>
261enable_if_t<std::is_constructible<typename BasicJsonType::string_t, CompatibleString>::value, int>…
274 enable_if_t<std::is_floating_point<FloatType>::value, int> = 0>
281enable_if_t<is_compatible_integer_type<typename BasicJsonType::number_unsigned_t, CompatibleNumber…
288enable_if_t<is_compatible_integer_type<typename BasicJsonType::number_integer_t, CompatibleNumberI…
295 enable_if_t<std::is_enum<EnumType>::value, int> = 0>
[all …]
Dfrom_json.hpp38 enable_if_t < std::is_arithmetic<ArithmeticType>::value&&
95 enable_if_t <
129 enable_if_t<std::is_enum<EnumType>::value, int> = 0>
139 enable_if_t<is_getable<BasicJsonType, T>::value, int> = 0>
156 enable_if_t<is_getable<BasicJsonType, T>::value, int> = 0>
199 enable_if_t<
223 enable_if_t<
244 enable_if_t <
295enable_if_t<is_constructible_object_type<BasicJsonType, ConstructibleObjectType>::value, int> = 0>
321 enable_if_t <
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Duniform_helper.h79 absl::enable_if_t<absl::disjunction<is_widening_convertible<A, B>,
101 typename absl::enable_if_t<
112 typename absl::enable_if_t<
123 typename absl::enable_if_t<
132 typename absl::enable_if_t<
143 typename absl::enable_if_t<
154 typename absl::enable_if_t<
165 typename absl::enable_if_t<
198 absl::enable_if_t<std::is_floating_point<FloatType>::value, bool>
204 absl::enable_if_t<std::is_integral<IntType>::value, bool>
Dpcg_engine.h70 typename = typename absl::enable_if_t<
93 typename absl::enable_if_t<
108 friend typename absl::enable_if_t<(sizeof(state_type) == 16),
124 friend typename absl::enable_if_t<(sizeof(state_type) <= 8),
137 friend typename absl::enable_if_t<(sizeof(state_type) == 16),
158 friend typename absl::enable_if_t<(sizeof(state_type) <= 8),
/third_party/json/include/nlohmann/detail/meta/
Dtype_traits.hpp109 struct has_from_json < BasicJsonType, T, enable_if_t < !is_basic_json<T>::value >>
124 struct has_non_default_from_json < BasicJsonType, T, enable_if_t < !is_basic_json<T>::value >>
139 struct has_to_json < BasicJsonType, T, enable_if_t < !is_basic_json<T>::value >>
237 enable_if_t < is_detected<mapped_type_t, CompatibleObjectType>::value&&
261 enable_if_t < is_detected<mapped_type_t, ConstructibleObjectType>::value&&
294 enable_if_t<is_detected_exact<typename BasicJsonType::string_t::value_type,
312 enable_if_t<is_detected_exact<typename BasicJsonType::string_t::value_type,
330 enable_if_t < is_detected<value_type_t, CompatibleArrayType>::value&&
353 enable_if_t<std::is_same<ConstructibleArrayType,
360 enable_if_t < !std::is_same<ConstructibleArrayType,
[all …]
Dcpp_future.hpp20 using std::enable_if_t;
29 using enable_if_t = typename std::enable_if<B, T>::type; typedef
/third_party/skia/third_party/externals/dawn/src/common/
DTypedInteger.h57 template <typename Tag, typename T, typename = std::enable_if_t<std::is_integral<T>::value>>
78 typename = std::enable_if_t<
135 static constexpr std::enable_if_t<std::is_unsigned<T2>::value, decltype(T(0) + T2(0))>
145 static constexpr std::enable_if_t<std::is_signed<T2>::value, decltype(T(0) + T2(0))>
163 static constexpr std::enable_if_t<std::is_unsigned<T>::value, decltype(T(0) - T2(0))>
173 static constexpr std::enable_if_t<std::is_signed<T>::value, decltype(T(0) - T2(0))> SubImpl( in SubImpl()
192 constexpr std::enable_if_t<std::is_signed<T2>::value, TypedIntegerImpl> operator-() const {
251 constexpr std::enable_if_t<std::is_integral<T>::value, T> Add(T lhs, T rhs) { in Add()
256 constexpr std::enable_if_t<std::is_integral<T>::value, T> Sub(T lhs, T rhs) { in Sub()
DUnderlyingType.h29 struct UnderlyingTypeImpl<I, typename std::enable_if_t<std::is_integral<I>::value>> {
34 struct UnderlyingTypeImpl<E, typename std::enable_if_t<std::is_enum<E>::value>> {
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dbit_gen_ref.h43 absl::enable_if_t<std::is_same<
46 absl::enable_if_t<std::is_same<
49 absl::enable_if_t<std::is_same<
109 template <typename URBG, typename absl::enable_if_t<
119 typename absl::enable_if_t<(!std::is_same<URBG, BitGenRef>::value &&
Ddistributions.h122 typename absl::enable_if_t<!std::is_same<R, void>::value, R> //
142 typename absl::enable_if_t<!std::is_same<R, void>::value, R> //
164 typename absl::enable_if_t<std::is_same<R, void>::value,
188 typename absl::enable_if_t<std::is_same<R, void>::value,
211 typename absl::enable_if_t<!std::is_signed<R>::value, R> //
/third_party/skia/third_party/externals/abseil-cpp/absl/status/
Dstatusor.h230 absl::enable_if_t<
243 absl::enable_if_t<
257 absl::enable_if_t<
269 absl::enable_if_t<
301 absl::enable_if_t<
317 absl::enable_if_t<
344 absl::enable_if_t<
358 absl::enable_if_t<
372 absl::enable_if_t<
436 absl::enable_if_t<
[all …]
/third_party/flutter/engine/flutter/fml/
Dmessage.h89 typename = std::enable_if_t<std::is_trivially_copyable<T>::value>>
104 typename = std::enable_if_t<
132 typename = std::enable_if_t<std::is_trivially_copyable<T>::value>>
147 typename = std::enable_if_t<
/third_party/skia/third_party/externals/abseil-cpp/absl/types/
Dany.h229 absl::enable_if_t<!absl::disjunction<
237 absl::enable_if_t<absl::conjunction<
249 absl::enable_if_t<
275 absl::enable_if_t<absl::conjunction<
298 absl::enable_if_t<std::is_copy_constructible<VT>::value &&
321 absl::enable_if_t<std::is_copy_constructible<VT>::value &&
/third_party/skia/third_party/externals/angle2/src/libGLESv2/
Dentry_points_cl_utils.h32 typename std::enable_if_t<std::is_enum<PackedT>::value, PackedT> PackParam(FromT from) in PackParam()
39 typename std::enable_if_t<std::is_same<PackedT, BitField>::value, PackedT> PackParam(FromT from) in PackParam()
/third_party/json/include/nlohmann/detail/iterators/
Diterator_traits.hpp36 struct iterator_traits < T, enable_if_t < !std::is_pointer<T>::value >>
42 struct iterator_traits<T*, enable_if_t<std::is_object<T>::value>>
Diteration_proxy.hpp147 template<std::size_t N, typename IteratorType, enable_if_t<N == 0, int> = 0>
155 template<std::size_t N, typename IteratorType, enable_if_t<N == 1, int> = 0>
/third_party/skia/src/core/
DSkRecordPattern.h52 std::enable_if_t<(T::kTags & kDrawWithPaint_Tag) == kDrawWithPaint_Tag, bool>
59 std::enable_if_t<(T::kTags & kDrawWithPaint_Tag) == kDraw_Tag, bool> operator()(T* draw) { in operator()
65 std::enable_if_t<!(T::kTags & kDraw_Tag), bool> operator()(T* draw) { in operator()
DSkPictureCommon.h77 std::enable_if_t<T::kTags & SkRecords::kHasPaint_Tag, void> operator()(const T& op) { in operator()
82 std::enable_if_t<!(T::kTags & SkRecords::kHasPaint_Tag), void>
DSkRecord.h119 std::enable_if_t<std::is_empty<T>::value, T*> allocCommand() { in allocCommand()
125 std::enable_if_t<!std::is_empty<T>::value, T*> allocCommand() { return this->alloc<T>(); } in allocCommand()
/third_party/gn/src/base/containers/
Dflat_map.h223 std::enable_if_t<std::is_constructible<key_type, K&&>::value,
228 std::enable_if_t<std::is_constructible<key_type, K&&>::value, iterator>
331 -> std::enable_if_t<std::is_constructible<key_type, K&&>::value,
344 -> std::enable_if_t<std::is_constructible<key_type, K&&>::value, iterator> {
/third_party/skia/third_party/externals/tint/tools/src/cmd/remote-compile/
Dmain.cc116 std::enable_if_t<std::is_enum<T>::value, Stream> operator<<(T e) { in operator <<()
122 std::enable_if_t<std::is_enum<T>::value, Stream> operator>>(T& e) { in operator >>()
229 std::enable_if_t<std::is_base_of<Message, MESSAGE>::value, Stream>& operator<<( in operator <<()
239 std::enable_if_t<std::is_base_of<Message, MESSAGE>::value, Stream>& operator>>( in operator >>()

1234