Lines Matching refs:dict
48 dictEntry *de = dictFind(db->dict,key->ptr); in lookupKey()
159 int retval = dictAdd(db->dict, copy, val); in dbAdd()
172 dictEntry *de = dictFind(db->dict,key->ptr); in dbOverwrite()
175 dictReplace(db->dict, key->ptr, val); in dbOverwrite()
196 return dictFind(db->dict,key->ptr) != NULL; in dbExists()
210 de = dictGetRandomKey(db->dict); in dbRandomKey()
230 if (dictDelete(db->dict,key->ptr) == DICT_OK) { in dbDelete()
281 removed += dictSize(server.db[j].dict); in emptyDb()
282 dictEmpty(server.db[j].dict,callback); in emptyDb()
318 server.dirty += dictSize(c->db->dict); in flushdbCommand()
320 dictEmpty(c->db->dict,NULL); in flushdbCommand()
411 di = dictGetSafeIterator(c->db->dict); in keysCommand()
498 dict *ht; in scanGenericCommand()
550 ht = c->db->dict; in scanGenericCommand()
558 ht = zs->dict; in scanGenericCommand()
676 addReplyLongLong(c,dictSize(c->db->dict)); in dbsizeCommand()
843 serverAssertWithInfo(NULL,key,dictFind(db->dict,key->ptr) != NULL); in removeExpire()
851 kde = dictFind(db->dict,key->ptr); in setExpire()
868 serverAssertWithInfo(NULL,key,dictFind(db->dict,key->ptr) != NULL); in getExpire()
1038 de = dictFind(c->db->dict,c->argv[1]->ptr); in persistCommand()