Home
last modified time | relevance | path

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

/external/bison/lib/
Dsigprocmask.c116 if (sig >= 0 && sig < NSIG) in sigismember()
139 if (sig >= 0 && sig < NSIG) in sigaddset()
159 if (sig >= 0 && sig < NSIG) in sigdelset()
180 *set = ((2U << (NSIG - 1)) - 1) & ~ SIGABRT_COMPAT_MASK; in sigfillset()
188 static volatile sig_atomic_t pending_array[NSIG] /* = { 0 } */;
200 if (sig >= 0 && sig < NSIG) in blocked_handler()
210 for (sig = 0; sig < NSIG; sig++) in sigpending()
219 static volatile handler_t old_handlers[NSIG];
255 for (sig = 0; sig < NSIG; sig++) in sigprocmask()
266 sig_atomic_t received[NSIG]; in sigprocmask()
[all …]
Dsignal.in.h120 #ifndef NSIG
122 # define NSIG 32
186 # ifndef NSIG
187 # define NSIG 32
192 typedef int verify_NSIG_constraint[NSIG <= 32 ? 1 : -1];
Dsigaction.c80 static struct sigaction volatile action_array[NSIG] /* = 0 */;
90 if (sig < 0 || NSIG <= sig || !action_array[sig].sa_handler) in sigaction_handler()
138 if (sig < 0 || NSIG <= sig || sig == SIGKILL || sig == SIGSTOP in sigaction()
Dspawni.c202 for (sig = 1; sig <= NSIG; ++sig) in __spawni()
/external/strace/
Dsignal.c86 #ifndef NSIG
87 # warning: NSIG is not defined, using 32
88 # define NSIG 32 macro
89 #elif NSIG < 32
90 # error: NSIG < 32
185 static char outstr[128 + 8 * (NSIG * 2 / 3)]; in sprintsigmask_n()
189 uint32_t inverted_mask[NSIG / 32]; in sprintsigmask_n()
198 size = (bytes >= NSIG / 8) ? NSIG / 32 : (bytes + 3) / 4; in sprintsigmask_n()
252 char mask[NSIG / 8]; in print_sigset_addr_len()
266 if (len >= NSIG / 8) in print_sigset_addr_len()
[all …]
Dsyscall.c84 #ifndef NSIG
85 # warning: NSIG is not defined, using 32
86 # define NSIG 32 macro
473 for (i = 0; i <= NSIG; i++) { in qual_signal()
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/sys/
Dsignal.h205 #define NSIG 2 macro
226 #define NSIG 20 macro
269 #define NSIG 32 /* signal 0 implied */ macro
284 #define NSIG 28 macro
304 #define NSIG 32 /* signal 0 implied */ macro
/external/chromium_org/third_party/libevent/
Dsignal.c122 memset(&base->sig.evsigcaught, 0, sizeof(sig_atomic_t)*NSIG); in evsignal_init()
124 for (i = 0; i < NSIG; ++i) in evsignal_init()
213 assert(evsignal >= 0 && evsignal < NSIG); in evsignal_add()
273 assert(evsignal >= 0 && evsignal < NSIG); in evsignal_del()
319 for (i = 1; i < NSIG; ++i) { in evsignal_process()
344 for (i = 0; i < NSIG; ++i) { in evsignal_dealloc()
Devsignal.h37 struct event_list evsigevents[NSIG];
38 sig_atomic_t evsigcaught[NSIG];
Dkqueue.c75 struct event_list evsigevents[NSIG];
138 for (i = 0; i < NSIG; ++i) { in kq_init()
310 assert(nsignal >= 0 && nsignal < NSIG); in kq_add()
387 assert(nsignal >= 0 && nsignal < NSIG); in kq_del()
/external/bison/darwin-lib/
Dsignal.h432 #ifndef NSIG
434 # define NSIG 32 macro
498 # ifndef NSIG
499 # define NSIG 32 macro
504 typedef int verify_NSIG_constraint[NSIG <= 32 ? 1 : -1];
/external/bison/linux-lib/
Dsignal.h432 #ifndef NSIG
434 # define NSIG 32 macro
498 # ifndef NSIG
499 # define NSIG 32 macro
504 typedef int verify_NSIG_constraint[NSIG <= 32 ? 1 : -1];
/external/mksh/src/
Dhistrap.c32 Trap sigtraps[NSIG + 1];
979 for (i = 0; i <= NSIG; i++) { in inittraps()
1081 return ((getn(cs, &i) && 0 <= i && i < NSIG) ? in gettrap()
1104 for (i = 0; i <= NSIG; i++) { in gettrap()
1158 for (p = sigtraps, i = NSIG+1; --i >= 0; p++) in fatal_trap_check()
1176 for (p = sigtraps, i = NSIG+1; --i >= 0; p++) in trap_pending()
1210 for (p = sigtraps, i = NSIG+1; --i >= 0; p++) in runtraps()
1287 for (i = NSIG+1, p = sigtraps; --i >= 0; p++) { in cleartraps()
1301 for (i = NSIG+1, p = sigtraps; --i >= 0; p++) in restoresigs()
DBuild.sh2063 NSIG=`vq "$CPP $CFLAGS $CPPFLAGS $NOWARN conftest.c" | \
2066 case $NSIG in
2067 *mksh_cfg*) $e "Error: NSIG='$NSIG'"; NSIG=0 ;;
2068 *[\ \(\)+-]*) NSIG=`"$AWK" "BEGIN { print $NSIG }" </dev/null` ;;
2073 test $printf = echo || NSIG=`printf %d "$NSIG" 2>/dev/null`
2074 $printf "NSIG=$NSIG ... "
2078 test 1 = $HAVE_CPP_DD && test $NSIG -gt 1 && sigs="$sigs "`vq \
2082 test $NSIG -gt 1 || sigs=
2098 test $nr -gt 0 && test $nr -le $NSIG || continue
Dsh.h333 #ifndef NSIG
335 #define NSIG _NSIG macro
337 #define NSIG (SIGMAX+1) macro
339 #define NSIG (_SIGMAX+1) macro
877 #define ksh_SIGERR NSIG /* for trap ERR */
882 extern Trap sigtraps[NSIG+1];
Dfuncs.c1348 if (n > 128 && n < 128 + NSIG) in c_kill()
1350 if (n > 0 && n < NSIG) in c_kill()
1360 for (j = NSIG, ki.num_width = 1; j >= 10; j /= 10) in c_kill()
1363 for (j = 0; j < NSIG; j++) { in c_kill()
1375 print_columns(shl_stdout, (unsigned int)(NSIG - 1), in c_kill()
2255 for (p = sigtraps, i = NSIG + 1; --i >= 0; p++) in c_trap()
/external/ipsec-tools/src/racoon/
Dsession.c113 static volatile sig_atomic_t sigreq[NSIG + 1];
152 for (i = 0; i <= NSIG; i++) in session()
413 for (sig = 0; sig <= NSIG; sig++) { in check_sigreq()
/external/kernel-headers/original/uapi/asm-arm/asm/
Dsignal.h12 #define NSIG 32 macro
/external/valgrind/main/none/tests/
Dexec-sigmask.c68 for(i = 1; i < NSIG; i++) { in main()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dsignal.h15 #define NSIG 32 macro
/external/valgrind/main/coregrind/
Dm_vki.c82 vg_assert(_VKI_NSIG == NSIG); in VG_()
/external/chromium_org/testing/android/
Dnative_test_launcher.cc58 struct sigaction g_old_sa[NSIG];
/external/netperf/
Dnetlib.c64 # define NSIG _NSIG macro
844 for (i = 1; i <= NSIG; i++) { in install_signal_catchers()
/external/bison/
Dmaint.mk829 && $$1 !~ /^(?:NSIG|ENODATA)$$/\
/external/strace/debian/
Dchangelog630 * Set NSIG correctly for ARM