Home
last modified time | relevance | path

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

/memcached-1.6.32/
Dproto_bin.c298 rsp->message.body.value = htonll(strtoull(tmpbuf, NULL, 10)); in complete_incr_bin()
302 write_bin_response(c, &rsp->message.body, 0, 0, in complete_incr_bin()
303 sizeof(rsp->message.body.value)); in complete_incr_bin()
314 rsp->message.body.value = htonll(req->message.body.initial); in complete_incr_bin()
330 … write_bin_response(c, &rsp->message.body, 0, 0, sizeof(rsp->message.body.value)); in complete_incr_bin()
488 uint32_t bodylen = sizeof(rsp->message.body) + (it->nbytes - 2); in process_bin_get_or_touch()
515 add_bin_header(c, 0, sizeof(rsp->message.body), keylen, bodylen); in process_bin_get_or_touch()
516 rsp->message.header.response.cas = htonll(ITEM_get_cas(it)); in process_bin_get_or_touch()
519 FLAGS_CONV(it, rsp->message.body.flags); in process_bin_get_or_touch()
520 rsp->message.body.flags = htonl(rsp->message.body.flags); in process_bin_get_or_touch()
[all …]
Dtestapp.c909 char rsp[80]; in test_issue_102() local
910 read_ascii_response(rsp, sizeof(rsp)); in test_issue_102()
911 assert(strncmp(rsp, "END", strlen("END")) == 0); in test_issue_102()
916 read_ascii_response(rsp, sizeof(rsp)); in test_issue_102()
917 assert(strncmp(rsp, "END", strlen("END")) == 0); in test_issue_102()