Home
last modified time | relevance | path

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

12345

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
DconservativeRast.h40 typedef std::integral_constant<uint32_t, FP_UNINIT> Fixed_Uninit;
41 typedef std::integral_constant<uint32_t, _16_8> Fixed_16_8;
42 typedef std::integral_constant<uint32_t, _16_9> Fixed_16_9;
43 typedef std::integral_constant<uint32_t, _X_16> Fixed_X_16;
58 typedef std::integral_constant<uint32_t, 256> ScaleT;
60 typedef std::integral_constant<uint32_t, 8> BitsT;
70 typedef std::integral_constant<uint32_t, 512> ScaleT;
72 typedef std::integral_constant<uint32_t, 9> BitsT;
82 typedef std::integral_constant<uint32_t, 65536> ScaleT;
84 typedef std::integral_constant<uint32_t, 16> BitsT;
[all …]
Drasterizer.h79 typedef std::integral_constant<uint32_t, ALL_EDGES_VALID> AllEdgesValidT;
80 typedef std::integral_constant<uint32_t, E0_E1_VALID> E0E1ValidT;
81 typedef std::integral_constant<uint32_t, E0_E2_VALID> E0E2ValidT;
82 typedef std::integral_constant<uint32_t, E1_E2_VALID> E1E2ValidT;
83 typedef std::integral_constant<uint32_t, NO_VALID_EDGES> NoEdgesValidT;
85 typedef std::integral_constant<uint32_t, STATE_ALL_EDGES_VALID> StateAllEdgesValidT;
86 typedef std::integral_constant<uint32_t, STATE_E0_E1_VALID> StateE0E1ValidT;
87 typedef std::integral_constant<uint32_t, STATE_E0_E2_VALID> StateE0E2ValidT;
88 typedef std::integral_constant<uint32_t, STATE_E1_E2_VALID> StateE1E2ValidT;
89 typedef std::integral_constant<uint32_t, STATE_NO_VALID_EDGES> StateNoEdgesValidT;
[all …]
Dstate_funcs.h59 using xMask = std::integral_constant<int, 0xA>; in CalcTileSampleOffsets()
65 using yMask = std::integral_constant<int, 0xC>; in CalcTileSampleOffsets()
/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.h231 : integral_constant<bool, (is_integral<T>::value ||
250 : integral_constant<bool,
265 : integral_constant<bool,
278 : integral_constant<bool,
291 : integral_constant<bool,
355 : integral_constant<bool,
/external/webrtc/webrtc/base/
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;
112 : integral_constant<bool,
120 : integral_constant<bool,
/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.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()
Dtuple.include.utility.pass.cpp28 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()
34 static_assert((std::is_base_of<std::integral_constant<std::size_t, N>, in test()
/external/clang/test/Modules/Inputs/PR27401/
Da.h4 struct integral_constant { struct
10 : integral_constant<bool, __is_constructible(_Tp)> {}; argument
14 : integral_constant<bool, __is_constructible(_Tp, _Tp)> {};
/external/libcxx/include/
Dtype_traits21 template <class T, T v> struct integral_constant;
22 typedef integral_constant<bool, true> true_type; // C++11
23 typedef integral_constant<bool, false> false_type; // C++11
26 using bool_constant = integral_constant<bool, B>; // C++14
521 struct _LIBCPP_TEMPLATE_VIS integral_constant
525 typedef integral_constant type;
535 _LIBCPP_CONSTEXPR const _Tp integral_constant<_Tp, __v>::value;
539 using bool_constant = integral_constant<bool, __b>;
542 #define _LIBCPP_BOOL_CONSTANT(__b) integral_constant<bool,(__b)>
562 struct __lazy_and_impl<true, _Pred> : integral_constant<bool, _Pred::type::value> {};
[all …]
Dscoped_allocator403 typedef integral_constant
409 typedef integral_constant
415 typedef integral_constant
420 typedef integral_constant
581 void __construct(integral_constant<int, 0>, _Tp* __p, _Args&& ...__args)
594 void __construct(integral_constant<int, 1>, _Tp* __p, _Args&& ...__args)
607 void __construct(integral_constant<int, 2>, _Tp* __p, _Args&& ...__args)
622 __transform_tuple(integral_constant<int, 0>, tuple<_Args...>&& __t,
631 __transform_tuple(integral_constant<int, 1>, tuple<_Args...> && __t,
642 __transform_tuple(integral_constant<int, 2>, tuple<_Args...> && __t,
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFormatProviders.h31 : public std::integral_constant<
38 : public std::integral_constant<bool, std::is_same<T, char>::value> {};
42 : public std::integral_constant<bool,
48 : public std::integral_constant<
54 : public std::integral_constant<bool, std::is_pointer<T>::value &&
59 : public std::integral_constant<bool, std::is_floating_point<T>::value> {};
319 : public std::integral_constant<
DFormatVariadicDetails.h66 : public std::integral_constant<
76 : public std::integral_constant<
86 : public std::integral_constant<bool,
DPointerLikeTypeTraits.h35 : std::integral_constant<size_t, ConstantLog2<N / 2>::value + 1> {};
36 template <> struct ConstantLog2<1> : std::integral_constant<size_t, 0> {};
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DFormatProviders.h32 : public std::integral_constant<
39 : public std::integral_constant<bool, std::is_same<T, char>::value> {};
43 : public std::integral_constant<bool,
49 : public std::integral_constant<bool,
54 : public std::integral_constant<bool, std::is_pointer<T>::value &&
59 : public std::integral_constant<bool, std::is_floating_point<T>::value> {};
330 : public std::integral_constant<
DFormatVariadicDetails.h95 : public std::integral_constant<
105 : public std::integral_constant<
113 : public std::integral_constant<bool, !uses_format_member<T>::value &&
123 : public std::integral_constant<bool, !uses_format_member<T>::value &&
/external/clang/test/Analysis/Inputs/
Dsystem-header-simulator-cxx.h114 struct integral_constant
118 typedef integral_constant type;
126 const _Tp integral_constant<_Tp, __v>::value;
130 : integral_constant<bool, __is_trivially_assignable(_Tp, _Arg)>
134 typedef integral_constant<bool,true> true_type;
135 typedef integral_constant<bool,false> false_type;
/external/libcxx/test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/
Dminmax_showbase.pass.cpp71 …const bool long_is_32 = std::integral_constant<bool, sizeof(long) == sizeof(int32_t)>::value; // a… in main()
72 …const bool long_is_64 = std::integral_constant<bool, sizeof(long) == sizeof(int64_t)>::value; // a… in main()
73 …const bool long_long_is_64 = std::integral_constant<bool, sizeof(long long) == sizeof(int64_t)>::v… in main()
Dminus1.pass.cpp73 …const bool long_is_64 = std::integral_constant<bool, sizeof(long) == sizeof(int64_t)>::value; // a… in main()
74 …const bool long_long_is_64 = std::integral_constant<bool, sizeof(long long) == sizeof(int64_t)>::v… in main()
/external/clang/test/SemaTemplate/
Doverload-candidates.cpp89 template<typename T, T V> struct integral_constant { static const T value = V; }; struct
90 typedef integral_constant<bool, false> false_type;
91 typedef integral_constant<bool, true> true_type;
/external/googletest/googletest/include/gtest/
Dgtest-printers.h646 void PrintTupleTo(const T&, std::integral_constant<size_t, 0>, in PrintTupleTo()
650 void PrintTupleTo(const T& t, std::integral_constant<size_t, I>, in PrintTupleTo()
652 PrintTupleTo(t, std::integral_constant<size_t, I - 1>(), os); in PrintTupleTo()
665 PrintTupleTo(t, std::integral_constant<size_t, sizeof...(Types)>(), os); in PrintTo()
900 void TersePrintPrefixToStrings(const Tuple&, std::integral_constant<size_t, 0>, in TersePrintPrefixToStrings()
904 std::integral_constant<size_t, I>, in TersePrintPrefixToStrings()
906 TersePrintPrefixToStrings(t, std::integral_constant<size_t, I - 1>(), in TersePrintPrefixToStrings()
920 value, std::integral_constant<size_t, std::tuple_size<Tuple>::value>(), in UniversalTersePrintTupleFieldsToStrings()
/external/llvm/include/llvm/Support/
DPointerLikeTypeTraits.h35 : std::integral_constant<size_t, ConstantLog2<N / 2>::value + 1> {};
36 template <> struct ConstantLog2<1> : std::integral_constant<size_t, 0> {};
/external/libcxx/test/std/experimental/simd/simd.cons/
Dgenerator.pass.cpp43 int operator()(std::integral_constant<size_t, value>) const { in operator ()()
58 operator()(std::integral_constant<size_t, value>) const { in operator ()()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.hash/
Dhash_unique_ptr.pass.cpp52 struct hash<::min_pointer<T, std::integral_constant<size_t, 1>>> {
53 …size_t operator()(::min_pointer<T, std::integral_constant<size_t, 1>> p) const TEST_NOEXCEPT_FALSE… in operator ()()

12345