Home
last modified time | relevance | path

Searched refs:LP_HDR_SIZE (Results 1 – 1 of 1) sorted by relevance

/f-stack/app/redis-5.0.5/src/
H A Dlistpack.c45 #define LP_HDR_SIZE 6 /* 32 bit total len + 16 bit number of elements. */ macro
207 unsigned char *lp = lp_malloc(LP_HDR_SIZE+1); in lpNew()
209 lpSetTotalBytes(lp,LP_HDR_SIZE+1); in lpNew()
211 lp[LP_HDR_SIZE] = LP_EOF; in lpNew()
411 if (p-lp == LP_HDR_SIZE) return NULL; in lpPrev()
421 lp += LP_HDR_SIZE; /* Skip the header. */ in lpFirst()