Lines Matching refs:dict
76 typedef struct dict { struct
82 } dict; argument
89 dict *d;
150 dict *dictCreate(dictType *type, void *privDataPtr);
151 int dictExpand(dict *d, unsigned long size);
152 int dictAdd(dict *d, void *key, void *val);
153 dictEntry *dictAddRaw(dict *d, void *key);
154 int dictReplace(dict *d, void *key, void *val);
155 dictEntry *dictReplaceRaw(dict *d, void *key);
156 int dictDelete(dict *d, const void *key);
157 int dictDeleteNoFree(dict *d, const void *key);
158 void dictRelease(dict *d);
159 dictEntry * dictFind(dict *d, const void *key);
160 void *dictFetchValue(dict *d, const void *key);
161 int dictResize(dict *d);
162 dictIterator *dictGetIterator(dict *d);
163 dictIterator *dictGetSafeIterator(dict *d);
166 dictEntry *dictGetRandomKey(dict *d);
167 unsigned int dictGetSomeKeys(dict *d, dictEntry **des, unsigned int count);
168 void dictGetStats(char *buf, size_t bufsize, dict *d);
171 void dictEmpty(dict *d, void(callback)(void*));
174 int dictRehash(dict *d, int n);
175 int dictRehashMilliseconds(dict *d, int ms);
178 unsigned long dictScan(dict *d, unsigned long v, dictScanFunction *fn, void *privdata);