Lines Matching refs:resp

134     mc_resp *resp = c->resp;  in add_bin_header()  local
138 resp_reset(resp); in add_bin_header()
140 header = (protocol_binary_response_header *)resp->wbuf; in add_bin_header()
166 resp->wbytes = sizeof(header->response); in add_bin_header()
167 resp_add_iov(resp, resp->wbuf, resp->wbytes); in add_bin_header()
223 resp_add_iov(c->resp, errstr, len); in write_bin_error()
248 mc_resp *resp = c->resp; in write_bin_response() local
250 resp_add_iov(resp, d, dlen); in write_bin_response()
266 protocol_binary_response_incr* rsp = (protocol_binary_response_incr*)c->resp->wbuf; in complete_incr_bin()
446 char *ofs = c->resp->wbuf + sizeof(protocol_binary_response_header); in write_bin_miss_response()
448 resp_add_iov(c->resp, ofs, nkey); in write_bin_miss_response()
459 protocol_binary_response_get* rsp = (protocol_binary_response_get*)c->resp->wbuf; in process_bin_get_or_touch()
521 resp_add_iov(c->resp, &rsp->message.body, sizeof(rsp->message.body)); in process_bin_get_or_touch()
524 resp_add_iov(c->resp, ITEM_key(it), nkey); in process_bin_get_or_touch()
531 if (storage_get_item(c, it, c->resp) != 0) { in process_bin_get_or_touch()
539 resp_add_iov(c->resp, ITEM_data(it), it->nbytes - 2); in process_bin_get_or_touch()
542 resp_add_chunked_iov(c->resp, it, it->nbytes - 2); in process_bin_get_or_touch()
546 resp_add_iov(c->resp, ITEM_data(it), it->nbytes - 2); in process_bin_get_or_touch()
548 resp_add_chunked_iov(c->resp, it, it->nbytes - 2); in process_bin_get_or_touch()
559 c->resp->item = NULL; in process_bin_get_or_touch()
561 c->resp->item = it; in process_bin_get_or_touch()
564 c->resp->item = it; in process_bin_get_or_touch()
847 resp_add_iov(c->resp, out, outlen); in process_bin_complete_sasl_auth()