Home
last modified time | relevance | path

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

12345678910>>...58

/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/python/cpython3/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 failure. This is the equivalent of the Python expression ``o1 @ o2``.
44 equivalent to the "classic" division of integers.
59 the equivalent of the Python expression ``o1 % o2``.
67 the equivalent of the Python expression ``divmod(o1, o2)``.
75 equivalent of the Python expression ``pow(o1, o2, o3)``, where *o3* is optional.
83 equivalent of the Python expression ``-o``.
88 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 …]
Dobject.rst33 is equivalent to the Python expression ``hasattr(o, attr_name)``. This function
44 is equivalent to the Python expression ``hasattr(o, attr_name)``. This function
56 value on success, or *NULL* on failure. This is the equivalent of the Python
63 value on success, or *NULL* on failure. This is the equivalent of the Python
81 return ``0`` on success. This is the equivalent of the Python statement
92 return ``0`` on success. This is the equivalent of the Python statement
114 This is the equivalent of the Python statement ``del o.attr_name``.
120 This is the equivalent of the Python statement ``del o.attr_name``.
144 ``<=``, ``==``, ``!=``, ``>``, or ``>=`` respectively. This is the equivalent of
155 ``0`` if the result is false, ``1`` otherwise. This is the equivalent of the
[all …]
Dmapping.rst27 This is equivalent to the Python expression ``len(o)``.
33 This is the equivalent of the Python expression ``o[key]``.
40 failure. This is the equivalent of the Python statement ``o[key] = v``.
47 on failure. This is equivalent to the Python statement ``del o[key]``.
54 on failure. This is equivalent to the Python statement ``del o[key]``.
60 This is equivalent to the Python expression ``key in o``.
71 This is equivalent to the Python expression ``key in o``.
/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``.
Dobject.rst20 is equivalent to the Python expression ``hasattr(o, attr_name)``. This function
27 is equivalent to the Python expression ``hasattr(o, attr_name)``. This function
34 value on success, or *NULL* on failure. This is the equivalent of the Python
41 value on success, or *NULL* on failure. This is the equivalent of the Python
59 return ``0`` on success. This is the equivalent of the Python statement
70 return ``0`` on success. This is the equivalent of the Python statement
92 This is the equivalent of the Python statement ``del o.attr_name``.
98 This is the equivalent of the Python statement ``del o.attr_name``.
106 ``<=``, ``==``, ``!=``, ``>``, or ``>=`` respectively. This is the equivalent of
117 ``0`` if the result is false, ``1`` otherwise. This is the equivalent of the
[all …]
Dsequence.rst21 failure. This is equivalent to the Python expression ``len(o)``.
31 This is the equivalent of the Python expression ``o1 + o2``.
37 failure. This is the equivalent of the Python expression ``o * count``.
47 The operation is done *in-place* when *o1* supports it. This is the equivalent
55 equivalent of the Python expression ``o *= count``.
64 Return the *i*\ th element of *o*, or *NULL* on failure. This is the equivalent of
75 failure. This is the equivalent of the Python expression ``o[i1:i2]``.
86 is the equivalent of the Python statement ``o[i] = v``. This function *does
100 equivalent of the Python statement ``del o[i]``.
111 This is the equivalent of the Python statement ``o[i1:i2] = v``.
[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 …]
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)]
/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/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``.
446 does; for example, the :term:`statement` ``x += y`` is equivalent to
448 ``z = operator.iadd(x, y)`` is equivalent to the compound statement
477 ``a = iadd(a, b)`` is equivalent to ``a += b``.
483 ``a = iand(a, b)`` is equivalent to ``a &= b``.
[all …]
/external/python/cpython2/Doc/library/
Doperator.rst17 equivalent to the expression ``x+y``. The function names are those used for
43 equivalent to ``a < b``, ``le(a, b)`` is equivalent to ``a <= b``, ``eq(a,
44 b)`` is equivalent to ``a == b``, ``ne(a, b)`` is equivalent to ``a != b``,
45 ``gt(a, b)`` is equivalent to ``a > b`` and ``ge(a, b)`` is equivalent to ``a
68 equivalent to using the :class:`bool` constructor.
133 Return the bitwise inverse of the number *obj*. This is equivalent to ``~obj``.
313 example, the :term:`statement` ``x += y`` is equivalent to
315 ``z = operator.iadd(x, y)`` is equivalent to the compound statement
321 ``a = iadd(a, b)`` is equivalent to ``a += b``.
329 ``a = iand(a, b)`` is equivalent to ``a &= b``.
[all …]
/external/libcxx/test/std/language.support/cmp/cmp.weakord/
Dweakord.pass.cpp27 DoNotOptimize(&std::weak_ordering::equivalent); in test_static_members()
32 auto& Eq = std::weak_ordering::equivalent; in test_signatures()
58 auto V = std::weak_ordering::equivalent; in test_conversion()
74 auto V = std::weak_ordering::equivalent; in test_conversion()
92 auto& Eq = std::weak_ordering::equivalent; in test_constexpr()
139 {std::weak_ordering::equivalent, ER_Equiv}, in test_constexpr()
/external/libcxx/test/std/language.support/cmp/cmp.strongeq/
Dcmp.strongeq.pass.cpp28 DoNotOptimize(&std::strong_equality::equivalent); in test_static_members()
33 auto& Eq = std::strong_equality::equivalent; in test_signatures()
48 constexpr std::weak_equality res = std::strong_equality::equivalent; in test_conversion()
61 auto& Equiv = std::strong_equality::equivalent; in test_constexpr()
/external/libcxx/include/
Dcompare88 static const weak_equality equivalent;
105 _LIBCPP_INLINE_VAR constexpr weak_equality weak_equality::equivalent(_EqResult::__equiv);
147 static const strong_equality equivalent;
152 return __value_ == _EqResult::__zero ? weak_equality::equivalent
172 _LIBCPP_INLINE_VAR constexpr strong_equality strong_equality::equivalent(_EqResult::__equiv);
228 static const partial_ordering equivalent;
234 return __value_ == 0 ? weak_equality::equivalent : weak_equality::nonequivalent;
261 _LIBCPP_INLINE_VAR constexpr partial_ordering partial_ordering::equivalent(_EqResult::__equiv);
337 static const weak_ordering equivalent;
343 return __value_ == 0 ? weak_equality::equivalent
[all …]
/external/libcxx/test/std/language.support/cmp/cmp.partialord/
Dpartialord.pass.cpp27 DoNotOptimize(&std::partial_ordering::equivalent); in test_static_members()
33 auto& Eq = std::partial_ordering::equivalent; in test_signatures()
58 auto V = std::partial_ordering::equivalent; in test_conversion()
76 auto& Eq = std::partial_ordering::equivalent; in test_constexpr()
126 {std::partial_ordering::equivalent, ER_Equiv}, in test_constexpr()
/external/libcxx/test/std/language.support/cmp/cmp.weakeq/
Dcmp.weakeq.pass.cpp24 DoNotOptimize(&std::weak_equality::equivalent); in test_static_members()
29 auto& Eq = std::weak_equality::equivalent; in test_signatures()
44 auto& Eq = std::weak_equality::equivalent; in test_constexpr()
/external/llvm/test/MC/MachO/AArch64/
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
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/MachO/AArch64/
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
/external/llvm/test/MC/MachO/
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
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/MachO/
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
/external/clang/lib/Tooling/
DFileMatchTrie.cpp26 bool equivalent(StringRef FileA, StringRef FileB) const override { in equivalent() function
27 return FileA == FileB || llvm::sys::fs::equivalent(FileA, FileB); in equivalent()
104 if (Comparator.equivalent(StringRef(Path), FileName)) in findEquivalent()
123 if (Comparator.equivalent(AllChildren[i], FileName)) { in findEquivalent()
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/MachO/ARM/
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.

12345678910>>...58