Home
last modified time | relevance | path

Searched refs:equivalence (Results 1 – 25 of 176) 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/selinux/policycoreutils/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()
DComponentDescriptor.java420 || MoreTypes.equivalence().equivalent(returnType, parameterTypes.get(0)))) {
/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/v8/test/unittests/compiler/
Dcontrol-equivalence-unittest.cc37 ControlEquivalence equivalence(zone(), graph()); in ComputeEquivalence() local
38 equivalence.Run(node); in ComputeEquivalence()
41 classes_[node->id()] = equivalence.ClassOf(node); in ComputeEquivalence()
/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/mesa3d/docs/
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/dagger2/lib/
Dauto-common-1.0-20151022.071545-39.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/okhttp/okio/
DCHANGELOG.md107 * Quick return on Buffer instance equivalence.
/external/v8/test/unittests/
Dunittests.gyp49 'compiler/control-equivalence-unittest.cc',
/external/llvm/docs/tutorial/
DLangImpl9.rst195 here, is that the LLVM type system uses "structural equivalence" instead
196 of "name equivalence". Another place this surprises people is if you
DOCamlLangImpl8.rst200 here, is that the LLVM type system uses "structural equivalence" instead
201 of "name equivalence". Another place this surprises people is if you
/external/opencv3/cmake/
DOpenCVCompilerOptions.cmake159 … when -mavx is used. Instead, it generates new AVX instructions or AVX equivalence for all SSEx in…

12345678