Home
last modified time | relevance | path

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

/f-stack/app/redis-5.0.5/src/
H A Dlistpack.c646 uint64_t new_listpack_bytes = old_listpack_bytes + enclen + backlen_size in lpInsert() local
648 if (new_listpack_bytes > UINT32_MAX) return NULL; in lpInsert()
659 if (new_listpack_bytes > old_listpack_bytes) { in lpInsert()
660 if ((lp = lp_realloc(lp,new_listpack_bytes)) == NULL) return NULL; in lpInsert()
676 if (new_listpack_bytes < old_listpack_bytes) { in lpInsert()
677 if ((lp = lp_realloc(lp,new_listpack_bytes)) == NULL) return NULL; in lpInsert()
709 lpSetTotalBytes(lp,new_listpack_bytes); in lpInsert()
719 lp = lp_malloc(new_listpack_bytes); in lpInsert()
720 memcpy(lp,oldlp,new_listpack_bytes); in lpInsert()
726 memset(oldlp,'A',new_listpack_bytes); in lpInsert()