Home
last modified time | relevance | path

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

1234567

/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/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()
DContributionBinding.java283 return MoreTypes.equivalence()
DBuilderValidator.java139 MoreTypes.equivalence().<TypeMirror>wrap( in validate()
/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/r8/src/main/java/com/android/tools/r8/shaking/
DSimpleClassMerger.java84 Equivalence<DexMethod> equivalence) { in addProgramMethods() argument
87 set.add(equivalence.wrap(method)); in addProgramMethods()
98 Equivalence<DexMethod> equivalence = MethodSignatureEquivalence.get(); in getInvokes() local
99 appInfo.targetedMethods.forEach(m -> addProgramMethods(filteredInvokes, m, equivalence)); in getInvokes()
296 Collection<Wrapper<S>> collection, T[] items, Equivalence<S> equivalence) { in addAll() argument
298 collection.add(equivalence.wrap(item.getKey())); in addAll()
312 Equivalence<T> equivalence, in mergeItems() argument
318 methods.put(equivalence.wrap(item.getKey()), item); in mergeItems()
321 addNonShadowed(fromItems, methods, equivalence, existing, onConflict); in mergeItems()
328 Equivalence<T> equivalence, in addNonShadowed() argument
[all …]
/external/r8/src/main/java/com/android/tools/r8/ir/optimize/
DPeepholeOptimizer.java48 InstructionEquivalence equivalence = new InstructionEquivalence(allocator); in shareIdenticalBlockSuffix() local
64 equivalence.wrap(lastInstruction), (k) -> new ArrayList<>()); in shareIdenticalBlockSuffix()
155 BasicBlockInstructionsEquivalence equivalence = in removeIdenticalPredecessorBlocks() local
170 Wrapper<BasicBlock> wrapper = equivalence.wrap(pred); in removeIdenticalPredecessorBlocks()
/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/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/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/guava/guava/src/com/google/common/collect/
DGenericMapMaker.java70 abstract GenericMapMaker<K0, V0> keyEquivalence(Equivalence<Object> equivalence); in keyEquivalence() argument
DMapMaker.java147 MapMaker keyEquivalence(Equivalence<Object> equivalence) { in keyEquivalence() argument
149 keyEquivalence = checkNotNull(equivalence); in keyEquivalence()
/external/r8/src/main/java/com/android/tools/r8/naming/
DMethodNameMinifier.java91 private MethodSignatureEquivalence equivalence = MethodSignatureEquivalence.get(); field in MethodNameMinifier
253 Wrapper<DexMethod> key = equivalence.wrap(method.method); in addStatesToGlobalMapForMethods()
/external/mesa3d/docs/specs/
DMESA_ycbcr_texture.spec133 another item to the list of TexImage1D and TexImage2D equivalence
/external/webrtc/talk/session/media/
Dtypewrapping.h.pump59 // unwrapped forms of A, B, and C (after typedef-equivalence), then you will get
89 // XCode's GCC doesn't respect typedef-equivalence when casting function pointer
/external/okhttp/okio/
DCHANGELOG.md107 * Quick return on Buffer instance equivalence.
/external/icu/tools/srcgen/resources/
Dreplacements.txt516 * Compare two strings for canonical equivalence.
551 * Compare two strings for canonical equivalence.
555 * Canonical equivalence between two strings is defined as their normalized
606 * Compare two strings for canonical equivalence.
610 * Canonical equivalence between two strings is defined as their normalized

1234567