Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 11 of 11) sorted by relevance

/memcached-1.6.32/
Dproxy_request.c492 char temp[MCP_REQUEST_MAXLEN+1]; in mcp_request_render() local
493 char *p = temp; in mcp_request_render()
535 memcpy(rq->request, temp, p - temp); in mcp_request_render()
785 char temp[22]; in mcplib_request_token_int() local
787 memcpy(temp, s, tocopy); in mcplib_request_token_int()
788 temp[vlen] = '\0'; in mcplib_request_token_int()
790 if (safe_strtoll(temp, &token)) { in mcplib_request_token_int()
916 char temp[22]; in mcplib_request_flag_token_int() local
919 temp[vlen-1] = '\0'; in mcplib_request_flag_token_int()
1235 char temp[22]; in mcp_request_find_flag_tokenint64() local
[all …]
Dproxy_lua.c640 char temp[KEY_MAX_LENGTH+1]; in mcp_key_hash_filter_stop() local
647 memcpy(temp, key, klen); in mcp_key_hash_filter_stop()
648 temp[klen+1] = '\0'; in mcp_key_hash_filter_stop()
655 char *found = strstr(temp, conf); in mcp_key_hash_filter_stop()
658 *newlen = found - temp; in mcp_key_hash_filter_stop()
1312 …struct proxy_hook_tagged *temp = realloc(h->tagged, sizeof(struct proxy_hook_tagged) * (h->tagcoun… in mcplib_attach() local
1313 if (!temp) { in mcplib_attach()
1317 pht = &temp[h->tagcount]; in mcplib_attach()
1320 h->tagged = temp; in mcplib_attach()
Dtestapp.c1609 } temp; in test_binary_get_impl() local
1610 size_t l = ext_command(temp.bytes, sizeof(temp.bytes), cmd, in test_binary_get_impl()
1613 memcpy(send.bytes + len, temp.bytes, l); in test_binary_get_impl()
1649 } send, temp, receive; in test_binary_getq_impl() local
1660 size_t len2 = ext_command(temp.bytes, sizeof(temp.bytes), cmd, in test_binary_getq_impl()
1665 temp.request.message.header.request.opaque = 0xfeedface; in test_binary_getq_impl()
1666 memcpy(send.bytes + len, temp.bytes, len2); in test_binary_getq_impl()
1669 len2 = ext_command(temp.bytes, sizeof(temp.bytes), cmd, in test_binary_getq_impl()
1672 memcpy(send.bytes + len, temp.bytes, len2); in test_binary_getq_impl()
Dproto_proxy.c1078 char temp[KEY_MAX_LENGTH + MAX_CMD_PREFIX + 30]; in proxy_process_command() local
1079 char *cur = temp; in proxy_process_command()
1108 … P_DEBUG("%s: new multiget sub request: %s [%u/%u]\n", __func__, temp, keyoff, pr.klen); in proxy_process_command()
1109 proxy_process_command(c, temp, cur - temp, PROCESS_MULTIGET); in proxy_process_command()
Dproxy_mutator.c828 char temp[22]; in mut_step_n() local
829 const char *e = itoa_u64(run->vlen, temp); in mut_step_n()
831 return e - temp; in mut_step_n()
Ditems.c653 char temp[512]; in item_cachedump() local
677 len = snprintf(temp, sizeof(temp), "ITEM %s [%d b; %llu s]\r\n", in item_cachedump()
683 memcpy(buffer + bufcurr, temp, len); in item_cachedump()
Dproxy_internal.c421 char temp[INCR_MAX_STORAGE_LEN]; in process_arithmetic_cmd() local
438 switch(add_delta(t, key, nkey, incr, delta, temp, NULL)) { in process_arithmetic_cmd()
440 pout_string(resp, temp); in process_arithmetic_cmd()
Dproto_text.c2140 char temp[INCR_MAX_STORAGE_LEN]; in process_arithmetic_command() local
2162 switch(add_delta(c->thread, key, nkey, incr, delta, temp, NULL)) { in process_arithmetic_command()
2164 out_string(c, temp); in process_arithmetic_command()
Dmemcached.c5715 char *temp = strdup(slab_sizes_unparsed); local
5721 meta->slab_config = temp;
/memcached-1.6.32/t/
Dproxyconfig.t357 my @temp = ();
364 push(@temp, $be);
368 $bepile[$_] = \@temp;
/memcached-1.6.32/scripts/
Ddamemtop204 my %temp = ();
207 $temp{$k} = $v;
209 $stats->{$cmds->[0]} = \%temp;