Home
last modified time | relevance | path

Searched refs:equivalence (Results 1 – 25 of 151) 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/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/guava/guava/src/com/google/common/cache/
DCacheBuilder.java293 CacheBuilder<K, V> keyEquivalence(Equivalence<Object> equivalence) { in keyEquivalence() argument
295 keyEquivalence = checkNotNull(equivalence); in keyEquivalence()
311 CacheBuilder<K, V> valueEquivalence(Equivalence<Object> equivalence) { in valueEquivalence() argument
314 this.valueEquivalence = checkNotNull(equivalence); in valueEquivalence()
/external/sepolicy/
Dmls21 # Process transition: Require equivalence unless the subject is trusted.
29 # Process write operations: Require equivalence unless trusted.
/external/guava/guava/src/com/google/common/collect/
DGenericMapMaker.java70 abstract GenericMapMaker<K0, V0> keyEquivalence(Equivalence<Object> equivalence); in keyEquivalence() argument
DMapMaker.java148 MapMaker keyEquivalence(Equivalence<Object> equivalence) { in keyEquivalence() argument
150 keyEquivalence = checkNotNull(equivalence); in keyEquivalence()
/external/mesa3d/docs/
DMESA_ycbcr_texture.spec133 another item to the list of TexImage1D and TexImage2D equivalence
/external/okhttp/okio/
DCHANGELOG.md72 * Quick return on Buffer instance equivalence.
/external/llvm/docs/tutorial/
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
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
/external/eigen/doc/
DAsciiQuickReference.txt163 x.squaredNorm() // dot(x, x) Note the equivalence is not true for complex
/external/libunwind/doc/
Dlibunwind-ia64.tex201 \Prog{libunwind}, portable code should not rely on this equivalence.
/external/selinux/policycoreutils/po/
Dcs.po3890 msgid "Enter the path to which you want to setup an equivalence label."
3910 "Specify the mapping between the new path and the equivalence path. "
3912 "equivalence path."
4410 "File equivalence cause the system to label content under the new path as if "
4411 "it were under the equivalence path."
4495 "Select file equivalence labeling to delete.File equivalence labeling will be "
Dsi_LK.po3886 msgid "Enter the path to which you want to setup an equivalence label."
3906 "Specify the mapping between the new path and the equivalence path. "
3908 "equivalence path."
4405 "File equivalence cause the system to label content under the new path as if "
4406 "it were under the equivalence path."
4490 "Select file equivalence labeling to delete.File equivalence labeling will be "
Dlo.po3886 msgid "Enter the path to which you want to setup an equivalence label."
3906 "Specify the mapping between the new path and the equivalence path. "
3908 "equivalence path."
4405 "File equivalence cause the system to label content under the new path as if "
4406 "it were under the equivalence path."
4490 "Select file equivalence labeling to delete.File equivalence labeling will be "
Dtl.po3886 msgid "Enter the path to which you want to setup an equivalence label."
3906 "Specify the mapping between the new path and the equivalence path. "
3908 "equivalence path."
4405 "File equivalence cause the system to label content under the new path as if "
4406 "it were under the equivalence path."
4490 "Select file equivalence labeling to delete.File equivalence labeling will be "
Dms_MY.po3886 msgid "Enter the path to which you want to setup an equivalence label."
3906 "Specify the mapping between the new path and the equivalence path. "
3908 "equivalence path."
4405 "File equivalence cause the system to label content under the new path as if "
4406 "it were under the equivalence path."
4490 "Select file equivalence labeling to delete.File equivalence labeling will be "
Daln.po3886 msgid "Enter the path to which you want to setup an equivalence label."
3906 "Specify the mapping between the new path and the equivalence path. "
3908 "equivalence path."
4405 "File equivalence cause the system to label content under the new path as if "
4406 "it were under the equivalence path."
4490 "Select file equivalence labeling to delete.File equivalence labeling will be "
Daz.po3886 msgid "Enter the path to which you want to setup an equivalence label."
3906 "Specify the mapping between the new path and the equivalence path. "
3908 "equivalence path."
4405 "File equivalence cause the system to label content under the new path as if "
4406 "it were under the equivalence path."
4490 "Select file equivalence labeling to delete.File equivalence labeling will be "
Dbr.po3886 msgid "Enter the path to which you want to setup an equivalence label."
3906 "Specify the mapping between the new path and the equivalence path. "
3908 "equivalence path."
4405 "File equivalence cause the system to label content under the new path as if "
4406 "it were under the equivalence path."
4490 "Select file equivalence labeling to delete.File equivalence labeling will be "
Dnn.po3885 msgid "Enter the path to which you want to setup an equivalence label."
3905 "Specify the mapping between the new path and the equivalence path. "
3907 "equivalence path."
4404 "File equivalence cause the system to label content under the new path as if "
4405 "it were under the equivalence path."
4489 "Select file equivalence labeling to delete.File equivalence labeling will be "
Dkm.po3886 msgid "Enter the path to which you want to setup an equivalence label."
3906 "Specify the mapping between the new path and the equivalence path. "
3908 "equivalence path."
4405 "File equivalence cause the system to label content under the new path as if "
4406 "it were under the equivalence path."
4490 "Select file equivalence labeling to delete.File equivalence labeling will be "

1234567