Home
last modified time | relevance | path

Searched refs:equivalence (Results 1 – 25 of 185) sorted by relevance

12345678

/external/guava/guava/src/com/google/common/base/
DEquivalence.java173 private final Equivalence<? super T> equivalence; field in Equivalence.Wrapper
176 private Wrapper(Equivalence<? super T> equivalence, @Nullable T reference) { in Wrapper() argument
177 this.equivalence = checkNotNull(equivalence); in Wrapper()
198 if (this.equivalence.equals(that.equivalence)) { in equals()
204 Equivalence<Object> equivalence = (Equivalence<Object>) this.equivalence; in equals() local
205 return equivalence.equivalent(this.reference, that.reference); in equals()
215 return equivalence.hash(reference); in hashCode()
223 return equivalence + ".wrap(" + reference + ")"; in toString()
260 private final Equivalence<T> equivalence; field in Equivalence.EquivalentToPredicate
263 EquivalentToPredicate(Equivalence<T> equivalence, @Nullable T target) { in EquivalentToPredicate() argument
[all …]
/external/guava/guava-testlib/src/com/google/common/testing/
DEquivalenceTester.java64 private final Equivalence<? super T> equivalence; field in EquivalenceTester
68 private EquivalenceTester(Equivalence<? super T> equivalence) { in EquivalenceTester() argument
69 this.equivalence = checkNotNull(equivalence); in EquivalenceTester()
71 equivalence, "equivalent", "hash", new ItemReporter()); in EquivalenceTester()
74 public static <T> EquivalenceTester<T> of(Equivalence<? super T> equivalence) { in of() argument
75 return new EquivalenceTester<T>(equivalence); in of()
109 assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null)); in testItems()
110 assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item)); in testItems()
111 assertTrue(item + " must be equivalent to itself", equivalence.equivalent(item, item)); in testItems()
112 assertEquals("the hash of " + item + " must be consistent", equivalence.hash(item), in testItems()
[all …]
DRelationshipTester.java52 private final Equivalence<? super T> equivalence; field in RelationshipTester
58 RelationshipTester(Equivalence<? super T> equivalence, String relationshipName, String hashName, in RelationshipTester() argument
60 this.equivalence = checkNotNull(equivalence); in RelationshipTester()
104 equivalence.equivalent(item, related)); in assertRelated()
106 int itemHash = equivalence.hash(item); in assertRelated()
107 int relatedHash = equivalence.hash(related); in assertRelated()
118 !equivalence.equivalent(itemInfo.value, unrelatedInfo.value)); in assertUnrelated()
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cov/
Dmultithreaded-report.test4 RUN: -path-equivalence=/tmp,%S/Inputs \
9 RUN: -path-equivalence=/tmp,%S/Inputs \
17 RUN: -path-equivalence=/tmp,%S/Inputs \
22 RUN: -path-equivalence=/tmp,%S/Inputs \
30 RUN: -path-equivalence=/tmp,%S/Inputs \
35 RUN: -path-equivalence=/tmp,%S/Inputs \
43 RUN: -path-equivalence=/tmp,%S/Inputs \
48 RUN: -path-equivalence=/tmp,%S/Inputs \
56 RUN: -path-equivalence=/tmp,%S/Inputs \
61 RUN: -path-equivalence=/tmp,%S/Inputs \
[all …]
Dignore-filename-regex.test6 RUN: -path-equivalence=/tmp,%S/Inputs -ignore-filename-regex='.*\.h$' \
17 RUN: -path-equivalence=/tmp,%S/Inputs -ignore-filename-regex='.*extra[/\\].*' \
29 RUN: -path-equivalence=/tmp,%S/Inputs -ignore-filename-regex='.*extra[/\\].*' \
45 RUN: -path-equivalence=/tmp,%S/Inputs -ignore-filename-regex='.*\.cc$' \
61 RUN: -path-equivalence=/tmp,%S/Inputs -ignore-filename-regex='.*...\.h$' \
Ddemangle.test1 …ateInstantiations.profdata -Xdemangler sed -Xdemangler 's/_/X/g' -path-equivalence=/tmp,%S %S/show…
5 …-instr-profile %t.profdata -Xdemangler sed -Xdemangler 's/_/X/g' -path-equivalence=/tmp,%S %S/show…
8 …ateInstantiations.profdata -Xdemangler sed -Xdemangler 's/_/X/g' -path-equivalence=/tmp,%S %S/show…
Ddir-with-filtering.test5 …-with-filtering.covmapping -o %t.text -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs …
27 …tering.covmapping -o %t.text_one_file -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs …
37 …tering.covmapping -o %t.text_one_func -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs …
46 …ng.covmapping -format html -o %t.html -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs …
70 …ping -format html -o %t.html_one_file -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs …
81 …ping -format html -o %t.html_one_func -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs …
Dcov-comdat.test10 ….v1.linux64l -instr-profile %S/Inputs/elf_binary_comdat.profdata -path-equivalence=/tmp,%S/Inputs …
14 ….v2.linux64l -instr-profile %S/Inputs/elf_binary_comdat.profdata -path-equivalence=/root/llvm/test…
15 ….v2.linux32l -instr-profile %S/Inputs/elf_binary_comdat.profdata -path-equivalence=/root/llvm/R/..…
Dsources-specified.test2 RUN: -path-equivalence=/tmp,%S/Inputs \
8 RUN: -path-equivalence=/tmp,%S/Inputs \
26 RUN: -path-equivalence=/tmp,%S/Inputs \
Dstyle.test1 …mapping -instr-profile %S/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,%S %S/show…
3 …mapping -instr-profile %S/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,%S -name=_…
5 …mapping -instr-profile %S/Inputs/templateInstantiations.profdata -path-equivalence=/tmp,%S %S/show…
Dname_whitelist.test3 RUN: llvm-cov show %S/Inputs/name_whitelist.covmapping -instr-profile=%t.profdata -path-equivalence
13 RUN: llvm-cov show %S/Inputs/name_whitelist.covmapping -instr-profile=%t.profdata -path-equivalence
DhideUnexecutedSubviews.test3 …ile %t.profdata -show-region-summary -show-instantiation-summary -path-equivalence=/tmp,%S %S/show…
5 … -show-region-summary -show-instantiation-summary -o %t.html.dir -path-equivalence=/tmp,%S %S/show…
/external/selinux/python/sepolicy/sepolicy/help/
Dfile_equiv.txt1 …her setup labeling directory using the Application/files screen, or you can setup file equivalence.
7 …nt in a location other then /var/www like /srv/www. He could define an equivalence between /srv/ww…
9 libselinux reads the equivalence rules and does the substitution when ever the matchpathcon functio…
15 Another common case where you might want to use file equivalence, is if you put your users home dir…
17 If you setup an equivalence between /home and /export/home
Dstart.txt6 …nfined users and confined user mappings. Finally you could setup File System Labeling equivalence.
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DKeyTest.java76 MoreTypes.equivalence().wrap(typeElement.asType()))); in forInjectConstructorWithResolvedType()
94 MoreTypes.equivalence().wrap(stringType))); in forProvidesMethod()
114 assertThat(MoreTypes.equivalence().wrap(key.qualifier().get().getAnnotationType())) in forProvidesMethod_qualified()
115 .isEqualTo(MoreTypes.equivalence().wrap(qualifierElement.asType())); in forProvidesMethod_qualified()
116 assertThat(key.wrappedType()).isEqualTo(MoreTypes.equivalence().wrap(stringType)); in forProvidesMethod_qualified()
170 MoreTypes.equivalence().wrap(setOfStringsType))); in forProvidesMethod_sets()
231 MoreTypes.equivalence().wrap(stringType))); in forProducesMethod()
258 MoreTypes.equivalence().wrap(setOfStringsType))); in forProducesMethod_sets()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DKey.java100 MoreTypes.equivalence().wrap(normalize(types, newType))); in withType()
294 wrapOptionalInEquivalence(AnnotationMirrors.equivalence(), getQualifier(method)),
295 MoreTypes.equivalence().wrap(keyType));
301 MoreTypes.equivalence().wrap(type));
307 MoreTypes.equivalence().wrap(normalize(types, type)));
313 MoreTypes.equivalence().wrap(normalize(types, type)));
318 wrapOptionalInEquivalence(AnnotationMirrors.equivalence(), qualifier),
319 MoreTypes.equivalence().wrap(normalize(types, type)));
360 MoreTypes.equivalence().wrap(mapType)));
DMethodSignature.java23 parameters.add(MoreTypes.equivalence().wrap(parameter)); in fromExecutableType()
26 thrownTypes.add(MoreTypes.equivalence().wrap(thrownType)); in fromExecutableType()
DScope.java126 return AnnotationMirrors.equivalence() in equals()
135 return AnnotationMirrors.equivalence().hash(annotationMirror); in hashCode()
DUtil.java103 Equivalence<T> equivalence, Optional<T> optional) { in wrapOptionalInEquivalence() argument
105 ? Optional.of(equivalence.wrap(optional.get())) in wrapOptionalInEquivalence()
/external/llvm/test/tools/llvm-cov/
Dcov-comdat.test10 …linux64l -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence %S/Inputs/instr…
11 …linux64l -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence %S/Inputs/instr…
12 …linux32l -instr-profile %S/Inputs/elf_binary_comdat.profdata -filename-equivalence %S/Inputs/instr…
/external/guava/guava/src/com/google/common/cache/
DCacheBuilder.java292 CacheBuilder<K, V> keyEquivalence(Equivalence<Object> equivalence) { in keyEquivalence() argument
294 keyEquivalence = checkNotNull(equivalence); in keyEquivalence()
310 CacheBuilder<K, V> valueEquivalence(Equivalence<Object> equivalence) { in valueEquivalence() argument
313 this.valueEquivalence = checkNotNull(equivalence); in valueEquivalence()
/external/python/cpython2/Doc/library/
Dunicodedata.rst107 based on the definition of canonical equivalence and compatibility equivalence.
118 compatibility equivalence. In Unicode, certain characters are supported which
/external/python/cpython3/Doc/library/
Dunicodedata.rst110 based on the definition of canonical equivalence and compatibility equivalence.
121 compatibility equivalence. In Unicode, certain characters are supported which
/external/compiler-rt/test/profile/Linux/
Dinstrprof-comdat.test5 RUN: llvm-cov show --filename-equivalence --instr-profile=%t.d/comdat.prof %t.d/comdat | FileCheck …
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckDisplayCollisions.java563 Equivalence equivalence) { in getPathsWithValue() argument
577 if (equivalence == Equivalence.unit) { in getPathsWithValue()
607 if (equivalence == Equivalence.exact) { in getPathsWithValue()
612 } else if (equivalence == Equivalence.unit) { in getPathsWithValue()

12345678