Lines Matching refs:cmds
1283 struct imapc_command *const *cmds;
1290 cmds = array_get(&conn->cmd_send_queue, &cmds_count);
1298 } else if (cmds_count > 0 && cmds[0]->wait_for_literal) {
1300 cmds[0]->wait_for_literal = FALSE;
1303 cmds = array_get(&conn->cmd_wait_list, &cmds_count);
1304 if (cmds_count > 0 && cmds[0]->authenticate) {
1311 cmds[0]->callback(&reply, cmds[0]->context);
1397 struct imapc_command *const *cmds, *cmd = NULL;
1454 cmds = array_get(&conn->cmd_send_queue, &count);
1455 if (count > 0 && cmds[0]->tag == conn->cur_tag) {
1456 cmd = cmds[0];
1459 cmds = array_get(&conn->cmd_wait_list, &count);
1461 if (cmds[i]->tag == conn->cur_tag) {
1462 cmd = cmds[i];
1993 struct imapc_command *const *cmds;
1996 cmds = array_get(&conn->cmd_wait_list, &count);
2000 "Command '%s' timed out", imapc_command_get_readable(cmds[0])), 0, FALSE);
2149 struct imapc_command *const *cmds, *cmd;
2159 cmds = array_get(&conn->cmd_send_queue, &count);
2162 cmd = cmds[0];
2284 struct imapc_command *const *cmds;
2300 cmds = array_get(&conn->cmd_send_queue, &count);
2302 if ((cmds[i-1]->flags & IMAPC_COMMAND_FLAG_RECONNECTED) == 0)
2311 struct imapc_command *const *cmds;
2322 cmds = array_get(&conn->cmd_send_queue, &count);
2324 if (imapc_command_get_sending_stream(cmds[0]) != NULL &&
2325 !cmds[0]->wait_for_literal) {