/external/protobuf/src/google/protobuf/stubs/ |
D | template_util.h | 77 struct integral_constant { struct 80 typedef integral_constant<T, v> type; argument 83 template <class T, T v> const T integral_constant<T, v>::value; 89 typedef integral_constant<bool, true> true_type; 90 typedef integral_constant<bool, false> false_type; 124 struct and_ : public integral_constant<bool, (A::value && B::value)> { 130 struct or_ : public integral_constant<bool, (A::value || B::value)> {
|
D | type_traits.h | 204 : integral_constant<bool, (is_integral<T>::value || 223 : integral_constant<bool, 238 : integral_constant<bool, 251 : integral_constant<bool, 264 : integral_constant<bool, 325 : integral_constant<bool,
|
D | template_util_unittest.cc | 59 typedef integral_constant<int, 1> one_type; in TEST()
|
/external/pdfium/third_party/base/ |
D | template_util.h | 14 struct integral_constant { struct 17 typedef integral_constant<T, v> type; argument 20 typedef integral_constant<bool, true> true_type; 21 typedef integral_constant<bool, false> false_type;
|
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/ |
D | tuple_size.pass.cpp | 26 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, in test() 28 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, in test() 30 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, in test() 32 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, in test()
|
D | tuple.include.utility.pass.cpp | 27 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, in test() 29 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, in test() 31 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, in test() 33 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, in test()
|
D | tuple.include.array.pass.cpp | 30 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, in test() 32 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, in test() 34 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, in test() 36 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, in test()
|
/external/libcxx/include/ |
D | type_traits | 21 template <class T, T v> struct integral_constant; 22 typedef integral_constant<bool, true> true_type; 23 typedef integral_constant<bool, false> false_type; 247 struct _LIBCPP_TYPE_VIS_ONLY integral_constant 251 typedef integral_constant type; 261 _LIBCPP_CONSTEXPR const _Tp integral_constant<_Tp, __v>::value; 263 typedef integral_constant<bool, true> true_type; 264 typedef integral_constant<bool, false> false_type; 397 : public integral_constant<bool, __is_union(_Tp)> {}; 412 : public integral_constant<bool, __is_class(_Tp)> {}; [all …]
|
D | __tuple | 42 struct __lazy_and_impl<true, _Pred> : integral_constant<bool, _Pred::type::value> {}; 53 struct __lazy_not : integral_constant<bool, !_Pred::type::value> {}; 206 : public integral_constant<size_t, sizeof...(_Tp)> 253 : public integral_constant<bool, 290 : public integral_constant<bool, 327 : public integral_constant<bool,
|
D | scoped_allocator | 383 typedef integral_constant 389 typedef integral_constant 395 typedef integral_constant 503 void __construct(integral_constant<int, 0>, _Tp* __p, _Args&& ...__args) 516 void __construct(integral_constant<int, 1>, _Tp* __p, _Args&& ...__args) 531 void __construct(integral_constant<int, 2>, _Tp* __p, _Args&& ...__args)
|
D | ratio | 401 : public integral_constant<bool, _R1::num == _R2::num && _R1::den == _R2::den> {}; 405 : public integral_constant<bool, !ratio_equal<_R1, _R2>::value> {}; 464 : public integral_constant<bool, __ratio_less<_R1, _R2>::value> {}; 468 : public integral_constant<bool, !ratio_less<_R2, _R1>::value> {}; 472 : public integral_constant<bool, ratio_less<_R2, _R1>::value> {}; 476 : public integral_constant<bool, !ratio_less<_R1, _R2>::value> {};
|
D | tuple | 144 : public integral_constant<size_t, sizeof...(_Tp)> 193 __tuple_leaf(integral_constant<int, 0>, const _Alloc&) 200 __tuple_leaf(integral_constant<int, 1>, const _Alloc& __a) 207 __tuple_leaf(integral_constant<int, 2>, const _Alloc& __a) 237 explicit __tuple_leaf(integral_constant<int, 0>, const _Alloc&, _Tp&& __t) 251 explicit __tuple_leaf(integral_constant<int, 1>, const _Alloc& __a, _Tp&& __t) 265 explicit __tuple_leaf(integral_constant<int, 2>, const _Alloc& __a, _Tp&& __t) 312 __tuple_leaf(integral_constant<int, 0>, const _Alloc&) {} 316 __tuple_leaf(integral_constant<int, 1>, const _Alloc& __a) 321 __tuple_leaf(integral_constant<int, 2>, const _Alloc& __a) [all …]
|
D | __functional_base | 568 : public integral_constant<bool, 600 : integral_constant<int, __uses_alloc_ctor_imp<_Tp, _Alloc, _Args...>::value> 605 void __user_alloc_construct_impl (integral_constant<int, 0>, _Tp *__storage, const _Allocator &, _A… 612 void __user_alloc_construct_impl (integral_constant<int, 1>, _Tp *__storage, const _Allocator &__a,… 619 void __user_alloc_construct_impl (integral_constant<int, 2>, _Tp *__storage, const _Allocator &__a,…
|
D | array | 289 : public integral_constant<size_t, _Size> {}; 293 : public integral_constant<size_t, _Size> {};
|
D | random | 1871 {seed(integral_constant<bool, __m == 0>(), 1872 integral_constant<bool, __c == 0>(), __s);} 1881 {__seed(__q, integral_constant<unsigned, 1914 void __seed(_Sseq& __q, integral_constant<unsigned, 1>); 1916 void __seed(_Sseq& __q, integral_constant<unsigned, 2>); 1953 integral_constant<unsigned, 1>) 1966 integral_constant<unsigned, 2>) 2125 {__seed(__q, integral_constant<unsigned, 1 + (__w - 1) / 32>());} 2174 void __seed(_Sseq& __q, integral_constant<unsigned, 1>); 2176 void __seed(_Sseq& __q, integral_constant<unsigned, 2>); [all …]
|
D | bitset | 189 {return to_ulong(integral_constant<bool, _Size < sizeof(unsigned long) * CHAR_BIT>());} 191 … {return to_ullong(integral_constant<bool, _Size < sizeof(unsigned long long) * CHAR_BIT>());} 262 __init(__v, integral_constant<bool, sizeof(unsigned long long) == sizeof(__storage_type)>()); 355 …return to_ullong(true_type(), integral_constant<bool, sizeof(__storage_type) < sizeof(unsigned lon…
|
D | __split_buffer | 164 {__swap_alloc(__x, __y, integral_constant<bool, 416 integral_constant<bool,
|
D | vector | 378 {__copy_assign_alloc(__c, integral_constant<bool, 386 {__move_assign_alloc(__c, integral_constant<bool, 394 {__swap_alloc(__x, __y, integral_constant<bool, 1318 __move_assign(__x, integral_constant<bool, 2400 {__copy_assign_alloc(__v, integral_constant<bool, 2422 {__move_assign_alloc(__c, integral_constant<bool, 2441 {__swap_alloc(__x, __y, integral_constant<bool, 2849 __move_assign(__v, integral_constant<bool,
|
/external/clang/test/SemaTemplate/ |
D | overload-candidates.cpp | 87 template<typename T, T V> struct integral_constant { static const T value = V; }; struct 88 typedef integral_constant<bool, false> false_type; 89 typedef integral_constant<bool, true> true_type;
|
/external/llvm/test/Object/ |
D | coff-archive.test | 53 CHECKIDX: ?value@?$integral_constant@I$0A@@tr1@std@@2IB in Debug\mymath.obj 54 CHECKIDX: ?value@?$integral_constant@_N$00@tr1@std@@2_NB in Debug\mymath.obj 55 CHECKIDX: ?value@?$integral_constant@_N$0A@@tr1@std@@2_NB in Debug\mymath.obj 188 CHECKIDX: 00000000 R ?value@?$integral_constant@I$0A@@tr1@std@@2IB 189 CHECKIDX: 00000000 R ?value@?$integral_constant@_N$00@tr1@std@@2_NB 190 CHECKIDX: 00000000 R ?value@?$integral_constant@_N$0A@@tr1@std@@2_NB
|
/external/v8/src/base/ |
D | safe_math_impl.h | 28 struct integral_constant { struct 31 typedef integral_constant<T, v> type; argument 34 template <class T, T v> const T integral_constant<T, v>::value; 36 typedef integral_constant<bool, true> true_type; 37 typedef integral_constant<bool, false> false_type;
|
/external/libcxx/test/std/utilities/meta/meta.hel/ |
D | integral_constant.pass.cpp | 19 typedef std::integral_constant<int, 5> _5; in main()
|
/external/llvm/include/llvm/Support/ |
D | YAMLTraits.h | 307 struct has_SequenceTraits : public std::integral_constant<bool, 405 struct missingTraits : public std::integral_constant<bool, 414 struct validatedMappingTraits : public std::integral_constant<bool, 419 struct unvalidatedMappingTraits : public std::integral_constant<bool,
|
/external/llvm/include/llvm/ADT/ |
D | Hashing.h | 348 : std::integral_constant<bool, ((is_integral_or_enum<T>::value || 357 : std::integral_constant<bool, (is_hashable_data<T>::value &&
|
/external/llvm/lib/IR/ |
D | Metadata.cpp | 663 std::integral_constant<bool, HasCachedHash<CLASS>::value> \ in uniquify() 718 std::integral_constant<bool, HasCachedHash<CLASS>::value> ShouldResetHash; \ in storeDistinctInContext()
|