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 Dinit_parser.c334 void (*func)(struct action *act))
337 struct action *act; local
339 act = node_to_item(node, struct action, alist);
340 if (!strcmp(act->name, trigger)) {
341 func(act);
349 struct action *act; local
351 act = node_to_item(node, struct action, alist);
352 if (!strncmp(act->name, "property:", strlen("property:"))) {
353 const char *test = act->name + strlen("property:");
360 action_add_queue_tail(act);
333 action_for_each_trigger(const char *trigger, void (*func)(struct action *act)) argument
369 struct action *act; local
401 struct action *act; local
417 action_add_queue_tail(struct action *act) argument
428 struct action *act = node_to_item(node, struct action, qlist); local
641 struct action *act; local
661 struct action *act = state->context; local
[all...]
H A Dsignal_handler.c133 struct sigaction act; local
135 act.sa_handler = sigchld_handler;
136 act.sa_flags = SA_NOCLDSTOP;
137 act.sa_mask = 0;
138 act.sa_restorer = NULL;
139 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.c462 static struct command *get_first_command(struct action *act) argument
465 node = list_head(&act->commands);
466 if (!node || list_empty(&act->commands))
472 static struct command *get_next_command(struct action *act, struct command *cmd) argument
478 if (node == &act->commands)
484 static int is_last_command(struct action *act, struct command *cmd) argument
486 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/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
H A DEffectsVideoCapture.java66 Activity act = inst.startActivitySync(intent);
68 act.finish();
/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/debuggerd/
H A Ddebuggerd.c903 struct sigaction act; local
926 act.sa_handler = SIG_DFL;
927 sigemptyset(&act.sa_mask);
928 sigaddset(&act.sa_mask,SIGCHLD);
929 act.sa_flags = SA_NOCLDWAIT;
930 sigaction(SIGCHLD, &act, 0);
/system/core/adb/
H A Dsockets.c812 asocket *create_smart_socket(void (*action_cb)(asocket *s, const char *act)) argument
826 void smart_socket_action(asocket *s, const char *act) argument

Completed in 2687 milliseconds