Searched refs:equivalent (Results 1 - 25 of 85) sorted by relevance

1234

/external/libcxx/test/diagnostics/syserr/syserr.errcat/syserr.errcat.virtuals/
H A Dequivalent_error_code_int.pass.cpp14 // virtual bool equivalent(const error_code& code, int condition) const;
22 assert(e_cat.equivalent(std::error_code(5, e_cat), 5));
23 assert(!e_cat.equivalent(std::error_code(5, e_cat), 6));
H A Dequivalent_int_error_condition.pass.cpp14 // virtual bool equivalent(int code, const error_condition& condition) const;
23 assert(e_cat.equivalent(5, e_cond));
24 assert(!e_cat.equivalent(6, e_cond));
/external/libcxx/test/thread/futures/futures.errors/
H A Dequivalent_error_code_int.pass.cpp14 // virtual bool equivalent(const error_code& code, int condition) const;
22 assert(e_cat.equivalent(std::error_code(5, e_cat), 5));
23 assert(!e_cat.equivalent(std::error_code(5, e_cat), 6));
H A Dequivalent_int_error_condition.pass.cpp14 // virtual bool equivalent(int code, const error_condition& condition) const;
23 assert(e_cat.equivalent(5, e_cond));
24 assert(!e_cat.equivalent(6, e_cond));
/external/guava/guava-testlib/src/com/google/common/testing/
H A DEquivalenceTester.java72 assertTrue("$ITEM must be equivalent to $RELATED", equivalence.equivalent(item, related));
81 !equivalence.equivalent(item, unrelated));
91 * Adds a group of objects that are supposed to be equivalent to each other
92 * and not equivalent to objects in any other equivalence group added to this
117 assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null));
118 assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item));
119 assertTrue(item + " must be equivalent to itself", equivalence.equivalent(item, item));
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/
H A Dnumber.pxd16 # is the equivalent of the Python expression "o1 + o2".
21 # failure. This is the equivalent of the Python expression "o1 -
27 # failure. This is the equivalent of the Python expression "o1 *
33 # failure. This is the equivalent of the Python expression "o1 /
39 # is equivalent to the ``classic'' division of integers.
53 # failure. This is the equivalent of the Python expression "o1 %
59 # failure. This is the equivalent of the Python expression
65 # is the equivalent of the Python expression "pow(o1, o2, o3)",
73 # is the equivalent of the Python expression "-o".
77 # Returns o on success, or NULL on failure. This is the equivalent
[all...]
H A Dsequence.pxd16 # this is equivalent to the Python expression "len(o)".
24 # failure. This is the equivalent of the Python expression "o1 +
30 # NULL on failure. This is the equivalent of the Python expression
37 # it. This is the equivalent of the Python expression "o1 += o2".
43 # it. This is the equivalent of the Python expression "o *=
49 # equivalent of the Python expression "o[i]".
54 # on failure. This is the equivalent of the Python expression
59 # failure. This is the equivalent of the Python statement "o[i] =
64 # is the equivalent of the Python statement "del o[i]".
68 # from i1 to i2. This is the equivalent o
[all...]
H A Dobject.pxd17 # otherwise. This is equivalent to the Python expression
23 # or NULL on failure. This is the equivalent of the Python
28 # otherwise. This is equivalent to the Python expression
34 # or NULL on failure. This is the equivalent of the Python
39 # the value v. Returns -1 on failure. This is the equivalent of
44 # the value v. Returns -1 on failure. This is the equivalent of
49 # failure. This is the equivalent of the Python statement: "del
54 # failure. This is the equivalent of the Python statement "del
64 # respectively. This is the equivalent of the Python expression
74 # otherwise. This is the equivalent o
[all...]
H A Dbytes.pxd49 # %d int Exactly equivalent to printf("%d").
50 # %u unsigned int Exactly equivalent to printf("%u").
51 # %ld long Exactly equivalent to printf("%ld").
52 # %lu unsigned long Exactly equivalent to printf("%lu").
53 # %zd Py_ssize_t Exactly equivalent to printf("%zd").
54 # %zu size_t Exactly equivalent to printf("%zu").
55 # %i int Exactly equivalent to printf("%i").
56 # %x int Exactly equivalent to printf("%x").
60 # Mostly equivalent to printf("%p") except that it is guaranteed to
H A Dstring.pxd49 # %d int Exactly equivalent to printf("%d").
50 # %u unsigned int Exactly equivalent to printf("%u").
51 # %ld long Exactly equivalent to printf("%ld").
52 # %lu unsigned long Exactly equivalent to printf("%lu").
53 # %zd Py_ssize_t Exactly equivalent to printf("%zd").
54 # %zu size_t Exactly equivalent to printf("%zu").
55 # %i int Exactly equivalent to printf("%i").
56 # %x int Exactly equivalent to printf("%x").
60 # Mostly equivalent to printf("%p") except that it is guaranteed to
H A Dlist.pxd26 # Return the length of the list object in list; this is equivalent
81 # failure. This is equivalent to "list.sort()".
85 # failure. This is the equivalent of "list.reverse()".
90 # equivalent to "tuple(list)".
/external/clang/include/clang/Tooling/
H A DFileMatchTrie.h29 virtual bool equivalent(StringRef FileA, StringRef FileB) const = 0;
51 /// \c llvm::sys::fs::equivalent() (injected as \c PathComparator). There might
53 /// equivalent to the input file. Three cases are distinguished:
54 /// 0 equivalent files: Continue with the next suffix length.
55 /// 1 equivalent file: Best match found, return it.
56 /// >1 equivalent files: Match is ambiguous, return error.
73 /// Returns file name stored in this trie that is equivalent to 'FileName'
/external/openfst/src/script/
H A Dequivalent.cc19 #include <fst/script/equivalent.h>
/external/clang/lib/Tooling/
H A DFileMatchTrie.cpp24 /// \brief Default \c PathComparator using \c llvm::sys::fs::equivalent().
27 bool equivalent(StringRef FileA, StringRef FileB) const override {
28 return FileA == FileB || llvm::sys::fs::equivalent(FileA, FileB);
88 /// whether the stored path is equivalent to 'p'. If yes, the best match is
94 /// equivalent, continue with the parent node as if 'n' didn't exist. If one
95 /// is equivalent, the best match is found. Otherwise, report and ambigiuity
102 if (Comparator.equivalent(StringRef(Path), FileName))
121 if (Comparator.equivalent(AllChildren[i], FileName)) {
/external/openfst/src/include/fst/script/
H A Dequivalent.h22 #include <fst/equivalent.h>
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/arch/x86/tests/
H A Dpushnosize.asm2 push 0 ; 6A 00 - equivalent to push byte 0
9 push 128 ; 68 8000 - doesn't fit in byte, equivalent to push word 128
18 push 0 ; 6A 00 - equivalent to push byte 0
/external/guava/guava/src/com/google/common/base/
H A DEquivalence.java29 * A strategy for determining whether two instances are considered equivalent. Examples of
48 * Returns {@code true} if the given objects are considered equivalent.
50 * <p>The {@code equivalent} method implements an equivalence relation on object references:
54 * equivalent(x, x)} returns {@code true}.
56 * equivalent(x, y) == equivalent(y, x)}.
58 * {@code equivalent(x, y)} returns {@code true} and {@code equivalent(y, z)} returns {@code
59 * true}, then {@code equivalent(x, z)} returns {@code true}.
61 * of {@code equivalent(
65 public final boolean equivalent(@Nullable T a, @Nullable T b) { method in class:Equivalence
[all...]
H A DFunctionalEquivalence.java51 return resultEquivalence.equivalent(function.apply(a), function.apply(b));
H A DPairwiseEquivalence.java42 if (!elementEquivalence.equivalent(iteratorA.next(), iteratorB.next())) {
/external/clang/unittests/Basic/
H A DVirtualFileSystemTest.cpp154 EXPECT_TRUE(Status->equivalent(*Status));
157 EXPECT_FALSE(Status->equivalent(*Status2));
175 EXPECT_TRUE(Status->equivalent(*Status2));
208 EXPECT_TRUE(Status1->equivalent(*StatusB));
209 EXPECT_TRUE(Status2->equivalent(*StatusM));
210 EXPECT_TRUE(Status3->equivalent(*StatusT));
212 EXPECT_FALSE(Status1->equivalent(*Status2));
213 EXPECT_FALSE(Status2->equivalent(*Status3));
214 EXPECT_FALSE(Status1->equivalent(*Status3));
232 EXPECT_TRUE(Status1->equivalent(*Status
[all...]
/external/openfst/src/bin/
H A Dfstequivalent.cc20 // Two DFAs are equivalent iff their exit status is zero.
23 #include <fst/script/equivalent.h>
40 string usage = "Two DFAs are equivalent iff the exit status is zero.\n\n"
/external/libcxx/src/
H A Dsystem_error.cpp34 error_category::equivalent(int code, const error_condition& condition) const _NOEXCEPT
40 error_category::equivalent(const error_code& code, int condition) const _NOEXCEPT
/external/llvm/tools/llvm-config/
H A Dllvm-config.cpp205 if (sys::fs::equivalent(CurrentExecPrefix,
218 } else if (sys::fs::equivalent(CurrentExecPrefix, LLVM_OBJ_ROOT)) {
222 } else if (sys::fs::equivalent(CurrentExecPrefix,
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DEditingStyle.cpp816 const HTMLElementEquivalent* equivalent = HTMLElementEquivalents[i].get(); local
817 if (equivalent->matches(element) && equivalent->propertyExistsInStyle(m_mutableStyle.get())
818 && (shouldExtractMatchingStyle == ExtractMatchingStyle || !equivalent->valueIsPresentInStyle(element, m_mutableStyle.get()))) {
820 equivalent->addToStyle(element, extractedStyle);
872 const HTMLAttributeEquivalent* equivalent = HTMLAttributeEquivalents[i].get(); local
875 if (shouldPreserveWritingDirection == PreserveWritingDirection && equivalent->attributeName() == HTMLNames::dirAttr)
878 if (!equivalent->matches(element) || !equivalent->propertyExistsInStyle(m_mutableStyle.get())
879 || (shouldExtractMatchingStyle == DoNotExtractMatchingStyle && equivalent
1013 elementMatchesAndPropertyIsNotInInlineStyleDecl(const HTMLElementEquivalent* equivalent, const Element* element, EditingStyle::CSSPropertyOverrideMode mode, StylePropertySet* style) argument
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/tests/
H A Dbin-farabs.asm19 ; Each of the below pairs should be equivalent (and legal) in Yasm.

Completed in 514 milliseconds

1234