Lines Matching refs:dict
292 unsigned long zslDeleteRangeByScore(zskiplist *zsl, zrangespec *range, dict *dict) { in zslDeleteRangeByScore() argument
315 dictDelete(dict,x->obj); in zslDeleteRangeByScore()
323 unsigned long zslDeleteRangeByLex(zskiplist *zsl, zlexrangespec *range, dict *dict) { in zslDeleteRangeByLex() argument
344 dictDelete(dict,x->obj); in zslDeleteRangeByLex()
354 unsigned long zslDeleteRangeByRank(zskiplist *zsl, unsigned int start, unsigned int end, dict *dict… in zslDeleteRangeByRank() argument
373 dictDelete(dict,x->obj); in zslDeleteRangeByRank()
1111 zs->dict = dictCreate(&zsetDictType,NULL); in zsetConvert()
1129 serverAssertWithInfo(NULL,zobj,dictAdd(zs->dict,ele,&node->score) == DICT_OK); in zsetConvert()
1146 dictRelease(zs->dict); in zsetConvert()
1192 dictEntry *de = dictFind(zs->dict, member); in zsetScore()
1342 de = dictFind(zs->dict,ele); in zaddGenericCommand()
1373 serverAssertWithInfo(c,NULL,dictAdd(zs->dict,ele,&znode->score) == DICT_OK); in zaddGenericCommand()
1439 de = dictFind(zs->dict,c->argv[j]); in zremCommand()
1448 dictDelete(zs->dict,c->argv[j]); in zremCommand()
1449 if (htNeedsResize(zs->dict)) dictResize(zs->dict); in zremCommand()
1450 if (dictSize(zs->dict) == 0) { in zremCommand()
1542 deleted = zslDeleteRangeByRank(zs->zsl,start+1,end+1,zs->dict); in zremrangeGenericCommand()
1545 deleted = zslDeleteRangeByScore(zs->zsl,&range,zs->dict); in zremrangeGenericCommand()
1548 deleted = zslDeleteRangeByLex(zs->zsl,&lexrange,zs->dict); in zremrangeGenericCommand()
1551 if (htNeedsResize(zs->dict)) dictResize(zs->dict); in zremrangeGenericCommand()
1552 if (dictSize(zs->dict) == 0) { in zremrangeGenericCommand()
1601 dict *dict; member
1656 it->ht.dict = op->subject->ptr; in zuiInitIterator()
1717 dict *ht = op->subject->ptr; in zuiLength()
1873 dict *ht = op->subject->ptr; in zuiFind()
1897 if ((de = dictFind(zs->dict,val->ele)) != NULL) { in zuiFind()
2064 dictAdd(dstzset->dict,tmp,&znode->score); in zunionInterGenericCommand()
2076 dict *accumulator = dictCreate(&setDictType,NULL); in zunionInterGenericCommand()
2133 dictExpand(dstzset->dict,dictSize(accumulator)); in zunionInterGenericCommand()
2140 dictAdd(dstzset->dict,ele,&znode->score); in zunionInterGenericCommand()
2898 de = dictFind(zs->dict,ele); in zrankGenericCommand()