Searched refs:act (Results 1 - 11 of 11) sorted by last modified time
/system/core/adb/ |
H A D | sockets.c | 847 asocket *create_smart_socket(void (*action_cb)(asocket *s, const char *act)) argument 861 void smart_socket_action(asocket *s, const char *act) argument
|
/system/core/debuggerd/ |
H A D | debuggerd.c | 417 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/init/ |
H A D | init.c | 508 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);
|
H A D | init_parser.c | 501 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 D | init_parser.h | 25 void action_add_queue_tail(struct action *act); 27 void (*func)(struct action *act));
|
H A D | parser.c | 14 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 D | signal_handler.c | 133 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);
|
/system/core/libcorkscrew/ |
H A D | backtrace.c | 152 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/sh/ |
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...] |
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)
|
/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 );
|
Completed in 74 milliseconds