Home
last modified time | relevance | path

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

12345678910>>...77

/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent/
Dequivalent.pass.cpp33 ASSERT_NOEXCEPT(equivalent(p, p, ec)); in TEST_CASE()
34 ASSERT_NOT_NOEXCEPT(equivalent(p, p)); in TEST_CASE()
54 TEST_CHECK(equivalent(TC.lhs, TC.rhs, ec) == TC.expect); 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()
76 TEST_CHECK_THROW(filesystem_error, equivalent(DNE, E)); in TEST_CASE()
77 TEST_CHECK_THROW(filesystem_error, equivalent(E, DNE)); in TEST_CASE()
80 TEST_CHECK_THROW(filesystem_error, equivalent(DNE, DNE)); in TEST_CASE()
84 TEST_CHECK(equivalent(DNE, DNE, ec) == false); in TEST_CASE()
95 TEST_CHECK(equivalent(file, hl1)); in TEST_CASE()
[all …]
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent/
Dequivalent.pass.cpp34 ASSERT_NOEXCEPT(equivalent(p, p, ec)); in TEST_CASE()
35 ASSERT_NOT_NOEXCEPT(equivalent(p, p)); in TEST_CASE()
54 TEST_CHECK(equivalent(TC.lhs, TC.rhs, ec) == TC.expect); in TEST_CASE()
64 TEST_CHECK(equivalent(E, DNE, ec) == false); in TEST_CASE()
70 TEST_CHECK(equivalent(DNE, E, ec) == false); in TEST_CASE()
75 TEST_CHECK_THROW(filesystem_error, equivalent(DNE, E)); in TEST_CASE()
76 TEST_CHECK_THROW(filesystem_error, equivalent(E, DNE)); in TEST_CASE()
79 TEST_CHECK_THROW(filesystem_error, equivalent(DNE, DNE)); in TEST_CASE()
83 TEST_CHECK(equivalent(DNE, DNE, ec) == false); in TEST_CASE()
94 TEST_CHECK(equivalent(file, hl1)); in TEST_CASE()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/types/
Dcompare_test.cc30 EXPECT_TRUE(Identity(weak_equality::equivalent == 0)); in TEST()
31 EXPECT_TRUE(Identity(0 == weak_equality::equivalent)); in TEST()
34 const weak_equality values[] = {weak_equality::equivalent, in TEST()
50 EXPECT_TRUE(Identity(strong_equality::equivalent == 0)); in TEST()
51 EXPECT_TRUE(Identity(0 == strong_equality::equivalent)); in TEST()
63 EXPECT_TRUE(Identity(strong_equality::equivalent == strong_equality::equal)); in TEST()
73 EXPECT_TRUE(Identity(partial_ordering::equivalent == 0)); in TEST()
74 EXPECT_TRUE(Identity(0 == partial_ordering::equivalent)); in TEST()
90 partial_ordering::less, partial_ordering::equivalent, in TEST()
106 EXPECT_TRUE(Identity(weak_ordering::equivalent == 0)); in TEST()
[all …]
Dcompare.h74 equivalent = equal, enumerator
117 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
125 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
132 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
140 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
148 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
161 ABSL_COMPARE_INLINE_SUBCLASS_DECL(weak_equality, equivalent);
193 ABSL_COMPARE_INLINE_INIT(weak_equality, equivalent,
194 compare_internal::eq::equivalent);
207 ABSL_COMPARE_INLINE_SUBCLASS_DECL(strong_equality, equivalent);
[all …]
/external/angle/third_party/abseil-cpp/absl/types/
Dcompare_test.cc30 EXPECT_TRUE(Identity(weak_equality::equivalent == 0)); in TEST()
31 EXPECT_TRUE(Identity(0 == weak_equality::equivalent)); in TEST()
34 const weak_equality values[] = {weak_equality::equivalent, in TEST()
50 EXPECT_TRUE(Identity(strong_equality::equivalent == 0)); in TEST()
51 EXPECT_TRUE(Identity(0 == strong_equality::equivalent)); in TEST()
63 EXPECT_TRUE(Identity(strong_equality::equivalent == strong_equality::equal)); in TEST()
73 EXPECT_TRUE(Identity(partial_ordering::equivalent == 0)); in TEST()
74 EXPECT_TRUE(Identity(0 == partial_ordering::equivalent)); in TEST()
90 partial_ordering::less, partial_ordering::equivalent, in TEST()
106 EXPECT_TRUE(Identity(weak_ordering::equivalent == 0)); in TEST()
[all …]
Dcompare.h74 equivalent = equal, enumerator
117 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
125 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
132 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
140 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
148 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
161 ABSL_COMPARE_INLINE_SUBCLASS_DECL(weak_equality, equivalent);
193 ABSL_COMPARE_INLINE_INIT(weak_equality, equivalent,
194 compare_internal::eq::equivalent);
207 ABSL_COMPARE_INLINE_SUBCLASS_DECL(strong_equality, equivalent);
[all …]
/external/libtextclassifier/abseil-cpp/absl/types/
Dcompare_test.cc30 EXPECT_TRUE(Identity(weak_equality::equivalent == 0)); in TEST()
31 EXPECT_TRUE(Identity(0 == weak_equality::equivalent)); in TEST()
34 const weak_equality values[] = {weak_equality::equivalent, in TEST()
50 EXPECT_TRUE(Identity(strong_equality::equivalent == 0)); in TEST()
51 EXPECT_TRUE(Identity(0 == strong_equality::equivalent)); in TEST()
63 EXPECT_TRUE(Identity(strong_equality::equivalent == strong_equality::equal)); in TEST()
73 EXPECT_TRUE(Identity(partial_ordering::equivalent == 0)); in TEST()
74 EXPECT_TRUE(Identity(0 == partial_ordering::equivalent)); in TEST()
90 partial_ordering::less, partial_ordering::equivalent, in TEST()
106 EXPECT_TRUE(Identity(weak_ordering::equivalent == 0)); in TEST()
[all …]
Dcompare.h74 equivalent = equal, enumerator
117 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
125 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
132 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
140 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
148 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
161 ABSL_COMPARE_INLINE_SUBCLASS_DECL(weak_equality, equivalent);
193 ABSL_COMPARE_INLINE_INIT(weak_equality, equivalent,
194 compare_internal::eq::equivalent);
207 ABSL_COMPARE_INLINE_SUBCLASS_DECL(strong_equality, equivalent);
[all …]
/external/abseil-cpp/absl/types/
Dcompare_test.cc30 EXPECT_TRUE(Identity(weak_equality::equivalent == 0)); in TEST()
31 EXPECT_TRUE(Identity(0 == weak_equality::equivalent)); in TEST()
34 const weak_equality values[] = {weak_equality::equivalent, in TEST()
50 EXPECT_TRUE(Identity(strong_equality::equivalent == 0)); in TEST()
51 EXPECT_TRUE(Identity(0 == strong_equality::equivalent)); in TEST()
63 EXPECT_TRUE(Identity(strong_equality::equivalent == strong_equality::equal)); in TEST()
73 EXPECT_TRUE(Identity(partial_ordering::equivalent == 0)); in TEST()
74 EXPECT_TRUE(Identity(0 == partial_ordering::equivalent)); in TEST()
90 partial_ordering::less, partial_ordering::equivalent, in TEST()
106 EXPECT_TRUE(Identity(weak_ordering::equivalent == 0)); in TEST()
[all …]
Dcompare.h74 equivalent = equal, enumerator
115 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
123 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
130 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
138 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
146 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
159 ABSL_COMPARE_INLINE_SUBCLASS_DECL(weak_equality, equivalent);
191 ABSL_COMPARE_INLINE_INIT(weak_equality, equivalent,
192 compare_internal::eq::equivalent);
205 ABSL_COMPARE_INLINE_SUBCLASS_DECL(strong_equality, equivalent);
[all …]
/external/webrtc/third_party/abseil-cpp/absl/types/
Dcompare_test.cc30 EXPECT_TRUE(Identity(weak_equality::equivalent == 0)); in TEST()
31 EXPECT_TRUE(Identity(0 == weak_equality::equivalent)); in TEST()
34 const weak_equality values[] = {weak_equality::equivalent, in TEST()
50 EXPECT_TRUE(Identity(strong_equality::equivalent == 0)); in TEST()
51 EXPECT_TRUE(Identity(0 == strong_equality::equivalent)); in TEST()
63 EXPECT_TRUE(Identity(strong_equality::equivalent == strong_equality::equal)); in TEST()
73 EXPECT_TRUE(Identity(partial_ordering::equivalent == 0)); in TEST()
74 EXPECT_TRUE(Identity(0 == partial_ordering::equivalent)); in TEST()
90 partial_ordering::less, partial_ordering::equivalent, in TEST()
106 EXPECT_TRUE(Identity(weak_ordering::equivalent == 0)); in TEST()
[all …]
Dcompare.h74 equivalent = equal, enumerator
115 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
123 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
130 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
138 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
146 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
159 ABSL_COMPARE_INLINE_SUBCLASS_DECL(weak_equality, equivalent);
191 ABSL_COMPARE_INLINE_INIT(weak_equality, equivalent,
192 compare_internal::eq::equivalent);
205 ABSL_COMPARE_INLINE_SUBCLASS_DECL(strong_equality, equivalent);
[all …]
/external/openscreen/third_party/abseil/src/absl/types/
Dcompare_test.cc30 EXPECT_TRUE(Identity(weak_equality::equivalent == 0)); in TEST()
31 EXPECT_TRUE(Identity(0 == weak_equality::equivalent)); in TEST()
34 const weak_equality values[] = {weak_equality::equivalent, in TEST()
50 EXPECT_TRUE(Identity(strong_equality::equivalent == 0)); in TEST()
51 EXPECT_TRUE(Identity(0 == strong_equality::equivalent)); in TEST()
63 EXPECT_TRUE(Identity(strong_equality::equivalent == strong_equality::equal)); in TEST()
73 EXPECT_TRUE(Identity(partial_ordering::equivalent == 0)); in TEST()
74 EXPECT_TRUE(Identity(0 == partial_ordering::equivalent)); in TEST()
90 partial_ordering::less, partial_ordering::equivalent, in TEST()
106 EXPECT_TRUE(Identity(weak_ordering::equivalent == 0)); in TEST()
[all …]
Dcompare.h74 equivalent = equal, enumerator
117 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
125 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
132 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
140 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
148 ABSL_COMPARE_INLINE_BASECLASS_DECL(equivalent);
161 ABSL_COMPARE_INLINE_SUBCLASS_DECL(weak_equality, equivalent);
193 ABSL_COMPARE_INLINE_INIT(weak_equality, equivalent,
194 compare_internal::eq::equivalent);
207 ABSL_COMPARE_INLINE_SUBCLASS_DECL(strong_equality, equivalent);
[all …]
/external/llvm-project/libcxx/test/std/language.support/cmp/cmp.weakord/
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()
73 auto V = std::weak_ordering::equivalent; in test_conversion()
91 auto& Eq = std::weak_ordering::equivalent; in test_constexpr()
138 {std::weak_ordering::equivalent, ER_Equiv}, in test_constexpr()
161 static_assert(std::weak_ordering::less != std::weak_ordering::equivalent); in test_constexpr()
164 static_assert(std::weak_ordering::equivalent != std::weak_ordering::less); in test_constexpr()
165 static_assert(std::weak_ordering::equivalent == in test_constexpr()
166 std::weak_ordering::equivalent); in test_constexpr()
[all …]
/external/llvm-project/libcxx/test/std/language.support/cmp/cmp.partialord/
Dpartialord.pass.cpp26 DoNotOptimize(&std::partial_ordering::equivalent); in test_static_members()
32 auto& Eq = std::partial_ordering::equivalent; in test_signatures()
57 auto V = std::partial_ordering::equivalent; in test_conversion()
75 auto& Eq = std::partial_ordering::equivalent; in test_constexpr()
125 {std::partial_ordering::equivalent, ER_Equiv}, in test_constexpr()
156 std::partial_ordering::equivalent); in test_constexpr()
162 static_assert(std::partial_ordering::equivalent != in test_constexpr()
164 static_assert(std::partial_ordering::equivalent == in test_constexpr()
165 std::partial_ordering::equivalent); in test_constexpr()
166 static_assert(std::partial_ordering::equivalent != in test_constexpr()
[all …]
/external/python/cpython3/Doc/c-api/
Dnumber.rst21 equivalent of the Python expression ``o1 + o2``.
27 the equivalent of the Python expression ``o1 - o2``.
33 the equivalent of the Python expression ``o1 * o2``.
39 failure. This is the equivalent of the Python expression ``o1 @ o2``.
47 equivalent to the "classic" division of integers.
62 the equivalent of the Python expression ``o1 % o2``.
70 the equivalent of the Python expression ``divmod(o1, o2)``.
78 equivalent of the Python expression ``pow(o1, o2, o3)``, where *o3* is optional.
86 equivalent of the Python expression ``-o``.
91 Returns *o* on success, or ``NULL`` on failure. This is the equivalent of the
[all …]
Dsequence.rst24 failure. This is equivalent to the Python expression ``len(o)``.
30 This is the equivalent of the Python expression ``o1 + o2``.
36 failure. This is the equivalent of the Python expression ``o * count``.
42 The operation is done *in-place* when *o1* supports it. This is the equivalent
50 equivalent of the Python expression ``o *= count``.
55 Return the *i*\ th element of *o*, or ``NULL`` on failure. This is the equivalent of
62 failure. This is the equivalent of the Python expression ``o[i1:i2]``.
69 is the equivalent of the Python statement ``o[i] = v``. This function *does
79 equivalent of the Python statement ``del o[i]``.
85 *i2*. This is the equivalent of the Python statement ``o[i1:i2] = v``.
[all …]
/external/llvm-project/clang/test/Rewriter/
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 …]
/external/clang/test/Rewriter/
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 …]
/external/python/cpython2/Doc/c-api/
Dnumber.rst18 equivalent of the Python expression ``o1 + o2``.
24 the equivalent of the Python expression ``o1 - o2``.
30 the equivalent of the Python expression ``o1 * o2``.
36 equivalent of the Python expression ``o1 / o2``.
42 equivalent to the "classic" division of integers.
61 the equivalent of the Python expression ``o1 % o2``.
69 the equivalent of the Python expression ``divmod(o1, o2)``.
77 equivalent of the Python expression ``pow(o1, o2, o3)``, where *o3* is optional.
85 equivalent of the Python expression ``-o``.
90 Returns *o* on success, or *NULL* on failure. This is the equivalent of the
[all …]
Dmapping.rst21 objects that do not provide mapping protocol, this is equivalent to the Python
32 failure. This is equivalent to the Python statement ``del o[key]``.
38 failure. This is equivalent to the Python statement ``del o[key]``.
44 otherwise. This is equivalent to ``o[key]``, returning ``True`` on success
51 This is equivalent to ``o[key]``, returning ``True`` on success and ``False``
58 This is equivalent to the Python expression ``o.keys()``.
64 *NULL*. This is equivalent to the Python expression ``o.values()``.
70 containing a key-value pair. On failure, return *NULL*. This is equivalent to
77 This is the equivalent of the Python expression ``o[key]``.
83 This is the equivalent of the Python statement ``o[key] = v``.
/external/libcxx/test/std/language.support/cmp/cmp.strongord/
Dstrongord.pass.cpp28 DoNotOptimize(&std::strong_ordering::equivalent); in test_static_members()
33 auto& Eq = std::strong_ordering::equivalent; in test_signatures()
59 auto V = std::strong_ordering::equivalent; in test_conversion()
75 auto V = std::strong_ordering::equivalent; in test_conversion()
97 auto V = std::strong_ordering::equivalent; in test_conversion()
115 auto V = std::strong_ordering::equivalent; in test_conversion()
134 auto& Equiv = std::strong_ordering::equivalent; in test_constexpr()
182 {std::strong_ordering::equivalent, ER_Equiv}, in test_constexpr()
/external/llvm-project/libcxx/test/std/language.support/cmp/cmp.strongord/
Dstrongord.pass.cpp27 DoNotOptimize(&std::strong_ordering::equivalent); in test_static_members()
32 auto& Eq = std::strong_ordering::equivalent; in test_signatures()
58 auto V = std::strong_ordering::equivalent; in test_conversion()
74 auto V = std::strong_ordering::equivalent; in test_conversion()
96 auto V = std::strong_ordering::equivalent; in test_conversion()
114 auto V = std::strong_ordering::equivalent; in test_conversion()
133 auto& Equiv = std::strong_ordering::equivalent; in test_constexpr()
181 {std::strong_ordering::equivalent, ER_Equiv}, in test_constexpr()
/external/python/cpython3/Doc/library/
Doperator.rst20 equivalent to the expression ``x+y``. Many function names are those used for
46 equivalent to ``a < b``, ``le(a, b)`` is equivalent to ``a <= b``, ``eq(a,
47 b)`` is equivalent to ``a == b``, ``ne(a, b)`` is equivalent to ``a != b``,
48 ``gt(a, b)`` is equivalent to ``a > b`` and ``ge(a, b)`` is equivalent to ``a
70 equivalent to using the :class:`bool` constructor.
121 Return the bitwise inverse of the number *obj*. This is equivalent to ``~obj``.
448 does; for example, the :term:`statement` ``x += y`` is equivalent to
450 ``z = operator.iadd(x, y)`` is equivalent to the compound statement
479 ``a = iadd(a, b)`` is equivalent to ``a += b``.
485 ``a = iand(a, b)`` is equivalent to ``a &= b``.
[all …]

12345678910>>...77