Home
last modified time | relevance | path

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

/system/core/init/
Dinit.cpp74 static struct action *cur_action = NULL; variable
571 void build_triggers_string(char *name_str, int length, struct action *cur_action) { in build_triggers_string() argument
575 list_for_each(node, &cur_action->triggers) { in build_triggers_string()
577 if (node != cur_action->triggers.next) { in build_triggers_string()
590 if (!cur_action || !cur_command || is_last_command(cur_action, cur_command)) { in execute_one_command()
591 cur_action = action_remove_queue_head(); in execute_one_command()
593 if (!cur_action) { in execute_one_command()
597 build_triggers_string(name_str, sizeof(name_str), cur_action); in execute_one_command()
599 INFO("processing action %p (%s)\n", cur_action, name_str); in execute_one_command()
600 cur_command = get_first_command(cur_action); in execute_one_command()
[all …]
Dinit.h141 void build_triggers_string(char *name_str, int length, struct action *cur_action);
/system/core/libbacktrace/
Dbacktrace_test.cpp513 struct sigaction cur_action; in TEST() local
514 ASSERT_TRUE(sigaction(THREAD_SIGNAL, nullptr, &cur_action) == 0); in TEST()
528 EXPECT_EQ(cur_action.sa_sigaction, new_action.sa_sigaction); in TEST()
533 cur_action.sa_flags &= ~SA_RESTORER; in TEST()
537 cur_action.sa_flags &= ~0x04000000; in TEST()
540 EXPECT_EQ(cur_action.sa_flags, new_action.sa_flags); in TEST()