Home
last modified time | relevance | path

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

1234

/external/rust/crates/grpcio-sys/grpc/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/webrtc/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/cronet/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/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/tensorflow/third_party/absl/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/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/openthread/src/core/common/
Dtlvs.hpp555 …static_assert(TypeTraits::IsSame<UintType, uint8_t>::kValue || TypeTraits::IsSame<UintType, uint16…
556 TypeTraits::IsSame<UintType, uint32_t>::kValue,
576 …static_assert(!TypeTraits::IsSame<TlvValueType, uint8_t>::kValue, "SimpleTlv must not use int valu…
577 …static_assert(!TypeTraits::IsSame<TlvValueType, uint16_t>::kValue, "SimpleTlv must not use int val…
578 …static_assert(!TypeTraits::IsSame<TlvValueType, uint32_t>::kValue, "SimpleTlv must not use int val…
579 …static_assert(!TypeTraits::IsSame<TlvValueType, int8_t>::kValue, "SimpleTlv must not use int value…
580 …static_assert(!TypeTraits::IsSame<TlvValueType, int16_t>::kValue, "SimpleTlv must not use int valu…
581 …static_assert(!TypeTraits::IsSame<TlvValueType, int32_t>::kValue, "SimpleTlv must not use int valu…
Dserial_number.hpp66 …static_assert(TypeTraits::IsSame<UintType, uint8_t>::kValue || TypeTraits::IsSame<UintType, uint16… in IsLess()
67 TypeTraits::IsSame<UintType, uint32_t>::kValue || in IsLess()
68 TypeTraits::IsSame<UintType, uint64_t>::kValue, in IsLess()
Dtype_traits.hpp99 template <typename FirstType, typename SecondType> struct IsSame : public FalseValue struct
103 template <typename Type> struct IsSame<Type, Type> : public TrueValue struct
/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.h36 bool IsSame(const Desktop& desktop);
Ddesktop.h36 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/tensorflow/tensorflow/core/grappler/utils/
Dpattern_utils.cc41 bool IsSame(string op1, string op2) { in IsSame() function
140 if ((!IsSame(pattern.children[0].op, graph_child0_node_view->GetOp()) && in DoesOpTypePatternMatch()
141 IsSame(pattern.children[1].op, graph_child0_node_view->GetOp())) || in DoesOpTypePatternMatch()
142 (!IsSame(pattern.children[1].op, graph_child1_node_view->GetOp()) && in DoesOpTypePatternMatch()
143 IsSame(pattern.children[0].op, graph_child1_node_view->GetOp()))) in DoesOpTypePatternMatch()
/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/openthread/src/cli/
Dcli.hpp265 …TypeTraits::IsSame<ValueType, uint8_t>::kValue || TypeTraits::IsSame<ValueType, uint16_t>::kValue … in ProcessGet()
266 …TypeTraits::IsSame<ValueType, uint32_t>::kValue || TypeTraits::IsSame<ValueType, int8_t>::kValue || in ProcessGet()
267 … TypeTraits::IsSame<ValueType, int16_t>::kValue || TypeTraits::IsSame<ValueType, int32_t>::kValue, in ProcessGet()
/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/deqp-deps/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp540 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
544 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
589 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
593 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
828 ASSERT_TRUE(pair.first->IsSame(&u32)); in TEST()
829 ASSERT_TRUE(pair.second->IsSame(&u32Ptr)); in TEST()
833 ASSERT_TRUE(pair.first->IsSame(&st)); in TEST()
834 ASSERT_TRUE(pair.second->IsSame(&stPtr)); in TEST()
876 EXPECT_FALSE(type1->IsSame(type2)); in TEST()
897 EXPECT_TRUE(type->IsSame(&st)); in TEST()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dtype_manager_test.cpp545 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
549 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
594 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
598 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
833 ASSERT_TRUE(pair.first->IsSame(&u32)); in TEST()
834 ASSERT_TRUE(pair.second->IsSame(&u32Ptr)); in TEST()
838 ASSERT_TRUE(pair.first->IsSame(&st)); in TEST()
839 ASSERT_TRUE(pair.second->IsSame(&stPtr)); in TEST()
881 EXPECT_FALSE(type1->IsSame(type2)); in TEST()
902 EXPECT_TRUE(type->IsSame(&st)); in TEST()
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dtype_manager_test.cpp549 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
553 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
598 EXPECT_TRUE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
602 EXPECT_FALSE(manager.GetType(id1)->IsSame(manager.GetType(id2))) in TEST()
837 ASSERT_TRUE(pair.first->IsSame(&u32)); in TEST()
838 ASSERT_TRUE(pair.second->IsSame(&u32Ptr)); in TEST()
842 ASSERT_TRUE(pair.first->IsSame(&st)); in TEST()
843 ASSERT_TRUE(pair.second->IsSame(&stPtr)); in TEST()
885 EXPECT_FALSE(type1->IsSame(type2)); in TEST()
906 EXPECT_TRUE(type->IsSame(&st)); in TEST()
/external/openthread/tests/unit/
Dtest_array.cpp416 …static_assert(TypeTraits::IsSame<Array1::IndexType, uint8_t>::kValue, "Array1::IndexType is incorr… in TestArrayIndexType()
417 …static_assert(TypeTraits::IsSame<Array2::IndexType, uint16_t>::kValue, "Array2::IndexType is incor… in TestArrayIndexType()
418 …static_assert(TypeTraits::IsSame<Array3::IndexType, uint16_t>::kValue, "Array3::IndexType is incor… in TestArrayIndexType()
/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