Lines Matching refs:vstr

66                            unsigned char **vstr,  in hashTypeGetFromZiplist()  argument
91 ret = ziplistGet(vptr, vstr, vlen, vll); in hashTypeGetFromZiplist()
122 unsigned char *vstr = NULL; in hashTypeGetObject() local
126 if (hashTypeGetFromZiplist(o, field, &vstr, &vlen, &vll) == 0) { in hashTypeGetObject()
127 if (vstr) { in hashTypeGetObject()
128 value = createStringObject((char*)vstr, vlen); in hashTypeGetObject()
152 unsigned char *vstr = NULL; in hashTypeGetValueLength() local
156 if (hashTypeGetFromZiplist(o, field, &vstr, &vlen, &vll) == 0) in hashTypeGetValueLength()
157 len = vstr ? vlen : sdigits10(vll); in hashTypeGetValueLength()
173 unsigned char *vstr = NULL; in hashTypeExists() local
177 if (hashTypeGetFromZiplist(o, field, &vstr, &vlen, &vll) == 0) return 1; in hashTypeExists()
363 unsigned char **vstr, in hashTypeCurrentFromZiplist() argument
372 ret = ziplistGet(hi->fptr, vstr, vlen, vll); in hashTypeCurrentFromZiplist()
375 ret = ziplistGet(hi->vptr, vstr, vlen, vll); in hashTypeCurrentFromZiplist()
399 unsigned char *vstr = NULL; in hashTypeCurrentObject() local
403 hashTypeCurrentFromZiplist(hi, what, &vstr, &vlen, &vll); in hashTypeCurrentObject()
404 if (vstr) { in hashTypeCurrentObject()
405 dst = createStringObject((char*)vstr, vlen); in hashTypeCurrentObject()
617 unsigned char *vstr = NULL; in addHashFieldToReply() local
621 ret = hashTypeGetFromZiplist(o, field, &vstr, &vlen, &vll); in addHashFieldToReply()
625 if (vstr) { in addHashFieldToReply()
626 addReplyBulkCBuffer(c, vstr, vlen); in addHashFieldToReply()
721 unsigned char *vstr = NULL; in addHashIteratorCursorToReply() local
725 hashTypeCurrentFromZiplist(hi, what, &vstr, &vlen, &vll); in addHashIteratorCursorToReply()
726 if (vstr) { in addHashIteratorCursorToReply()
727 addReplyBulkCBuffer(c, vstr, vlen); in addHashIteratorCursorToReply()