Home
last modified time | relevance | path

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

/system/core/init/
Dinit.cpp75 static struct command *cur_command = NULL; variable
590 if (!cur_action || !cur_command || is_last_command(cur_action, cur_command)) { in execute_one_command()
592 cur_command = NULL; in execute_one_command()
600 cur_command = get_first_command(cur_action); in execute_one_command()
602 cur_command = get_next_command(cur_action, cur_command); in execute_one_command()
605 if (!cur_command) { in execute_one_command()
609 int result = cur_command->func(cur_command->nargs, cur_command->args); in execute_one_command()
611 for (int i = 0; i < cur_command->nargs; i++) { in execute_one_command()
612 strlcat(cmd_str, cur_command->args[i], sizeof(cmd_str)); in execute_one_command()
613 if (i < cur_command->nargs - 1) { in execute_one_command()
[all …]