/dports/lang/clover/mesa-21.3.6/src/gallium/auxiliary/util/ |
H A D | u_handle_table.c | 64 struct handle_table *ht; in handle_table_create() local 86 handle_table_set_destroy(struct handle_table *ht, in handle_table_set_destroy() 100 handle_table_resize(struct handle_table *ht, in handle_table_resize() 130 handle_table_clear(struct handle_table *ht, in handle_table_clear() 152 handle_table_add(struct handle_table *ht, in handle_table_add() 190 handle_table_set(struct handle_table *ht, in handle_table_set() 220 handle_table_get(struct handle_table *ht, in handle_table_get() 237 handle_table_remove(struct handle_table *ht, in handle_table_remove() 261 handle_table_get_next_handle(struct handle_table *ht, in handle_table_get_next_handle() 276 handle_table_get_first_handle(struct handle_table *ht) in handle_table_get_first_handle() [all …]
|
/dports/graphics/Coin/coin-Coin-4.0.0/src/base/ |
H A D | dict.cpp | 68 dict_get_index(cc_dict * ht, uintptr_t key) in dict_get_index() 76 dict_resize(cc_dict * ht, unsigned int newsize) in dict_resize() 122 cc_dict * ht = (cc_dict *) malloc(sizeof(cc_dict)); in cc_dict_construct() local 143 cc_dict_destruct(cc_dict * ht) in cc_dict_destruct() 155 cc_dict_clear(cc_dict * ht) in cc_dict_clear() 193 cc_dict_put(cc_dict * ht, uintptr_t key, void * val) in cc_dict_put() 230 cc_dict_get(cc_dict * ht, uintptr_t key, void ** val) in cc_dict_get() 250 cc_dict_remove(cc_dict * ht, uintptr_t key) in cc_dict_remove() 280 cc_dict_get_num_elements(cc_dict * ht) in cc_dict_get_num_elements() 290 cc_dict_set_hash_func(cc_dict * ht, cc_dict_hash_func * func) in cc_dict_set_hash_func() [all …]
|
H A D | hash.cpp | 119 hash_get_index(cc_hash * ht, cc_hash_key key) in hash_get_index() 131 hash_resize(cc_hash * ht, unsigned int newsize) in hash_resize() 180 cc_hash * ht = (cc_hash *) malloc(sizeof(cc_hash)); in cc_hash_construct() local 202 cc_hash_destruct(cc_hash * ht) in cc_hash_destruct() 214 cc_hash_clear(cc_hash * ht) in cc_hash_clear() 252 cc_hash_put(cc_hash * ht, cc_hash_key key, void * val) in cc_hash_put() 289 cc_hash_get(cc_hash * ht, cc_hash_key key, void ** val) in cc_hash_get() 309 cc_hash_remove(cc_hash * ht, cc_hash_key key) in cc_hash_remove() 339 cc_hash_get_num_elements(cc_hash * ht) in cc_hash_get_num_elements() 349 cc_hash_set_hash_func(cc_hash * ht, cc_hash_func * func) in cc_hash_set_hash_func() [all …]
|
/dports/editors/vim/vim-8.2.3745/src/ |
H A D | hashtab.c | 65 hash_init(hashtab_T *ht) in hash_init() 78 hash_clear(hashtab_T *ht) in hash_clear() 91 hash_clear_all(hashtab_T *ht, int off) in hash_clear_all() 118 hash_find(hashtab_T *ht, char_u *key) in hash_find() 207 hash_add(hashtab_T *ht, char_u *key) in hash_add() 229 hashtab_T *ht, in hash_add_item() 272 hash_remove(hashtab_T *ht, hashitem_T *hi) in hash_remove() 286 hash_lock(hashtab_T *ht) in hash_lock() 297 hash_lock_size(hashtab_T *ht, int size) in hash_lock_size() 309 hash_unlock(hashtab_T *ht) in hash_unlock() [all …]
|
/dports/security/suricata/suricata-6.0.4/src/ |
H A D | util-hash.c | 36 HashTable *ht = NULL; in HashTableInit() local 79 void HashTableFree(HashTable *ht) in HashTableFree() 105 void HashTablePrint(HashTable *ht) in HashTablePrint() 113 int HashTableAdd(HashTable *ht, void *data, uint16_t datalen) in HashTableAdd() 152 int HashTableRemove(HashTable *ht, void *data, uint16_t datalen) in HashTableRemove() 193 void *HashTableLookup(HashTable *ht, void *data, uint16_t datalen) in HashTableLookup() 267 HashTable *ht = HashTableInit(1024, NULL, NULL, NULL); in HashTableTestInit02() local 291 HashTable *ht = HashTableInit(0, HashTableGenericHash, NULL, NULL); in HashTableTestInit04() local 341 HashTable *ht = HashTableInit(32, HashTableGenericHash, NULL, NULL); in HashTableTestAdd01() local 359 HashTable *ht = HashTableInit(32, HashTableGenericHash, NULL, NULL); in HashTableTestAdd02() local [all …]
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/gcc/ |
H A D | hashtable.h | 43 struct ht struct 63 /* Initialize the hashtable with 2 ^ order entries. */ argument
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/gcc/ |
H A D | hashtable.h | 43 struct ht struct 63 /* Initialize the hashtable with 2 ^ order entries. */ argument
|
/dports/databases/py-hiredis/hiredis-0.2.0/vendor/hiredis/ |
H A D | dict.c | 65 static void _dictReset(dict *ht) { in _dictReset() 74 dict *ht = malloc(sizeof(*ht)); in dictCreate() local 88 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 135 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 182 static int dictDelete(dict *ht, const void *key) { in dictDelete() 213 static int _dictClear(dict *ht) { in _dictClear() 238 static void dictRelease(dict *ht) { in dictRelease() 243 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 258 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 295 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|
/dports/databases/p5-Redis-Fast/Redis-Fast-0.31/deps/hiredis/ |
H A D | dict.c | 66 static void _dictReset(dict *ht) { in _dictReset() 75 dict *ht = hi_malloc(sizeof(*ht)); in dictCreate() local 92 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 141 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 194 static int dictDelete(dict *ht, const void *key) { in dictDelete() 225 static int _dictClear(dict *ht) { in _dictClear() 250 static void dictRelease(dict *ht) { in dictRelease() 255 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 270 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 309 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|
/dports/databases/p5-Redis-hiredis/Redis-hiredis-0.11.0/ |
H A D | dict.c | 65 static void _dictReset(dict *ht) { in _dictReset() 74 dict *ht = malloc(sizeof(*ht)); in dictCreate() local 88 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 135 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 182 static int dictDelete(dict *ht, const void *key) { in dictDelete() 213 static int _dictClear(dict *ht) { in _dictClear() 238 static void dictRelease(dict *ht) { in dictRelease() 243 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 258 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 295 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|
/dports/databases/redis6/redis-6.0.16/deps/hiredis/ |
H A D | dict.c | 65 static void _dictReset(dict *ht) { in _dictReset() 74 dict *ht = malloc(sizeof(*ht)); in dictCreate() local 88 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 135 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 182 static int dictDelete(dict *ht, const void *key) { in dictDelete() 213 static int _dictClear(dict *ht) { in _dictClear() 238 static void dictRelease(dict *ht) { in dictRelease() 243 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 258 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 295 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|
/dports/databases/redisdesktopmanager/RedisDesktopManager-2021.8/3rdparty/qredisclient/3rdparty/hiredis/ |
H A D | dict.c | 65 static void _dictReset(dict *ht) { in _dictReset() 74 dict *ht = malloc(sizeof(*ht)); in dictCreate() local 88 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 135 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 182 static int dictDelete(dict *ht, const void *key) { in dictDelete() 213 static int _dictClear(dict *ht) { in _dictClear() 238 static void dictRelease(dict *ht) { in dictRelease() 243 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 258 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 295 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|
/dports/databases/redis-devel/redis-0e5b813/deps/hiredis/ |
H A D | dict.c | 66 static void _dictReset(dict *ht) { in _dictReset() 75 dict *ht = hi_malloc(sizeof(*ht)); in dictCreate() local 92 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 141 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 194 static int dictDelete(dict *ht, const void *key) { in dictDelete() 225 static int _dictClear(dict *ht) { in _dictClear() 250 static void dictRelease(dict *ht) { in dictRelease() 255 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 270 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 309 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|
/dports/databases/redis5/redis-5.0.14/deps/hiredis/ |
H A D | dict.c | 65 static void _dictReset(dict *ht) { in _dictReset() 74 dict *ht = malloc(sizeof(*ht)); in dictCreate() local 88 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 135 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 182 static int dictDelete(dict *ht, const void *key) { in dictDelete() 213 static int _dictClear(dict *ht) { in _dictClear() 238 static void dictRelease(dict *ht) { in dictRelease() 243 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 258 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 295 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|
/dports/mail/rspamd/rspamd-3.1/contrib/hiredis/ |
H A D | dict.c | 65 static void _dictReset(dict *ht) { in _dictReset() 74 dict *ht = malloc(sizeof(*ht)); in dictCreate() local 88 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 135 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 184 static int dictDelete(dict *ht, const void *key) { in dictDelete() 215 static int _dictClear(dict *ht) { in _dictClear() 240 static void dictRelease(dict *ht) { in dictRelease() 245 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 260 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 297 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|
/dports/mail/rmilter/rmilter-1.10.0/hiredis/ |
H A D | dict.c | 65 static void _dictReset(dict *ht) { in _dictReset() 74 dict *ht = malloc(sizeof(*ht)); in dictCreate() local 88 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 135 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 182 static int dictDelete(dict *ht, const void *key) { in dictDelete() 213 static int _dictClear(dict *ht) { in _dictClear() 238 static void dictRelease(dict *ht) { in dictRelease() 243 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 258 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 295 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|
/dports/mail/rspamd-devel/rspamd-93430bb/contrib/hiredis/ |
H A D | dict.c | 65 static void _dictReset(dict *ht) { in _dictReset() 74 dict *ht = malloc(sizeof(*ht)); in dictCreate() local 88 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 135 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 184 static int dictDelete(dict *ht, const void *key) { in dictDelete() 215 static int _dictClear(dict *ht) { in _dictClear() 240 static void dictRelease(dict *ht) { in dictRelease() 245 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 260 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 297 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|
/dports/net/zerotier/ZeroTierOne-1.8.3/ext/hiredis-0.14.1/ |
H A D | dict.c | 66 static void _dictReset(dict *ht) { in _dictReset() 75 dict *ht = hi_malloc(sizeof(*ht)); in dictCreate() local 89 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 136 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 183 static int dictDelete(dict *ht, const void *key) { in dictDelete() 214 static int _dictClear(dict *ht) { in _dictClear() 239 static void dictRelease(dict *ht) { in dictRelease() 244 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 259 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 296 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|
/dports/databases/hiredis/hiredis-0.13.3/ |
H A D | dict.c | 65 static void _dictReset(dict *ht) { in _dictReset() 74 dict *ht = malloc(sizeof(*ht)); in dictCreate() local 88 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 135 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 182 static int dictDelete(dict *ht, const void *key) { in dictDelete() 213 static int _dictClear(dict *ht) { in _dictClear() 238 static void dictRelease(dict *ht) { in dictRelease() 243 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 258 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 295 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|
/dports/www/h2o-devel/h2o-dcc7134/deps/hiredis/ |
H A D | dict.c | 65 static void _dictReset(dict *ht) { in _dictReset() 74 dict *ht = malloc(sizeof(*ht)); in dictCreate() local 88 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 135 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 182 static int dictDelete(dict *ht, const void *key) { in dictDelete() 213 static int _dictClear(dict *ht) { in _dictClear() 238 static void dictRelease(dict *ht) { in dictRelease() 243 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 258 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 295 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|
/dports/www/nginx-full/nchan-1.2.12/src/store/redis/hiredis/ |
H A D | dict.c | 69 static void _dictReset(dict *ht) { in _dictReset() 78 dict *ht = hi_malloc(sizeof(*ht)); in dictCreate() local 95 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 144 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 197 static int dictDelete(dict *ht, const void *key) { in dictDelete() 228 static int _dictClear(dict *ht) { in _dictClear() 253 static void dictRelease(dict *ht) { in dictRelease() 258 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 273 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 312 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|
/dports/textproc/rnv/rnv-1.7.11/ |
H A D | ht.c | 10 void ht_init(struct hashtable *ht,int len,int (*hash)(int),int (*equal)(int,int)) { in ht_init() 20 void ht_clear(struct hashtable *ht) { in ht_clear() 25 void ht_dispose(struct hashtable *ht) { in ht_dispose() 29 #define first(ht,hv) (hv&(ht->tablen-1)) argument 30 #define next(ht,i) (i==0?ht->tablen-1:i-1) argument 32 int ht_get(struct hashtable *ht,int i) { in ht_get() 42 void ht_put(struct hashtable *ht,int i) { in ht_put() 64 static int del(struct hashtable *ht,int i,int eq) { in del() 89 int ht_del(struct hashtable *ht,int i) {return del(ht,i,0);} in ht_del() 90 int ht_deli(struct hashtable *ht,int i) {return del(ht,i,1);} in ht_deli()
|
/dports/net/mpich/mpich-3.4.3/modules/libfabric/prov/gni/src/ |
H A D | gnix_hashtable.c | 122 gnix_hashtable_t *ht, in __gnix_hash_func() 172 gnix_hashtable_t *ht, in __gnix_ht_destroy_list() 224 gnix_hashtable_t *ht, in __gnix_ht_rehash_list() 359 gnix_hashtable_t *ht, in __gnix_ht_lf_insert() 395 gnix_hashtable_t *ht, in __gnix_ht_lf_retrieve_list() 405 gnix_hashtable_t *ht, in __gnix_ht_lf_resize() 495 gnix_hashtable_t *ht, in __gnix_ht_lk_insert() 557 gnix_hashtable_t *ht, in __gnix_ht_lk_retrieve_list() 567 gnix_hashtable_t *ht, in __gnix_ht_lk_resize() 647 int _gnix_ht_destroy(gnix_hashtable_t *ht) in _gnix_ht_destroy() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/glslopt/glsl-optimizer/src/util/ |
H A D | hash_table.c | 129 _mesa_hash_table_init(struct hash_table *ht, in _mesa_hash_table_init() 157 struct hash_table *ht; in _mesa_hash_table_create() local 177 struct hash_table *ht; in _mesa_hash_table_clone() local 203 _mesa_hash_table_destroy(struct hash_table *ht, in _mesa_hash_table_destroy() 224 _mesa_hash_table_clear(struct hash_table *ht, in _mesa_hash_table_clear() 375 hash_table_insert(struct hash_table *ht, uint32_t hash, in hash_table_insert() 472 _mesa_hash_table_remove(struct hash_table *ht, in _mesa_hash_table_remove() 499 _mesa_hash_table_next_entry(struct hash_table *ht, in _mesa_hash_table_next_entry() 525 _mesa_hash_table_random_entry(struct hash_table *ht, in _mesa_hash_table_random_entry() 674 struct hash_table_u64 *ht; in _mesa_hash_table_u64_create() local [all …]
|
/dports/databases/webdis/webdis-0.1.18/src/hiredis/ |
H A D | dict.c | 73 static void _dictReset(dict *ht) { in _dictReset() 83 dict *ht = hi_malloc(sizeof(*ht)); in dictCreate() local 100 static int dictExpand(dict *ht, unsigned long size) { in dictExpand() 149 static int dictAdd(dict *ht, void *key, void *val) { in dictAdd() 204 static int dictDelete(dict *ht, const void *key) { in dictDelete() 235 static int _dictClear(dict *ht) { in _dictClear() 261 static void dictRelease(dict *ht) { in dictRelease() 266 static dictEntry *dictFind(dict *ht, const void *key) { in dictFind() 282 static dictIterator *dictGetIterator(dict *ht) { in dictGetIterator() 323 static int _dictExpandIfNeeded(dict *ht) { in _dictExpandIfNeeded() [all …]
|