Home
last modified time | relevance | path

Searched refs:OBJ_SET (Results 1 – 12 of 12) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dt_set.c273 if (set->type != OBJ_SET) { in saddCommand()
295 checkType(c,set,OBJ_SET)) return; in sremCommand()
332 if (checkType(c,srcset,OBJ_SET) || in smoveCommand()
377 checkType(c,set,OBJ_SET)) return; in sismemberCommand()
389 checkType(c,o,OBJ_SET)) return; in scardCommand()
419 == NULL || checkType(c,set,OBJ_SET)) return; in spopWithCountCommand()
570 checkType(c,set,OBJ_SET)) return; in spopCommand()
764 checkType(c,set,OBJ_SET)) return; in srandmemberCommand()
820 if (checkType(c,setobj,OBJ_SET)) { in sinterGenericCommand()
948 if (checkType(c,setobj,OBJ_SET)) { in sunionDiffGenericCommand()
[all …]
H A Dsort.c203 if (sortval && sortval->type != OBJ_SET && in sortCommand()
295 sortval->type == OBJ_SET && in sortCommand()
311 case OBJ_SET: vectorlen = setTypeSize(sortval); break; in sortCommand()
381 } else if (sortval->type == OBJ_SET) { in sortCommand()
H A Dlazyfree.c35 } else if (obj->type == OBJ_SET && obj->encoding == OBJ_ENCODING_HT) { in lazyfreeGetFreeEffort()
H A Ddb.c574 } else if (o->type == OBJ_SET) { in scanCallback()
635 serverAssert(o == NULL || o->type == OBJ_SET || o->type == OBJ_HASH || in scanGenericCommand()
684 } else if (o->type == OBJ_SET && o->encoding == OBJ_ENCODING_HT) { in scanGenericCommand()
713 } else if (o->type == OBJ_SET) { in scanGenericCommand()
827 case OBJ_SET: type = "set"; break; in typeCommand()
H A Ddefrag.c484 if (ob->type != OBJ_SET || ob->encoding != OBJ_ENCODING_HT) in scanLaterSet()
581 serverAssert(ob->type == OBJ_SET && ob->encoding == OBJ_ENCODING_HT); in defragSet()
800 } else if (ob->type == OBJ_SET) { in defragKey()
905 } else if (ob->type == OBJ_SET) { in defragLaterItem()
H A Dobject.c230 robj *o = createObject(OBJ_SET,d); in createSetObject()
237 robj *o = createObject(OBJ_SET,is); in createIntsetObject()
358 case OBJ_SET: freeSetObject(o); break; in decrRefCount()
812 } else if (o->type == OBJ_SET) { in objectComputeSize()
H A Dt_zset.c1869 if (op->type == OBJ_SET) { in zuiInitIterator()
1905 if (op->type == OBJ_SET) { in zuiClearIterator()
1932 if (op->type == OBJ_SET) { in zuiLength()
1967 if (op->type == OBJ_SET) { in zuiNext()
2085 if (op->type == OBJ_SET) { in zuiFind()
2210 if (obj->type != OBJ_ZSET && obj->type != OBJ_SET) { in zunionInterGenericCommand()
H A Drdb.c634 case OBJ_SET: in rdbSaveObjectType()
785 } else if (o->type == OBJ_SET) { in rdbSaveObject()
1618 o->type = OBJ_SET; in rdbLoadObject()
H A Ddebug.c139 } else if (o->type == OBJ_SET) { in xorObjectDigest()
685 } else if (o->type == OBJ_SET) { in serverLogObjectDebugInfo()
H A Dmodule.c461 case OBJ_SET: isempty = setTypeSize(o) == 0; break; in moduleDelKeyIfEmpty()
1565 case OBJ_SET: return REDISMODULE_KEYTYPE_SET; in RM_KeyType()
1583 case OBJ_SET: return setTypeSize(key->value); in RM_ValueLength()
H A Daof.c1328 } else if (o->type == OBJ_SET) { in rewriteAppendOnlyFileRio()
H A Dserver.h469 #define OBJ_SET 2 /* Set object. */ macro