Home
last modified time | relevance | path

Searched refs:equivalent (Results 1 – 25 of 519) sorted by relevance

12345678910>>...21

/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent/
H A Dequivalent.pass.cpp33 ASSERT_NOEXCEPT(equivalent(p, p, ec)); in TEST_CASE()
34 ASSERT_NOT_NOEXCEPT(equivalent(p, p)); in TEST_CASE()
65 TEST_CHECK(equivalent(E, DNE, ec) == false); in TEST_CASE()
71 TEST_CHECK(equivalent(DNE, E, ec) == false); in TEST_CASE()
95 TEST_CHECK(equivalent(file, hl1)); in TEST_CASE()
96 TEST_CHECK(equivalent(file, hl2)); in TEST_CASE()
97 TEST_CHECK(equivalent(hl1, hl2)); in TEST_CASE()
108 TEST_CHECK(!equivalent(file, fifo1)); in TEST_CASE()
109 TEST_CHECK(!equivalent(fifo2, file)); in TEST_CASE()
110 TEST_CHECK(!equivalent(fifo1, fifo2)); in TEST_CASE()
[all …]
/llvm-project-15.0.7/libcxx/test/std/language.support/cmp/cmp.partialord/
H A Dpartialord.pass.cpp26 DoNotOptimize(&std::partial_ordering::equivalent); in test_static_members()
32 auto& Eq = std::partial_ordering::equivalent; in test_signatures()
56 auto& PartialEq = std::partial_ordering::equivalent; in test_equality()
57 auto& WeakEq = std::weak_ordering::equivalent; in test_equality()
66 auto& Eq = std::partial_ordering::equivalent; in test_constexpr()
116 {std::partial_ordering::equivalent, ER_Equiv}, in test_constexpr()
147 std::partial_ordering::equivalent); in test_constexpr()
153 static_assert(std::partial_ordering::equivalent != in test_constexpr()
156 std::partial_ordering::equivalent); in test_constexpr()
165 std::partial_ordering::equivalent); in test_constexpr()
[all …]
/llvm-project-15.0.7/libcxx/test/std/language.support/cmp/cmp.weakord/
H A Dweakord.pass.cpp26 DoNotOptimize(&std::weak_ordering::equivalent); in test_static_members()
31 auto& Eq = std::weak_ordering::equivalent; in test_signatures()
57 auto V = std::weak_ordering::equivalent; in test_conversion()
76 auto& WeakEq = std::weak_ordering::equivalent; in test_equality()
77 auto& PartialEq = std::partial_ordering::equivalent; in test_equality()
86 auto& Eq = std::weak_ordering::equivalent; in test_constexpr()
133 {std::weak_ordering::equivalent, ER_Equiv}, in test_constexpr()
160 static_assert(std::weak_ordering::equivalent == in test_constexpr()
161 std::weak_ordering::equivalent); in test_constexpr()
162 static_assert(std::weak_ordering::equivalent != in test_constexpr()
[all …]
/llvm-project-15.0.7/libcxx/test/std/language.support/cmp/compare.syn/
H A Dnamed_functions.pass.cpp31 assert( std::is_eq(std::weak_ordering::equivalent)); in test()
34 assert( std::is_eq(std::partial_ordering::equivalent)); in test()
42 assert(!std::is_neq(std::weak_ordering::equivalent)); in test()
45 assert(!std::is_neq(std::partial_ordering::equivalent)); in test()
53 assert(!std::is_lt(std::weak_ordering::equivalent)); in test()
56 assert(!std::is_lt(std::partial_ordering::equivalent)); in test()
64 assert( std::is_lteq(std::weak_ordering::equivalent)); in test()
67 assert( std::is_lteq(std::partial_ordering::equivalent)); in test()
75 assert(!std::is_gt(std::weak_ordering::equivalent)); in test()
78 assert(!std::is_gt(std::partial_ordering::equivalent)); in test()
[all …]
/llvm-project-15.0.7/clang/test/Rewriter/
H A Dobjc-modern-numeric-literal.mm39 NSNumber *theLetterZ = @'Z'; // equivalent to [NSNumber numberWithChar:'Z']
42 NSNumber *fortyTwo = @42; // equivalent to [NSNumber numberWithInt:42]
43 NSNumber *fortyTwoUnsigned = @42U; // equivalent to [NSNumber numberWithUnsignedInt:42U]
44 NSNumber *fortyTwoLong = @42L; // equivalent to [NSNumber numberWithLong:42L]
45 NSNumber *fortyTwoLongLong = @42LL; // equivalent to [NSNumber numberWithLongLong:42LL]
48 NSNumber *piFloat = @3.141592654F; // equivalent to [NSNumber numberWithFloat:3.141592654F]
49 NSNumber *piDouble = @3.1415926535; // equivalent to [NSNumber numberWithDouble:3.1415926535]
52 NSNumber *yesNumber = @YES; // equivalent to [NSNumber numberWithBool:YES]
53 NSNumber *noNumber = @NO; // equivalent to [NSNumber numberWithBool:NO]
55 NSNumber *trueNumber = @true; // equivalent to [NSNumber numberWithBool:(BOOL)true]
[all …]
H A Dobjc-modern-boxing.mm45 NSNumber *theLetterZ = @('Z'); // equivalent to [NSNumber numberWithChar:('Z')]
48 NSNumber *fortyTwo = @(42); // equivalent to [NSNumber numberWithInt:(42)]
49 NSNumber *fortyTwoUnsigned = @(42U); // equivalent to [NSNumber numberWithUnsignedInt:(42U)]
50 NSNumber *fortyTwoLong = @(42L); // equivalent to [NSNumber numberWithLong:(42L)]
51 NSNumber *fortyTwoLongLong = @(42LL); // equivalent to [NSNumber numberWithLongLong:(42LL)]
54 NSNumber *piFloat = @(3.141592654F); // equivalent to [NSNumber numberWithFloat:(3.141592654F)]
55 …NSNumber *piDouble = @(3.1415926535); // equivalent to [NSNumber numberWithDouble:(3.1415926535)]
/llvm-project-15.0.7/libcxx/test/std/language.support/cmp/cmp.strongord/
H A Dstrongord.pass.cpp27 DoNotOptimize(&std::strong_ordering::equivalent); in test_static_members()
32 auto& Eq = std::strong_ordering::equivalent; in test_signatures()
57 auto& PartialEq = std::partial_ordering::equivalent; in test_equality()
60 auto& WeakEq = std::weak_ordering::equivalent; in test_equality()
69 auto V = std::strong_ordering::equivalent; in test_conversion()
87 auto V = std::strong_ordering::equivalent; in test_conversion()
106 auto& Equiv = std::strong_ordering::equivalent; in test_constexpr()
154 {std::strong_ordering::equivalent, ER_Equiv}, in test_constexpr()
/llvm-project-15.0.7/libcxx/test/std/language.support/cmp/cmp.alg/
H A Dweak_order.pass.cpp141 assert(naturalOrder == std::partial_ordering::equivalent); in test_1_3()
148 assert(std::weak_order(v[0], v[0]) == std::weak_ordering::equivalent); in test_1_3()
163 assert(std::weak_order(v[1], v[1]) == std::weak_ordering::equivalent); in test_1_3()
178 assert(std::weak_order(v[2], v[2]) == std::weak_ordering::equivalent); in test_1_3()
193 assert(std::weak_order(v[3], v[3]) == std::weak_ordering::equivalent); in test_1_3()
208 assert(std::weak_order(v[4], v[4]) == std::weak_ordering::equivalent); in test_1_3()
223 assert(std::weak_order(v[5], v[5]) == std::weak_ordering::equivalent); in test_1_3()
224 assert(std::weak_order(v[5], v[6]) == std::weak_ordering::equivalent); in test_1_3()
237 assert(std::weak_order(v[6], v[5]) == std::weak_ordering::equivalent); in test_1_3()
410 return std::weak_ordering::equivalent; in operator <=>()
[all …]
H A Dpartial_order.pass.cpp67 std::weak_ordering partial_order(A&&, A&&) { return std::weak_ordering::equivalent; } in partial_order()
92 assert(std::partial_order(std::move(a), std::move(a)) == std::partial_ordering::equivalent); in test_1_2()
110 …constexpr std::partial_ordering operator<=>(A&&, A&&) { return std::partial_ordering::equivalent; } in operator <=>()
124 return std::partial_ordering::equivalent; in operator <=>()
137 assert(std::partial_order(std::move(a), std::move(a)) == std::partial_ordering::equivalent); in test_1_3()
147 assert(std::partial_order(c1, c2) == std::partial_ordering::equivalent); in test_1_3()
157 assert(std::partial_order(F(0), -F(0)) == std::partial_ordering::equivalent); in test_1_3()
167 assert(std::partial_order(F(0), -F(0)) == std::partial_ordering::equivalent); in test_1_3()
177 assert(std::partial_order(F(0), -F(0)) == std::partial_ordering::equivalent); in test_1_3()
222 assert(std::partial_order(std::move(a), std::move(a)) == std::partial_ordering::equivalent); in test_1_4()
H A Dcompare_weak_order_fallback.pass.cpp141 assert(naturalOrder == std::partial_ordering::equivalent); in test_1_3()
148 assert(std::compare_weak_order_fallback(v[0], v[0]) == std::weak_ordering::equivalent); in test_1_3()
163 assert(std::compare_weak_order_fallback(v[1], v[1]) == std::weak_ordering::equivalent); in test_1_3()
178 assert(std::compare_weak_order_fallback(v[2], v[2]) == std::weak_ordering::equivalent); in test_1_3()
193 assert(std::compare_weak_order_fallback(v[3], v[3]) == std::weak_ordering::equivalent); in test_1_3()
208 assert(std::compare_weak_order_fallback(v[4], v[4]) == std::weak_ordering::equivalent); in test_1_3()
223 assert(std::compare_weak_order_fallback(v[5], v[5]) == std::weak_ordering::equivalent); in test_1_3()
224 assert(std::compare_weak_order_fallback(v[5], v[6]) == std::weak_ordering::equivalent); in test_1_3()
237 assert(std::compare_weak_order_fallback(v[6], v[5]) == std::weak_ordering::equivalent); in test_1_3()
410 return std::weak_ordering::equivalent; in operator <=>()
[all …]
H A Dcompare_partial_order_fallback.pass.cpp67 std::weak_ordering partial_order(A&&, A&&) { return std::weak_ordering::equivalent; } in partial_order()
92 …::compare_partial_order_fallback(std::move(a), std::move(a)) == std::partial_ordering::equivalent); in test_1_2()
110 …constexpr std::partial_ordering operator<=>(A&&, A&&) { return std::partial_ordering::equivalent; } in operator <=>()
124 return std::partial_ordering::equivalent; in operator <=>()
137 …::compare_partial_order_fallback(std::move(a), std::move(a)) == std::partial_ordering::equivalent); in test_1_3()
147 assert(std::compare_partial_order_fallback(c1, c2) == std::partial_ordering::equivalent); in test_1_3()
157 … assert(std::compare_partial_order_fallback(F(0), -F(0)) == std::partial_ordering::equivalent); in test_1_3()
167 … assert(std::compare_partial_order_fallback(F(0), -F(0)) == std::partial_ordering::equivalent); in test_1_3()
177 … assert(std::compare_partial_order_fallback(F(0), -F(0)) == std::partial_ordering::equivalent); in test_1_3()
222 …::compare_partial_order_fallback(std::move(a), std::move(a)) == std::partial_ordering::equivalent); in test_1_4()
[all …]
/llvm-project-15.0.7/libcxx/test/std/library/description/conventions/expos.only.func/
H A Dsynth_three_way.pass.cpp54 assert(synth_three_way(1.0, 1.0) == std::partial_ordering::equivalent); in test()
82 assert(synth_three_way(WeakSpaceship{1}, WeakSpaceship{1}) == std::weak_ordering::equivalent); in test()
96 …ynth_three_way(PartialSpaceship{1.0}, PartialSpaceship{1.0}) == std::partial_ordering::equivalent); in test()
108 assert(synth_three_way(NoSpaceship{1}, NoSpaceship{1}) == std::weak_ordering::equivalent); in test()
118 return std::strong_ordering::equivalent; in test()
121 …ssert(synth_three_way(SpaceshipNoEquals{}, SpaceshipNoEquals{}) == std::weak_ordering::equivalent); in test()
134 assert(synth_three_way(CustomSpaceship{}, CustomSpaceship{}) == std::weak_ordering::equivalent); in test()
154 assert(synth_three_way(1, 1U) == std::weak_ordering::equivalent); in test()
/llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/Inputs/
H A Dremap.map1 # foo:: and foo::detail:: are equivalent
4 # foo::qux and foo::quux are equivalent
7 # N::X and M::X are equivalent
/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/Inputs/
H A Dremap.map1 # foo:: and foo::detail:: are equivalent
4 # foo::qux and foo::quux are equivalent
7 # N::X and M::X are equivalent
/llvm-project-15.0.7/llvm/test/tools/llvm-cxxmap/Inputs/
H A Dremap.map1 # foo:: and foo::detail:: are equivalent
4 # foo::qux and foo::quux are equivalent
7 # N::X and M::X are equivalent
/llvm-project-15.0.7/libcxx/include/__compare/
H A Dordering.h67 static const partial_ordering equivalent; variable
134 inline constexpr partial_ordering partial_ordering::equivalent(_OrdResult::__equiv);
146 static const weak_ordering equivalent; variable
151 return __value_ == 0 ? partial_ordering::equivalent in partial_ordering()
219 inline constexpr weak_ordering weak_ordering::equivalent(_OrdResult::__equiv);
231 static const strong_ordering equivalent; variable
237 return __value_ == 0 ? partial_ordering::equivalent in partial_ordering()
243 return __value_ == 0 ? weak_ordering::equivalent in weak_ordering()
312 inline constexpr strong_ordering strong_ordering::equivalent(_OrdResult::__equiv);
H A Dcommon_comparison_category.h71 return partial_ordering::equivalent; in __get_comp_type()
73 return weak_ordering::equivalent; in __get_comp_type()
75 return strong_ordering::equivalent; in __get_comp_type()
/llvm-project-15.0.7/llvm/docs/CommandGuide/
H A Dllvm-cxxmap.rst15 based on a file describing name components that should be considered equivalent.
19 of pairs of equivalent symbols, one per line, of the form
37 to determine whether two symbols are equivalent. Required.
47 Produce a warning if there are multiple equivalent (but distinct) symbols in
53 equivalent symbol in *symbol-file-2*.
86 should be treated as equivalent, the following remapping file could be used:
90 # absl::string_view is considered equivalent to std::string_view
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/comparisons/
H A Dcompare_three_way.pass.cpp51 …rt(std::compare_three_way()(WeaklyOrdered{1}, WeaklyOrdered{1}) == std::weak_ordering::equivalent); in test()
57 assert(std::compare_three_way()(1.0, 1.0) == std::partial_ordering::equivalent); in test()
63 assert(std::compare_three_way()(42.0, 42) == std::partial_ordering::equivalent); in test()
65 assert(std::compare_three_way()(42, 42.0) == std::partial_ordering::equivalent); in test()
/llvm-project-15.0.7/libcxx/test/std/language.support/cmp/cmp.categories.pre/
H A Dzero_type.verify.cpp54 test_category(std::strong_ordering::equivalent); in main()
55 test_category(std::weak_ordering::equivalent); in main()
56 test_category(std::partial_ordering::equivalent); in main()
/llvm-project-15.0.7/llvm/test/MC/MachO/AArch64/
H A Dcstexpr-gotpcrel.ll3 ; GOT equivalent globals references can be replaced by the GOT entry of the
15 ; Don't replace GOT equivalent usage within instructions and emit the GOT
16 ; equivalent since it can't be replaced by the GOT entry. @bargotequiv is
27 ; Test GOT equivalent usage inside nested constant arrays.
82 ; Check that these got equivalent symbols are emitted on ARM64. Since ARM64
85 ; since they will start out as GOT equivalent candidates, but they are actually
/llvm-project-15.0.7/llvm/test/MC/MachO/
H A Dcstexpr-gotpcrel-64.ll6 ; GOT equivalent globals references can be replaced by the GOT entry of the
12 ; Check that these got equivalent symbols are never emitted.
22 ; Don't replace GOT equivalent usage within instructions and emit the GOT
23 ; equivalent since it can't be replaced by the GOT entry. @bargotequiv is
33 ; Test GOT equivalent usage inside nested constant arrays.
89 ; Do not crash when a pattern cannot be matched as a GOT equivalent
/llvm-project-15.0.7/clang/lib/Tooling/
H A DFileMatchTrie.cpp29 bool equivalent(StringRef FileA, StringRef FileB) const override { in equivalent() function
30 return FileA == FileB || llvm::sys::fs::equivalent(FileA, FileB); in equivalent()
114 Comparator.equivalent(StringRef(Path), FileName)) in findEquivalent()
140 if (Comparator.equivalent(Child, FileName)) { in findEquivalent()
/llvm-project-15.0.7/llvm/test/MC/MachO/ARM/
H A Dcstexpr-gotpcrel.ll5 ; GOT equivalent globals references can be replaced by the GOT entry of the
11 ; Check that these got equivalent symbols are never emitted or used
20 ; Don't replace GOT equivalent usage within instructions and emit the GOT
21 ; equivalent since it can't be replaced by the GOT entry. @bargotequiv is
32 ; Test GOT equivalent usage inside nested constant arrays.
/llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.errors/
H A Dequivalent_error_code_int.pass.cpp25 assert(e_cat.equivalent(std::error_code(5, e_cat), 5)); in main()
26 assert(!e_cat.equivalent(std::error_code(5, e_cat), 6)); in main()

12345678910>>...21