| /netbsd-src/tests/lib/libpthread/ |
| H A D | t_sigmask.c | 109 struct sigaction act; in ATF_TC_BODY() local 111 act.sa_sigaction = upcalls_not_started_handler1; in ATF_TC_BODY() 112 sigemptyset(&act.sa_mask); in ATF_TC_BODY() 113 sigaddset(&act.sa_mask, SIGUSR2); in ATF_TC_BODY() 114 act.sa_flags = SA_SIGINFO; in ATF_TC_BODY() 116 ATF_REQUIRE_EQ(sigaction(SIGUSR1, &act, NULL), 0); in ATF_TC_BODY() 118 act.sa_sigaction = upcalls_not_started_handler2; in ATF_TC_BODY() 119 sigemptyset(&act.sa_mask); in ATF_TC_BODY() 120 act.sa_flags = SA_SIGINFO; in ATF_TC_BODY() 121 (void)sigaction(SIGUSR2, &act, NULL); in ATF_TC_BODY() [all …]
|
| H A D | t_siglongjmp.c | 78 struct sigaction act; in ATF_TC_BODY() local 89 act.sa_sigaction = handler; in ATF_TC_BODY() 90 sigemptyset(&act.sa_mask); in ATF_TC_BODY() 91 sigaddset(&act.sa_mask, SIGUSR2); in ATF_TC_BODY() 92 act.sa_flags = 0; in ATF_TC_BODY() 93 sigaction(SIGSEGV, &act, NULL); in ATF_TC_BODY()
|
| H A D | t_sleep.c | 74 struct sigaction act; in ATF_TC_BODY() local 79 act.sa_handler = handler; in ATF_TC_BODY() 80 sigemptyset(&act.sa_mask); in ATF_TC_BODY() 81 act.sa_flags = 0; in ATF_TC_BODY() 82 sigaction(SIGALRM, &act, NULL); in ATF_TC_BODY()
|
| /netbsd-src/usr.sbin/moused/ |
| H A D | moused.c | 451 static int r_protocol(u_char b, mousestatus_t *act); 455 static void r_timestamp(mousestatus_t *act); 470 static int kidspad(u_char rxc, mousestatus_t *act); 1419 r_protocol(u_char rBuf, mousestatus_t *act) in r_protocol() argument 1508 return kidspad(rBuf, act); in r_protocol() 1594 act->dx = act->dy = act->dz = 0; in r_protocol() 1595 act->obutton = act->button; in r_protocol() 1597 act->button = (1 << (rBuf - 13)) in r_protocol() 1598 | (act->obutton & (MOUSE_BUTTON1DOWN | MOUSE_BUTTON3DOWN)); in r_protocol() 1616 act->dx = act->dy = 0; in r_protocol() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/objc/ |
| H A D | ChangeLog | 20 * objc-act.cc (objc_init): Initialize interface and class 78 * objc-act.cc (objc_build_component_ref): Likewise. 82 * objc-act.h (objc_common_init_ts): Likewise. 92 * objc-act.c: Moved to... 93 * objc-act.cc: ...here. 112 * objc-act.c (objc_rewrite_function_call): Build OBJ_TYPE_REF 130 * objc-act.c (objc_build_setter_call): Remove unreachable 163 * objc-act.c (objc_add_property_declaration): Register unavailable 192 * objc-act.c (objc_build_constructor): Handle empty constructor 208 * objc-act.c (objc_maybe_build_modify_expr): Replace direct uses [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgfortran/io/ |
| H A D | fbuf.c | 44 u->fbuf->act = u->fbuf->pos = 0; in fbuf_init() 68 (long unsigned) u->fbuf->pos, (long unsigned) u->fbuf->act); in fbuf_debug() 69 for (size_t ii = 0; ii < u->fbuf->act; ii++) in fbuf_debug() 99 if (u->mode == READING && u->fbuf->act > u->fbuf->pos) in fbuf_reset() 101 seekval = - (u->fbuf->act - u->fbuf->pos); in fbuf_reset() 104 u->fbuf->act = u->fbuf->pos = 0; in fbuf_reset() 129 if (u->fbuf->pos > u->fbuf->act) in fbuf_alloc() 130 u->fbuf->act = u->fbuf->pos; in fbuf_alloc() 160 if (u->fbuf->act > u->fbuf->pos && u->fbuf->pos > 0) in fbuf_flush() 162 u->fbuf->act - u->fbuf->pos); in fbuf_flush() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libgfortran/io/ |
| H A D | fbuf.c | 44 u->fbuf->act = u->fbuf->pos = 0; in fbuf_init() 68 (long unsigned) u->fbuf->pos, (long unsigned) u->fbuf->act); in fbuf_debug() 69 for (size_t ii = 0; ii < u->fbuf->act; ii++) in fbuf_debug() 99 if (u->mode == READING && u->fbuf->act > u->fbuf->pos) in fbuf_reset() 101 seekval = - (u->fbuf->act - u->fbuf->pos); in fbuf_reset() 104 u->fbuf->act = u->fbuf->pos = 0; in fbuf_reset() 129 if (u->fbuf->pos > u->fbuf->act) in fbuf_alloc() 130 u->fbuf->act = u->fbuf->pos; in fbuf_alloc() 160 if (u->fbuf->act > u->fbuf->pos && u->fbuf->pos > 0) in fbuf_flush() 162 u->fbuf->act - u->fbuf->pos); in fbuf_flush() [all …]
|
| /netbsd-src/tests/lib/libi386/ |
| H A D | t_user_ldt.c | 205 struct sigaction act; in ATF_TC_BODY() local 217 memset(&act, 0, sizeof(act)); in ATF_TC_BODY() 218 act.sa_sigaction = iretq_gp__gp_handler; in ATF_TC_BODY() 219 act.sa_flags = SA_SIGINFO; in ATF_TC_BODY() 220 ATF_REQUIRE_EQ(sigaction(SIGSEGV, &act, NULL), 0); in ATF_TC_BODY() 249 struct sigaction act; in ATF_TC_BODY() local 261 memset(&act, 0, sizeof(act)); in ATF_TC_BODY() 262 act.sa_sigaction = iretq_np__np_handler; in ATF_TC_BODY() 263 act.sa_flags = SA_SIGINFO; in ATF_TC_BODY() 264 ATF_REQUIRE_EQ(sigaction(SIGBUS, &act, NULL), 0); in ATF_TC_BODY() [all …]
|
| /netbsd-src/sys/arch/prep/stand/boot/ |
| H A D | kbd.c | 85 u_char dt, brk, act; in kbd() local 100 act = action[dt]; in kbd() 101 if (act & SHF) in kbd() 103 if (act & ALT) in kbd() 105 if (act & NUM) { in kbd() 106 if (act & L) { in kbd() 114 if (act & CTL) in kbd() 116 if (act & CPS) { in kbd() 117 if (act & L) { in kbd() 125 if (act & STP) { in kbd() [all …]
|
| /netbsd-src/sys/arch/bebox/stand/boot/ |
| H A D | kbd.c | 85 u_char dt, brk, act; in kbd() local 100 act = action[dt]; in kbd() 101 if (act & SHF) in kbd() 103 if (act & ALT) in kbd() 105 if (act & NUM) { in kbd() 106 if (act & L) { in kbd() 114 if (act & CTL) in kbd() 116 if (act & CPS) { in kbd() 117 if (act & L) { in kbd() 125 if (act & STP) { in kbd() [all …]
|
| /netbsd-src/tests/usr.bin/cc/ |
| H A D | t_tsan_signal_errno.sh | 72 struct sigaction act = {}; 73 act.sa_sigaction = &MyHandler; 74 sigaction(SIGPROF, &act, 0); 100 struct sigaction act = {}; 101 act.sa_sigaction = &MyHandler; 102 sigaction(SIGPROF, &act, 0); 134 struct sigaction act = {}; 135 act.sa_sigaction = &MyHandler; 136 sigaction(SIGPROF, &act, 0); 168 struct sigaction act = {}; [all …]
|
| /netbsd-src/tests/usr.bin/c++/ |
| H A D | t_tsan_signal_errno.sh | 72 struct sigaction act = {}; 73 act.sa_sigaction = &MyHandler; 74 sigaction(SIGPROF, &act, 0); 100 struct sigaction act = {}; 101 act.sa_sigaction = &MyHandler; 102 sigaction(SIGPROF, &act, 0); 134 struct sigaction act = {}; 135 act.sa_sigaction = &MyHandler; 136 sigaction(SIGPROF, &act, 0); 168 struct sigaction act = {}; [all …]
|
| /netbsd-src/lib/libutil/ |
| H A D | raise_default_signal.c | 66 struct sigaction origact, act; in raise_default_signal() local 74 (void)memset(&act, 0, sizeof(act)); in raise_default_signal() 75 act.sa_handler = SIG_DFL; in raise_default_signal() 76 act.sa_flags = 0; in raise_default_signal() 77 if ((sigemptyset(&act.sa_mask) == -1) || in raise_default_signal() 89 if (sigaction(sig, &act, &origact) == -1) in raise_default_signal()
|
| /netbsd-src/sys/arch/cesfic/cesfic/ |
| H A D | sic6351.c | 56 act2icr(int act) in act2icr() argument 58 if (act == 17) in act2icr() 60 if (act == 19) in act2icr() 62 if (act == 25) in act2icr() 64 if (act == 39) in act2icr() 66 panic("sic: unknown act %d", act); in act2icr()
|
| /netbsd-src/external/cddl/osnet/dev/dtrace/ |
| H A D | dtrace_ioctl.c | 139 dtrace_action_t *act; in dtrace_ioctl() local 169 for (act = agg->dtag_first; ; act = act->dta_next) { in dtrace_ioctl() 170 ASSERT(act->dta_intuple || in dtrace_ioctl() 171 DTRACEACT_ISAGG(act->dta_kind)); in dtrace_ioctl() 181 if (act->dta_rec.dtrd_size == 0) { in dtrace_ioctl() 188 if (act == &agg->dtag_action) in dtrace_ioctl() 207 for (act = agg->dtag_first; ; act = act->dta_next) { in dtrace_ioctl() 208 dtrace_recdesc_t rec = act->dta_rec; in dtrace_ioctl() 226 if (act == &agg->dtag_action) in dtrace_ioctl() 486 dtrace_action_t *act; in dtrace_ioctl() local [all …]
|
| /netbsd-src/lib/libc/compat/sys/ |
| H A D | compat___sigaction14_sigtramp.c | 51 __libc_sigaction14(int sig, const struct sigaction *act, struct sigaction *oact) in __weak_alias() 58 if (act == NULL) in __weak_alias() 59 return __sigaction_sigtramp(sig, act, oact, NULL, 0); in __weak_alias() 66 if ((act->sa_flags & SA_SIGINFO) == 0) { in __weak_alias() 68 int rv = __sigaction_sigtramp(sig, act, oact, in __weak_alias() 80 return __sigaction_sigtramp(sig, act, oact, in __weak_alias()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/ |
| H A D | TransformActions.cpp | 200 ActionData &act = CachedActions[i]; in commitTransaction() local 201 switch (act.Kind) { in commitTransaction() 203 if (!canInsert(act.Loc)) in commitTransaction() 207 if (!canInsertAfterToken(act.Loc)) in commitTransaction() 211 if (!canRemoveRange(act.R1)) in commitTransaction() 215 assert(act.S); in commitTransaction() 216 if (!canRemoveRange(act.S->getSourceRange())) in commitTransaction() 220 if (!canReplaceRange(act.R1, act.R2)) in commitTransaction() 224 if (!canReplaceText(act.Loc, act.Text1)) in commitTransaction() 244 ActionData &act = CachedActions[i]; in commitTransaction() local [all …]
|
| /netbsd-src/lib/libc/gen/ |
| H A D | signal.c | 72 struct sigaction act, oact; in bsd_signal() local 74 act.sa_handler = func; in bsd_signal() 75 act.sa_flags = SA_RESTART; in bsd_signal() 77 sigemptyset(&act.sa_mask); in bsd_signal() 78 sigaddset(&act.sa_mask, sig); in bsd_signal() 79 if (sigaction(sig, &act, &oact) < 0) in bsd_signal()
|
| /netbsd-src/external/gpl2/lvm2/dist/include/ |
| H A D | lvm-wrappers.h | 32 struct sigaction act; \ 33 (void) sigaction(sig, NULL, &act); \ 35 act.sa_flags &= SA_RESTART; \ 37 act.sa_flags |= SA_RESTART; \ 38 ret = sigaction(sig, &act, NULL); \
|
| /netbsd-src/external/gpl2/lvm2/dist/lib/misc/ |
| H A D | lvm-wrappers.h | 32 struct sigaction act; \ 33 (void) sigaction(sig, NULL, &act); \ 35 act.sa_flags &= SA_RESTART; \ 37 act.sa_flags |= SA_RESTART; \ 38 ret = sigaction(sig, &act, NULL); \
|
| /netbsd-src/external/bsd/ipf/dist/tools/ |
| H A D | ipscan_y.y | 52 struct action act; member 57 %type <act> action redirect result 337 void addtag(tstr, cp, sp, act) in addtag() argument 340 struct action *act; 371 if (act->act_val == IPSL_CLOSE) { 373 } else if (act->act_val == IPSL_TRACK) { 375 } else if (act->act_val == IPSL_REDIRECT) { 377 isc.ipsc_ip = act->act_ip; 378 isc.ipsc_port = act->act_port; 382 if (act->act_else == IPSL_CLOSE) { [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | cfgloopanal.c | 77 basic_block act; in mark_irreducible_loops() local 92 FOR_BB_BETWEEN (act, ENTRY_BLOCK_PTR_FOR_FN (cfun), in mark_irreducible_loops() 95 act->flags &= ~BB_IRREDUCIBLE_LOOP; in mark_irreducible_loops() 96 FOR_EACH_EDGE (e, ei, act->succs) in mark_irreducible_loops() 103 FOR_BB_BETWEEN (act, ENTRY_BLOCK_PTR_FOR_FN (cfun), in mark_irreducible_loops() 105 FOR_EACH_EDGE (e, ei, act->succs) in mark_irreducible_loops() 111 src = BB_REPR (act); in mark_irreducible_loops() 116 && e->dest->loop_father->latch == act) in mark_irreducible_loops() 130 if (!flow_bb_inside_loop_p (act->loop_father, e->dest)) in mark_irreducible_loops() 132 depth = 1 + loop_depth (find_common_loop (act->loop_father, in mark_irreducible_loops() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | cfgloopanal.cc | 77 basic_block act; in mark_irreducible_loops() local 92 FOR_BB_BETWEEN (act, ENTRY_BLOCK_PTR_FOR_FN (cfun), in mark_irreducible_loops() 95 act->flags &= ~BB_IRREDUCIBLE_LOOP; in mark_irreducible_loops() 96 FOR_EACH_EDGE (e, ei, act->succs) in mark_irreducible_loops() 103 FOR_BB_BETWEEN (act, ENTRY_BLOCK_PTR_FOR_FN (cfun), in mark_irreducible_loops() 105 FOR_EACH_EDGE (e, ei, act->succs) in mark_irreducible_loops() 111 src = BB_REPR (act); in mark_irreducible_loops() 116 && dominated_by_p (CDI_DOMINATORS, act, e->dest)) in mark_irreducible_loops() 130 if (!flow_bb_inside_loop_p (act->loop_father, e->dest)) in mark_irreducible_loops() 132 depth = 1 + loop_depth (find_common_loop (act->loop_father, in mark_irreducible_loops() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_signal_interceptors.inc | 31 #define SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact) \ 32 { return REAL(sigaction_symname)(signum, act, oldact); } 54 const __sanitizer_sigaction *act, __sanitizer_sigaction *oldact) { 56 SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact); 61 int real_sigaction(int signum, const void *act, void *oldact) { 62 return REAL(sigaction_symname)(signum, (const __sanitizer_sigaction *)act, 73 DEFINE_REAL(int, sigaction, int signum, const __sanitizer_sigaction *act,
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_signal_interceptors.inc | 34 #define SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact) \ 35 { return REAL(sigaction_symname)(signum, act, oldact); } 57 const __sanitizer_sigaction *act, __sanitizer_sigaction *oldact) { 59 SIGNAL_INTERCEPTOR_SIGACTION_IMPL(signum, act, oldact); 64 int real_sigaction(int signum, const void *act, void *oldact) { 65 return REAL(sigaction_symname)(signum, (const __sanitizer_sigaction *)act, 76 DEFINE_REAL(int, sigaction, int signum, const __sanitizer_sigaction *act,
|