Home
last modified time | relevance | path

Searched refs:is_equal (Results 1 – 25 of 55) sorted by relevance

123

/external/llvm-project/clang/test/SemaCXX/
Dsource_location.cpp47 constexpr bool is_equal(const char *LHS, const char *RHS) { in is_equal() function
303 static_assert(is_equal(test_file_simple(), __FILE__)); in test_function()
304 static_assert(is_equal(SLF::test_function().file(), __FILE__), ""); in test_function()
305 static_assert(is_equal(SLF::test_function_template(42).file(), __FILE__), ""); in test_function()
307 static_assert(is_equal(SLF::test_function_indirect().file(), SLF::global_info.file()), ""); in test_function()
308 …static_assert(is_equal(SLF::test_function_template_indirect(42).file(), SLF::global_info.file()), … in test_function()
311 static_assert(!is_equal(test_file_simple(), "source_location.cpp")); in test_function()
322 static_assert(is_equal(Default.info.file(), SLF::FILE), ""); in test_class()
323 static_assert(is_equal(InParam.info.file(), SLF::FILE), ""); in test_class()
324 static_assert(is_equal(InParam.ctor_info.file(), __FILE__), ""); in test_class()
[all …]
/external/libcxxabi/src/
Dprivate_typeinfo.cpp60 is_equal(const std::type_info* x, const std::type_info* y, bool use_strcmp) in is_equal() function
184 return is_equal(this, thrown_type, false); in can_catch()
212 return is_equal(this, thrown_type, false); in can_catch()
226 if (is_equal(this, thrown_type, false)) in can_catch()
281 if (is_equal(this, info->static_type, false)) in has_unambiguous_public_base()
290 if (is_equal(this, info->static_type, false)) in has_unambiguous_public_base()
322 if (is_equal(this, info->static_type, false)) in has_unambiguous_public_base()
356 return is_equal(this, thrown_type, use_strcmp); in can_catch()
372 if (is_equal(thrown_type, &typeid(std::nullptr_t), false)) { in can_catch()
396 if (is_equal(__pointee, thrown_pointer_type->__pointee, false)) in can_catch()
[all …]
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/
Dis_equal.pass.cpp39 noexcept(r1->is_equal(*r2)) in main()
52 assert(M1.is_equal(M2) == false); in main()
56 assert(M2.is_equal(M1) == false); in main()
69 assert(M1.is_equal(M2) == false); in main()
73 assert(M2.is_equal(M1) == false); in main()
86 assert(M1.is_equal(M2) == true); in main()
90 assert(M2.is_equal(M1) == true); in main()
/external/libcxx/test/std/experimental/memory/memory.resource/memory.resource.public/
Dis_equal.pass.cpp38 noexcept(r1->is_equal(*r2)) in main()
51 assert(M1.is_equal(M2) == false); in main()
55 assert(M2.is_equal(M1) == false); in main()
68 assert(M1.is_equal(M2) == false); in main()
72 assert(M2.is_equal(M1) == false); in main()
85 assert(M1.is_equal(M2) == true); in main()
89 assert(M2.is_equal(M1) == true); in main()
/external/llvm-project/libcxxabi/src/
Dprivate_typeinfo.cpp54 is_equal(const std::type_info* x, const std::type_info* y, bool use_strcmp) in is_equal() function
186 return is_equal(this, thrown_type, false); in can_catch()
214 return is_equal(this, thrown_type, false); in can_catch()
228 if (is_equal(this, thrown_type, false)) in can_catch()
283 if (is_equal(this, info->static_type, false)) in has_unambiguous_public_base()
292 if (is_equal(this, info->static_type, false)) in has_unambiguous_public_base()
324 if (is_equal(this, info->static_type, false)) in has_unambiguous_public_base()
358 return is_equal(this, thrown_type, use_strcmp); in can_catch()
374 if (is_equal(thrown_type, &typeid(std::nullptr_t), false)) { in can_catch()
398 if (is_equal(__pointee, thrown_pointer_type->__pointee, false)) in can_catch()
[all …]
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
Ddo_is_equal.pass.cpp52 assert(m1.is_equal(m2)); in main()
53 assert(m2.is_equal(m1)); in main()
67 assert(!m1.is_equal(m2)); in main()
68 assert(!m2.is_equal(m1)); in main()
81 assert(!m1.is_equal(m2)); in main()
82 assert(!m2.is_equal(m1)); in main()
/external/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
Ddo_is_equal.pass.cpp51 assert(m1.is_equal(m2)); in main()
52 assert(m2.is_equal(m1)); in main()
66 assert(!m1.is_equal(m2)); in main()
67 assert(!m2.is_equal(m1)); in main()
80 assert(!m1.is_equal(m2)); in main()
81 assert(!m2.is_equal(m1)); in main()
/external/llvm-project/polly/lib/External/isl/
Disl_test_python.py36 assert(s.is_equal(result))
40 assert(us.is_equal(us.union(empty)))
74 assert(res_lvalue_param.is_equal(expected))
77 assert(res_rvalue_param.is_equal(expected))
80 assert(a.is_equal(a2))
181 assert(not list[0].is_equal(list[1]))
182 assert(not list[0].is_equal(list[2]))
183 assert(not list[1].is_equal(list[2]))
238 assert(set.is_equal(isl.set("{ A[*,*,*] }")))
239 assert(map.is_equal(isl.map("{ A[*,*,*] -> B[*,*] }")))
[all …]
Disl_test_cpp-generic.cc78 assert(IS_TRUE(s.is_equal(result))); in test_constructors()
80 assert(IS_TRUE(s.unite(s2).is_equal(result))); in test_constructors()
84 assert(IS_TRUE(us.is_equal(us.unite(empty)))); in test_constructors()
123 assert(IS_TRUE(res_lvalue_param.is_equal(expected))); in test_parameters_obj()
126 assert(IS_TRUE(res_rvalue_param.is_equal(expected))); in test_parameters_obj()
129 assert(IS_TRUE(a.is_equal(a2))); in test_parameters_obj()
233 assert(IS_TRUE(set.is_equal(isl::set(ctx, "{ A[*,*,*] }")))); in test_space()
234 assert(IS_TRUE(map.is_equal(isl::map(ctx, "{ A[*,*,*] -> B[*,*] }")))); in test_space()
Disl_test_cpp.cc101 assert(!basic_sets[0].is_equal(basic_sets[1])); in test_foreach()
238 assert(domain.is_equal(filters)); in test_schedule_tree()
Disl_test_cpp-checked-conversion.cc74 if (!set.is_equal(set2)) in check_conversion_equal()
Disl_test_cpp-checked.cc152 assert(!basic_sets[0].is_equal(basic_sets[1]).is_true()); in test_foreach()
234 assert(domain.is_equal(filters).is_true()); in test_schedule_tree()
/external/llvm-project/polly/unittests/ScheduleOptimizer/
DScheduleOptimizerTest.cpp30 EXPECT_TRUE(Result.is_equal(isl::set(ctx, "{[0]}"))); in TEST()
42 EXPECT_TRUE(Result.is_equal(isl::set(ctx, "{[1]}"))); in TEST()
54 EXPECT_TRUE(Result.is_equal(isl::set(ctx, "{[1]; [2]}"))); in TEST()
/external/libcxx/test/std/experimental/memory/memory.resource.global/
Dnull_memory_resource.pass.cpp71 assert(r1.is_equal(r2)); in test_equality()
72 assert(r2.is_equal(r1)); in test_equality()
81 assert(!r1.is_equal(r2)); in test_equality()
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource.global/
Dnull_memory_resource.pass.cpp69 assert(r1.is_equal(r2)); in test_equality()
70 assert(r2.is_equal(r1)); in test_equality()
79 assert(!r1.is_equal(r2)); in test_equality()
/external/rust/crates/itertools/src/
Ddiff.rs40 pub fn diff_with<I, J, F>(i: I, j: J, is_equal: F) in diff_with()
52 Some(j_elem) => if !is_equal(&i_elem, &j_elem) { in diff_with()
/external/llvm-project/pstl/test/std/algorithms/alg.modifying.operations/alg.partitions/
Dpartition.pass.cpp53 is_equal(Iterator first, Iterator last, Iterator d_first) in is_equal() function
60 is_equal(Iterator, Iterator, Iterator) in is_equal() function
119 …EXPECT_TRUE((is_equal<BiDirIt>(exp_first, exp_last, first)), "wrong effect from stable_partition"); in operator ()()
/external/llvm-project/pstl/test/std/algorithms/alg.nonmodifying/
Dnth_element.pass.cpp57 is_equal(const DataType<T>& x, const DataType<T>& y) in is_equal() function
64 is_equal(const T& x, const T& y) in is_equal() function
107 EXPECT_TRUE(is_equal(*mid1, *mid2), "wrong result from nth_element with predicate"); in operator ()()
/external/libchrome/base/task_scheduler/
Dtask_tracker_posix.cc28 return service_thread_handle_.is_equal(PlatformThread::CurrentHandle()); in IsPostingBlockShutdownTaskAfterShutdownAllowed()
/external/llvm-project/polly/unittests/Isl/
DIslTest.cpp47 return bool(LHS.is_equal(RHS)); in operator ==()
51 return bool(LHS.is_equal(RHS)); in operator ==()
55 return bool(LHS.is_equal(RHS)); in operator ==()
59 return bool(LHS.is_equal(RHS)); in operator ==()
63 return bool(LHS.is_equal(RHS)); in operator ==()
67 return bool(LHS.is_equal(RHS)); in operator ==()
71 return bool(LHS.is_equal(RHS)); in operator ==()
79 return bool(LHS.is_equal(RHS)); in operator ==()
/external/llvm-project/polly/unittests/Flatten/
DFlattenTest.cpp34 Success = Result.is_equal(Expected); in checkFlatten()
/external/llvm-project/polly/unittests/Support/
DISLTools.cpp7 return A.is_equal(B); in operator ==()
/external/rust/crates/ring/crypto/fipsmodule/ec/
Decp_nistz256.c82 static inline Limb is_equal(const Limb a[P256_LIMBS], const Limb b[P256_LIMBS]) { in is_equal() function
148 BN_ULONG is_exceptional = is_equal(U1, U2) & ~in1infty & ~in2infty; in GFp_nistz256_point_add()
150 if (is_equal(S1, S2)) { in GFp_nistz256_point_add()
/external/skia/tests/
DRecordOptsTest.cpp366 static bool is_equal(SkSurface* a, SkSurface* b) { in is_equal() function
402 REPORTER_ASSERT(r, is_equal(surf0.get(), surf1.get())); in do_savelayer_srcmode()
404 REPORTER_ASSERT(r, is_equal(surf0.get(), surf1.get())); in do_savelayer_srcmode()
/external/skqp/tests/
DRecordOptsTest.cpp379 static bool is_equal(SkSurface* a, SkSurface* b) { in is_equal() function
415 REPORTER_ASSERT(r, is_equal(surf0.get(), surf1.get())); in do_savelayer_srcmode()
417 REPORTER_ASSERT(r, is_equal(surf0.get(), surf1.get())); in do_savelayer_srcmode()

123