Home
last modified time | relevance | path

Searched refs:integral_constant (Results 1 – 25 of 37) sorted by relevance

12

/external/protobuf/src/google/protobuf/stubs/
Dtemplate_util.h77 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)> {
Dtype_traits.h204 : 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,
Dtemplate_util_unittest.cc59 typedef integral_constant<int, 1> one_type; in TEST()
/external/pdfium/third_party/base/
Dtemplate_util.h14 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/
Dtuple_size.pass.cpp26 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()
Dtuple.include.utility.pass.cpp27 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()
Dtuple.include.array.pass.cpp30 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/
Dtype_traits21 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__tuple42 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,
Dscoped_allocator383 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)
Dratio401 : 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> {};
Dtuple144 : 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_base568 : 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,…
Darray289 : public integral_constant<size_t, _Size> {};
293 : public integral_constant<size_t, _Size> {};
Drandom1871 {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 …]
Dbitset189 {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_buffer164 {__swap_alloc(__x, __y, integral_constant<bool,
416 integral_constant<bool,
Dvector378 {__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/
Doverload-candidates.cpp87 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/
Dcoff-archive.test53 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/
Dsafe_math_impl.h28 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/
Dintegral_constant.pass.cpp19 typedef std::integral_constant<int, 5> _5; in main()
/external/llvm/include/llvm/Support/
DYAMLTraits.h307 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/
DHashing.h348 : std::integral_constant<bool, ((is_integral_or_enum<T>::value ||
357 : std::integral_constant<bool, (is_hashable_data<T>::value &&
/external/llvm/lib/IR/
DMetadata.cpp663 std::integral_constant<bool, HasCachedHash<CLASS>::value> \ in uniquify()
718 std::integral_constant<bool, HasCachedHash<CLASS>::value> ShouldResetHash; \ in storeDistinctInContext()

12