/external/angle/third_party/abseil-cpp/absl/cleanup/ |
D | cleanup_test.cc | 30 constexpr bool IsSame() { in IsSame() function 100 IsSame<absl::Cleanup<Tag, decltype(callback)>, decltype(cleanup)>(), in TYPED_TEST() 107 static_assert(IsSame<absl::Cleanup<Tag, void (*)()>, decltype(cleanup)>(), in TYPED_TEST() 114 static_assert(IsSame<absl::Cleanup<Tag, void (*)()>, decltype(cleanup)>(), in TYPED_TEST() 126 IsSame<absl::Cleanup<Tag, decltype(callback)>, decltype(cleanup)>(), in TYPED_TEST() 133 static_assert(IsSame<absl::Cleanup<Tag, void (*)()>, decltype(cleanup)>(), in TYPED_TEST() 140 static_assert(IsSame<absl::Cleanup<Tag, void (*)()>, decltype(cleanup)>(), in TYPED_TEST() 152 IsSame<decltype(factory_cleanup), decltype(deduction_cleanup)>(), ""); in TYPED_TEST() 161 IsSame<decltype(factory_cleanup), decltype(deduction_cleanup)>(), ""); in TYPED_TEST() 170 IsSame<decltype(factory_cleanup), decltype(deduction_cleanup)>(), ""); in TYPED_TEST() [all …]
|
/external/llvm-project/libc/utils/CPP/ |
D | TypeTraits.h | 31 template <typename T1, typename T2> struct IsSame : public FalseValue {}; 32 template <typename T> struct IsSame<T, T> : public TrueValue {}; 34 static constexpr bool IsSameV = IsSame<T1, T2>::Value; 64 static constexpr bool Value = IsSame<float, TypeNoCV>::Value || 65 IsSame<double, TypeNoCV>::Value || 66 IsSame<long double, TypeNoCV>::Value;
|
/external/webrtc/modules/desktop_capture/win/ |
D | scoped_thread_desktop.cc | 24 bool ScopedThreadDesktop::IsSame(const Desktop& desktop) { in IsSame() function in webrtc::ScopedThreadDesktop 26 return assigned_->IsSame(desktop); in IsSame() 28 return initial_->IsSame(desktop); in IsSame() 44 if (initial_->IsSame(*desktop)) in SetThreadDesktop()
|
D | scoped_thread_desktop.h | 34 bool IsSame(const Desktop& desktop);
|
D | desktop.h | 34 bool IsSame(const Desktop& other) const;
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/ |
D | IsSame.java | 11 public class IsSame<T> extends BaseMatcher<T> { class 14 public IsSame(T object) { in IsSame() method in IsSame 38 return new IsSame<T>(target); in sameInstance() 49 return new IsSame<T>(target); in theInstance()
|
/external/llvm-project/clang/test/CXX/over/over.match/over.match.funcs/over.match.class.deduct/ |
D | p2.cpp | 62 template <typename X, typename Y> struct IsSame { struct 66 template <typename Z> struct IsSame<Z, Z> { struct 80 static_assert(IsSame<decltype(opt), Optional<int>>::value); in main() 81 static_assert(IsSame<decltype(dupe), Optional<int>>::value); in main() 82 static_assert(!IsSame<decltype(dupe), Optional<Optional<int>>>::value); in main()
|
/external/llvm-project/lldb/unittests/UnwindAssembly/ARM64/ |
D | TestArm64InstEmulation.cpp | 282 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 285 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 293 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 296 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 307 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 310 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 651 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 654 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 657 EXPECT_TRUE(regloc.IsSame()); in TEST_F() 660 EXPECT_TRUE(regloc.IsSame()); in TEST_F() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/ |
D | gtest-typed-test_test.cc | 180 if (testing::internal::IsSame<T, char>::value) { in GetName() 183 if (testing::internal::IsSame<T, int>::value) { in GetName() 192 if (testing::internal::IsSame<TypeParam, char>::value) { in TYPED_TEST() 198 if (testing::internal::IsSame<TypeParam, int>::value) { in TYPED_TEST() 314 if (testing::internal::IsSame<TypeParam, char>::value) { in TYPED_TEST_P() 320 if (testing::internal::IsSame<TypeParam, int>::value) { in TYPED_TEST_P() 334 if (testing::internal::IsSame<T, char>::value) { in GetName() 337 if (testing::internal::IsSame<T, int>::value) { in GetName()
|
D | googletest-output-test_.cc | 807 if (testing::internal::IsSame<T, char>::value) in GetName() 809 if (testing::internal::IsSame<T, int>::value) in GetName() 848 if (testing::internal::IsSame<T, unsigned char>::value) { in GetName() 851 if (testing::internal::IsSame<T, unsigned int>::value) { in GetName()
|
/external/google-fruit/tests/meta/ |
D | common.h | 61 …typename CheckIfError<Eval<If(IsSame(__VA_ARGS__), True, … 67 …Eval<If(IsSame(__VA_ARGS__), True, ConstructError(DifferentErrorTag, __VA_ARGS__))>>::type), \ 83 …sizeof(typename CheckIfError<Eval<If(Not(IsSame(__VA_ARGS__)), True, … 89 …Eval<If(Not(IsSame(__VA_ARGS__)), True, ConstructError(SameErrorTag, __VA_ARGS__))>>::type), \
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | template_util.h | 62 struct IsSame { 66 struct IsSame<A, A> { 89 !IsSame<Base const, void const>::value;
|
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/ |
D | IsSameTest.java | 7 import static org.hamcrest.core.IsSame.sameInstance; 8 import static org.hamcrest.core.IsSame.theInstance;
|
/external/google-fruit/include/fruit/impl/ |
D | component_functors.defn.h | 158 If(IsSame(I, C), ConstructError(InterfaceBindingToSelfErrorTag, C), 160 …If(Not(IsSame(I, NormalizeType(I))), ConstructError(NonClassTypeErrorTag, I, NormalizeUntilStable(… 161 If(Not(IsSame(C, NormalizeType(C))), 295 If(Not(IsSame(Signature, SignatureFromLambda)), 369 If(Not(IsSame(Signature, SignatureFromLambda)), 467 using type = If(Not(IsSame(Type<NakedRequiredSignature>, FunctionSignature(Lambda))), 574 …If(Not(IsSame(RemoveAssisted(Args), Args)), ConstructError(AssistedParamInRegisterConstructorSigna… 609 …If(Not(IsSame(C, NormalizeType(C))), ConstructError(NonClassTypeErrorTag, C, NormalizeUntilStable(… 610 … If(Not(IsSame(RemoveAnnotations(AnnotatedC), NormalizeType(RemoveAnnotations(AnnotatedC)))), 614 … If(Not(Or(IsSame(RemoveAnnotations(AnnotatedC), C), IsBaseOf(RemoveAnnotations(AnnotatedC), C))), [all …]
|
D | provider.defn.h | 46 If(Not(IsSame(GetClassForType(Type<T>), RemoveConstFromType(Type<C>))), 48 …If(And(TypeInjectionRequiresNonConstBinding(Type<T>), Not(IsSame(Id<GetClassForType(Type<T>)>, Typ…
|
/external/llvm-project/libc/utils/MPFRWrapper/ |
D | MPFRUtils.h | 212 cpp::IsSame<InputType, OutputType>::Value && 217 cpp::IsSame<OutputType, BinaryOutput<InputType>>::Value) || 221 cpp::IsSame<InputType, BinaryInput<OutputType>>::Value) || 229 cpp::IsSame<InputType, TernaryInput<OutputType>>::Value);
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | type_manager_test.cpp | 525 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST() 529 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST() 574 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST() 578 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST() 813 ASSERT_TRUE(pair.first->IsSame(&u32)); in TEST() 814 ASSERT_TRUE(pair.second->IsSame(&u32Ptr)); in TEST() 818 ASSERT_TRUE(pair.first->IsSame(&st)); in TEST() 819 ASSERT_TRUE(pair.second->IsSame(&stPtr)); in TEST() 861 EXPECT_FALSE(type1->IsSame(type2)); in TEST() 882 EXPECT_TRUE(type->IsSame(&st)); in TEST()
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | type_manager_test.cpp | 525 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST() 529 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST() 574 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST() 578 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST() 813 ASSERT_TRUE(pair.first->IsSame(&u32)); in TEST() 814 ASSERT_TRUE(pair.second->IsSame(&u32Ptr)); in TEST() 818 ASSERT_TRUE(pair.first->IsSame(&st)); in TEST() 819 ASSERT_TRUE(pair.second->IsSame(&stPtr)); in TEST() 861 EXPECT_FALSE(type1->IsSame(type2)); in TEST() 882 EXPECT_TRUE(type->IsSame(&st)); in TEST()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/ |
D | type_manager_test.cpp | 525 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST() 529 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST() 574 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST() 578 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST() 813 ASSERT_TRUE(pair.first->IsSame(&u32)); in TEST() 814 ASSERT_TRUE(pair.second->IsSame(&u32Ptr)); in TEST() 818 ASSERT_TRUE(pair.first->IsSame(&st)); in TEST() 819 ASSERT_TRUE(pair.second->IsSame(&stPtr)); in TEST() 861 EXPECT_FALSE(type1->IsSame(type2)); in TEST() 882 EXPECT_TRUE(type->IsSame(&st)); in TEST()
|
/external/llvm-project/libc/src/math/ |
D | math_utils.h | 74 cpp::IsSame<T, float>::Value || cpp::IsSame<T, double>::Value;
|
/external/llvm-project/libc/utils/FPUtil/ |
D | LongDoubleBitsX86.h | 53 cpp::EnableIfType<cpp::IsSame<long double, XType>::Value, int> = 0> 90 cpp::EnableIfType<cpp::IsSame<UIntType, XType>::Value, int> = 0>
|
D | FPBits.h | 87 cpp::EnableIfType<cpp::IsSame<T, XType>::Value, int> = 0> 110 cpp::EnableIfType<cpp::IsSame<UIntType, XType>::Value, int> = 0>
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_type_traits_test.cpp | 18 TEST(SanitizerCommon, IsSame) { in TEST() argument
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | type_manager.h | 59 return lhs->IsSame(rhs); in operator() 66 return lhs->IsSame(rhs.get()); in operator()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | type_manager.h | 59 return lhs->IsSame(rhs); in operator() 66 return lhs->IsSame(rhs.get()); in operator()
|