Home
last modified time | relevance | path

Searched refs:OBJ_HASH (Results 1 – 8 of 8) sorted by relevance

/redis-3.2.3/src/
H A Dt_hash.c424 if (o->type != OBJ_HASH) { in hashTypeLookupWriteOrCreate()
651 checkType(c,o,OBJ_HASH)) return; in hgetCommand()
663 if (o != NULL && o->type != OBJ_HASH) { in hmgetCommand()
679 checkType(c,o,OBJ_HASH)) return; in hdelCommand()
706 checkType(c,o,OBJ_HASH)) return; in hlenCommand()
715 checkType(c,o,OBJ_HASH)) return; in hstrlenCommand()
750 || checkType(c,o,OBJ_HASH)) return; in genericHgetallCommand()
789 checkType(c,o,OBJ_HASH)) return; in hexistsCommand()
800 checkType(c,o,OBJ_HASH)) return; in hscanCommand()
H A Ddb.c444 } else if (o->type == OBJ_HASH) { in scanCallback()
502 serverAssert(o == NULL || o->type == OBJ_SET || o->type == OBJ_HASH || in scanGenericCommand()
553 } else if (o->type == OBJ_HASH && o->encoding == OBJ_ENCODING_HT) { 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()
696 case OBJ_HASH: type = "hash"; break; in typeCommand()
H A Dobject.c214 robj *o = createObject(OBJ_HASH, zl); in createHashObject()
309 case OBJ_HASH: freeHashObject(o); break; in decrRefCount()
H A Drdb.c548 case OBJ_HASH: in rdbSaveObjectType()
653 } else if (o->type == OBJ_HASH) { in rdbSaveObject()
1185 o->type = OBJ_HASH; in rdbLoadObject()
1213 o->type = OBJ_HASH; in rdbLoadObject()
H A Ddebug.c224 } else if (o->type == OBJ_HASH) { in computeDatasetDigest()
607 } else if (o->type == OBJ_HASH) { in serverLogObjectDebugInfo()
H A Dsort.c113 if (o->type != OBJ_HASH) goto noobj; in lookupKeyByPattern()
H A Daof.c1083 } else if (o->type == OBJ_HASH) { in rewriteAppendOnlyFile()
H A Dserver.h196 #define OBJ_HASH 4 macro