Searched refs:OBJ_ZSET (Results 1 – 13 of 13) sorted by relevance
| /f-stack/app/redis-5.0.5/src/ |
| H A D | sort.c | 205 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 D | t_zset.c | 1612 if (zobj->type != OBJ_ZSET) { in zaddGenericCommand() 1669 checkType(c,zobj,OBJ_ZSET)) return; in zremCommand() 1881 } else if (op->type == OBJ_ZSET) { in zuiInitIterator() 1914 } else if (op->type == OBJ_ZSET) { in zuiClearIterator() 1941 } else if (op->type == OBJ_ZSET) { in zuiLength() 1990 } else if (op->type == OBJ_ZSET) { in zuiNext() 2107 } else if (op->type == OBJ_ZSET) { in zuiFind() 2812 checkType(c, zobj, OBJ_ZSET)) in zlexcountCommand() 2925 checkType(c,zobj,OBJ_ZSET)) in genericZrangebylexCommand() 3122 checkType(c,o,OBJ_ZSET)) return; in zscanCommand() [all …]
|
| H A D | db.c | 179 val->type == OBJ_ZSET) in dbAdd() 582 } else if (o->type == OBJ_ZSET) { in scanCallback() 636 o->type == OBJ_ZSET); in scanGenericCommand() 689 } else if (o->type == OBJ_ZSET && o->encoding == OBJ_ENCODING_SKIPLIST) { in scanGenericCommand() 720 } else if (o->type == OBJ_HASH || o->type == OBJ_ZSET) { in scanGenericCommand() 772 if (o && (o->type == OBJ_ZSET || o->type == OBJ_HASH)) { in scanGenericCommand() 828 case OBJ_ZSET: type = "zset"; break; in typeCommand() 986 value->type == OBJ_ZSET)) in scanDatabaseForReadyLists()
|
| H A D | geo.c | 470 checkType(c, zobj, OBJ_ZSET)) { in georadiusGeneric() 705 if (zobj && checkType(c, zobj, OBJ_ZSET)) return; in geohashCommand() 758 if (zobj && checkType(c, zobj, OBJ_ZSET)) return; in geoposCommand() 801 == NULL || checkType(c, zobj, OBJ_ZSET)) return; in geodistCommand()
|
| H A D | lazyfree.c | 38 } else if (obj->type == OBJ_ZSET && obj->encoding == OBJ_ENCODING_SKIPLIST){ in lazyfreeGetFreeEffort()
|
| H A D | defrag.c | 464 if (ob->type != OBJ_ZSET || ob->encoding != OBJ_ENCODING_SKIPLIST) in scanLaterZset() 535 serverAssert(ob->type == OBJ_ZSET && ob->encoding == OBJ_ENCODING_SKIPLIST); in defragZsetSkiplist() 810 } else if (ob->type == OBJ_ZSET) { in defragKey() 907 } else if (ob->type == OBJ_ZSET) { in defragLaterItem()
|
| H A D | object.c | 255 o = createObject(OBJ_ZSET,zs); in createZsetObject() 262 robj *o = createObject(OBJ_ZSET,zl); in createZsetZiplistObject() 359 case OBJ_ZSET: freeZsetObject(o); break; in decrRefCount() 830 } else if (o->type == OBJ_ZSET) { in objectComputeSize()
|
| H A D | module.c | 462 case OBJ_ZSET: isempty = zsetLength(o) == 0; break; in moduleDelKeyIfEmpty() 1566 case OBJ_ZSET: return REDISMODULE_KEYTYPE_ZSET; in RM_KeyType() 1584 case OBJ_ZSET: return zsetLength(key->value); in RM_ValueLength() 1848 if (key->value && key->value->type != OBJ_ZSET) return REDISMODULE_ERR; in RM_ZsetAdd() 1875 if (key->value && key->value->type != OBJ_ZSET) return REDISMODULE_ERR; in RM_ZsetIncrby() 1912 if (key->value && key->value->type != OBJ_ZSET) return REDISMODULE_ERR; in RM_ZsetRem() 1931 if (key->value->type != OBJ_ZSET) return REDISMODULE_ERR; in RM_ZsetScore() 1969 if (!key->value || key->value->type != OBJ_ZSET) return REDISMODULE_ERR; in zsetInitScoreRange() 2033 if (!key->value || key->value->type != OBJ_ZSET) return REDISMODULE_ERR; in zsetInitLexRange()
|
| H A D | blocked.c | 328 else if (o != NULL && o->type == OBJ_ZSET) { in handleClientsBlockedOnKeys()
|
| H A D | rdb.c | 641 case OBJ_ZSET: in rdbSaveObjectType() 817 } else if (o->type == OBJ_ZSET) { in rdbSaveObject() 1624 o->type = OBJ_ZSET; in rdbLoadObject()
|
| H A D | debug.c | 147 } else if (o->type == OBJ_ZSET) { in xorObjectDigest() 689 } else if (o->type == OBJ_ZSET) { in serverLogObjectDebugInfo()
|
| H A D | aof.c | 1330 } else if (o->type == OBJ_ZSET) { in rewriteAppendOnlyFileRio()
|
| H A D | server.h | 470 #define OBJ_ZSET 3 /* Sorted set object. */ macro
|