Searched refs:act (Results 1 - 11 of 11) sorted by relevance

/system/core/init/
H A Dinit_parser.h25 void action_add_queue_tail(struct action *act);
27 void (*func)(struct action *act));
H A Dsignal_handler.c133 struct sigaction act; local
134 memset(&act, 0, sizeof(act));
135 act.sa_handler = sigchld_handler;
136 act.sa_flags = SA_NOCLDSTOP;
137 sigaction(SIGCHLD, &act, 0);
H A Dinit_parser.c501 void (*func)(struct action *act))
504 struct action *act; local
506 act = node_to_item(node, struct action, alist);
507 if (!strcmp(act->name, trigger)) {
508 func(act);
516 struct action *act; local
518 act = node_to_item(node, struct action, alist);
519 if (!strncmp(act->name, "property:", strlen("property:"))) {
520 const char *test = act->name + strlen("property:");
527 action_add_queue_tail(act);
500 action_for_each_trigger(const char *trigger, void (*func)(struct action *act)) argument
536 struct action *act; local
568 struct action *act; local
584 action_add_queue_tail(struct action *act) argument
595 struct action *act = node_to_item(node, struct action, qlist); local
818 struct action *act; local
838 struct action *act = state->context; local
[all...]
H A Dparser.c14 struct action *act;
36 act = node_to_item(node, struct action, alist);
37 RAW("on %s\n", act->name);
38 list_for_each(node2, &act->commands) {
H A Dinit.c508 static struct command *get_first_command(struct action *act) argument
511 node = list_head(&act->commands);
512 if (!node || list_empty(&act->commands))
518 static struct command *get_next_command(struct action *act, struct command *cmd) argument
524 if (node == &act->commands)
530 static int is_last_command(struct action *act, struct command *cmd) argument
532 return (list_tail(&act->commands) == &cmd->clist);
/system/extras/tests/bionic/libc/other/
H A Dtest_timer_create2.c81 struct sigaction act[1]; local
87 memset(act, 0, sizeof(*act));
88 act->sa_handler = handle;
89 sigaction( SIGUSR1, act, NULL );
/system/core/sh/
H A Dtrap.c236 struct sigaction act, oact; local
304 act.sa_handler = sigact;
305 sigemptyset(&act.sa_mask);
306 act.sa_flags = 0;
308 act.sa_flags |= SA_INTERRUPT;
310 if(sigaction(signo, &act, &oact) < 0)
H A Dexec.c427 find_command(char *name, struct cmdentry *entry, int act, const char *path) argument
439 if (act & DO_ABS) {
461 act |= DO_ALTPATH;
463 if (act & DO_ALTPATH && strstr(path, "%builtin") != NULL)
464 act |= DO_ALTBLTIN;
471 if (act & DO_ALTPATH) {
477 if (act & DO_NOFUNC) {
483 if ((act & DO_ALTBLTIN) || builtinloc >= 0) {
496 if ((act & DO_ALTPATH ? !(act
[all...]
/system/core/libcorkscrew/
H A Dbacktrace.c152 struct sigaction act; local
154 memset(&act, 0, sizeof(act));
155 act.sa_sigaction = unwind_backtrace_thread_signal_handler;
156 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK;
157 sigemptyset(&act.sa_mask);
163 if (!sigaction(SIGURG, &act, &oact)) {
/system/core/debuggerd/
H A Ddebuggerd.c417 struct sigaction act; local
442 act.sa_handler = SIG_DFL;
443 sigemptyset(&act.sa_mask);
444 sigaddset(&act.sa_mask,SIGCHLD);
445 act.sa_flags = SA_NOCLDWAIT;
446 sigaction(SIGCHLD, &act, 0);
/system/core/adb/
H A Dsockets.c847 asocket *create_smart_socket(void (*action_cb)(asocket *s, const char *act)) argument
861 void smart_socket_action(asocket *s, const char *act) argument

Completed in 12 milliseconds