Searched defs:act (Results 1 - 8 of 8) sorted by relevance
/system/extras/tests/bionic/libc/other/ |
H A D | test_timer_create2.c | 81 struct sigaction act[1]; local 87 memset(act, 0, sizeof(*act)); 88 act->sa_handler = handle; 89 sigaction( SIGUSR1, act, NULL );
|
/system/core/init/ |
H A D | signal_handler.c | 135 struct sigaction act; local 136 memset(&act, 0, sizeof(act)); 137 act.sa_handler = sigchld_handler; 138 act.sa_flags = SA_NOCLDSTOP; 139 sigaction(SIGCHLD, &act, 0);
|
H A D | init_parser.c | 505 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 571 struct action *act; local 588 action_add_queue_tail(struct action *act) argument 601 struct action *act = node_to_item(node, struct action, qlist); local 823 struct action *act; local 844 struct action *act = state->context; local [all...] |
H A D | init.c | 504 static struct command *get_first_command(struct action *act) argument 507 node = list_head(&act->commands); 508 if (!node || list_empty(&act->commands)) 514 static struct command *get_next_command(struct action *act, struct command *cmd) argument 520 if (node == &act->commands) 526 static int is_last_command(struct action *act, struct command *cmd) argument 528 return (list_tail(&act->commands) == &cmd->clist);
|
/system/core/libcorkscrew/ |
H A D | backtrace.c | 160 struct sigaction act; local 162 memset(&act, 0, sizeof(act)); 163 act.sa_sigaction = unwind_backtrace_thread_signal_handler; 164 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; 165 sigemptyset(&act.sa_mask); 171 if (!sigaction(SIGURG, &act, &oact)) {
|
/system/core/sh/ |
H A D | trap.c | 236 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 D | exec.c | 427 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 D | debuggerd.c | 427 struct sigaction act; local 454 act.sa_handler = SIG_DFL; 455 sigemptyset(&act.sa_mask); 456 sigaddset(&act.sa_mask,SIGCHLD); 457 act.sa_flags = SA_NOCLDWAIT; 458 sigaction(SIGCHLD, &act, 0);
|
Completed in 415 milliseconds