Lines Matching refs:zl
70 unsigned char *zl, *fptr = NULL, *vptr = NULL; in hashTypeGetFromZiplist() local
77 zl = o->ptr; in hashTypeGetFromZiplist()
78 fptr = ziplistIndex(zl, ZIPLIST_HEAD); in hashTypeGetFromZiplist()
83 vptr = ziplistNext(zl, fptr); in hashTypeGetFromZiplist()
196 unsigned char *zl, *fptr, *vptr; in hashTypeSet() local
201 zl = o->ptr; in hashTypeSet()
202 fptr = ziplistIndex(zl, ZIPLIST_HEAD); in hashTypeSet()
207 vptr = ziplistNext(zl, fptr); in hashTypeSet()
212 zl = ziplistDelete(zl, &vptr); 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()
250 unsigned char *zl, *fptr; in hashTypeDelete() local
254 zl = o->ptr; in hashTypeDelete()
255 fptr = ziplistIndex(zl, ZIPLIST_HEAD); in hashTypeDelete()
259 zl = ziplistDelete(zl,&fptr); in hashTypeDelete()
260 zl = ziplistDelete(zl,&fptr); in hashTypeDelete()
261 o->ptr = zl; in hashTypeDelete()
327 unsigned char *zl; in hashTypeNext() local
330 zl = hi->subject->ptr; in hashTypeNext()
337 fptr = ziplistIndex(zl, 0); in hashTypeNext()
341 fptr = ziplistNext(zl, vptr); in hashTypeNext()
346 vptr = ziplistNext(zl, fptr); in hashTypeNext()