Lines Matching refs:KEY_TOKEN

245 #define KEY_TOKEN 1  macro
551 token_t *key_token = &tokens[KEY_TOKEN]; in process_get_command()
841 if (ntokens < 3 || tokens[KEY_TOKEN].length > KEY_MAX_LENGTH) { in process_meta_command()
846 char *key = tokens[KEY_TOKEN].value; in process_meta_command()
847 size_t nkey = tokens[KEY_TOKEN].length; in process_meta_command()
950 … ret = base64_decode((unsigned char *)tokens[KEY_TOKEN].value, tokens[KEY_TOKEN].length, in _meta_flag_preparse()
951 (unsigned char *)tokens[KEY_TOKEN].value, tokens[KEY_TOKEN].length); in _meta_flag_preparse()
957 tokens[KEY_TOKEN].length = ret; in _meta_flag_preparse()
1094 if (tokens[KEY_TOKEN].length > KEY_MAX_LENGTH) { in process_mget_command()
1117 key = tokens[KEY_TOKEN].value; in process_mget_command()
1118 nkey = tokens[KEY_TOKEN].length; in process_mget_command()
1167 for (i = KEY_TOKEN+1; i < ntokens-1; i++) { in process_mget_command()
1361 for (i = KEY_TOKEN+1; i < ntokens-1; i++) { in process_mget_command()
1413 if (tokens[KEY_TOKEN].length > KEY_MAX_LENGTH) { in process_mset_command()
1432 if (!safe_strtol(tokens[KEY_TOKEN + 1].value, (int32_t*)&vlen)) { in process_mset_command()
1450 key = tokens[KEY_TOKEN].value; in process_mset_command()
1451 nkey = tokens[KEY_TOKEN].length; in process_mset_command()
1460 for (i = KEY_TOKEN+1; i < ntokens-1; i++) { in process_mset_command()
1626 if (tokens[KEY_TOKEN].length > KEY_MAX_LENGTH) { in process_mdelete_command()
1646 key = tokens[KEY_TOKEN].value; in process_mdelete_command()
1647 nkey = tokens[KEY_TOKEN].length; in process_mdelete_command()
1649 for (i = KEY_TOKEN+1; i < ntokens-1; i++) { in process_mdelete_command()
1784 if (tokens[KEY_TOKEN].length > KEY_MAX_LENGTH) { in process_marithmetic_command()
1803 key = tokens[KEY_TOKEN].value; in process_marithmetic_command()
1804 nkey = tokens[KEY_TOKEN].length; in process_marithmetic_command()
1906 for (i = KEY_TOKEN+1; i < ntokens-1; i++) { in process_marithmetic_command()
1957 for (i = KEY_TOKEN+1; i < ntokens-1; i++) { in process_marithmetic_command()
2007 if (tokens[KEY_TOKEN].length > KEY_MAX_LENGTH) { in process_update_command()
2012 key = tokens[KEY_TOKEN].value; in process_update_command()
2013 nkey = tokens[KEY_TOKEN].length; in process_update_command()
2106 if (tokens[KEY_TOKEN].length > KEY_MAX_LENGTH) { in process_touch_command()
2111 key = tokens[KEY_TOKEN].value; in process_touch_command()
2112 nkey = tokens[KEY_TOKEN].length; in process_touch_command()
2149 if (tokens[KEY_TOKEN].length > KEY_MAX_LENGTH) { in process_arithmetic_command()
2154 key = tokens[KEY_TOKEN].value; in process_arithmetic_command()
2155 nkey = tokens[KEY_TOKEN].length; in process_arithmetic_command()
2198 bool hold_is_zero = strcmp(tokens[KEY_TOKEN+1].value, "0") == 0; in process_delete_command()
2210 key = tokens[KEY_TOKEN].value; in process_delete_command()
2211 nkey = tokens[KEY_TOKEN].length; in process_delete_command()