Home
last modified time | relevance | path

Searched refs:token (Results 1 – 12 of 12) sorted by relevance

/memcached-1.6.32/t/
Dproxyrequest.lua20 r:token(3, flags)
91 local found, token = r:flag_token_int("F")
92 if type(token) ~= "number" then
95 token = token * 10 + 1
96 r:flag_set("F", token)
Dproxymatch.lua16 local match, token = r:match_res(res)
20 if token then
21 mcp.log("match failed: " .. token)
Dproxyunits.lua369 map.token = new_basic(zones, function(rctx, a) function
373 r:token(4, "C456")
375 r:token(4, "")
377 local token = r:token(2)
378 r:flag_token("P", "P" .. token)
Dstartfile.lua169 local texists, token = r:flag_token("O")
172 if token ~= nil then
173 print("meta opaque flag token: " .. token)
/memcached-1.6.32/
Dproxy_request.c124 if (pr->ntokens <= token) { in _process_request_metaflags()
730 int token = luaL_checkinteger(L, 2); in mcplib_request_token() local
732 if (token < 1 || token > rq->pr.ntokens) { in mcplib_request_token()
789 int64_t token = 0; in mcplib_request_token_int() local
790 if (safe_strtoll(temp, &token)) { in mcplib_request_token_int()
791 lua_pushinteger(L, token); in mcplib_request_token_int()
920 int64_t token = 0; in mcplib_request_flag_token_int() local
959 const char *token = NULL; in _mcp_request_check_flag_token() local
968 token = tostring; in _mcp_request_check_flag_token()
981 return token; in _mcp_request_check_flag_token()
[all …]
Dproxy_inspector.c219 const char *token = key; in mcp_inspector_sepkey_r() local
226 tlen = key - token; in mcp_inspector_sepkey_r()
231 token = key+1; in mcp_inspector_sepkey_r()
240 tlen = key - token; in mcp_inspector_sepkey_r()
251 lua_pushlstring(L, token, tlen); in mcp_inspector_sepkey_r()
257 lua_pushlstring(L, token, tlen); in mcp_inspector_sepkey_r()
Dproxy.h848 int mcp_request_find_flag_token(mcp_request_t *rq, const char flag, const char **token, size_t *len…
849 int mcp_request_find_flag_tokenint64(mcp_request_t *rq, const char flag, int64_t *token);
Dproxy_internal.c547 static int _process_token_len(mcp_parser_t *pr, size_t token) { in _process_token_len() argument
548 const char *s = pr->request + pr->tokens[token]; in _process_token_len()
549 const char *e = pr->request + pr->tokens[token+1]; in _process_token_len()
Dconfigure.ac90 AS_IF(test "$CLANG" = "yes",[CFLAGS="$CFLAGS -Wno-language-extension-token"])
/memcached-1.6.32/doc/
Dprotocol.txt549 - O(token): opaque value, consumes a token and copies back with response
557 - E(token): use token as new CAS value if item is modified
559 - R(token): if remaining TTL is less than token, win for recache
585 - O(token): opaque value, consumes a token and copies back with response
623 - E(token): use token as new CAS value if item is modified
645 - R(token): if token is less than remaining TTL win for recache
732 - E(token): use token as new CAS value (see metaget for detail)
733 - F(token): set client flags to token (32 bit unsigned numeric)
756 - F(token): set client flags to token (32 bit unsigned numeric)
827 - E(token): use token as new CAS value (see metaget for detail)
[all …]
/memcached-1.6.32/vendor/mcmc/
Dmcmc.c130 …__((unused)) MCMC_STATIC int _mcmc_token_len(const char *line, mcmc_tokenizer_t *t, size_t token) { in _mcmc_token_len() argument
131 const char *s = line + t->tokens[token]; in _mcmc_token_len()
132 const char *e = line + t->tokens[token+1]; in _mcmc_token_len()
140 …CMC_STATIC const char *_mcmc_token(const char *line, mcmc_tokenizer_t *t, size_t token, int *len) { in _mcmc_token() argument
141 const char *s = line + t->tokens[token]; in _mcmc_token()
143 const char *e = line + t->tokens[token+1]; in _mcmc_token()
Dmcmc.h162 int _mcmc_token_len(const char *line, mcmc_tokenizer_t *t, size_t token);
163 const char *_mcmc_token(const char *line, mcmc_tokenizer_t *t, size_t token, int *len);