Lines Matching refs:ptr
47 sdslen(argv[i]->ptr) > server.hash_max_ziplist_value) in hashTypeTryConversion()
77 zl = o->ptr; in hashTypeGetFromZiplist()
80 fptr = ziplistFind(fptr, field->ptr, sdslen(field->ptr), 1); in hashTypeGetFromZiplist()
106 de = dictFind(o->ptr, field); in hashTypeGetFromHashTable()
201 zl = o->ptr; in hashTypeSet()
204 fptr = ziplistFind(fptr, field->ptr, sdslen(field->ptr), 1); in hashTypeSet()
215 zl = ziplistInsert(zl, vptr, value->ptr, sdslen(value->ptr)); in hashTypeSet()
221 zl = ziplistPush(zl, field->ptr, sdslen(field->ptr), ZIPLIST_TAIL); in hashTypeSet()
222 zl = ziplistPush(zl, value->ptr, sdslen(value->ptr), ZIPLIST_TAIL); in hashTypeSet()
224 o->ptr = zl; in hashTypeSet()
232 if (dictReplace(o->ptr, field, value)) { /* Insert */ in hashTypeSet()
254 zl = o->ptr; in hashTypeDelete()
257 fptr = ziplistFind(fptr, field->ptr, sdslen(field->ptr), 1); in hashTypeDelete()
261 o->ptr = zl; in hashTypeDelete()
269 if (dictDelete((dict*)o->ptr, field) == C_OK) { in hashTypeDelete()
273 if (htNeedsResize(o->ptr)) dictResize(o->ptr); in hashTypeDelete()
288 length = ziplistLen(o->ptr) / 2; in hashTypeLength()
290 length = dictSize((dict*)o->ptr); in hashTypeLength()
307 hi->di = dictGetIterator(subject->ptr); in hashTypeInitIterator()
330 zl = hi->subject->ptr; in hashTypeNext()
456 o->ptr,ziplistBlobLen(o->ptr)); in hashTypeConvertZiplist()
462 zfree(o->ptr); in hashTypeConvertZiplist()
465 o->ptr = dict; in hashTypeConvertZiplist()