Home
last modified time | relevance | path

Searched refs:hashSet (Results 1 – 6 of 6) 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/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.java143 TypeLiteral<HashSet<String>> hashSet = new TypeLiteral<HashSet<String>>() {}; in testForConstructor() local
145 InjectionPoint injectionPoint = InjectionPoint.forConstructor(constructor, hashSet); in testForConstructor()
/external/robolectric/v1/lib/main/
Dh2-1.2.147.jarMETA-INF/MANIFEST.MF META-INF/services/java.sql.Driver org ...