Home
last modified time | relevance | path

Searched refs:IsSame (Results 1 – 25 of 79) sorted by relevance

1234

/external/angle/third_party/abseil-cpp/absl/cleanup/
Dcleanup_test.cc30 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/
DTypeTraits.h31 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/
Dscoped_thread_desktop.cc24 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()
Dscoped_thread_desktop.h34 bool IsSame(const Desktop& desktop);
Ddesktop.h34 bool IsSame(const Desktop& other) const;
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIsSame.java11 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/
Dp2.cpp62 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/
DTestArm64InstEmulation.cpp282 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/
Dgtest-typed-test_test.cc180 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()
Dgoogletest-output-test_.cc807 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/
Dcommon.h61 …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/
Dtemplate_util.h62 struct IsSame {
66 struct IsSame<A, A> {
89 !IsSame<Base const, void const>::value;
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
DIsSameTest.java7 import static org.hamcrest.core.IsSame.sameInstance;
8 import static org.hamcrest.core.IsSame.theInstance;
/external/google-fruit/include/fruit/impl/
Dcomponent_functors.defn.h158 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 …]
Dprovider.defn.h46 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/
DMPFRUtils.h212 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/
Dtype_manager_test.cpp525 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/
Dtype_manager_test.cpp525 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/
Dtype_manager_test.cpp525 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/
Dmath_utils.h74 cpp::IsSame<T, float>::Value || cpp::IsSame<T, double>::Value;
/external/llvm-project/libc/utils/FPUtil/
DLongDoubleBitsX86.h53 cpp::EnableIfType<cpp::IsSame<long double, XType>::Value, int> = 0>
90 cpp::EnableIfType<cpp::IsSame<UIntType, XType>::Value, int> = 0>
DFPBits.h87 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/
Dsanitizer_type_traits_test.cpp18 TEST(SanitizerCommon, IsSame) { in TEST() argument
/external/deqp-deps/SPIRV-Tools/source/opt/
Dtype_manager.h59 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/
Dtype_manager.h59 return lhs->IsSame(rhs); in operator()
66 return lhs->IsSame(rhs.get()); in operator()

1234