/third_party/skia/third_party/externals/tint/src/ |
D | traits_test.cc | 31 static_assert(std::is_same<ParameterType<decltype(&F1), 0>, S>::value, ""); in TEST() 32 static_assert(std::is_same<ParameterType<decltype(&F3), 0>, int>::value, ""); in TEST() 33 static_assert(std::is_same<ParameterType<decltype(&F3), 1>, S>::value, ""); in TEST() 34 static_assert(std::is_same<ParameterType<decltype(&F3), 2>, float>::value, in TEST() 36 static_assert(std::is_same<ReturnType<decltype(&F1)>, void>::value, ""); in TEST() 37 static_assert(std::is_same<ReturnType<decltype(&F3)>, void>::value, ""); in TEST() 50 static_assert(std::is_same<ParameterType<decltype(&C::F1), 0>, S>::value, ""); in TEST() 51 static_assert(std::is_same<ParameterType<decltype(&C::F3), 0>, int>::value, in TEST() 53 static_assert(std::is_same<ParameterType<decltype(&C::F3), 1>, S>::value, ""); in TEST() 54 static_assert(std::is_same<ParameterType<decltype(&C::F3), 2>, float>::value, in TEST() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/memory/ |
D | memory_test.cc | 129 static_assert(std::is_same<decltype(p), ExpectedType>::value, in TEST() 136 static_assert(std::is_same<decltype(p), ExpectedType>::value, in TEST() 143 static_assert(std::is_same<decltype(p), ExpectedType>::value, in TEST() 173 static_assert(std::is_same<decltype(p), std::unique_ptr<ArrayWatch[]>>::value, in TEST() 240 EXPECT_TRUE((std::is_same<std::nullptr_t, decltype(p)>::value)); in TEST() 246 EXPECT_TRUE((std::is_same<std::nullptr_t, decltype(p)>::value)); in TEST() 252 EXPECT_TRUE((std::is_same<std::nullptr_t, decltype(p)>::value)); in TEST() 314 EXPECT_TRUE((std::is_same<TraitsWith::pointer, PointerWith>::value)); in TEST() 315 EXPECT_TRUE((std::is_same<TraitsWith::element_type, int32_t>::value)); in TEST() 316 EXPECT_TRUE((std::is_same<TraitsWith::difference_type, int16_t>::value)); in TEST() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
D | generate_real.h | 72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value, 76 (std::is_same<double, real_type>::value || 77 std::is_same<float, real_type>::value), 87 static_assert((std::is_same<SignedTag, GeneratePositiveTag>::value || 88 std::is_same<SignedTag, GenerateNegativeTag>::value || 89 std::is_same<SignedTag, GenerateSignedTag>::value), 101 uint_type sign = std::is_same<SignedTag, GenerateNegativeTag>::value 104 if (std::is_same<SignedTag, GenerateSignedTag>::value) { 105 if (std::is_same<uint_type, uint64_t>::value) { 108 if (std::is_same<uint_type, uint32_t>::value) {
|
D | uniform_helper.h | 104 absl::disjunction<std::is_same<Tag, IntervalOpenClosedTag>, 105 std::is_same<Tag, IntervalOpenOpenTag>>>::value, 115 absl::disjunction<std::is_same<Tag, IntervalOpenClosedTag>, 116 std::is_same<Tag, IntervalOpenOpenTag>>>::value, 124 absl::disjunction<std::is_same<Tag, IntervalClosedClosedTag>, 125 std::is_same<Tag, IntervalClosedOpenTag>>::value, 135 absl::disjunction<std::is_same<Tag, IntervalClosedOpenTag>, 136 std::is_same<Tag, IntervalOpenOpenTag>>>::value, 146 absl::disjunction<std::is_same<Tag, IntervalClosedOpenTag>, 147 std::is_same<Tag, IntervalOpenOpenTag>>>::value, [all …]
|
D | pool_urbg_test.cc | 35 std::is_same<T, RandenPool<uint8_t>>, // 36 std::is_same<T, RandenPool<uint16_t>>, // 37 std::is_same<T, RandenPool<uint32_t>>, // 38 std::is_same<T, RandenPool<uint64_t>>>; // 89 static_assert(std::is_same<decltype(e()), T>::value, in TYPED_TEST()
|
/third_party/googletest/googlemock/test/ |
D | gmock-internal-utils_test.cc | 661 EXPECT_TRUE((std::is_same<int, F::Result>::value)); in TEST() 662 EXPECT_TRUE((std::is_same<std::tuple<>, F::ArgumentTuple>::value)); in TEST() 663 EXPECT_TRUE((std::is_same<std::tuple<>, F::ArgumentMatcherTuple>::value)); in TEST() 664 EXPECT_TRUE((std::is_same<void(), F::MakeResultVoid>::value)); in TEST() 665 EXPECT_TRUE((std::is_same<IgnoredValue(), F::MakeResultIgnoredValue>::value)); in TEST() 671 EXPECT_TRUE((std::is_same<int, F::Result>::value)); in TEST() 672 EXPECT_TRUE((std::is_same<bool, F::Arg<0>::type>::value)); in TEST() 673 EXPECT_TRUE((std::is_same<std::tuple<bool>, F::ArgumentTuple>::value)); in TEST() 675 std::is_same<std::tuple<Matcher<bool>>, F::ArgumentMatcherTuple>::value)); in TEST() 676 EXPECT_TRUE((std::is_same<void(bool), F::MakeResultVoid>::value)); // NOLINT in TEST() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/RPC/ |
D | RawByteChannel.h | 92 (std::is_same<T, uint8_t>::value || std::is_same<T, int8_t>::value || 93 std::is_same<T, uint16_t>::value || std::is_same<T, int16_t>::value || 94 std::is_same<T, uint32_t>::value || std::is_same<T, int32_t>::value || 95 std::is_same<T, uint64_t>::value || std::is_same<T, int64_t>::value || 96 std::is_same<T, char>::value)>::type> { 150 (std::is_same<T, const char*>::value || 151 std::is_same<T, char*>::value)>::type> {
|
/third_party/skia/third_party/externals/abseil-cpp/absl/types/ |
D | variant_test.cc | 1106 (std::is_same<float, absl::variant_alternative_t<0, V>>::value)); in TEST() 1107 EXPECT_TRUE((std::is_same<const float, in TEST() 1110 (std::is_same<volatile float, in TEST() 1113 std::is_same<const volatile float, in TEST() 1116 EXPECT_TRUE((std::is_same<int, absl::variant_alternative_t<1, V>>::value)); in TEST() 1117 EXPECT_TRUE((std::is_same<const int, in TEST() 1120 (std::is_same<volatile int, in TEST() 1123 std::is_same<const volatile int, in TEST() 1127 (std::is_same<const char*, absl::variant_alternative_t<2, V>>::value)); in TEST() 1128 EXPECT_TRUE((std::is_same<const char* const, in TEST() [all …]
|
D | optional.h | 150 std::is_same<InPlaceT, in_place_t>, 171 absl::conjunction<absl::negation<std::is_same< 173 absl::negation<std::is_same< 184 absl::conjunction<absl::negation<std::is_same< 186 absl::negation<std::is_same< 198 absl::negation<std::is_same<T, U> >, 215 absl::negation<std::is_same<T, U>>, 232 absl::negation<std::is_same<T, U> >, 250 absl::negation<std::is_same<T, U>>, std::is_constructible<T, U&&>, 289 std::is_same<optional<T>, typename std::decay<U>::type>>, [all …]
|
D | any_test.cc | 271 EXPECT_TRUE((std::is_same<decltype(o.emplace<IntMoveOnlyCopyOnly>( in TEST() 289 (std::is_same<decltype(o.emplace<const volatile IntMoveOnlyCopyOnly>( in TEST() 303 (std::is_same<decltype(o.emplace<FunctionType>(FunctionToEmplace)), in TEST() 313 (std::is_same<decltype(o.emplace<ArrayType>(ar)), DecayedArray&>::value)); in TEST() 321 EXPECT_TRUE((std::is_same<decltype(o.emplace<ListMoveOnlyCopyOnly>( in TEST() 341 (std::is_same<decltype(o.emplace<const volatile ListMoveOnlyCopyOnly>( in TEST() 458 std::is_same<decltype(absl::any_cast<Value>(o)), Value>::value, ""); in TEST() 466 static_assert(std::is_same<decltype(absl::any_cast<const Value>(o)), in TEST() 479 std::is_same<decltype(absl::any_cast<Value&>(o)), Value&>::value, ""); in TEST() 487 static_assert(std::is_same<decltype(absl::any_cast<const Value&>(o)), in TEST() [all …]
|
/third_party/json/tests/src/ |
D | unit-concepts.cpp | 25 CHECK((std::is_same<json::value_type, json>::value)); 28 CHECK((std::is_same<json::reference, json&>::value)); 31 CHECK((std::is_same<json::const_reference, const json&>::value)); 34 CHECK((std::is_same<json::iterator::value_type, json>::value)); 41 CHECK((std::is_same<json::const_iterator::value_type, json>::value)); 48 CHECK((std::is_same<json::difference_type, json::iterator::difference_type>::value)); 50 CHECK((std::is_same<json::difference_type, json::const_iterator::difference_type>::value));
|
D | unit-user_defined_input.cpp | 114 CHECK(std::is_same<MyIterator::difference_type, std::size_t>::value); 115 CHECK(std::is_same<MyIterator::value_type, char>::value); 116 CHECK(std::is_same<MyIterator::pointer, const char*>::value); 117 CHECK(std::is_same<MyIterator::reference, const char&>::value); 118 CHECK(std::is_same<MyIterator::iterator_category, std::input_iterator_tag>::value);
|
/third_party/skia/third_party/externals/abseil-cpp/absl/status/ |
D | statusor.h | 232 absl::negation<std::is_same<T, U>>, 245 absl::negation<std::is_same<T, U>>, 259 absl::negation<std::is_same<T, U>>, std::is_constructible<T, U&&>, 271 absl::negation<std::is_same<T, U>>, std::is_constructible<T, U&&>, 303 absl::negation<std::is_same<T, U>>, 319 absl::negation<std::is_same<T, U>>, std::is_constructible<T, U&&>, 348 absl::negation<std::is_same<absl::decay_t<U>, absl::StatusOr<T>>>, 349 absl::negation<std::is_same<absl::decay_t<U>, T>>, 350 absl::negation<std::is_same<absl::decay_t<U>, absl::in_place_t>>, 362 absl::negation<std::is_same<absl::decay_t<U>, absl::StatusOr<T>>>, [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | unordered_map_members_test.h | 36 EXPECT_TRUE((std::is_same<std::pair<const typename TypeParam::key_type, in TYPED_TEST_P() 54 EXPECT_TRUE((std::is_same<typename TypeParam::allocator_type::value_type, in TYPED_TEST_P() 56 EXPECT_TRUE((std::is_same<typename TypeParam::value_type&, in TYPED_TEST_P() 58 EXPECT_TRUE((std::is_same<const typename TypeParam::value_type&, in TYPED_TEST_P() 60 EXPECT_TRUE((std::is_same<typename std::allocator_traits< in TYPED_TEST_P() 64 (std::is_same<typename std::allocator_traits< in TYPED_TEST_P()
|
D | unordered_set_members_test.h | 36 EXPECT_TRUE((std::is_same<typename TypeParam::key_type, in TYPED_TEST_P() 53 EXPECT_TRUE((std::is_same<typename TypeParam::allocator_type::value_type, in TYPED_TEST_P() 55 EXPECT_TRUE((std::is_same<typename TypeParam::value_type&, in TYPED_TEST_P() 57 EXPECT_TRUE((std::is_same<const typename TypeParam::value_type&, in TYPED_TEST_P() 59 EXPECT_TRUE((std::is_same<typename std::allocator_traits< in TYPED_TEST_P() 63 (std::is_same<typename std::allocator_traits< in TYPED_TEST_P()
|
/third_party/node/deps/v8/src/heap/ |
D | scavenger-inl.h | 116 static_assert(std::is_same<THeapObjectSlot, FullHeapObjectSlot>::value || in SemiSpaceCopyObject() 117 std::is_same<THeapObjectSlot, HeapObjectSlot>::value, in SemiSpaceCopyObject() 155 static_assert(std::is_same<THeapObjectSlot, FullHeapObjectSlot>::value || in PromoteObject() 156 std::is_same<THeapObjectSlot, HeapObjectSlot>::value, in PromoteObject() 235 static_assert(std::is_same<THeapObjectSlot, FullHeapObjectSlot>::value || in EvacuateObjectDefault() 236 std::is_same<THeapObjectSlot, HeapObjectSlot>::value, in EvacuateObjectDefault() 280 static_assert(std::is_same<THeapObjectSlot, FullHeapObjectSlot>::value || in EvacuateThinString() 281 std::is_same<THeapObjectSlot, HeapObjectSlot>::value, in EvacuateThinString() 306 static_assert(std::is_same<THeapObjectSlot, FullHeapObjectSlot>::value || in EvacuateShortcutCandidate() 307 std::is_same<THeapObjectSlot, HeapObjectSlot>::value, in EvacuateShortcutCandidate() [all …]
|
/third_party/googletest/googletest/test/ |
D | gtest-typed-test_test.cc | 171 if (std::is_same<T, char>::value) { in GetName() 174 if (std::is_same<T, int>::value) { in GetName() 183 if (std::is_same<TypeParam, char>::value) { in TYPED_TEST() 189 if (std::is_same<TypeParam, int>::value) { in TYPED_TEST() 299 if (std::is_same<TypeParam, char>::value) { in TYPED_TEST_P() 305 if (std::is_same<TypeParam, int>::value) { in TYPED_TEST_P() 319 if (std::is_same<T, char>::value) { in GetName() 322 if (std::is_same<T, int>::value) { in GetName()
|
/third_party/node/deps/v8/src/objects/ |
D | tagged-impl.h | 25 static_assert(std::is_same<StorageType, Address>::value || 26 std::is_same<StorageType, Tagged_t>::value, 45 std::is_same<U, Address>::value || std::is_same<U, Tagged_t>::value, 52 std::is_same<U, Address>::value || std::is_same<U, Tagged_t>::value,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
D | CLDevice.cpp | 21 static_assert(std::is_same<cl_uint, cl_bool>::value && in getInfo() 22 std::is_same<cl_uint, cl_device_mem_cache_type>::value && in getInfo() 23 std::is_same<cl_uint, cl_device_local_mem_type>::value && in getInfo() 24 std::is_same<cl_uint, cl_version>::value && in getInfo() 25 std::is_same<cl_ulong, cl_device_type>::value && in getInfo() 26 std::is_same<cl_ulong, cl_device_fp_config>::value && in getInfo() 27 std::is_same<cl_ulong, cl_device_exec_capabilities>::value && in getInfo() 28 std::is_same<cl_ulong, cl_command_queue_properties>::value && in getInfo() 29 std::is_same<cl_ulong, cl_device_affinity_domain>::value && in getInfo() 30 std::is_same<cl_ulong, cl_device_svm_capabilities>::value && in getInfo() [all …]
|
/third_party/json/include/nlohmann/detail/meta/ |
D | type_traits.hpp | 61 || std::is_same<BasicJsonContext, std::nullptr_t>::value > 271 …static constexpr bool value = !std::is_same<iterator, nonesuch>::value && !std::is_same<sentinel, … 332 std::is_same < 382 !std::is_same<CompatibleArrayType, detected_t<range_value_t, CompatibleArrayType>>::value >> 399 enable_if_t<std::is_same<ConstructibleArrayType, 406 enable_if_t < !std::is_same<ConstructibleArrayType, 417 !std::is_same<ConstructibleArrayType, detected_t<range_value_t, ConstructibleArrayType>>::value&& 424 std::is_same<value_type, 446 !std::is_same<bool, CompatibleNumberIntegerType>::value >> 525 && !(ExcludeObjectKeyType && std::is_same<KeyType, [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/status/internal/ |
D | statusor_internal.h | 72 std::is_same<absl::remove_cv_t<absl::remove_reference_t<U>>, 87 std::is_same<T, absl::remove_cv_t<absl::remove_reference_t<U>>>, 89 std::is_same<absl::StatusOr<T>, 91 std::is_same<absl::Status, 93 std::is_same<absl::in_place_t, 110 std::is_same<absl::remove_cv_t<absl::remove_reference_t<U>>, 125 std::is_same<T, absl::remove_cv_t<absl::remove_reference_t<U>>>, 127 std::is_same<absl::StatusOr<T>, 129 std::is_same<absl::Status, 131 std::is_same<absl::in_place_t,
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
D | ToBackendTests.cpp | 48 static_assert(std::is_same<decltype(backendAdapter), const MyAdapter*>::value, ""); in TEST() 58 static_assert(std::is_same<decltype(backendAdapter), MyAdapter*>::value, ""); in TEST() 72 static_assert(std::is_same<decltype(ToBackend(base)), const Ref<MyAdapter>&>::value, ""); in TEST() 82 static_assert(std::is_same<decltype(ToBackend(base)), Ref<MyAdapter>&>::value, ""); in TEST()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/functional/ |
D | function_ref_test.cc | 212 static_assert(std::is_same<Invoker<void, int>, void (*)(VoidPtr, int)>::value, in TEST() 215 std::is_same<Invoker<void, Trivial>, void (*)(VoidPtr, Trivial)>::value, in TEST() 217 static_assert(std::is_same<Invoker<void, LargeTrivial>, in TEST() 221 std::is_same<Invoker<void, CopyableMovableInstance>, in TEST() 227 std::is_same<Invoker<void, int&>, void (*)(VoidPtr, int&)>::value, in TEST() 230 std::is_same<Invoker<void, CopyableMovableInstance&>, in TEST() 234 std::is_same<Invoker<void, CopyableMovableInstance&&>, in TEST()
|
/third_party/elfutils/m4/ |
D | ax_cxx_compile_stdcxx.m4 | 222 struct is_same 228 struct is_same<T, T> 243 static_assert(is_same<int, decltype(0)>::value == true, ""); 244 static_assert(is_same<int, decltype(c)>::value == false, ""); 245 static_assert(is_same<int, decltype(v)>::value == false, ""); 250 static_assert(is_same<int, decltype(ac)>::value == true, ""); 251 static_assert(is_same<int, decltype(av)>::value == true, ""); 252 static_assert(is_same<int, decltype(sumi)>::value == true, ""); 253 static_assert(is_same<int, decltype(sumf)>::value == false, ""); 254 static_assert(is_same<int, decltype(add(c, v))>::value == true, ""); [all …]
|
/third_party/skia/modules/sksg/src/ |
D | SkSGTransform.cpp | 38 template <typename = std::enable_if<std::is_same<T, SkMatrix>::value || 39 std::is_same<T, SkM44 >::value >> 64 bool is44() const override { return std::is_same<T, SkM44>::value; } in is44() 86 template <typename = std::enable_if<std::is_same<T, SkMatrix>::value || 87 std::is_same<T, SkM44 >::value >> 110 bool is44() const override { return std::is_same<T, SkM44>::value; } in is44()
|