/external/guava/android/guava/src/com/google/common/base/ |
D | Equivalence.java | 176 private final Equivalence<? super T> equivalence; field in Equivalence.Wrapper 179 private Wrapper(Equivalence<? super T> equivalence, @NullableDecl T reference) { in Wrapper() argument 180 this.equivalence = checkNotNull(equivalence); in Wrapper() 203 if (this.equivalence.equals(that.equivalence)) { in equals() 209 Equivalence<Object> equivalence = (Equivalence<Object>) this.equivalence; in equals() local 210 return equivalence.equivalent(this.reference, that.reference); in equals() 219 return equivalence.hash(reference); in hashCode() 228 return equivalence + ".wrap(" + reference + ")"; in toString() 264 private final Equivalence<T> equivalence; field in Equivalence.EquivalentToPredicate 267 EquivalentToPredicate(Equivalence<T> equivalence, @NullableDecl T target) { in EquivalentToPredicate() argument [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | Equivalence.java | 186 private final Equivalence<? super T> equivalence; field in Equivalence.Wrapper 189 private Wrapper(Equivalence<? super T> equivalence, @Nullable T reference) { in Wrapper() argument 190 this.equivalence = checkNotNull(equivalence); in Wrapper() 212 if (this.equivalence.equals(that.equivalence)) { in equals() 218 Equivalence<Object> equivalence = (Equivalence<Object>) this.equivalence; in equals() local 219 return equivalence.equivalent(this.reference, that.reference); in equals() 228 return equivalence.hash(reference); in hashCode() 237 return equivalence + ".wrap(" + reference + ")"; in toString() 273 private final Equivalence<T> equivalence; field in Equivalence.EquivalentToPredicate 276 EquivalentToPredicate(Equivalence<T> equivalence, @Nullable T target) { in EquivalentToPredicate() argument [all …]
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
D | EquivalenceTester.java | 57 private final Equivalence<? super T> equivalence; field in EquivalenceTester 61 private EquivalenceTester(Equivalence<? super T> equivalence) { in EquivalenceTester() argument 62 this.equivalence = checkNotNull(equivalence); in EquivalenceTester() 64 new RelationshipTester<T>(equivalence, "equivalent", "hash", new ItemReporter()); in EquivalenceTester() 67 public static <T> EquivalenceTester<T> of(Equivalence<? super T> equivalence) { in of() argument 68 return new EquivalenceTester<T>(equivalence); in of() 101 assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null)); in testItems() 102 assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item)); in testItems() 103 assertTrue(item + " must be equivalent to itself", equivalence.equivalent(item, item)); in testItems() 106 equivalence.hash(item), in testItems() [all …]
|
D | RelationshipTester.java | 50 private final Equivalence<? super T> equivalence; field in RelationshipTester 58 Equivalence<? super T> equivalence, in RelationshipTester() argument 62 this.equivalence = checkNotNull(equivalence); in RelationshipTester() 111 equivalence.equivalent(item, related)); in assertRelated() 113 int itemHash = equivalence.hash(item); in assertRelated() 114 int relatedHash = equivalence.hash(related); in assertRelated() 135 !equivalence.equivalent(itemInfo.value, unrelatedInfo.value)); in assertUnrelated()
|
D | CollectorTester.java | 65 Collector<T, A, R> collector, BiPredicate<? super R, ? super R> equivalence) { in of() argument 66 return new CollectorTester<>(collector, equivalence); in of() 70 private final BiPredicate<? super R, ? super R> equivalence; field in CollectorTester 73 Collector<T, A, R> collector, BiPredicate<? super R, ? super R> equivalence) { in CollectorTester() argument 75 this.equivalence = checkNotNull(equivalence); in CollectorTester() 165 "Expected " + expected + " got " + actual + " modulo equivalence " + equivalence, in assertEquivalent() 166 equivalence.test(expected, actual)); in assertEquivalent()
|
/external/guava/android/guava-testlib/src/com/google/common/testing/ |
D | EquivalenceTester.java | 57 private final Equivalence<? super T> equivalence; field in EquivalenceTester 61 private EquivalenceTester(Equivalence<? super T> equivalence) { in EquivalenceTester() argument 62 this.equivalence = checkNotNull(equivalence); in EquivalenceTester() 64 new RelationshipTester<T>(equivalence, "equivalent", "hash", new ItemReporter()); in EquivalenceTester() 67 public static <T> EquivalenceTester<T> of(Equivalence<? super T> equivalence) { in of() argument 68 return new EquivalenceTester<T>(equivalence); in of() 101 assertTrue(item + " must be inequivalent to null", !equivalence.equivalent(item, null)); in testItems() 102 assertTrue("null must be inequivalent to " + item, !equivalence.equivalent(null, item)); in testItems() 103 assertTrue(item + " must be equivalent to itself", equivalence.equivalent(item, item)); in testItems() 106 equivalence.hash(item), in testItems() [all …]
|
D | RelationshipTester.java | 50 private final Equivalence<? super T> equivalence; field in RelationshipTester 58 Equivalence<? super T> equivalence, in RelationshipTester() argument 62 this.equivalence = checkNotNull(equivalence); in RelationshipTester() 111 equivalence.equivalent(item, related)); in assertRelated() 113 int itemHash = equivalence.hash(item); in assertRelated() 114 int relatedHash = equivalence.hash(related); in assertRelated() 135 !equivalence.equivalent(itemInfo.value, unrelatedInfo.value)); in assertUnrelated()
|
/external/llvm-project/llvm/test/tools/llvm-cov/ |
D | multithreaded-report.test | 4 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 …]
|
D | ignore-filename-regex.test | 6 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$' \
|
D | demangle.test | 1 …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…
|
D | universal_bin_wrapping_archives.test | 20 RUN: -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs/universal_bin_wrapping_archives … 24 RUN: -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs/universal_bin_wrapping_archives … 33 RUN: -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs/universal_bin_wrapping_archives … 37 RUN: -instr-profile %t.profdata -path-equivalence=/tmp,%S/Inputs/universal_bin_wrapping_archives …
|
D | cov-comdat.test | 8 ….v1.linux64l -instr-profile %S/Inputs/elf_binary_comdat.profdata -path-equivalence=/tmp,%S/Inputs … 12 ….v2.linux64l -instr-profile %S/Inputs/elf_binary_comdat.profdata -path-equivalence=/root/llvm/test… 13 ….v2.linux32l -instr-profile %S/Inputs/elf_binary_comdat.profdata -path-equivalence=/root/llvm/R/..…
|
D | dir-with-filtering.test | 5 …-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 …
|
D | sources-specified.test | 2 RUN: -path-equivalence=/tmp,%S/Inputs \ 8 RUN: -path-equivalence=/tmp,%S/Inputs \ 15 RUN: -path-equivalence=/tmp,%S/Inputs \ 38 RUN: -path-equivalence=/tmp,%S/Inputs \
|
D | style.test | 1 …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…
|
D | name_whitelist.test | 3 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…
|
/external/selinux/python/sepolicy/sepolicy/help/ |
D | file_equiv.txt | 1 …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
|
/external/auto/common/src/main/java/com/google/auto/common/ |
D | AnnotationMirrors.java | 48 return MoreTypes.equivalence().equivalent(left.getAnnotationType(), 49 right.getAnnotationType()) && AnnotationValues.equivalence().pairwise().equivalent( 58 return Arrays.hashCode(new int[] {MoreTypes.equivalence().hash(type), 59 AnnotationValues.equivalence().pairwise().hash(annotationValues)}); 68 public static Equivalence<AnnotationMirror> equivalence() { in equivalence() method in AnnotationMirrors
|
D | AnnotationValues.java | 62 return AnnotationMirrors.equivalence().equivalent(left, right); 82 return AnnotationValues.equivalence().pairwise().equivalent( 98 return MoreTypes.equivalence().equivalent(left, right); 108 return AnnotationMirrors.equivalence().hash(value); 114 return AnnotationValues.equivalence().pairwise().hash((List<AnnotationValue>) values); 118 return MoreTypes.equivalence().hash(value); 136 public static Equivalence<AnnotationValue> equivalence() { in equivalence() method in AnnotationValues
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | TablesTest.java | 41 Equivalence<Table<String, String, Integer>> equivalence = in testToTable() local 43 CollectorTester.of(collector, equivalence) in testToTable() 63 Equivalence<Table<String, String, Integer>> equivalence = in testToTableNullMerge() local 65 CollectorTester.of(collector, equivalence) in testToTableNullMerge() 105 Equivalence<Table<String, String, Integer>> equivalence = in testToTableMerging() local 107 CollectorTester.of(collector, equivalence) in testToTableMerging()
|
D | ImmutableEnumMapTest.java | 111 Equivalence<ImmutableMap<AnEnum, Integer>> equivalence = in testToImmutableEnumMap() local 113 CollectorTester.of(collector, equivalence) in testToImmutableEnumMap() 134 Equivalence<ImmutableMap<AnEnum, Integer>> equivalence = in testToImmutableMapMerging() local 136 CollectorTester.of(collector, equivalence) in testToImmutableMapMerging()
|
/external/llvm/test/tools/llvm-cov/ |
D | cov-comdat.test | 10 …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/llvm-project/compiler-rt/test/fuzzer/ |
D | equivalence.test | 9 CHECK: ERROR: libFuzzer: equivalence-mismatch. Sizes: {{.*}}; offset 2 10 CHECK: SUMMARY: libFuzzer: equivalence-mismatch
|
/external/auto/value/src/main/java/com/google/auto/value/extension/serializable/processor/ |
D | SerializableAutoValueExtension.java | 187 .map(MoreTypes.equivalence()::wrap) in buildSerializersMap() 191 Function.identity(), equivalence -> factory.getSerializer(equivalence.get()))); in buildSerializersMap() 252 .get(MoreTypes.equivalence().wrap(propertyMirror.getType())) in properties() 266 serializersMap.get(MoreTypes.equivalence().wrap(propertyMirror.getType())); in constructor() 296 .get(MoreTypes.equivalence().wrap(propertyMirror.getType())) in resolve()
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | TypeHierarchyValidator.java | 43 queued.add(MoreTypes.equivalence().wrap(type)); in validateTypeHierarchy() 50 if (queued.add(MoreTypes.equivalence().wrap(superType))) { in validateTypeHierarchy()
|