Home
last modified time | relevance | path

Searched refs:sig (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/bionic/
Dsignal.cpp60 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 …]
Dkillpg.cpp32 int killpg(pid_t pgrp, int sig) { in killpg() argument
37 return kill(-pgrp, sig); in killpg()
Draise.cpp34 int raise(int sig) { in raise() argument
39 return tgkill(pid, tid, sig); in raise()
Dpthread_kill.cpp37 int pthread_kill(pthread_t t, int sig) { in pthread_kill() argument
45 return (tgkill(getpid(), tid, sig) == -1) ? errno : 0; in pthread_kill()
Dpthread_sigqueue.cpp40 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()
Dndk_cruft.cpp233 int tkill(pid_t tid, int sig) { in tkill() argument
234 return syscall(__NR_tkill, tid, sig); in tkill()
/bionic/libc/private/
Dbionic_inline_raise.h38 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/
Dsignal_test.cpp244 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 …]
Dpthread_test.cpp1813 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/
Dpsignal.c58 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/
Dfw.h60 unsigned char sig[SND_SOF_FW_SIG_SIZE]; member
/bionic/libc/kernel/uapi/asm-generic/
Dsignal.h69 unsigned long sig[_NSIG_WORDS]; member
/bionic/libc/
DSECCOMP_ALLOWLIST_COMMON.TXT15 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
DSYSCALLS.TXT62 int tgkill(pid_t tgid, pid_t tid, int sig) all
/bionic/libc/include/arpa/
Dnameser.h267 unsigned char sig[NS_PACKETSZ]; member