Home
last modified time | relevance | path

Searched refs:OBJ_ZSET (Results 1 – 9 of 9) sorted by relevance

/redis-3.2.3/src/
H A Dsort.c205 sortval->type != OBJ_ZSET) in sortCommand()
305 if (sortval->type == OBJ_ZSET) in sortCommand()
312 case OBJ_ZSET: vectorlen = dictSize(((zset*)sortval->ptr)->dict); break; in sortCommand()
335 if ((sortval->type == OBJ_ZSET || sortval->type == OBJ_LIST) && in sortCommand()
391 } else if (sortval->type == OBJ_ZSET && dontsort) { in sortCommand()
430 } else if (sortval->type == OBJ_ZSET) { in sortCommand()
H A Dt_zset.c1291 if (zobj->type != OBJ_ZSET) { in zaddGenericCommand()
1417 checkType(c,zobj,OBJ_ZSET)) return; in zremCommand()
1662 } else if (op->type == OBJ_ZSET) { in zuiInitIterator()
1695 } else if (op->type == OBJ_ZSET) { in zuiClearIterator()
1722 } else if (op->type == OBJ_ZSET) { in zuiLength()
1771 } else if (op->type == OBJ_ZSET) { in zuiNext()
1884 } else if (op->type == OBJ_ZSET) { in zuiFind()
2340 checkType(c,zobj,OBJ_ZSET)) return; in genericZrangebyscoreCommand()
2578 checkType(c, zobj, OBJ_ZSET)) in zlexcountCommand()
2688 checkType(c,zobj,OBJ_ZSET)) in genericZrangebylexCommand()
[all …]
H A Dgeo.c448 checkType(c, zobj, OBJ_ZSET)) { in georadiusGeneric()
671 == NULL || checkType(c, zobj, OBJ_ZSET)) return; in geohashCommand()
725 == NULL || checkType(c, zobj, OBJ_ZSET)) return; in geoposCommand()
768 == NULL || checkType(c, zobj, OBJ_ZSET)) return; in geodistCommand()
H A Ddb.c449 } else if (o->type == OBJ_ZSET) { in scanCallback()
503 o->type == OBJ_ZSET); in scanGenericCommand()
556 } else if (o->type == OBJ_ZSET && o->encoding == OBJ_ENCODING_SKIPLIST) { in scanGenericCommand()
587 } else if (o->type == OBJ_HASH || o->type == OBJ_ZSET) { in scanGenericCommand()
639 if (o && (o->type == OBJ_ZSET || o->type == OBJ_HASH)) { in scanGenericCommand()
695 case OBJ_ZSET: type = "zset"; break; in typeCommand()
H A Dobject.c225 o = createObject(OBJ_ZSET,zs); in createZsetObject()
232 robj *o = createObject(OBJ_ZSET,zl); in createZsetZiplistObject()
308 case OBJ_ZSET: freeZsetObject(o); break; in decrRefCount()
H A Drdb.c541 case OBJ_ZSET: in rdbSaveObjectType()
625 } else if (o->type == OBJ_ZSET) { in rdbSaveObject()
1207 o->type = OBJ_ZSET; in rdbLoadObject()
H A Ddebug.c172 } else if (o->type == OBJ_ZSET) { in computeDatasetDigest()
609 } else if (o->type == OBJ_ZSET) { in serverLogObjectDebugInfo()
H A Daof.c1081 } else if (o->type == OBJ_ZSET) { in rewriteAppendOnlyFile()
H A Dserver.h195 #define OBJ_ZSET 3 macro