Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/cld/base/
Dtemplate_util.h40 struct integral_constant { struct
43 typedef integral_constant<T, v> type; argument
46 template <class T, T v> const T integral_constant<T, v>::value;
52 typedef integral_constant<bool, true> true_type;
53 typedef integral_constant<bool, false> false_type;
84 struct and_ : public integral_constant<bool, (A::value && B::value)> {
90 struct or_ : public integral_constant<bool, (A::value || B::value)> {
Dtype_traits.h81 : integral_constant<bool, (is_integral<T>::value ||
94 : integral_constant<bool,
109 : integral_constant<bool,
122 : integral_constant<bool,
135 : integral_constant<bool,
189 : integral_constant<bool,
/external/chromium_org/third_party/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/stlport/stlport/
Dtype_traits132 struct integral_constant
138 typedef integral_constant<_Tp, __v> type;
141 typedef integral_constant<bool, true> true_type;
142 typedef integral_constant<bool, false> false_type;
148 public integral_constant<bool, __uoc_aux<_Tp>::__value>
154 public integral_constant<bool, __virtual_aux<_Tp,__is_union_or_class<_Tp>::value >::__value>
160 …public integral_constant<bool, __is_union_or_class<_Tp>::value ? (sizeof(__inheritance_aux<_Tp,__i…
168 public integral_constant<bool, B> \
180 public integral_constant<bool, B> \
192 public integral_constant<bool, B> \
[all …]
/external/chromium_org/third_party/webrtc/base/
Dtemplate_util.h21 struct integral_constant { struct
24 typedef integral_constant<T, v> type; argument
27 template <class T, T v> const T integral_constant<T, v>::value;
29 typedef integral_constant<bool, true> true_type;
30 typedef integral_constant<bool, false> false_type;
97 : integral_constant<bool,
105 : integral_constant<bool,
/external/chromium_org/third_party/libaddressinput/src/cpp/include/libaddressinput/util/
Dtemplate_util.h19 struct integral_constant { struct
22 typedef integral_constant<T, v> type; argument
25 template <class T, T v> const T integral_constant<T, v>::value;
27 typedef integral_constant<bool, true> true_type;
28 typedef integral_constant<bool, false> false_type;
95 : integral_constant<bool,
103 : integral_constant<bool,
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/
Dtemplate_util.h16 struct integral_constant { struct
19 typedef integral_constant<T, v> type; argument
22 template <class T, T v> const T integral_constant<T, v>::value;
24 typedef integral_constant<bool, true> true_type;
25 typedef integral_constant<bool, false> false_type;
92 : integral_constant<bool,
100 : integral_constant<bool,
/external/chromium_org/third_party/webrtc/system_wrappers/interface/
Dtemplate_util.h23 struct integral_constant { struct
26 typedef integral_constant<T, v> type; argument
29 template <class T, T v> const T integral_constant<T, v>::value;
31 typedef integral_constant<bool, true> true_type;
32 typedef integral_constant<bool, false> false_type;
99 : integral_constant<bool,
107 : integral_constant<bool,
/external/chromium_org/base/
Dtemplate_util.h17 struct integral_constant { struct
20 typedef integral_constant<T, v> type; argument
23 template <class T, T v> const T integral_constant<T, v>::value;
25 typedef integral_constant<bool, true> true_type;
26 typedef integral_constant<bool, false> false_type;
107 : integral_constant<bool,
115 : integral_constant<bool,
/external/libcxx/test/utilities/tuple/tuple.tuple/tuple.helper/
Dtuple_size.pass.cpp24 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, in test()
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()
/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;
234 struct _LIBCPP_TYPE_VIS_ONLY integral_constant
238 typedef integral_constant type;
248 _LIBCPP_CONSTEXPR const _Tp integral_constant<_Tp, __v>::value;
250 typedef integral_constant<bool, true> true_type;
251 typedef integral_constant<bool, false> false_type;
388 : public integral_constant<bool, __is_union(_Tp)> {};
403 : public integral_constant<bool, __is_class(_Tp)> {};
[all …]
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> {};
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)
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)
231 explicit __tuple_leaf(integral_constant<int, 0>, const _Alloc&, _Tp&& __t)
245 explicit __tuple_leaf(integral_constant<int, 1>, const _Alloc& __a, _Tp&& __t)
259 explicit __tuple_leaf(integral_constant<int, 2>, const _Alloc& __a, _Tp&& __t)
315 __tuple_leaf(integral_constant<int, 0>, const _Alloc&) {}
319 __tuple_leaf(integral_constant<int, 1>, const _Alloc& __a)
324 __tuple_leaf(integral_constant<int, 2>, const _Alloc& __a)
[all …]
D__tuple180 : public integral_constant<size_t, sizeof...(_Tp)>
227 : public integral_constant<bool,
254 : public integral_constant<bool,
281 : public integral_constant<bool,
D__functional_base546 : public integral_constant<bool,
578 : integral_constant<int, __uses_alloc_ctor_imp<_Tp, _Alloc, _Args...>::value>
583 void __user_alloc_construct_impl (integral_constant<int, 0>, _Tp *__storage, const _Allocator &, _A…
590 void __user_alloc_construct_impl (integral_constant<int, 1>, _Tp *__storage, const _Allocator &__a,…
597 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> {};
/external/libcxx/test/utilities/meta/meta.hel/
DAndroid.mk19 test_name := utilities/meta/meta.hel/integral_constant
20 test_src := integral_constant.pass.cpp
Dintegral_constant.pass.cpp19 typedef std::integral_constant<int, 5> _5; in main()
/external/clang/test/SemaTemplate/
Doverload-candidates.cpp87 template<typename T, T V> struct integral_constant { static const T value = V; }; argument
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/chromium_org/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/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,

12