Searched refs:keyCompare (Results 1 - 3 of 3) sorted by relevance
/base/startup/init/services/utils/ |
H A D | init_hashmap.c | 20 HashKeyCompare keyCompare;
member 35 INIT_ERROR_CHECK(info->nodeCompare != NULL && info->keyCompare != NULL, return -1, "Invalid hash compare");
in OH_HashMapCreate() 41 tab->keyCompare = info->keyCompare;
in OH_HashMapCreate() 62 static HashNode *GetHashNodeByKey(const HashTab *tab, const HashNode *root, const void *key, HashKeyCompare keyCompare)
in GetHashNodeByKey() argument 67 int ret = keyCompare(node, key);
in GetHashNodeByKey() 109 int ret = tab->keyCompare(node, key);
in OH_HashMapRemove() 132 return GetHashNodeByKey(tab, tab->buckets[hashCode], key, tab->keyCompare);
in OH_HashMapGet() 161 int hashCode, const void *key, HashKeyCompare keyCompare)
in OH_HashMapFind() 164 INIT_ERROR_CHECK(key != NULL && keyCompare ! in OH_HashMapFind() 160 OH_HashMapFind(HashMapHandle handle, int hashCode, const void *key, HashKeyCompare keyCompare) OH_HashMapFind() argument [all...] |
/base/startup/init/interfaces/innerkits/include/ |
H A D | init_hashmap.h | 45 HashKeyCompare keyCompare;
member 61 int hashCode, const void *key, HashKeyCompare keyCompare);
|
/base/startup/init/test/unittest/loopevent/ |
H A D | loopevent_unittest.cpp | 39 HashKeyCompare keyCompare;
|
Completed in 2 milliseconds