Searched refs:act (Results 1 - 8 of 8) 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 Dinit_parser.c505 void (*func)(struct action *act))
508 struct action *act; local
510 act = node_to_item(node, struct action, alist);
511 if (!strcmp(act->name, trigger)) {
512 func(act);
520 struct action *act; local
522 act = node_to_item(node, struct action, alist);
523 if (!strncmp(act->name, "property:", strlen("property:"))) {
524 const char *test = act->name + strlen("property:");
531 action_add_queue_tail(act);
504 action_for_each_trigger(const char *trigger, void (*func)(struct action *act)) argument
540 struct action *act; local
573 struct action *act; local
591 action_add_queue_tail(struct action *act) argument
604 struct action *act = node_to_item(node, struct action, qlist); local
828 struct action *act; local
849 struct action *act = state->context; local
[all...]
H A Dsignal_handler.c143 struct sigaction act; local
144 memset(&act, 0, sizeof(act));
145 act.sa_handler = sigchld_handler;
146 act.sa_flags = SA_NOCLDSTOP;
147 sigaction(SIGCHLD, &act, 0);
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.c517 static struct command *get_first_command(struct action *act) argument
520 node = list_head(&act->commands);
521 if (!node || list_empty(&act->commands))
527 static struct command *get_next_command(struct action *act, struct command *cmd) argument
533 if (node == &act->commands)
539 static int is_last_command(struct action *act, struct command *cmd) argument
541 return (list_tail(&act->commands) == &cmd->clist);
/system/core/toolbox/upstream-netbsd/lib/libutil/
H A Draise_default_signal.c66 struct sigaction origact, act; local
74 (void)memset(&act, 0, sizeof(act));
75 act.sa_handler = SIG_DFL;
76 act.sa_flags = 0;
77 if ((sigemptyset(&act.sa_mask) == -1) ||
89 if (sigaction(sig, &act, &origact) == -1)
/system/core/libbacktrace/
H A DBacktraceThread.cpp191 struct sigaction act, oldact; local
192 memset(&act, 0, sizeof(act));
193 act.sa_sigaction = SignalHandler;
194 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK;
195 sigemptyset(&act.sa_mask);
196 if (sigaction(THREAD_SIGNAL, &act, &oldact) != 0) {
/system/core/debuggerd/
H A Ddebuggerd.cpp372 struct sigaction act; local
373 act.sa_handler = SIG_DFL;
374 sigemptyset(&act.sa_mask);
375 sigaddset(&act.sa_mask,SIGCHLD);
376 act.sa_flags = SA_NOCLDWAIT;
377 sigaction(SIGCHLD, &act, 0);

Completed in 285 milliseconds