Home
last modified time | relevance | path

Searched refs:hashSet (Results 1 – 8 of 8) sorted by relevance

/external/deqp/framework/delibs/depool/
DdePoolHashSet.h67 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* hashSet) DE_UNUSED_FUNCTION; \
68 DE_INLINE TYPENAME##Hash* TYPENAME##_getHash (const TYPENAME* hashSet) DE_UNUSED_FUNCTIO…
69 DE_INLINE deBool TYPENAME##_insert (DE_PTR_TYPE(TYPENAME) hashSet, KEYTYPE key, VALUETYPE value…
70 DE_INLINE deBool TYPENAME##_safeInsert (DE_PTR_TYPE(TYPENAME) hashSet, KEYTYPE key, VALUETYPE va…
71 DE_INLINE TYPENAME##Set* TYPENAME##_find (const TYPENAME* hashSet, KEYTYPE key) DE_UNUSED_…
72 DE_INLINE void TYPENAME##_delete (DE_PTR_TYPE(TYPENAME) hashSet, KEYTYPE key, VALUETYPE value)…
73 DE_INLINE deBool TYPENAME##_exists (const TYPENAME* hashSet, KEYTYPE key, VALUETYPE value) DE…
77 DE_PTR_TYPE(TYPENAME) hashSet = DE_POOL_NEW(pool, TYPENAME); \
78 if (!hashSet) return DE_NULL; \
79 if ((hashSet->hash = TYPENAME##Hash_create(pool)) == DE_NULL) \
[all …]
DdePoolHashSet.c34 deTestHashSet* hashSet = deTestHashSet_create(pool); in dePoolHashSet_selfTest() local
38 DE_TEST_ASSERT(deTestHashSet_getNumElements(hashSet) == 0); in dePoolHashSet_selfTest()
43 deTestHashSet_insert(hashSet, (deInt16)i, 2*j + 5); in dePoolHashSet_selfTest()
45 DE_TEST_ASSERT(deTestHashSet_getNumElements(hashSet) == 19); in dePoolHashSet_selfTest()
52 deTestHashSet_delete(hashSet, (deInt16)i, 2*j + 5); in dePoolHashSet_selfTest()
54 DE_TEST_ASSERT(deTestHashSet_getNumElements(hashSet) == 19); in dePoolHashSet_selfTest()
58 DE_TEST_ASSERT(deTestHash_getNumElements(hashSet) == 0); in dePoolHashSet_selfTest()
/external/archive-patcher/generator/src/test/java/com/google/archivepatcher/generator/
DQualifiedRecommendationTest.java88 Set<QualifiedRecommendation> hashSet = new HashSet<>(); in testHashCode() local
89 hashSet.add(DEFAULT_QUALIFIED_RECOMMENDATION); in testHashCode()
90 hashSet.add(CLONED_DEFAULT_QUALIFIED_RECOMMENDATION); in testHashCode()
91 Assert.assertEquals(1, hashSet.size()); in testHashCode()
92 hashSet.addAll(ALL_MUTATIONS); in testHashCode()
93 Assert.assertEquals(1 + ALL_MUTATIONS.size(), hashSet.size()); in testHashCode()
DMinimalZipEntryTest.java240 Set<MinimalZipEntry> hashSet = new HashSet<>(); in testHashCode() local
241 hashSet.add(defaultEntry); in testHashCode()
242 hashSet.add(clonedDefaultEntry); in testHashCode()
243 Assert.assertEquals(1, hashSet.size()); in testHashCode()
244 hashSet.addAll(allMutations); in testHashCode()
245 Assert.assertEquals(1 + allMutations.size(), hashSet.size()); in testHashCode()
/external/mockito/src/main/java/org/mockito/internal/util/collections/
DHashCodeAndEqualsSafeSet.java133 HashSet<HashCodeAndEqualsMockWrapper> hashSet = new HashSet<HashCodeAndEqualsMockWrapper>(); in asWrappedMocks() local
136 hashSet.add(HashCodeAndEqualsMockWrapper.of(mock)); in asWrappedMocks()
138 return hashSet; in asWrappedMocks()
/external/mockito/src/test/java/org/mockitousage/stubbing/
DReturningDefaultValuesTest.java59 assertTrue(mock.hashSet().isEmpty()); in shouldReturnEmptyCollections()
85 HashSet<?> hashSet() { in hashSet() method in ReturningDefaultValuesTest.CollectionsServer
/external/guice/core/test/com/google/inject/spi/
DInjectionPointTest.java163 TypeLiteral<HashSet<String>> hashSet = new TypeLiteral<HashSet<String>>() {}; in testForConstructor() local
165 InjectionPoint injectionPoint = InjectionPoint.forConstructor(constructor, hashSet); in testForConstructor()
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/MANIFEST.MF org/jetbrains/kotlin/utils/JavaSdkUtil.class JavaSdkUtil ...