Lines Matching refs:value

101 int hashTypeGetFromHashTable(robj *o, robj *field, robj **value) {  in hashTypeGetFromHashTable()  argument
108 *value = dictGetVal(de); in hashTypeGetFromHashTable()
119 robj *value = NULL; in hashTypeGetObject() local
128 value = createStringObject((char*)vstr, vlen); in hashTypeGetObject()
130 value = createStringObjectFromLongLong(vll); in hashTypeGetObject()
138 value = aux; in hashTypeGetObject()
143 return value; in hashTypeGetObject()
192 int hashTypeSet(robj *o, robj *field, robj *value) { in hashTypeSet() argument
199 value = getDecodedObject(value); in hashTypeSet()
215 zl = ziplistInsert(zl, vptr, value->ptr, sdslen(value->ptr)); in hashTypeSet()
222 zl = ziplistPush(zl, value->ptr, sdslen(value->ptr), ZIPLIST_TAIL); in hashTypeSet()
226 decrRefCount(value); in hashTypeSet()
232 if (dictReplace(o->ptr, field, value)) { /* Insert */ in hashTypeSet()
237 incrRefCount(value); in hashTypeSet()
447 robj *field, *value; in hashTypeConvertZiplist() local
451 value = hashTypeCurrentObject(hi, OBJ_HASH_VALUE); in hashTypeConvertZiplist()
452 value = tryObjectEncoding(value); in hashTypeConvertZiplist()
453 ret = dictAdd(dict, field, value); in hashTypeConvertZiplist()
539 long long value, incr, oldvalue; in hincrbyCommand() local
545 if (getLongLongFromObjectOrReply(c,current,&value, in hincrbyCommand()
552 value = 0; in hincrbyCommand()
555 oldvalue = value; in hincrbyCommand()
561 value += incr; in hincrbyCommand()
562 new = createStringObjectFromLongLong(value); in hincrbyCommand()
566 addReplyLongLong(c,value); in hincrbyCommand()
573 double long value, incr; in hincrbyfloatCommand() local
579 if (getLongDoubleFromObjectOrReply(c,current,&value, in hincrbyfloatCommand()
586 value = 0; in hincrbyfloatCommand()
589 value += incr; in hincrbyfloatCommand()
590 new = createStringObjectFromLongDouble(value,1); in hincrbyfloatCommand()
633 robj *value; in addHashFieldToReply() local
635 ret = hashTypeGetFromHashTable(o, field, &value); in addHashFieldToReply()
639 addReplyBulk(c, value); in addHashFieldToReply()
733 robj *value; in addHashIteratorCursorToReply() local
735 hashTypeCurrentFromHashTable(hi, what, &value); in addHashIteratorCursorToReply()
736 addReplyBulk(c, value); in addHashIteratorCursorToReply()