Home
last modified time | relevance | path

Searched refs:act (Results 1 – 25 of 39) sorted by relevance

12

/system/core/init/
Dinit_parser.c505 void (*func)(struct action *act)) in action_for_each_trigger() argument
508 struct action *act; in action_for_each_trigger() local
510 act = node_to_item(node, struct action, alist); in action_for_each_trigger()
511 if (!strcmp(act->name, trigger)) { in action_for_each_trigger()
512 func(act); in action_for_each_trigger()
520 struct action *act; in queue_property_triggers() local
522 act = node_to_item(node, struct action, alist); in queue_property_triggers()
523 if (!strncmp(act->name, "property:", strlen("property:"))) { in queue_property_triggers()
524 const char *test = act->name + strlen("property:"); in queue_property_triggers()
531 action_add_queue_tail(act); in queue_property_triggers()
[all …]
Dsignal_handler.c135 struct sigaction act; in signal_init() local
136 memset(&act, 0, sizeof(act)); in signal_init()
137 act.sa_handler = sigchld_handler; in signal_init()
138 act.sa_flags = SA_NOCLDSTOP; in signal_init()
139 sigaction(SIGCHLD, &act, 0); in signal_init()
Dinit_parser.h25 void action_add_queue_tail(struct action *act);
27 void (*func)(struct action *act));
Dparser.c14 struct action *act; in DUMP()
36 act = node_to_item(node, struct action, alist); in DUMP()
37 RAW("on %s\n", act->name); in DUMP()
38 list_for_each(node2, &act->commands) { in DUMP()
Dinit.c504 static struct command *get_first_command(struct action *act) in get_first_command() argument
507 node = list_head(&act->commands); in get_first_command()
508 if (!node || list_empty(&act->commands)) in get_first_command()
514 static struct command *get_next_command(struct action *act, struct command *cmd) in get_next_command() argument
520 if (node == &act->commands) in get_next_command()
526 static int is_last_command(struct action *act, struct command *cmd) in is_last_command() argument
528 return (list_tail(&act->commands) == &cmd->clist); in is_last_command()
/system/extras/tests/bionic/libc/other/
Dtest_timer_create2.c81 struct sigaction act[1]; in main() local
87 memset(act, 0, sizeof(*act)); in main()
88 act->sa_handler = handle; in main()
89 sigaction( SIGUSR1, act, NULL ); in main()
/system/core/sh/
Dtrap.c236 struct sigaction act, oact; in setsignal() local
304 act.sa_handler = sigact; in setsignal()
305 sigemptyset(&act.sa_mask); in setsignal()
306 act.sa_flags = 0; in setsignal()
308 act.sa_flags |= SA_INTERRUPT; in setsignal()
310 if(sigaction(signo, &act, &oact) < 0) in setsignal()
Dexec.c427 find_command(char *name, struct cmdentry *entry, int act, const char *path) in find_command() argument
439 if (act & DO_ABS) { in find_command()
461 act |= DO_ALTPATH; in find_command()
463 if (act & DO_ALTPATH && strstr(path, "%builtin") != NULL) in find_command()
464 act |= DO_ALTBLTIN; in find_command()
471 if (act & DO_ALTPATH) { in find_command()
477 if (act & DO_NOFUNC) { in find_command()
483 if ((act & DO_ALTBLTIN) || builtinloc >= 0) { in find_command()
496 if ((act & DO_ALTPATH ? !(act & DO_ALTBLTIN) : builtinloc < 0) && in find_command()
547 if (act & DO_NOFUNC) in find_command()
[all …]
/system/core/libcorkscrew/
Dbacktrace.c160 struct sigaction act; in unwind_backtrace_thread() local
162 memset(&act, 0, sizeof(act)); in unwind_backtrace_thread()
163 act.sa_sigaction = unwind_backtrace_thread_signal_handler; in unwind_backtrace_thread()
164 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; in unwind_backtrace_thread()
165 sigemptyset(&act.sa_mask); in unwind_backtrace_thread()
171 if (!sigaction(SIGURG, &act, &oact)) { in unwind_backtrace_thread()
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/debuggerd/
Ddebuggerd.c427 struct sigaction act; in do_server() local
454 act.sa_handler = SIG_DFL; in do_server()
455 sigemptyset(&act.sa_mask); in do_server()
456 sigaddset(&act.sa_mask,SIGCHLD); in do_server()
457 act.sa_flags = SA_NOCLDWAIT; in do_server()
458 sigaction(SIGCHLD, &act, 0); in do_server()
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/adb/
DNOTICE183 License. However, in accepting such obligations, You may act only
/system/core/run-as/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/libcutils/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/procmem/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/procrank/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/libctest/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/showmap/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/logcat/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/libpixelflinger/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/libnetutils/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/su/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/core/logwrapper/
DNOTICE182 License. However, in accepting such obligations, You may act only
/system/extras/latencytop/
DNOTICE182 License. However, in accepting such obligations, You may act only

12