Searched refs:cmds (Results 1 - 10 of 10) sorted by relevance

/dovecot/src/lib-master/
H A Dipc-client.c29 ARRAY(struct ipc_client_cmd) cmds; member in struct:ipc_client
36 const struct ipc_client_cmd *cmds; local
40 cmds = array_get(&client->cmds, &count);
64 cmds[0].callback(state, line, cmds[0].context);
66 array_delete(&client->cmds, 0, 1);
107 array_foreach(&client->cmds, cmd) {
111 array_clear(&client->cmds);
129 i_array_init(&client->cmds,
[all...]
/dovecot/src/doveadm/
H A Dclient-connection.c22 const char *const *cmds = local
24 for (; *cmds != NULL; cmds++) {
25 if (strcmp(*cmds, cmd_name) == 0) {
/dovecot/src/ipc/
H A Dipc-connection.c27 struct ipc_connection_cmd **cmds; local
32 cmds = array_get_modifiable(&cmd->conn->cmds, &count);
34 if (cmds[i] == cmd) {
35 array_delete(&cmd->conn->cmds, i, 1);
51 array_foreach(&conn->cmds, cmdp) {
183 i_array_init(&conn->cmds, 8);
207 while (array_count(&conn->cmds) > 0) {
208 cmdp = array_idx(&conn->cmds, 0);
213 array_free(&conn->cmds);
[all...]
H A Dipc-connection.h30 ARRAY(struct ipc_connection_cmd *) cmds; member in struct:ipc_connection
/dovecot/src/lib-dict/
H A Ddict-client.c89 ARRAY(struct client_dict_cmd *) cmds; member in struct:client_dict
229 struct client_dict_cmd *const *cmds; local
232 cmds = array_get(&dict->cmds, &count);
234 if (!cmds[i]->background)
235 return cmds[i];
282 array_count(&dict->cmds),
359 array_append(&dict->cmds, &cmd, 1);
415 return dict->transactions == NULL && array_count(&dict->cmds) == 0;
428 array_foreach(&dict->cmds, cmd
467 struct client_dict_cmd *const *cmds; local
494 struct client_dict_cmd *const *cmds; local
521 struct client_dict_cmd *const *cmds; local
[all...]
/dovecot/src/dict/
H A Ddict-connection.h33 ARRAY(struct dict_connection_cmd *) cmds; member in struct:dict_connection
H A Ddict-commands.c61 struct dict_connection_cmd *const *cmds; local
64 cmds = array_get(&cmd->conn->cmds, &count);
66 if (cmds[i] == cmd) {
67 array_delete(&cmd->conn->cmds, i, 1);
82 while (array_count(&conn->cmds) > 0) {
83 first_cmdp = array_idx(&conn->cmds, 0);
574 static const struct dict_cmd_func cmds[] = { variable in typeref:struct:dict_cmd_func
593 for (i = 0; cmds[i].cmd != '\0'; i++) {
594 if (cmds[
[all...]
H A Ddict-connection.c126 if (array_count(&conn->cmds) >= DICT_CONN_MAX_PENDING_COMMANDS) {
207 i_array_init(&conn->cmds, DICT_CONN_MAX_PENDING_COMMANDS);
228 i_assert(array_count(&conn->cmds) == 0);
248 array_free(&conn->cmds);
/dovecot/src/lib-smtp/
H A Dsmtp-client-command.c328 struct smtp_client_command **cmds; local
343 cmds = array_get_modifiable(&cmds_arr, &count);
345 cmd = cmds[i];
347 smtp_client_command_abort(&cmds[i]);
359 struct smtp_client_command **cmds; local
374 cmds = array_get_modifiable(&cmds_arr, &count);
376 cmd = cmds[i];
378 smtp_client_command_fail_reply(&cmds[i], reply);
1025 ARRAY(struct smtp_client_command *) cmds; member in struct:_cmd_data_context
1048 struct smtp_client_command **cmds; local
1084 struct smtp_client_command *const *cmds, *cmd; local
1167 struct smtp_client_command *const *cmds, *cmd, *cmd_prev; local
[all...]
/dovecot/src/lib-imap-client/
H A Dimapc-connection.c1283 struct imapc_command *const *cmds; local
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; local
1454 cmds
1993 struct imapc_command *const *cmds; local
2149 struct imapc_command *const *cmds, *cmd; local
2284 struct imapc_command *const *cmds; local
2311 struct imapc_command *const *cmds; local
[all...]

Completed in 48 milliseconds