/third_party/musl/src/signal/ |
D | block.c | 6 #if ULONG_MAX == 0xffffffff && _NSIG == 129 17 #if _NSIG == 65 23 #if _NSIG == 65 33 __syscall(SYS_rt_sigprocmask, SIG_BLOCK, &all_mask, set, _NSIG/8); in __block_all_sigs() 38 __syscall(SYS_rt_sigprocmask, SIG_BLOCK, &app_mask, set, _NSIG/8); in __block_app_sigs() 43 __syscall(SYS_rt_sigprocmask, SIG_SETMASK, set, 0, _NSIG/8); in __restore_sigs()
|
D | sigaction.c | 17 static unsigned long handler_set[_NSIG/(8*sizeof(long))]; 29 unsigned long set[_NSIG/(8*sizeof(long))]; in __libc_sigaction() 45 SIGPT_SET, 0, _NSIG/8); in __libc_sigaction() 64 memcpy(&ksa.mask, &sa->sa_mask, _NSIG/8); in __libc_sigaction() 66 int r = __syscall(SYS_rt_sigaction, sig, sa?&ksa:0, old?&ksa_old:0, _NSIG/8); in __libc_sigaction() 74 memcpy(&old->sa_mask, &ksa_old.mask, _NSIG/8); in __libc_sigaction() 81 if (sig-32U < 3 || sig-1U >= _NSIG-1) { in __sigaction()
|
D | sigtimedwait.c | 16 ts ? ((long long[]){s, ns}) : 0, _NSIG/8); in do_sigtimedwait() 20 ts ? ((long[]){CLAMP(s), ns}) : 0, _NSIG/8);; in do_sigtimedwait() 22 return __syscall_cp(SYS_rt_sigtimedwait, mask, si, ts, _NSIG/8); in do_sigtimedwait()
|
D | sigemptyset.c | 7 if (sizeof(long)==4 || _NSIG > 65) set->__bits[1] = 0; in sigemptyset() 8 if (sizeof(long)==4 && _NSIG > 65) { in sigemptyset()
|
D | sigfillset.c | 9 if (_NSIG > 65) { in sigfillset() 15 if (_NSIG > 65) set->__bits[1] = 0xfffffffffffffffful; in sigfillset()
|
D | sigrtmax.c | 5 return _NSIG-1; in __libc_current_sigrtmax()
|
D | sigsuspend.c | 6 return syscall_cp(SYS_rt_sigsuspend, mask, _NSIG/8); in sigsuspend()
|
/third_party/libunwind/src/setjmp/ |
D | siglongjmp.c | 34 #if !defined(_NSIG) 36 # define _NSIG (_SIG_MAXSIG - 1) macro 38 # define _NSIG NSIG macro 100 if (UNW_NUM_EH_REGS < 4 || _NSIG > 16 * sizeof (unw_word_t)) in siglongjmp() 107 || (_NSIG > 8 * sizeof (unw_word_t) in siglongjmp()
|
/third_party/musl/src/exit/ |
D | abort.c | 23 &(struct k_sigaction){.handler = SIG_DFL}, 0, _NSIG/8); in abort() 26 &(long[_NSIG/(8*sizeof(long))]){1UL<<(SIGABRT-1)}, 0, _NSIG/8); in abort()
|
/third_party/musl/porting/liteos_a/user/src/exit/ |
D | abort.c | 18 __syscall(SYS_rt_sigprocmask, SIG_UNBLOCK, &set, 0, _NSIG / 8); in abort() 32 &(long[_NSIG/(8*sizeof(long))]){1UL<<(SIGABRT-1)}, 0, _NSIG/8); in abort()
|
/third_party/musl/porting/liteos_a/user/src/signal/ |
D | sigaction.c | 246 if (sig < SIGHUP || sig > (_NSIG - 1)) return -EINVAL; in __sig_action_opr() 286 static unsigned long handler_set[_NSIG/(8*sizeof(long))]; 298 unsigned long set[_NSIG/(8*sizeof(long))]; in __libc_sigaction() 316 SIGPT_SET, 0, _NSIG/8); in __libc_sigaction() 335 memcpy(&ksa.sa_mask, &sa->sa_mask, _NSIG/8); in __libc_sigaction() 339 return syscall(SYS_rt_sigaction, sig, sa?&ksa:0, old?&ksa_old:0, _NSIG/8); in __libc_sigaction() 350 memcpy(&old->sa_mask, &ksa_old.sa_mask, _NSIG/8); in __libc_sigaction() 357 if (sig-32U < 3 || sig-1U >= _NSIG-1) { in __sigaction()
|
/third_party/ltp/include/lapi/ |
D | epoll.h | 29 timeout, sigmask, _NSIG / 8); in epoll_pwait() 46 NULL, sigmask, _NSIG / 8); in epoll_pwait2() 54 &ts, sigmask, _NSIG / 8); in epoll_pwait2()
|
/third_party/musl/src/linux/ |
D | signalfd.c | 9 int ret = __syscall(SYS_signalfd4, fd, sigs, _NSIG/8, flags); in signalfd() 12 ret = __syscall(SYS_signalfd, fd, sigs, _NSIG/8); in signalfd()
|
D | ppoll.c | 19 mask, _NSIG/8); in ppoll() 25 to ? ((long[]){s, ns}) : 0, mask, _NSIG/8); in ppoll()
|
/third_party/musl/src/string/ |
D | strsignal.c | 94 #if _NSIG > 65 111 if (signum - 1U >= _NSIG-1) signum = 0; in strsignal()
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/ |
D | signal.h | 58 #define _NSIG 65 macro 60 #define SIGRTMAX (_NSIG - 1)
|
/third_party/musl/porting/liteos_a/user/src/select/ |
D | select.c | 33 ((syscall_arg_t[]){ 0, _NSIG/8 })); in select() 42 tv ? ((long long[]){s, ns}) : 0, ((syscall_arg_t[]){ 0, _NSIG/8 })); in select()
|
/third_party/musl/src/select/ |
D | select.c | 33 ((syscall_arg_t[]){ 0, _NSIG/8 })); in select() 42 tv ? ((long[]){s, ns}) : 0, ((syscall_arg_t[]){ 0, _NSIG/8 })); in select()
|
/third_party/ltp/testcases/kernel/syscalls/rt_sigtimedwait/ |
D | rt_sigtimedwait01.c | 11 return tst_syscall(__NR_rt_sigtimedwait, set, info, timeout, _NSIG/8); in my_rt_sigtimedwait() 19 return tst_syscall(__NR_rt_sigtimedwait_time64, set, info, timeout, _NSIG/8); in my_rt_sigtimedwait_time64()
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
D | pthread_impl.h | 73 ((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \ 76 ((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
D | pthread_impl.h | 72 ((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \ 75 ((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
D | pthread_impl.h | 73 ((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \ 76 ((sigset_t *)(const unsigned long [_NSIG/8/sizeof(long)]){ \
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | signal.h | 160 #define SIGRTMAX (_NSIG - 1) 187 #define NSIG _NSIG
|
/third_party/python/Include/internal/ |
D | pycore_pylifecycle.h | 18 # if defined(_NSIG) 19 # define NSIG _NSIG /* For BSD/SysV */
|
/third_party/ltp/include/old/ |
D | ltp_signal.h | 53 #define SIGSETSIZE (_NSIG / 8)
|