OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hashArray
(Results
1 - 2
of
2
) sorted by null
/external/deqp/framework/delibs/depool/
dePoolHashArray.h
52
*
HashArray
* HashArray_create (deMemPool* pool);
53
* int HashArray_getNumElements (const
HashArray
*
hashArray
);
54
* Value* HashArray_find (Hash*
hashArray
, Key key);
55
* deBool HashArray_insert (Hash*
hashArray
, Key key, Value value);
56
* deBool HashArray_copyToArray (Hash*
hashArray
, KeyArray* keys, ValueArray* values);
71
deBool TYPENAME##_insert (TYPENAME*
hashArray
, KEYTYPE key, VALUETYPE value); \
72
deBool TYPENAME##_copyToArray (const TYPENAME*
hashArray
, KEYARRAYTYPE* keys, VALUEARRAYTYPE* values); \
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;
[
all
...]
dePoolHashArray.c
34
deTestHashArray*
hashArray
= deTestHashArray_create(pool);
44
DE_TEST_ASSERT(deTestHashArray_getNumElements(
hashArray
) == 0);
47
deTestHashArray_insert(
hashArray
, (deInt16)(-i^0x5), 2*i+5);
49
DE_TEST_ASSERT(deTestHashArray_getNumElements(
hashArray
) == 20);
51
deTestHashArray_copyToArray(
hashArray
, keyArray, DE_NULL);
52
deTestHashArray_copyToArray(
hashArray
, DE_NULL, valueArray);
62
deTestHashArray_reset(
hashArray
);
63
DE_TEST_ASSERT(deTestHashArray_getNumElements(
hashArray
) == 0);
65
deTestHashArray_copyToArray(
hashArray
, keyArray, DE_NULL);
66
deTestHashArray_copyToArray(
hashArray
, DE_NULL, valueArray)
[
all
...]
Completed in 732 milliseconds