Home
last modified time | relevance | path

Searched defs:ht (Results 1 – 7 of 7) sorted by relevance

/redis-3.2.3/deps/hiredis/
H A Ddict.c65 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 …]
H A Ddict.h70 dict *ht; member
79 #define dictFreeEntryVal(ht, entry) \ argument
83 #define dictSetHashVal(ht, entry, _val_) do { \ argument
90 #define dictFreeEntryKey(ht, entry) \ argument
94 #define dictSetHashKey(ht, entry, _key_) do { \ argument
101 #define dictCompareHashKeys(ht, key1, key2) \ argument
106 #define dictHashKey(ht, key) (ht)->type->hashFunction(key) argument
110 #define dictSlots(ht) ((ht)->size) argument
111 #define dictSize(ht) ((ht)->used) argument
/redis-3.2.3/src/
H A Ddict.c159 static void _dictReset(dictht *ht) in _dictReset()
350 dictht *ht; in dictAddRaw() local
449 int dictDelete(dict *ht, const void *key) { in dictDelete()
453 int dictDeleteNoFree(dict *ht, const void *key) { in dictDeleteNoFree()
458 int _dictClear(dict *d, dictht *ht, void(callback)(void *)) { in _dictClear()
582 dictht *ht = &iter->d->ht[iter->table]; in dictNext() local
1008 size_t _dictGetStatsHt(char *buf, size_t bufsize, dictht *ht, int tableid) { in _dictGetStatsHt()
H A Ddict.h79 dictht ht[2]; member
H A Dt_zset.c1604 } ht; member
1717 dict *ht = op->subject->ptr; in zuiLength() local
1873 dict *ht = op->subject->ptr; in zuiFind() local
H A Ddb.c498 dict *ht; in scanGenericCommand() local
/redis-3.2.3/utils/hashtable/
H A Drehashing.c36 void showBuckets(dictht ht) { in showBuckets()