Home
last modified time | relevance | path

Searched refs:OBJ_ENCODING_EMBSTR (Results 1 – 6 of 6) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dobject.c89 o->encoding = OBJ_ENCODING_EMBSTR; in createEmbeddedStringObject()
201 case OBJ_ENCODING_EMBSTR: in dupStringObject()
484 if (o->encoding == OBJ_ENCODING_EMBSTR) return o; in tryObjectEncoding()
744 case OBJ_ENCODING_EMBSTR: return "embstr"; in strEncoding()
792 } else if(o->encoding == OBJ_ENCODING_EMBSTR) { in objectComputeSize()
H A Ddefrag.c109 if (ob->type!=OBJ_STRING || ob->encoding!=OBJ_ENCODING_EMBSTR) { in activeDefragStringOb()
124 } else if (ob->encoding==OBJ_ENCODING_EMBSTR) { in activeDefragStringOb()
H A Dserver.h597 #define OBJ_ENCODING_EMBSTR 8 /* Embedded sds string encoding */ macro
1575 …dedObject(objptr) (objptr->encoding == OBJ_ENCODING_RAW || objptr->encoding == OBJ_ENCODING_EMBSTR)
H A Dnetworking.c53 case OBJ_ENCODING_EMBSTR: return zmalloc_size(o)-sizeof(robj); in getStringObjectSdsUsedMemory()
H A Dscripting.c627 o->encoding == OBJ_ENCODING_EMBSTR) && in luaRedisGenericCommand()
H A Dmodule.c1035 if (str->encoding == OBJ_ENCODING_EMBSTR) { in moduleAssertUnsharedString()