Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 55) sorted by relevance

123

/memcached-1.6.32/
Dutil.c15 int x; in uriencode_init() local
17 for (x = 0; x < 256; x++) { in uriencode_init()
18 if (isalnum(x) || x == '-' || x == '.' || x == '_' || x == '~') { in uriencode_init()
29 int x; in uriencode() local
31 for (x = 0; x < srclen; x++) { in uriencode()
191 size_t x; in safe_strcpy() local
193 for (x = 0; x < dstmax - 1 && src[x] != '\0'; x++) { in safe_strcpy()
194 dst[x] = src[x]; in safe_strcpy()
210 size_t x; in safe_memcmp() local
212 for (x = 0; x < len; x++) { in safe_memcmp()
[all …]
Dauthfile.c55 int x; in authfile_load() local
58 for (x = 0; x < MAX_ENTRY_LEN; x++) { in authfile_load()
60 if (auth_cur[x] == '\0') { in authfile_load()
65 entry_cur->ulen = x; in authfile_load()
71 if (auth_cur[x] == '\n' || in authfile_load()
72 auth_cur[x] == '\r' || in authfile_load()
73 auth_cur[x] == '\0') { in authfile_load()
92 if (auth_cur[x] == '\0') in authfile_load()
95 auth_cur += x; in authfile_load()
119 for (int x = 0; x < entry_cnt; x++) { in authfile_check() local
[all …]
Dmurmur3_hash.c23 #define ROTL32(x,y) _rotl(x,y) argument
25 #define BIG_CONSTANT(x) (x) argument
33 static inline uint32_t rotl32 ( uint32_t x, int8_t r ) in rotl32() argument
35 return (x << r) | (x >> (32 - r)); in rotl32()
38 #define ROTL32(x,y) rotl32(x,y) argument
40 #define BIG_CONSTANT(x) (x##LLU) argument
Dautogen.sh28 if test x$ACLOCAL = x; then
30 if test x$ACLOCAL = x; then
41 if test x$AUTOMAKE = x; then
43 if test x$AUTOMAKE = x; then
Dproxy_config.c150 for (int x = 0; x < ctx->user_stats_num; x++) { in proxy_config_stats_prep() local
151 if (entries[x].name) { in proxy_config_stats_prep()
153 } else if (entries[x].cname) { in proxy_config_stats_prep()
165 for (int x = 0; x < ctx->user_stats_num; x++) { in proxy_config_stats_prep() local
238 for (int x = 0; x < settings.num_threads; x++) { in proxy_config_reload() local
262 for (int x = 0; x < ctx->user_stats_num; x++) { in proxy_config_reload() local
263 ctx->user_stats[x].reset = false; in proxy_config_reload()
709 for (int x = 0; x < tus->num_stats; x++) { in proxy_thread_loadconf() local
710 if (us[x].reset) { in proxy_thread_loadconf()
711 counters[x] = 0; in proxy_thread_loadconf()
[all …]
Dproxy_request.c773 if (x < 1 || x > rq->pr.ntokens) { in mcplib_request_token_int()
859 for (int x = rq->pr.keytoken+1; x < rq->pr.ntokens; x++) { in mcplib_request_flag_token() local
909 for (int x = rq->pr.keytoken+1; x < rq->pr.ntokens; x++) { in mcplib_request_flag_token_int() local
1021 if (x > 0) { in mcplib_request_flag_set()
1053 if (x > 0) { in mcplib_request_flag_replace()
1077 if (x > 0) { in mcplib_request_flag_del()
1197 for (int x = rq->pr.keytoken+1; x < rq->pr.ntokens; x++) { in _mcp_request_find_flag() local
1209 return x; in mcp_request_find_flag_index()
1214 if (x > 0) { in mcp_request_find_flag_token()
1223 return x; in mcp_request_find_flag_token()
[all …]
Dproxy_inspector.c505 for (int x = 0; x < mcp_ins_step_final; x++) { in mcp_inspector_steptype() local
508 return x; in mcp_inspector_steptype()
528 for (int x = 1; x <= argc; x++) { in mcp_inspector_new() local
529 luaL_checktype(L, x, LUA_TTABLE); in mcp_inspector_new()
530 if (lua_getfield(L, x, "t") != LUA_TNIL) { in mcp_inspector_new()
539 size += e->c(L, x); in mcp_inspector_new()
577 for (int x = 1; x <= argc; x++) { in mcp_inspector_new() local
599 for (int x = 0; x < ins->scount; x++) { in mcp_ins_run() local
600 struct mcp_ins_step *s = &ins->steps[x]; in mcp_ins_run()
627 for (int x = 0; x < ins->scount; x++) { in mcplib_inspector_gc() local
[all …]
Dstorage.c159 int x; in _storage_get_item_cb() local
166 for (x = 1; x < io->iovcnt; x++) { in _storage_get_item_cb()
167 crc2 = crc32c(crc2, (char *)io->iov[x].iov_base, io->iov[x].iov_len); in _storage_get_item_cb()
625 for (int x = 0; x < MAX_NUMBER_OF_SLAB_CLASSES; x++) { in storage_write_thread() local
631 if (min_class > x || (backoff[x] && (counter % backoff[x] != 0))) { in storage_write_thread()
685 for (int x = 0; x < MAX_NUMBER_OF_SLAB_CLASSES; x++) { in storage_write_thread() local
779 for (int x = 0; x < PAGE_BUCKET_COUNT; x++) { in storage_compact_check() local
793 for (int x = 0; x < st.page_count; x++) { in storage_compact_check() local
842 for (int x = 0; x < PAGE_BUCKET_COUNT; x++) { in storage_compact_check() local
843 buk = &buckets[x]; in storage_compact_check()
[all …]
Dproxy_mutator.c861 for (int x = 0; x < mcp_mut_step_final; x++) { in mcp_mutator_steptype() local
864 return x; in mcp_mutator_steptype()
876 for (int x = 1; x <= argc; x++) { in mcp_mutator_new() local
877 luaL_checktype(L, x, LUA_TTABLE); in mcp_mutator_new()
887 size += e->c(L, x); in mcp_mutator_new()
916 for (int x = 1; x <= argc; x++) { in mcp_mutator_new() local
944 for (int x = 0; x < mut->scount; x++) { in _mcp_mut_run_total() local
945 struct mcp_mut_step *s = &mut->steps[x]; in _mcp_mut_run_total()
947 int len = s->n(run, s, &parts[x]); in _mcp_mut_run_total()
966 for (int x = 0; x < mut->scount; x++) { in _mcp_mut_run_assemble() local
[all …]
Dconfigure.ac189 if test "x$enable_sasl" = "xyes"; then
205 if test "x$enable_dtrace" = "xyes"; then
207 if test "x$DTRACE" != "xno"; then
233 if test "x$enable_tls" = "xyes"; then
237 if test "x$enable_asan" = "xyes"; then
249 if test "x$enable_proxy" = "xyes"; then
318 elif test "x$CLANG" != "xno"
321 if test "x$PROFILER" != "xno"
333 if test "x$enable_64bit" = "xyes"
479 if test "x$enable_tls" = "xyes"; then
[all …]
Dproto_proxy.c194 for (int x = 0; x < settings.num_threads; x++) { in process_proxy_stats() local
221 for (int x = 0; x < stats_num; x++) { in process_proxy_stats() local
222 if (us[x].cname) { in process_proxy_stats()
466 for (int x = 0; x < 3; x++) { in proxy_thread_init() local
818 for (int x = 0; x < rctx->fgen->max_queues; x++) { in _proxy_run_rcontext_queues() local
833 for (int x = 0; x < tresp->iovcnt; x++) { in _proxy_run_tresp_to_resp() local
834 resp->iov[x] = tresp->iov[x]; in _proxy_run_tresp_to_resp()
1264 for (int x = 2; x < rq->pr.ntokens; x++) { in mcp_set_resobj() local
1508 for (int x = 0; x < 8; x++) { in mcp_profile_alloc() local
1509 prof->allocs[x] = 0; in mcp_profile_alloc()
[all …]
Dlogger.c623 int x = 0; in logger_set_flags() local
626 for (x = 0; x < WATCHER_LIMIT; x++) { in logger_set_flags()
662 int x, total; in logger_thread_write_entry() local
664 for (x = 0; x < WATCHER_LIMIT; x++) { in logger_thread_write_entry()
780 int x; in logger_thread_poll_watchers() local
786 for (x = 0; x < WATCHER_LIMIT; x++) { in logger_thread_poll_watchers()
819 for (x = 0; x < WATCHER_LIMIT; x++) { in logger_thread_poll_watchers()
1085 int x; in logger_add_watcher() local
1093 for (x = 0; x < WATCHER_LIMIT-1; x++) { in logger_add_watcher()
1110 w->id = x; in logger_add_watcher()
[all …]
Dmd5.c197 #define ROTATE_LEFT(x, n) (((x) << (n)) | ((x) >> (32 - (n)))) in md5_process() argument
202 #define F(x, y, z) (((x) & (y)) | (~(x) & (z))) in md5_process() argument
228 #define G(x, y, z) (((x) & (z)) | ((y) & ~(z))) in md5_process() argument
254 #define H(x, y, z) ((x) ^ (y) ^ (z)) in md5_process() argument
280 #define I(x, y, z) ((y) ^ ((x) | ~(z))) in md5_process() argument
Dproxy_ustats.c27 for (int x = 0; x < strlen(name); x++) { in mcplib_add_stat() local
28 if (isspace(name[x])) { in mcplib_add_stat()
Dproxy_lua.c542 for (int x = 0; x < bel->conncount; x++) { in _mcplib_make_backendconn() local
627 for (int x = 0; x < p->pool_be_total; x++) { in mcplib_pool_gc() local
628 if (p->pool[x].ref) { in mcplib_pool_gc()
697 for (int x = 1; x <= p->pool_size; x++) { in _mcplib_pool_dist() local
748 for (int x = 1; x <= p->pool_size; x++) { in _mcplib_pool_make_be_loop() local
1277 for (int x = loop_start; x < loop_end; x++) { in mcplib_attach() local
1302 for (int x = 0; x < h->tagcount; x++) { in mcplib_attach() local
1399 return (x << k) | (x >> (32 - k)); in _rotl()
1482 #define X(x) \ in proxy_register_defines() argument
1483 lua_pushinteger(L, x); \ in proxy_register_defines()
[all …]
Dproxy_luafgen.c87 for (int x = 0; x < fgen->max_queues; x++) { in mcp_rcontext_cleanup() local
180 int x = fgen->free_max; in _mcplib_funcgen_cache() local
183 for (; x < fgen->free_max; x++) { in _mcplib_funcgen_cache()
221 for (int x = 0; x < fgen->max_queues; x++) { in _mcplib_funcgen_gencall() local
347 for (int x = 0; x < fgen->max_queues; x++) { in _mcp_funcgen_return_rctx() local
496 for (int x = 0; x < fgen->free_max; x++) { in mcp_funcgen_cleanup() local
515 for (int x = 0; x < fgen->max_queues; x++) { in mcp_funcgen_cleanup() local
806 for (int x = 0; x < len; x++) { in mcplib_rcontext_enqueue() local
1672 for (int x = 0; x < CMD_END_STORAGE; x++) { in mcp_funcgen_router_cleanup() local
1673 if (fr->cmap[x]) { in mcp_funcgen_router_cleanup()
[all …]
Dslab_automove.c62 int x; in window_sum() local
63 for (x = 0; x < size; x++) { in window_sum()
64 struct window_data *d = &wd[x]; in window_sum()
/memcached-1.6.32/t/
Dproxyratelim.t23 my $x = 10;
24 while ($x--) {
29 cmp_ok($x, '>', 0, "hit rate limit without trying too many times");
39 my $x = 10;
40 while ($x--) {
45 cmp_ok($x, '>', 0, "global hit rate limit without trying too many times");
Dproxyfuncgen.lua140 local x = 0
143 x = x + 1
161 for x=1, count do
178 for x=1, count do
183 for x=1, count do
195 for x=1, count do
256 for x=1, count do
267 for x=1, count do
289 for x=1, count do
439 for x=1, count do
[all …]
Dextstore-jbod.t86 my $x = 0;
87 while (exists $s->{$x . ':version'}) {
90 my $is_used = $s->{$x . ':version'};
93 $buks[$s->{$x . ':free_bucket'}]++;
95 $x++;
Dextstore-tiered.t83 my $x = 0;
84 while (exists $s->{$x . ':version'}) {
85 my $is_used = $s->{$x . ':version'};
88 $buks[$s->{$x . ':free_bucket'}]++;
90 $x++;
Dextstore-tiered2.t117 my $x = 0;
118 while (exists $s->{$x . ':version'}) {
121 my $is_used = $s->{$x . ':version'};
124 $buks[$s->{$x . ':free_bucket'}]++;
126 $x++;
Dproxyrctxtimeout.lua29 for x=1,#all do
30 local res = rctx:res_any(all[x])
58 for x=1,#all do
59 local res = rctx:res_any(all[x])
88 for x=1,#all do
89 local res = rctx:res_any(all[x])
/memcached-1.6.32/vendor/mcmc/
Dexample.c158 for (int x = 0; strlen(requests[x]) != 0; x++) { in buffer_mode() local
159 status = mcmc_send_request(c, requests[x], strlen(requests[x]), 1); in buffer_mode()
/memcached-1.6.32/m4/
Dc99-backport.m426 int x = 1234;
29 debug ("X = %d\n", x);
31 report (x>y, "x is %d but y is %d", x, y);
140 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
173 test "x$ac_cv_prog_cc_$1" != "xno" && break
178 case "x$ac_cv_prog_cc_$1" in
179 x)
187 AS_IF([test "x$ac_cv_prog_cc_$1" != xno], [$5], [$6])

123