Home
last modified time | relevance | path

Searched refs:keyCompare (Results 1 - 3 of 3) sorted by relevance

/base/startup/init/services/utils/
H A Dinit_hashmap.c20 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 Dinit_hashmap.h45 HashKeyCompare keyCompare; member
61 int hashCode, const void *key, HashKeyCompare keyCompare);
/base/startup/init/test/unittest/loopevent/
H A Dloopevent_unittest.cpp39 HashKeyCompare keyCompare;

Completed in 2 milliseconds