Home
last modified time | relevance | path

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

12345678910>>...25

/external/valgrind/none/tests/
Dcoolo_sigaction.cpp16 struct sigaction act; in setupHandlers() local
17 act.sa_handler=theHandler; in setupHandlers()
18 sigemptyset(&(act.sa_mask)); in setupHandlers()
19 sigaddset(&(act.sa_mask), SIGCHLD); in setupHandlers()
21 sigprocmask(SIG_UNBLOCK, &(act.sa_mask), 0); in setupHandlers()
23 act.sa_flags = SA_NOCLDSTOP; in setupHandlers()
29 act.sa_flags |= SA_RESTART; in setupHandlers()
32 sigaction( SIGCHLD, &act, &oldChildHandlerData ); in setupHandlers()
34 act.sa_handler=SIG_IGN; in setupHandlers()
35 sigemptyset(&(act.sa_mask)); in setupHandlers()
[all …]
/external/valgrind/coregrind/
Dm_redir.c311 static void show_active ( const HChar* left, const Active* act );
789 Active act; in generate_and_add_actives() local
832 act.from_addr = sym_avmas.main; in generate_and_add_actives()
833 act.to_addr = sp->to_addr; in generate_and_add_actives()
834 act.parent_spec = parent_spec; in generate_and_add_actives()
835 act.parent_sym = parent_sym; in generate_and_add_actives()
836 act.becTag = sp->becTag; in generate_and_add_actives()
837 act.becPrio = sp->becPrio; in generate_and_add_actives()
838 act.isWrap = sp->isWrap; in generate_and_add_actives()
839 act.isIFunc = isIFunc; in generate_and_add_actives()
[all …]
/external/compiler-rt/test/tsan/
Dsignal_reset.cc28 struct sigaction act = {}; in reset() local
30 act.sa_handler = &handler; in reset()
31 if (sigaction(SIGPROF, &act, 0)) { in reset()
35 act.sa_handler = SIG_IGN; in reset()
36 if (sigaction(SIGPROF, &act, 0)) { in reset()
45 struct sigaction act = {}; in main() local
46 act.sa_handler = SIG_IGN; in main()
47 if (sigaction(SIGPROF, &act, 0)) { in main()
Dsignal_recursive.cc93 struct sigaction act = {}; in Init() local
94 act.sa_flags = SA_RESTART; in Init()
95 act.sa_handler = &SuspendHandler; in Init()
96 if (sigaction(kSigSuspend, &act, NULL) != 0) in Init()
98 act.sa_handler = &RestartHandler; in Init()
99 if (sigaction(kSigRestart, &act, NULL) != 0) in Init()
Dsignal_longjmp.cc49 struct sigaction act; in main() local
50 act.sa_handler = sigfault_handler; in main()
51 act.sa_flags = 0; in main()
52 if (sigemptyset(&act.sa_mask)) { in main()
57 if (sigaction(SIGNAL_TO_HANDLE, &act, NULL)) { in main()
Dsignal_malloc.cc17 struct sigaction act = {}; in main() local
18 act.sa_sigaction = &handler; in main()
19 sigaction(SIGPROF, &act, 0); in main()
Dsignal_write.cc15 struct sigaction act = {}; in main() local
16 act.sa_sigaction = &handler; in main()
17 sigaction(SIGPROF, &act, 0); in main()
/external/selinux/policycoreutils/mcstrans/src/
Dmcstransd.c452 struct sigaction act; in initialize() local
466 act.sa_handler = sigterm_handler; in initialize()
467 sigemptyset(&act.sa_mask); in initialize()
468 sigaddset(&act.sa_mask, SIGINT); in initialize()
469 sigaddset(&act.sa_mask, SIGQUIT); in initialize()
470 sigaddset(&act.sa_mask, SIGTERM); in initialize()
471 sigaddset(&act.sa_mask, SIGHUP); in initialize()
472 act.sa_flags = 0; in initialize()
473 sigaction(SIGINT, &act, NULL); in initialize()
474 sigaction(SIGQUIT, &act, NULL); in initialize()
[all …]
/external/bison/lib/
Dsigaction.c131 sigaction (int sig, const struct sigaction *restrict act, in sigaction() argument
139 || (act && act->sa_handler == SIG_ERR)) in sigaction()
158 if (!act && !oact) in sigaction()
179 if (act) in sigaction()
183 if (act->sa_handler == SIG_DFL || act->sa_handler == SIG_IGN) in sigaction()
185 if (signal (sig, act->sa_handler) == SIG_ERR) in sigaction()
193 action_array[sig] = *act; in sigaction()
/external/ltrace/testsuite/ltrace.torture/
Dsignals.c12 handler(int signum,siginfo_t *info,void *act) in handler() argument
19 struct sigaction act; in main() local
29 sigemptyset(&act.sa_mask); in main()
30 act.sa_sigaction=handler; in main()
31 act.sa_flags=SA_SIGINFO; in main()
33 if(sigaction(sig,&act,NULL) < 0) in main()
/external/ltrace/testsuite/ltrace.main/
Dsignals.c12 handler(int signum,siginfo_t *info,void *act) in handler() argument
21 struct sigaction act; in main() local
33 sigemptyset(&act.sa_mask); in main()
34 act.sa_sigaction=handler; in main()
35 act.sa_flags=SA_SIGINFO; in main()
37 if(sigaction(sig,&act,NULL) < 0) in main()
/external/minijail/
Dsignal_handler.c54 struct sigaction act; in install_sigsys_handler() local
57 memset(&act, 0, sizeof(act)); in install_sigsys_handler()
58 act.sa_sigaction = &log_sigsys_handler; in install_sigsys_handler()
59 act.sa_flags = SA_SIGINFO; in install_sigsys_handler()
64 ret = sigaction(SIGSYS, &act, NULL); in install_sigsys_handler()
/external/clang/lib/ARCMigrate/
DTransformActions.cpp201 ActionData &act = CachedActions[i]; in commitTransaction() local
202 switch (act.Kind) { in commitTransaction()
204 if (!canInsert(act.Loc)) in commitTransaction()
208 if (!canInsertAfterToken(act.Loc)) in commitTransaction()
212 if (!canRemoveRange(act.R1)) in commitTransaction()
216 assert(act.S); in commitTransaction()
217 if (!canRemoveRange(act.S->getSourceRange())) in commitTransaction()
221 if (!canReplaceRange(act.R1, act.R2)) in commitTransaction()
225 if (!canReplaceText(act.Loc, act.Text1)) in commitTransaction()
245 ActionData &act = CachedActions[i]; in commitTransaction() local
[all …]
/external/libchrome/sandbox/linux/services/
Dsyscall_wrappers.cc159 const struct sigaction* act, in sys_sigaction() argument
161 return sigaction(signum, act, oldact); in sys_sigaction()
220 const struct sigaction* act, in sys_sigaction() argument
223 if (act) { in sys_sigaction()
224 linux_act.kernel_handler = act->sa_handler; in sys_sigaction()
225 std::memcpy(&linux_act.sa_mask, &act->sa_mask, in sys_sigaction()
226 std::min(sizeof(linux_act.sa_mask), sizeof(act->sa_mask))); in sys_sigaction()
227 linux_act.sa_flags = act->sa_flags; in sys_sigaction()
245 int result = syscall(__NR_rt_sigaction, signum, act ? &linux_act : nullptr, in sys_sigaction()
253 std::min(sizeof(linux_act.sa_mask), sizeof(act->sa_mask))); in sys_sigaction()
/external/valgrind/memcheck/tests/
Dsigaltstack.c16 struct sigaction act; in main() local
32 act.sa_flags=SA_ONSTACK; in main()
33 act.sa_handler=&sig_handler; in main()
34 sigemptyset(&act.sa_mask); in main()
35 res = sigaction(SIGUSR1,&act,0); in main()
/external/google-breakpad/src/client/solaris/handler/
Dexception_handler.cc144 struct sigaction act, old_act; in SetupHandler() local
145 act.sa_handler = HandleException; in SetupHandler()
146 act.sa_flags = SA_ONSTACK; in SetupHandler()
147 if (sigaction(signo, &act, &old_act) < 0) in SetupHandler()
154 struct sigaction act; in TeardownHandler() local
155 act.sa_handler = old_handlers_[signo]; in TeardownHandler()
156 act.sa_flags = 0; in TeardownHandler()
157 sigaction(signo, &act, 0); in TeardownHandler()
/external/libunwind/tests/
DGtest-bt.c211 struct sigaction act; in main() local
221 memset (&act, 0, sizeof (act)); in main()
222 act.sa_handler = (void (*)(int)) sighandler; in main()
223 act.sa_flags = SA_SIGINFO; in main()
224 if (sigaction (SIGTERM, &act, NULL) < 0) in main()
241 memset (&act, 0, sizeof (act)); in main()
242 act.sa_handler = (void (*)(int)) sighandler; in main()
243 act.sa_flags = SA_ONSTACK | SA_SIGINFO; in main()
244 if (sigaction (SIGTERM, &act, NULL) < 0) in main()
DGtest-trace.c225 struct sigaction act; in main() local
235 memset (&act, 0, sizeof (act)); in main()
236 act.sa_handler = (void (*)(int)) sighandler; in main()
237 act.sa_flags = SA_SIGINFO; in main()
238 if (sigaction (SIGTERM, &act, NULL) < 0) in main()
255 memset (&act, 0, sizeof (act)); in main()
256 act.sa_handler = (void (*)(int)) sighandler; in main()
257 act.sa_flags = SA_ONSTACK | SA_SIGINFO; in main()
258 if (sigaction (SIGTERM, &act, NULL) < 0) in main()
Dtest-async-sig.c166 struct sigaction act; in main() local
174 memset (&act, 0, sizeof (act)); in main()
175 act.sa_handler = sighandler; in main()
176 act.sa_flags = SA_SIGINFO; in main()
177 sigaction (SIGVTALRM, &act, NULL); in main()
/external/valgrind/memcheck/tests/solaris/
Dspawn.c72 struct sigaction act; in main() local
73 bzero(&act, sizeof(act)); in main()
74 act.sa_sigaction = sigchld_handler; in main()
75 act.sa_flags = SA_SIGINFO; in main()
76 ret = sigaction(SIGCHLD, &act, NULL); in main()
/external/blktrace/
Dblkparse_fmt.c162 static void print_field(char *act, struct per_cpu_info *pci, in print_field() argument
179 fprintf(ofp, strcat(format, "s"), act); in print_field()
256 static char *parse_field(char *act, struct per_cpu_info *pci, in parse_field() argument
277 print_field(act, pci, t, elapsed, pdu_len, pdu_buf, *p++, in parse_field()
283 static void process_default(char *act, struct per_cpu_info *pci, in process_default() argument
297 if (act[0] == 'A') { in process_default()
308 t->pid, act, rwbs); in process_default()
312 switch (act[0]) { in process_default()
412 fprintf(stderr, "Unknown action %c\n", act[0]); in process_default()
418 void process_fmt(char *act, struct per_cpu_info *pci, struct blk_io_trace *t, in process_fmt() argument
[all …]
/external/valgrind/none/tests/x86-darwin/
Dbug341419.c173 struct sigaction act; in main() local
175 top_of_stack = (void *)&act; in main()
182 memset(&act, 0, sizeof(act)); in main()
183 act.sa_sigaction = handle_signal; in main()
184 act.sa_flags |= SA_SIGINFO; in main()
187 r = sigaction((using_int3 ? SIGTRAP : SIGSEGV), &act, NULL); in main()
/external/valgrind/none/tests/amd64-darwin/
Dbug341419.c183 struct sigaction act; in main() local
185 top_of_stack = (void *)&act; in main()
192 memset(&act, 0, sizeof(act)); in main()
193 act.sa_sigaction = handle_signal; in main()
194 act.sa_flags |= SA_SIGINFO; in main()
197 r = sigaction((using_int3 ? SIGTRAP : SIGSEGV), &act, NULL); in main()
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-indic-machine.hh1575 unsigned int p, pe, eof, ts HB_UNUSED, te HB_UNUSED, act HB_UNUSED; in find_syllables()
1584 act = 0; in find_syllables()
1702 { switch( act ) { in find_syllables()
1719 {act = 1;} in find_syllables()
1725 {act = 5;} in find_syllables()
1731 {act = 6;} in find_syllables()
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dsigsegv.c152 struct sigaction act; in TEST_F_SIGNAL() local
155 memset(&act, 0, sizeof(act)); in TEST_F_SIGNAL()
159 act.sa_sigaction = &TRAP_action; in TEST_F_SIGNAL()
160 act.sa_flags = SA_SIGINFO; in TEST_F_SIGNAL()
161 ret = sigaction(SIGSYS, &act, NULL); in TEST_F_SIGNAL()

12345678910>>...25