/bionic/libc/bionic/ |
D | signal.cpp | 60 int SigAddSet(SigSetT* set, int sig) { in SigAddSet() argument 61 int bit = sig - 1; // Signal numbers start at 1, but bit positions start at 0. in SigAddSet() 71 int sigaddset(sigset_t* set, int sig) { in sigaddset() argument 72 return SigAddSet(set, sig); in sigaddset() 75 int sigaddset64(sigset64_t* set, int sig) { in sigaddset64() argument 76 return SigAddSet(set, sig); in sigaddset64() 89 int SigDelSet(SigSetT* set, int sig) { in SigDelSet() argument 90 int bit = sig - 1; // Signal numbers start at 1, but bit positions start at 0. in SigDelSet() 100 int sigdelset(sigset_t* set, int sig) { in sigdelset() argument 101 return SigDelSet(set, sig); in sigdelset() [all …]
|
D | killpg.cpp | 32 int killpg(pid_t pgrp, int sig) { in killpg() argument 37 return kill(-pgrp, sig); in killpg()
|
D | raise.cpp | 34 int raise(int sig) { in raise() argument 39 return tgkill(pid, tid, sig); in raise()
|
D | pthread_kill.cpp | 37 int pthread_kill(pthread_t t, int sig) { in pthread_kill() argument 45 return (tgkill(getpid(), tid, sig) == -1) ? errno : 0; in pthread_kill()
|
D | pthread_sigqueue.cpp | 40 int pthread_sigqueue(pthread_t t, int sig, const union sigval value) { in pthread_sigqueue() argument 52 return syscall(__NR_rt_tgsigqueueinfo, getpid(), tid, sig, &siginfo) ? errno : 0; in pthread_sigqueue()
|
D | ndk_cruft.cpp | 233 int tkill(pid_t tid, int sig) { in tkill() argument 234 return syscall(__NR_tkill, tid, sig); in tkill()
|
/bionic/libc/private/ |
D | bionic_inline_raise.h | 38 static inline __always_inline void inline_raise(int sig, void* value = nullptr) { 52 register long r2 __asm__("r2") = sig; 59 register long x2 __asm__("x2") = sig; 67 register long rdx __asm__("rdx") = sig; 75 syscall(__NR_rt_tgsigqueueinfo, pid, tid, sig, &info);
|
/bionic/tests/ |
D | signal_test.cpp | 244 int sig) { in TestSigAction() argument 252 ASSERT_EQ(0, sigaction_fn(sig, nullptr, &original_sa)); in TestSigAction() 263 sigaddset_fn(&sa.sa_mask, sig); in TestSigAction() 266 ASSERT_EQ(0, sigaction_fn(sig, &sa, nullptr)); in TestSigAction() 270 ASSERT_EQ(0, sigaction_fn(sig, nullptr, &sa)); in TestSigAction() 281 sigaddset_fn(&sa.sa_mask, sig); in TestSigAction() 284 ASSERT_EQ(0, sigaction_fn(sig, &sa, nullptr)); in TestSigAction() 288 ASSERT_EQ(0, sigaction_fn(sig, nullptr, &sa)); in TestSigAction() 297 ASSERT_EQ(0, sigaction_fn(sig, &original_sa, nullptr)); in TestSigAction() 640 int sig; in TEST() local [all …]
|
D | pthread_test.cpp | 1813 static void getstack_signal_handler(int sig) { in getstack_signal_handler() argument 1814 ASSERT_EQ(SIGUSR1, sig); in getstack_signal_handler()
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
D | psignal.c | 58 psignal(int sig, const char *s) in __weak_alias() 73 v->iov_base = __UNCONST(__strsignal((int)sig, buf, sizeof(buf))); in __weak_alias()
|
/bionic/libc/kernel/uapi/sound/sof/ |
D | fw.h | 60 unsigned char sig[SND_SOF_FW_SIG_SIZE]; member
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | signal.h | 69 unsigned long sig[_NSIG_WORDS]; member
|
/bionic/libc/ |
D | SECCOMP_ALLOWLIST_COMMON.TXT | 15 int rt_tgsigqueueinfo:int rt_tgsigqueueinfo(pid_t tgid, pid_t tid, int sig, siginfo_t *uinfo) all 25 int tkill:tkill(int tid, int sig) all
|
D | SYSCALLS.TXT | 62 int tgkill(pid_t tgid, pid_t tid, int sig) all
|
/bionic/libc/include/arpa/ |
D | nameser.h | 267 unsigned char sig[NS_PACKETSZ]; member
|