Lines Matching refs:fptr

70     unsigned char *zl, *fptr = NULL, *vptr = NULL;  in hashTypeGetFromZiplist()  local
78 fptr = ziplistIndex(zl, ZIPLIST_HEAD); in hashTypeGetFromZiplist()
79 if (fptr != NULL) { in hashTypeGetFromZiplist()
80 fptr = ziplistFind(fptr, field->ptr, sdslen(field->ptr), 1); in hashTypeGetFromZiplist()
81 if (fptr != NULL) { in hashTypeGetFromZiplist()
83 vptr = ziplistNext(zl, fptr); in hashTypeGetFromZiplist()
196 unsigned char *zl, *fptr, *vptr; in hashTypeSet() local
202 fptr = ziplistIndex(zl, ZIPLIST_HEAD); in hashTypeSet()
203 if (fptr != NULL) { in hashTypeSet()
204 fptr = ziplistFind(fptr, field->ptr, sdslen(field->ptr), 1); in hashTypeSet()
205 if (fptr != NULL) { in hashTypeSet()
207 vptr = ziplistNext(zl, fptr); in hashTypeSet()
250 unsigned char *zl, *fptr; in hashTypeDelete() local
255 fptr = ziplistIndex(zl, ZIPLIST_HEAD); in hashTypeDelete()
256 if (fptr != NULL) { in hashTypeDelete()
257 fptr = ziplistFind(fptr, field->ptr, sdslen(field->ptr), 1); in hashTypeDelete()
258 if (fptr != NULL) { in hashTypeDelete()
259 zl = ziplistDelete(zl,&fptr); in hashTypeDelete()
260 zl = ziplistDelete(zl,&fptr); in hashTypeDelete()
304 hi->fptr = NULL; in hashTypeInitIterator()
328 unsigned char *fptr, *vptr; in hashTypeNext() local
331 fptr = hi->fptr; in hashTypeNext()
334 if (fptr == NULL) { in hashTypeNext()
337 fptr = ziplistIndex(zl, 0); in hashTypeNext()
341 fptr = ziplistNext(zl, vptr); in hashTypeNext()
343 if (fptr == NULL) return C_ERR; in hashTypeNext()
346 vptr = ziplistNext(zl, fptr); in hashTypeNext()
350 hi->fptr = fptr; in hashTypeNext()
372 ret = ziplistGet(hi->fptr, vstr, vlen, vll); in hashTypeCurrentFromZiplist()