Lines Matching refs:nbytes
173 resp_add_iov(resp, "", it->nbytes); in proxy_storage_get()
204 static inline int make_ascii_get_suffix(char *suffix, item *it, bool return_cas, int nbytes) { in make_ascii_get_suffix() argument
215 p = itoa_u32(nbytes-2, p+1); in make_ascii_get_suffix()
241 int nbytes = it->nbytes;; in process_get_cmd() local
242 nbytes = it->nbytes; in process_get_cmd()
248 p += make_ascii_get_suffix(p, it, return_cas, nbytes); in process_get_cmd()
263 resp_add_iov(resp, ITEM_data(it), it->nbytes); in process_get_cmd()
265 resp_add_chunked_iov(resp, it, it->nbytes); in process_get_cmd()
269 resp_add_iov(resp, ITEM_data(it), it->nbytes); in process_get_cmd()
271 resp_add_chunked_iov(resp, it, it->nbytes); in process_get_cmd()
392 if (_store_item_copy_from_buf(it, pr->vbuf, it->nbytes) != 0) { in process_update_cmd()
823 p = itoa_u32(it->nbytes-2, p+3); in process_mget_cmd()
853 p = itoa_u32(it->nbytes-2, p); in process_mget_cmd()
948 resp_add_iov(resp, ITEM_data(it), it->nbytes); in process_mget_cmd()
950 resp_add_chunked_iov(resp, it, it->nbytes); in process_mget_cmd()
954 resp_add_iov(resp, ITEM_data(it), it->nbytes); in process_mget_cmd()
956 resp_add_chunked_iov(resp, it, it->nbytes); in process_mget_cmd()
1182 if (_store_item_copy_from_buf(it, pr->vbuf, it->nbytes) != 0) { in process_mset_cmd()
1189 int nbytes = 0; in process_mset_cmd() local
1190 …int ret = store_item(it, comm, t, &nbytes, &cas, of.has_cas_in ? of.cas_id_in : get_cas_id(), set_… in process_mset_cmd()
1238 if (nbytes != 0) { in process_mset_cmd()
1239 p = itoa_u32(nbytes-2, p); in process_mset_cmd()
1241 p = itoa_u32(it->nbytes-2, p); in process_mset_cmd()