Searched refs:HashTab (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/base/startup/init/services/utils/ |
H A D | init_hashmap.c | 27 } HashTab; typedef 36 HashTab *tab = (HashTab *)calloc(1, sizeof(HashTab) + sizeof(HashNode*) * info->maxBucket); in OH_HashMapCreate() 49 static HashNode *GetHashNodeByNode(const HashTab *tab, const HashNode *root, const HashNode *new) in GetHashNodeByNode() 80 HashTab *tab = (HashTab *)handle; in OH_HashMapAdd() 100 HashTab *tab = (HashTab *)handle; in OH_HashMapRemove() 126 HashTab *tab = (HashTab *)handle; in OH_HashMapGet() 135 static void HashListFree(HashTab *tab, HashNode *root, void *context) in HashListFree() 153 HashTab *tab = (HashTab *)handle; in OH_HashMapDestory() 165 HashTab *tab = (HashTab *)handle; in OH_HashMapFind() 175 HashTab *tab = (HashTab *)handle; in OH_HashMapTraverse() [all …]
|
/ohos5.0/base/security/selinux_adapter/interfaces/policycoreutils/include/ |
H A D | selinux_map.h | 35 } HashTab; typedef 42 HashTab *handle; 58 int32_t HashMapCreate(HashTab **handle); 59 void HashMapDestroy(HashTab *handle); 60 int32_t HashMapAdd(HashTab *handle, HashNode *hashNode); 61 HashNode *HashMapGet(HashTab *handle, const char *key, uint32_t len);
|
/ohos5.0/base/security/selinux_adapter/interfaces/policycoreutils/src/ |
H A D | selinux_map.c | 55 int32_t HashMapCreate(HashTab **handle) in HashMapCreate() 61 HashTab *tab = (HashTab *)calloc(1, sizeof(HashTab) + sizeof(HashNode *) * MAX_BUCKET); in HashMapCreate() 93 int32_t HashMapAdd(HashTab *handle, HashNode *node) in HashMapAdd() 112 HashNode *HashMapGet(HashTab *handle, const char *key, uint32_t len) in HashMapGet() 138 void HashMapDestroy(HashTab *handle) in HashMapDestroy()
|
/ohos5.0/base/security/selinux_adapter/test/unittest/parameter_static/ |
H A D | unit_test.cpp | 94 HashTab *handle = nullptr; 107 HashTab *handle = nullptr; 120 HashTab *handle = nullptr; 154 HashTab *handle = nullptr; 168 HashTab *handle = nullptr; 186 HashTab *handle = nullptr;
|
/ohos5.0/base/startup/init/test/unittest/loopevent/ |
H A D | loopevent_unittest.cpp | 37 using HashTab = struct { typedef
|