Lines Matching refs:request
1084 protocol_binary_request_set *request = (void*)buf; in storage_command() local
1085 assert(bufsz > sizeof(*request) + keylen + dtalen); in storage_command()
1087 memset(request, 0, sizeof(*request)); in storage_command()
1088 request->message.header.request.magic = PROTOCOL_BINARY_REQ; in storage_command()
1089 request->message.header.request.opcode = cmd; in storage_command()
1090 request->message.header.request.keylen = htons(keylen); in storage_command()
1091 request->message.header.request.extlen = 8; in storage_command()
1092 request->message.header.request.bodylen = htonl(keylen + 8 + dtalen); in storage_command()
1093 request->message.header.request.opaque = 0xdeadbeef; in storage_command()
1094 request->message.body.flags = flags; in storage_command()
1095 request->message.body.expiration = exp; in storage_command()
1116 protocol_binary_request_no_extras *request = (void*)buf; in ext_command() local
1117 assert(bufsz > sizeof(*request) + extlen + keylen + dtalen); in ext_command()
1119 memset(request, 0, sizeof(*request)); in ext_command()
1120 request->message.header.request.magic = PROTOCOL_BINARY_REQ; in ext_command()
1121 request->message.header.request.opcode = cmd; in ext_command()
1122 request->message.header.request.extlen = extlen; in ext_command()
1123 request->message.header.request.keylen = htons(keylen); in ext_command()
1124 request->message.header.request.bodylen = htonl(extlen + keylen + dtalen); in ext_command()
1125 request->message.header.request.opaque = 0xdeadbeef; in ext_command()
1141 return sizeof(*request) + extlen + keylen + dtalen; in ext_command()
1156 protocol_binary_request_flush *request = (void*)buf; in flush_command() local
1157 assert(bufsz > sizeof(*request)); in flush_command()
1159 memset(request, 0, sizeof(*request)); in flush_command()
1160 request->message.header.request.magic = PROTOCOL_BINARY_REQ; in flush_command()
1161 request->message.header.request.opcode = cmd; in flush_command()
1165 request->message.header.request.extlen = 4; in flush_command()
1166 request->message.body.expiration = htonl(exptime); in flush_command()
1167 request->message.header.request.bodylen = htonl(4); in flush_command()
1171 request->message.header.request.opaque = 0xdeadbeef; in flush_command()
1183 protocol_binary_request_touch *request = (void*)buf; in touch_command() local
1184 assert(bufsz > sizeof(*request)); in touch_command()
1186 memset(request, 0, sizeof(*request)); in touch_command()
1187 request->message.header.request.magic = PROTOCOL_BINARY_REQ; in touch_command()
1188 request->message.header.request.opcode = cmd; in touch_command()
1190 request->message.header.request.keylen = htons(keylen); in touch_command()
1191 request->message.header.request.extlen = 4; in touch_command()
1192 request->message.body.expiration = htonl(exptime); in touch_command()
1193 request->message.header.request.bodylen = htonl(keylen + 4); in touch_command()
1195 request->message.header.request.opaque = 0xdeadbeef; in touch_command()
1211 protocol_binary_request_incr *request = (void*)buf; in arithmetic_command() local
1212 assert(bufsz > sizeof(*request) + keylen); in arithmetic_command()
1214 memset(request, 0, sizeof(*request)); in arithmetic_command()
1215 request->message.header.request.magic = PROTOCOL_BINARY_REQ; in arithmetic_command()
1216 request->message.header.request.opcode = cmd; in arithmetic_command()
1217 request->message.header.request.keylen = htons(keylen); in arithmetic_command()
1218 request->message.header.request.extlen = 20; in arithmetic_command()
1219 request->message.header.request.bodylen = htonl(keylen + 20); in arithmetic_command()
1220 request->message.header.request.opaque = 0xdeadbeef; in arithmetic_command()
1221 request->message.body.delta = htonll(delta); in arithmetic_command()
1222 request->message.body.initial = htonll(initial); in arithmetic_command()
1223 request->message.body.expiration = htonl(exp); in arithmetic_command()
1333 protocol_binary_request_no_extras request; in test_binary_noop() member
1352 protocol_binary_request_no_extras request; in test_binary_quit_impl() member
1385 protocol_binary_request_no_extras request; in test_binary_set_impl() member
1409 send.request.message.header.request.cas = receive.response.message.header.response.cas; in test_binary_set_impl()
1415 … assert(receive.response.message.header.response.cas != send.request.message.header.request.cas); in test_binary_set_impl()
1435 protocol_binary_request_no_extras request; in test_binary_add_impl() member
1474 protocol_binary_request_no_extras request; in test_binary_replace_impl() member
1525 protocol_binary_request_no_extras request; in test_binary_delete_impl() member
1574 protocol_binary_request_no_extras request; in test_binary_get_impl() member
1607 protocol_binary_request_no_extras request; in test_binary_get_impl() member
1646 protocol_binary_request_no_extras request; in test_binary_getq_impl() member
1665 temp.request.message.header.request.opaque = 0xfeedface; in test_binary_getq_impl()
1705 protocol_binary_request_no_extras request; in test_binary_incr_impl() member
1742 protocol_binary_request_no_extras request; in test_binary_decr_impl() member
1787 protocol_binary_request_no_extras request; in test_binary_version() member
1806 protocol_binary_request_no_extras request; in test_binary_flush_impl() member
1882 protocol_binary_request_no_extras request; in test_binary_concat_impl() member
1968 protocol_binary_request_no_extras request; in test_binary_stat() member
1991 protocol_binary_request_no_extras request; in test_binary_illegal() member
2033 protocol_binary_request_no_extras request; in test_binary_pipeline_hickup_chunk() member