Home
last modified time | relevance | path

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

/memcached-1.4.29/
H A Dmemcached.h109 + (item)->nsuffix \
113 + (item)->nsuffix + (item)->nbytes \
406 uint8_t nsuffix; /* length of flags-and-length string */ member
430 uint8_t nsuffix; /* length of flags-and-length string */ member
446 uint8_t nsuffix; /* unused */ member
H A Ditems.c153 char *suffix, uint8_t *nsuffix) { in item_make_header() argument
155 *nsuffix = (uint8_t) snprintf(suffix, 40, " %u %d\r\n", flags, nbytes - 2); in item_make_header()
156 return sizeof(item) + nkey + *nsuffix + nbytes; in item_make_header()
162 uint8_t nsuffix; in do_item_alloc() local
165 size_t ntotal = item_make_header(nkey + 1, flags, nbytes, suffix, &nsuffix); in do_item_alloc()
254 memcpy(ITEM_suffix(it), suffix, (size_t)nsuffix); in do_item_alloc()
255 it->nsuffix = nsuffix; in do_item_alloc()
295 uint8_t nsuffix; in item_size_ok() local
298 prefix, &nsuffix); in item_size_ok()
H A Dmemcached.c3231 add_iov(c, ITEM_suffix(it), it->nsuffix - 2) != 0 || in process_get_command()
3256 if (add_iov(c, ITEM_suffix(it), it->nsuffix + it->nbytes) != 0) in process_get_command()
3261 } else if (add_iov(c, ITEM_suffix(it), it->nsuffix) != 0 || in process_get_command()