Lines Matching refs:comm
136 int comm = c->cmd; in complete_nread_ascii() local
182 …ret = store_item(it, comm, c->thread, &nbytes, &cas, c->cas ? c->cas : get_cas_id(), c->set_stale); in complete_nread_ascii()
1400 short comm = NREAD_SET; in process_mset_command() local
1492 comm = NREAD_ADD; in process_mset_command()
1496 comm = NREAD_APPENDVIV; in process_mset_command()
1499 comm = NREAD_APPEND; in process_mset_command()
1504 comm = NREAD_PREPENDVIV; in process_mset_command()
1507 comm = NREAD_PREPEND; in process_mset_command()
1511 comm = NREAD_REPLACE; in process_mset_command()
1514 comm = NREAD_SET; in process_mset_command()
1526 if (of.has_cas && (comm == NREAD_SET || comm == NREAD_REPLACE)) { in process_mset_command()
1527 comm = NREAD_CAS; in process_mset_command()
1556 NULL, status, comm, key, nkey, 0, 0); in process_mset_command()
1583 c->cmd = comm; in process_mset_command()
1590 if (of.set_stale && comm == NREAD_CAS) { in process_mset_command()
1993 static void process_update_command(conn *c, token_t *tokens, const size_t ntokens, int comm, bool h… in process_update_command() argument
2060 NULL, status, comm, key, nkey, 0, 0, c->sfd); in process_update_command()
2067 if (comm == NREAD_SET) { in process_update_command()
2091 c->cmd = comm; in process_update_command()
2827 int comm; in process_command_ascii() local
2903 if (strcmp(tokens[COMMAND_TOKEN].value, "set") == 0 && (comm = NREAD_SET)) { in process_command_ascii()
2906 process_update_command(c, tokens, ntokens, comm, false); in process_command_ascii()
2920 if ((strcmp(tokens[COMMAND_TOKEN].value, "add") == 0 && (comm = NREAD_ADD)) || in process_command_ascii()
2921 (strcmp(tokens[COMMAND_TOKEN].value, "append") == 0 && (comm = NREAD_APPEND)) ) { in process_command_ascii()
2924 process_update_command(c, tokens, ntokens, comm, false); in process_command_ascii()
2929 if (strcmp(tokens[COMMAND_TOKEN].value, "cas") == 0 && (comm = NREAD_CAS)) { in process_command_ascii()
2932 process_update_command(c, tokens, ntokens, comm, true); in process_command_ascii()
2974 (strcmp(tokens[COMMAND_TOKEN].value, "replace") == 0 && (comm = NREAD_REPLACE)) || in process_command_ascii()
2975 (strcmp(tokens[COMMAND_TOKEN].value, "prepend") == 0 && (comm = NREAD_PREPEND)) ) { in process_command_ascii()
2978 process_update_command(c, tokens, ntokens, comm, false); in process_command_ascii()