Home
last modified time | relevance | path

Searched refs:true_type (Results 1 – 25 of 130) sorted by relevance

123456

/third_party/libphonenumber/cpp/src/phonenumbers/base/
Dtemplate_util.h24 typedef integral_constant<bool, true> true_type; typedef
28 template <class T> struct is_pointer<T*> : true_type {};
31 template <class T> struct is_same<T,T> : true_type {};
34 template<class T, size_t n> struct is_array<T[n]> : public true_type {};
35 template<class T> struct is_array<T[]> : public true_type {};
38 template <class T> struct is_non_const_reference<T&> : true_type {};
42 template <> struct is_void<void> : true_type {};
/third_party/skia/third_party/externals/abseil-cpp/absl/types/internal/
Dconformance_testing_helpers.h95 : std::true_type {
130 struct IsEquivalenceClass<EquivalenceClassType<>> : std::true_type {
136 using for_type = std::true_type;
141 : std::true_type {
190 struct AreGeneratorsWithTheSameReturnTypeImpl<void> : std::true_type {};
196 Head, Tail...> : std::true_type {};
215 struct AreEquivalenceClassesOfTheSameType<> : std::true_type {
223 using for_type = std::true_type;
228 : std::true_type {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
Dtype_traits.h103 struct is_trivially_copy_constructible<T &> : std::true_type {};
114 struct is_trivially_move_constructible<T &> : std::true_type {};
116 struct is_trivially_move_constructible<T &&> : std::true_type {};
122 …static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
186 class is_trivially_copyable<T*> : public std::true_type {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
Dilist_node_options.h69 template <> struct extract_sentinel_tracking<> : std::true_type, is_implicit {};
76 : std::true_type {};
90 template <class Tag> struct is_valid_option<ilist_tag<Tag>> : std::true_type {};
96 template <> struct check_options<> : std::true_type {};
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
Dilist_node_options.h71 template <> struct extract_sentinel_tracking<> : std::true_type, is_implicit {};
78 : std::true_type {};
92 template <class Tag> struct is_valid_option<ilist_tag<Tag>> : std::true_type {};
98 template <> struct check_options<> : std::true_type {};
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dunordered_set_constructor_test.h101 struct is_std_unordered_set<std::unordered_set<T...>> : std::true_type {};
104 using has_cxx14_std_apis = std::true_type;
118 void BucketCountAllocTest(std::true_type) {
136 void BucketCountHashAllocTest(std::true_type) {
154 using has_alloc_std_constructors = std::true_type;
168 void AllocTest(std::true_type) {
204 void InputIteratorBucketAllocTest(std::true_type) {
225 void InputIteratorBucketHashAllocTest(std::true_type) {
267 void CopyConstructorAllocTest(std::true_type) {
312 void MoveConstructorAllocTest(std::true_type) {
[all …]
Dunordered_map_constructor_test.h92 struct is_std_unordered_map<std::unordered_map<T...>> : std::true_type {};
95 using has_cxx14_std_apis = std::true_type;
109 void BucketCountAllocTest(std::true_type) {
127 void BucketCountHashAllocTest(std::true_type) {
145 using has_alloc_std_constructors = std::true_type;
159 void AllocTest(std::true_type) {
195 void InputIteratorBucketAllocTest(std::true_type) {
216 void InputIteratorBucketHashAllocTest(std::true_type) {
258 void CopyConstructorAllocTest(std::true_type) {
305 void MoveConstructorAllocTest(std::true_type) {
[all …]
/third_party/cef/include/base/
Dcef_template_util.h77 template <class T> struct is_non_const_reference<T&> : std::true_type {};
108 : std::true_type {};
114 : std::true_type {};
125 : std::true_type {};
239 struct conjunction : std::true_type {};
Dcef_callback_helpers.h66 struct IsBaseCallbackImpl<OnceCallback<R(Args...)>> : std::true_type {};
69 struct IsBaseCallbackImpl<RepeatingCallback<R(Args...)>> : std::true_type {};
75 struct IsOnceCallbackImpl<OnceCallback<R(Args...)>> : std::true_type {};
/third_party/protobuf/src/google/protobuf/stubs/
Dtemplate_util_unittest.cc56 EXPECT_TRUE(true_type::value); in TEST()
64 typedef if_<true, true_type, false_type>::type if_true; in TEST()
67 typedef if_<false, true_type, false_type>::type if_false; in TEST()
Dtemplate_util.h89 typedef integral_constant<bool, true> true_type; typedef
91 typedef true_type true_;
/third_party/gn/src/base/
Dtemplate_util.h24 : std::true_type {};
36 : std::true_type {};
/third_party/skia/src/core/
DSkAdvancedTypefaceMetrics.h69 template <> struct is_bitmask_enum<SkAdvancedTypefaceMetrics::FontFlags> : std::true_type {};
70 template <> struct is_bitmask_enum<SkAdvancedTypefaceMetrics::StyleFlags> : std::true_type {};
/third_party/flutter/skia/src/core/
DSkAdvancedTypefaceMetrics.h69 template <> struct is_bitmask_enum<SkAdvancedTypefaceMetrics::FontFlags> : std::true_type {};
70 template <> struct is_bitmask_enum<SkAdvancedTypefaceMetrics::StyleFlags> : std::true_type {};
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dstr_split_internal.h169 : std::true_type {};
175 struct HasValueType<T, absl::void_t<typename T::value_type>> : std::true_type {
183 : std::true_type {};
190 : std::true_type {};
196 std::true_type IsInitializerListDispatch(std::initializer_list<T>*);
/third_party/json/include/nlohmann/detail/meta/
Dtype_traits.hpp42 struct is_basic_json<NLOHMANN_BASIC_JSON_TPL> : std::true_type {};
55 struct is_json_ref<json_ref<T>> : std::true_type {};
154 template<class...> struct conjunction : std::true_type { };
228 struct is_complete_type<T, decltype(void(sizeof(T)))> : std::true_type {};
355 : std::true_type {};
/third_party/skia/third_party/externals/abseil-cpp/absl/meta/
Dtype_traits_test.cc121 EXPECT_TRUE(absl::conjunction<std::true_type>::value); in TEST()
122 EXPECT_TRUE((absl::conjunction<std::true_type, std::true_type>::value)); in TEST()
123 EXPECT_FALSE((absl::conjunction<std::true_type, std::false_type>::value)); in TEST()
124 EXPECT_FALSE((absl::conjunction<std::false_type, std::true_type>::value)); in TEST()
138 (absl::conjunction<std::true_type, std::false_type, Dummy>::value)); in TEST()
140 absl::conjunction<std::true_type, MyFalseType, in TEST()
144 absl::conjunction<std::true_type, MyTrueType>>::value)); in TEST()
150 EXPECT_TRUE((absl::disjunction<std::true_type, std::true_type>::value)); in TEST()
151 EXPECT_TRUE((absl::disjunction<std::true_type, std::false_type>::value)); in TEST()
152 EXPECT_TRUE((absl::disjunction<std::false_type, std::true_type>::value)); in TEST()
[all …]
Dtype_traits.h142 using type = std::true_type;
157 using type = std::true_type;
222 struct conjunction : std::true_type {};
665 struct IsHashable : std::true_type {};
675 std::size_t>::value>> : std::true_type {};
/third_party/googletest/googlemock/include/gmock/
Dgmock-nice-strict.h81 std::true_type StrictnessModifierProbe(const NiceMock<T>&);
83 std::true_type StrictnessModifierProbe(const NaggyMock<T>&);
85 std::true_type StrictnessModifierProbe(const StrictMock<T>&);
/third_party/libabigail/tests/data/test-diff-dwarf/
Dtest42-PR21296-clanggcc.cc28 struct true_type { static constexpr bool value = true; }; struct
104 template<typename _UHead, typename = true_type>
166 template<typename... _UElements, typename = true_type>
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Ddistribution_caller.h44 : std::true_type {};
64 static typename DistrT::result_type Impl(std::true_type, URBG* urbg,
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_logic.c501 LLVMTypeRef true_type; in lp_build_any_true_range() local
505 true_type = LLVMIntTypeInContext(bld->gallivm->context, in lp_build_any_true_range()
516 val = LLVMBuildTrunc(builder, val, true_type, ""); in lp_build_any_true_range()
519 val, LLVMConstNull(true_type), ""); in lp_build_any_true_range()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DDwarf.h638 template <> struct EnumTraits<Attribute> : public std::true_type {
643 template <> struct EnumTraits<Form> : public std::true_type {
648 template <> struct EnumTraits<Index> : public std::true_type {
653 template <> struct EnumTraits<Tag> : public std::true_type {
/third_party/protobuf/src/google/protobuf/
Darena.h550 std::true_type, in DoCreateMaybeMessage() argument
570 PROTOBUF_ALWAYS_INLINE static T* CreateNoMessage(Arena* arena, std::true_type, in CreateNoMessage() argument
628 std::true_type, Args&&... args) { in CreateInArenaStorageInternal() argument
639 std::true_type) {} in RegisterDestructorInternal() argument
652 PROTOBUF_ALWAYS_INLINE void OwnInternal(T* object, std::true_type) { in OwnInternal() argument
/third_party/skia/third_party/externals/abseil-cpp/absl/container/
Dflat_hash_set.h458 using constant_iterators = std::true_type;
497 : std::true_type {};

123456