Searched refs:hashArray (Results 1 – 2 of 2) sorted by relevance
/third_party/vk-gl-cts/framework/delibs/depool/ |
D | dePoolHashArray.h | 71 deBool TYPENAME##_insert (DE_PTR_TYPE(TYPENAME) hashArray, KEYTYPE key, VALUETYPE value); \ 72 deBool TYPENAME##_copyToArray (const TYPENAME* hashArray, DE_PTR_TYPE(KEYARRAYTYPE) keys, DE_PTR_… 74 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* hashArray) DE_UNUSED_FUNCTION; \ 75 DE_INLINE VALUETYPE* TYPENAME##_find (const TYPENAME* hashArray, KEYTYPE key) DE_UNUSED_FUNCTION… 76 DE_INLINE void TYPENAME##_reset (DE_PTR_TYPE(TYPENAME) hashArray) DE_UNUSED_FUNCTION; \ 78 DE_INLINE int TYPENAME##_getNumElements (const TYPENAME* hashArray) \ 80 return TYPENAME##Array_getNumElements(hashArray->array); \ 83 DE_INLINE VALUETYPE* TYPENAME##_find (const TYPENAME* hashArray, KEYTYPE key) \ 85 int* ndxPtr = TYPENAME##Hash_find(hashArray->hash, key); \ 91 DE_ASSERT(ndx >= 0 && ndx < hashArray->array->numElements); \ [all …]
|
D | dePoolHashArray.c | 34 deTestHashArray* hashArray = deTestHashArray_create(pool); in dePoolHashArray_selfTest() local 44 DE_TEST_ASSERT(deTestHashArray_getNumElements(hashArray) == 0); in dePoolHashArray_selfTest() 47 deTestHashArray_insert(hashArray, (deInt16)(-i^0x5), 2*i+5); in dePoolHashArray_selfTest() 49 DE_TEST_ASSERT(deTestHashArray_getNumElements(hashArray) == 20); in dePoolHashArray_selfTest() 51 deTestHashArray_copyToArray(hashArray, keyArray, DE_NULL); in dePoolHashArray_selfTest() 52 deTestHashArray_copyToArray(hashArray, DE_NULL, valueArray); in dePoolHashArray_selfTest() 62 deTestHashArray_reset(hashArray); in dePoolHashArray_selfTest() 63 DE_TEST_ASSERT(deTestHashArray_getNumElements(hashArray) == 0); in dePoolHashArray_selfTest() 65 deTestHashArray_copyToArray(hashArray, keyArray, DE_NULL); in dePoolHashArray_selfTest() 66 deTestHashArray_copyToArray(hashArray, DE_NULL, valueArray); in dePoolHashArray_selfTest()
|