Home
last modified time | relevance | path

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

12345678910>>...18

/external/valgrind/main/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/oprofile/daemon/
Doprofiled.c216 struct sigaction act; in opd_setup_signals() local
218 act.sa_handler = opd_alarm; in opd_setup_signals()
219 act.sa_flags = 0; in opd_setup_signals()
220 sigemptyset(&act.sa_mask); in opd_setup_signals()
222 if (sigaction(SIGALRM, &act, NULL)) { in opd_setup_signals()
227 act.sa_handler = opd_sighup; in opd_setup_signals()
228 act.sa_flags = 0; in opd_setup_signals()
229 sigemptyset(&act.sa_mask); in opd_setup_signals()
230 sigaddset(&act.sa_mask, SIGALRM); in opd_setup_signals()
232 if (sigaction(SIGHUP, &act, NULL)) { in opd_setup_signals()
[all …]
Dopd_perfmon.c167 struct sigaction act; in setup_signals() local
175 act.sa_handler = child_sigusr1; in setup_signals()
176 act.sa_flags = 0; in setup_signals()
177 sigemptyset(&act.sa_mask); in setup_signals()
179 if (sigaction(SIGUSR1, &act, NULL)) { in setup_signals()
184 act.sa_handler = child_sigusr2; in setup_signals()
185 act.sa_flags = 0; in setup_signals()
186 sigemptyset(&act.sa_mask); in setup_signals()
188 if (sigaction(SIGUSR2, &act, NULL)) { in setup_signals()
193 act.sa_handler = child_sigterm; in setup_signals()
[all …]
/external/valgrind/main/coregrind/
Dm_redir.c311 static void show_active ( const HChar* left, Active* act );
733 Active act; in generate_and_add_actives() local
776 act.from_addr = sym_addr; in generate_and_add_actives()
777 act.to_addr = sp->to_addr; in generate_and_add_actives()
778 act.parent_spec = parent_spec; in generate_and_add_actives()
779 act.parent_sym = parent_sym; in generate_and_add_actives()
780 act.becTag = sp->becTag; in generate_and_add_actives()
781 act.becPrio = sp->becPrio; in generate_and_add_actives()
782 act.isWrap = sp->isWrap; in generate_and_add_actives()
783 act.isIFunc = isIFunc; in generate_and_add_actives()
[all …]
/external/qemu/
Dos-posix.c58 struct sigaction act; in os_setup_early_signal_handling() local
59 sigfillset(&act.sa_mask); in os_setup_early_signal_handling()
60 act.sa_flags = 0; in os_setup_early_signal_handling()
61 act.sa_handler = SIG_IGN; in os_setup_early_signal_handling()
62 sigaction(SIGPIPE, &act, NULL); in os_setup_early_signal_handling()
77 struct sigaction act; in os_setup_signal_handling() local
79 memset(&act, 0, sizeof(act)); in os_setup_signal_handling()
80 act.sa_handler = termsig_handler; in os_setup_signal_handling()
81 sigaction(SIGINT, &act, NULL); in os_setup_signal_handling()
82 sigaction(SIGHUP, &act, NULL); in os_setup_signal_handling()
[all …]
Dlog-rotate-android.c41 struct sigaction act; in qemu_log_rotation_init() local
42 sigfillset(&act.sa_mask); in qemu_log_rotation_init()
43 act.sa_flags = 0; in qemu_log_rotation_init()
44 act.sa_handler = rotate_qemu_logs_handler; in qemu_log_rotation_init()
45 if (sigaction(SIGUSR1, &act, NULL) == -1) { in qemu_log_rotation_init()
/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/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/chromium_org/base/mac/
Dos_crash_dumps.cc45 struct sigaction act = {}; in DisableOSCrashDumps() local
46 act.sa_handler = ExitSignalHandler; in DisableOSCrashDumps()
50 act.sa_flags = SA_ONSTACK; in DisableOSCrashDumps()
52 if (sigemptyset(&act.sa_mask) != 0) in DisableOSCrashDumps()
54 if (sigaction(signals_to_intercept[i], &act, NULL) != 0) in DisableOSCrashDumps()
/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/valgrind/main/memcheck/tests/
Dsigaltstack.c16 struct sigaction act; in main() local
31 act.sa_flags=SA_ONSTACK; in main()
32 act.sa_handler=&sig_handler; in main()
33 sigemptyset(&act.sa_mask); in main()
34 res = sigaction(SIGUSR1,&act,0); in main()
/external/bluetooth/bluedroid/stack/srvc/
Dsrvc_eng.c220 UINT8 act = SRVC_ACT_RSP; in srvc_eng_process_read_req() local
228act = dis_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, p_data->is_long, p_status); in srvc_eng_process_read_req()
231act = battery_s_read_attr_value(clcb_idx, p_data->handle, &p_rsp->attr_value, p_data->is_long, p_s… in srvc_eng_process_read_req()
235 return act; in srvc_eng_process_read_req()
242 UINT8 act = SRVC_ACT_RSP; in srvc_eng_process_write_req() local
247 act = dis_write_attr_value(p_data, p_status); in srvc_eng_process_write_req()
251 act = battery_s_write_attr_value(clcb_idx, p_data, p_status); in srvc_eng_process_write_req()
256 return act; in srvc_eng_process_write_req()
273 UINT8 act = SRVC_ACT_IGNORE; in srvc_eng_s_request_cback() local
285 act = srvc_eng_process_read_req(clcb_idx, &p_data->read_req, &rsp_msg, &status); in srvc_eng_s_request_cback()
[all …]
/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()
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()
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()
/external/fio/
Diolog.c25 const char *act[] = { "read", "write", "sync", "datasync", in log_io_u() local
34 act[io_u->ddir], io_u->offset, in log_io_u()
41 const char *act[] = { "add", "open", "close" }; in log_file() local
55 fprintf(td->iolog_f, "%s %s\n", f->file_name, act[what]); in log_file()
316 char *fname, *act; in read_iolog2() local
328 act = malloc(256+16); in read_iolog2()
335 r = sscanf(p, "%256s %256s %llu %u", fname, act, &offset, in read_iolog2()
341 if (!strcmp(act, "wait")) in read_iolog2()
343 else if (!strcmp(act, "read")) in read_iolog2()
345 else if (!strcmp(act, "write")) in read_iolog2()
[all …]
/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/qemu/target-i386/
Dkvm-gs-restore.c104 struct sigaction act, old_act; in take_signal_handler() local
115 memcpy(&act, &old_act, sizeof(struct sigaction)); in take_signal_handler()
121 act.sa_sigaction = temp_sig_sigaction; in take_signal_handler()
126 act.sa_handler = temp_sig_handler; in take_signal_handler()
129 sigaction(i, &act, NULL); in take_signal_handler()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-ot-shape-complex-indic-machine.hh1549 unsigned int p, pe, eof, ts HB_UNUSED, te HB_UNUSED, act HB_UNUSED; in find_syllables()
1558 act = 0; in find_syllables()
1672 { switch( act ) { in find_syllables()
1689 {act = 1;} in find_syllables()
1695 {act = 5;} in find_syllables()
1701 {act = 6;} in find_syllables()
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-indic-machine.hh1549 unsigned int p, pe, eof, ts HB_UNUSED, te HB_UNUSED, act HB_UNUSED; in find_syllables()
1558 act = 0; in find_syllables()
1672 { switch( act ) { in find_syllables()
1689 {act = 1;} in find_syllables()
1695 {act = 5;} in find_syllables()
1701 {act = 6;} in find_syllables()
/external/compiler-rt/test/tsan/
Dsignal_malloc.cc19 struct sigaction act = {}; in main() local
20 act.sa_sigaction = &handler; in main()
21 sigaction(SIGPROF, &act, 0); in main()
Dsignal_errno.cc35 struct sigaction act = {}; in main() local
36 act.sa_sigaction = &MyHandler; in main()
37 sigaction(SIGPROF, &act, 0); in main()
/external/chromium_org/third_party/libjingle/source/talk/examples/call/
Dconsole.cc153 struct sigaction act; in OnMessage() local
154 act.sa_handler = &DoNothing; in OnMessage()
155 sigemptyset(&act.sa_mask); in OnMessage()
156 act.sa_flags = 0; in OnMessage()
157 if (sigaction(SIGUSR1, &act, NULL) < 0) { in OnMessage()
/external/bluetooth/bluedroid/stack/gatt/
Dgatt_auth.c315 tGATT_SEC_ACTION act = GATT_SEC_OK; in gatt_determine_sec_act() local
326 return act; in gatt_determine_sec_act()
354 act = GATT_SEC_ENCRYPT_MITM; in gatt_determine_sec_act()
360 act = GATT_SEC_ENCRYPT_NO_MITM; in gatt_determine_sec_act()
367 if (act == GATT_SEC_OK) in gatt_determine_sec_act()
383 act = GATT_SEC_SIGN_DATA; in gatt_determine_sec_act()
387 act = GATT_SEC_ENCRYPT; in gatt_determine_sec_act()
395 act = GATT_SEC_ENCRYPT; in gatt_determine_sec_act()
401 return act ; in gatt_determine_sec_act()

12345678910>>...18