/external/valgrind/none/tests/ |
coolo_sigaction.cpp | 16 struct sigaction act; local 17 act.sa_handler=theHandler; 18 sigemptyset(&(act.sa_mask)); 19 sigaddset(&(act.sa_mask), SIGCHLD); 21 sigprocmask(SIG_UNBLOCK, &(act.sa_mask), 0); 23 act.sa_flags = SA_NOCLDSTOP; 29 act.sa_flags |= SA_RESTART; 32 sigaction( SIGCHLD, &act, &oldChildHandlerData ); 34 act.sa_handler=SIG_IGN; 35 sigemptyset(&(act.sa_mask)) [all...] |
/bionic/libc/bionic/ |
siginterrupt.c | 34 struct sigaction act; local 36 (void) sigaction(sig, NULL, &act); 39 act.sa_flags &= ~SA_RESTART; 41 act.sa_flags |= SA_RESTART; 43 return sigaction(sig, &act, NULL);
|
/external/ltrace/testsuite/ltrace.main/ |
signals.c | 12 handler(int signum,siginfo_t *info,void *act) 21 struct sigaction act; local 33 sigemptyset(&act.sa_mask); 34 act.sa_sigaction=handler; 35 act.sa_flags=SA_SIGINFO; 37 if(sigaction(sig,&act,NULL) < 0)
|
/external/ltrace/testsuite/ltrace.torture/ |
signals.c | 12 handler(int signum,siginfo_t *info,void *act) 19 struct sigaction act; local 29 sigemptyset(&act.sa_mask); 30 act.sa_sigaction=handler; 31 act.sa_flags=SA_SIGINFO; 33 if(sigaction(sig,&act,NULL) < 0)
|
/external/compiler-rt/test/tsan/ |
signal_malloc.cc | 17 struct sigaction act = {}; local 18 act.sa_sigaction = &handler; 19 sigaction(SIGPROF, &act, 0);
|
signal_write.cc | 15 struct sigaction act = {}; local 16 act.sa_sigaction = &handler; 17 sigaction(SIGPROF, &act, 0);
|
signal_reset.cc | 28 struct sigaction act = {}; local 30 act.sa_handler = &handler; 31 if (sigaction(SIGPROF, &act, 0)) { 35 act.sa_handler = SIG_IGN; 36 if (sigaction(SIGPROF, &act, 0)) { 45 struct sigaction act = {}; local 46 act.sa_handler = SIG_IGN; 47 if (sigaction(SIGPROF, &act, 0)) {
|
signal_longjmp.cc | 49 struct sigaction act; local 50 act.sa_handler = sigfault_handler; 51 act.sa_flags = 0; 52 if (sigemptyset(&act.sa_mask)) { 57 if (sigaction(SIGNAL_TO_HANDLE, &act, NULL)) {
|
signal_errno.cc | 38 struct sigaction act = {}; local 39 act.sa_sigaction = &MyHandler; 40 sigaction(SIGPROF, &act, 0);
|
signal_sync.cc | 31 struct sigaction act = {}; local 32 act.sa_handler = &handler; 33 if (sigaction(SIGPROF, &act, 0)) {
|
signal_thread.cc | 25 struct sigaction act = {}; local 26 act.sa_handler = &handler; 27 if (sigaction(SIGPROF, &act, 0)) {
|
signal_recursive.cc | 93 struct sigaction act = {}; local 94 act.sa_flags = SA_RESTART; 95 act.sa_handler = &SuspendHandler; 96 if (sigaction(kSigSuspend, &act, NULL) != 0) 98 act.sa_handler = &RestartHandler; 99 if (sigaction(kSigRestart, &act, NULL) != 0)
|
/external/minijail/ |
signal_handler.c | 54 struct sigaction act; local 57 memset(&act, 0, sizeof(act)); 58 act.sa_sigaction = &log_sigsys_handler; 59 act.sa_flags = SA_SIGINFO; 64 ret = sigaction(SIGSYS, &act, NULL);
|
/system/core/libmemunreachable/ |
ScopedAlarm.h | 31 struct sigaction act{}; struct 32 act.sa_handler = [](int) { 35 sigaction(SIGALRM, &act, &oldact); 46 struct sigaction act{}; struct 47 act.sa_handler = SIG_DFL; 48 sigaction(SIGALRM, &act, NULL);
|
ScopedSignalHandler.h | 47 struct sigaction act{}; struct 48 act.sa_sigaction = [](int signal, siginfo_t* si, void* uctx) { 51 act.sa_flags = SA_SIGINFO; 53 int ret = sigaction(signal, &act, &old_act_);
|
/external/valgrind/memcheck/tests/ |
sigaltstack.c | 16 struct sigaction act; local 32 act.sa_flags=SA_ONSTACK; 33 act.sa_handler=&sig_handler; 34 sigemptyset(&act.sa_mask); 35 res = sigaction(SIGUSR1,&act,0);
|
/cts/tools/dasm/src/java_cup/runtime/ |
lr_parser.java | 8 * parsers act by shifting input onto a parse stack until the symbols 476 int act; local 509 act = get_action(((symbol)stack.peek()).parse_state, cur_token.sym); 512 if (act > 0) 515 cur_token.parse_state = act-1; 523 else if (act < 0) 526 lhs_sym = do_action((-act)-1, this, stack, tos); 529 lhs_sym_num = production_tab[(-act)-1][0]; 530 handle_size = production_tab[(-act)-1][1]; 540 act = get_reduce(((symbol)stack.peek()).parse_state, lhs_sym_num) 637 int act; local 834 int act; local 955 int act; local 1027 int act; local [all...] |
/system/core/toolbox/upstream-netbsd/lib/libutil/ |
raise_default_signal.c | 66 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/init/ |
signal_handler.cpp | 66 struct sigaction act; local 67 memset(&act, 0, sizeof(act)); 68 act.sa_handler = SIGCHLD_handler; 69 act.sa_flags = SA_NOCLDSTOP; 70 sigaction(SIGCHLD, &act, 0);
|
/system/core/libbacktrace/ |
BacktraceCurrent.cpp | 136 struct sigaction act, oldact; local 137 memset(&act, 0, sizeof(act)); 138 act.sa_sigaction = SignalHandler; 139 act.sa_flags = SA_RESTART | SA_SIGINFO | SA_ONSTACK; 140 sigemptyset(&act.sa_mask); 141 if (sigaction(THREAD_SIGNAL, &act, &oldact) != 0) { 173 memset(&act, 0, sizeof(act)); 174 act.sa_sigaction = SignalLogOnly [all...] |
/external/bison/lib/ |
sigaction.c | 127 signal SIG. If not NULL, ACT describes the new behavior. If not 131 sigaction (int sig, const struct sigaction *restrict act, 139 || (act && act->sa_handler == SIG_ERR)) 158 if (!act && !oact) 179 if (act) 183 if (act->sa_handler == SIG_DFL || act->sa_handler == SIG_IGN) 185 if (signal (sig, act->sa_handler) == SIG_ERR) 193 action_array[sig] = *act; [all...] |
/cts/tools/dasm/src/java_cup/ |
parse_action_table.java | 63 parse_action act; local 72 act = under_state[row].under_term[col]; 73 if (act != null && act.kind() == parse_action.REDUCE) 76 ((reduce_action)act).reduce_with().note_reduction_use();
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
signal_during_stop_the_world.cc | 22 struct sigaction act = {}; local 23 act.sa_handler = handler; 24 sigaction(SIGPROF, &act, 0);
|
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
TestBase.java | 46 protected ScriptGroupTestActivity act; field in class:TestBase 51 MessageProcessor(ScriptGroupTestActivity act) { 52 mAct = act; 66 act = ipact; 68 mRS.setMessageHandler(new MessageProcessor(act)); 74 createTest(act.getResources());
|
/external/valgrind/coregrind/ |
m_redir.c | 311 static void show_active ( const HChar* left, const Active* act ); 789 Active act; local 1057 Active* act; local 1180 Active act; local 1811 Active* act; local [all...] |