Home
last modified time | relevance | path

Searched refs:cont (Results 1 – 3 of 3) sorted by relevance

/memcached-1.6.32/
Dproxy_ring_hash.c137 kt->continuum[*cont].id = id; in _add_server_default()
161 kt->continuum[*cont].point = ( digest[3+h*4] << 24 ) in _add_server_ketama()
165 kt->continuum[*cont].id = id; in _add_server_ketama()
166 (*cont)++; in _add_server_ketama()
198 kt->continuum[*cont].point = ( digest[3+h*4] << 24 ) in _add_server_twemproxy()
202 kt->continuum[*cont].id = id; in _add_server_twemproxy()
203 (*cont)++; in _add_server_twemproxy()
228 kt->continuum[*cont].point = ( digest[3+h*4] << 24 ) in _add_server_evcache()
232 kt->continuum[*cont].id = id; in _add_server_evcache()
233 (*cont)++; in _add_server_evcache()
[all …]
Dproto_text.c336 char *cont = NULL; in try_read_command_asciiauth() local
404 cont = c->rcurr; in try_read_command_asciiauth()
413 if (strncmp(cont + c->rlbytes - 2, "\r\n", 2) != 0) { in try_read_command_asciiauth()
419 cont[c->rlbytes - 2] = '\0'; in try_read_command_asciiauth()
420 ntokens = tokenize_command(cont, tokens, MAX_TOKENS); in try_read_command_asciiauth()
446 char *el, *cont; in try_read_command_ascii() local
483 cont = el + 1; in try_read_command_ascii()
489 assert(cont <= (c->rcurr + c->rbytes)); in try_read_command_ascii()
494 c->rbytes -= (cont - c->rcurr); in try_read_command_ascii()
495 c->rcurr = cont; in try_read_command_ascii()
Dproto_proxy.c637 char *el, *cont; in try_read_command_proxy() local
674 cont = el + 1; in try_read_command_proxy()
676 assert(cont <= (c->rcurr + c->rbytes)); in try_read_command_proxy()
679 proxy_process_command(c, c->rcurr, cont - c->rcurr, PROCESS_NORMAL); in try_read_command_proxy()
681 c->rbytes -= (cont - c->rcurr); in try_read_command_proxy()
682 c->rcurr = cont; in try_read_command_proxy()