/openbsd-current/gnu/usr.bin/perl/ext/POSIX/t/ |
H A D | sigset.t | 15 my @signo; 43 push @signo, $val; 47 cmp_ok(scalar @signo, '>=', 6, 58 foreach (@signo) { 64 is($sigset->addset($signo[1]), '0 but true', 'addset'); 65 expected_signals($sigset, 'after addset', $signo[1]); 66 is($sigset->addset($signo[2]), '0 but true', 'addset'); 67 expected_signals($sigset, 'after addset', $signo[1], $signo[2]); 68 is($sigset->addset($signo[ [all...] |
/openbsd-current/lib/libc/gen/ |
H A D | sigsetops.c | 60 sigaddset(sigset_t *set, int signo) argument 62 if (signo <= 0 || signo >= NSIG) { 66 *set |= sigmask(signo); 72 sigdelset(sigset_t *set, int signo) argument 74 if (signo <= 0 || signo >= NSIG) { 78 *set &= ~sigmask(signo); 84 sigismember(const sigset_t *set, int signo) argument 86 if (signo < [all...] |
H A D | readpassphrase.c | 35 static volatile sig_atomic_t signo[_NSIG]; variable 57 signo[i] = 0; 136 const int sigttou = signo[SIGTTOU]; 140 errno == EINTR && !signo[SIGTTOU]) 142 signo[SIGTTOU] = sigttou; 161 if (signo[i]) { 191 signo[s] = 1;
|
/openbsd-current/gnu/llvm/lldb/source/API/ |
H A D | SBUnixSignals.cpp | 65 const char *SBUnixSignals::GetSignalAsCString(int32_t signo) const { 66 LLDB_INSTRUMENT_VA(this, signo); 69 return signals_sp->GetSignalAsCString(signo); 83 bool SBUnixSignals::GetShouldSuppress(int32_t signo) const { 84 LLDB_INSTRUMENT_VA(this, signo); 87 return signals_sp->GetShouldSuppress(signo); 92 bool SBUnixSignals::SetShouldSuppress(int32_t signo, bool value) { argument 93 LLDB_INSTRUMENT_VA(this, signo, value); 98 return signals_sp->SetShouldSuppress(signo, value); 103 bool SBUnixSignals::GetShouldStop(int32_t signo) cons 112 SetShouldStop(int32_t signo, bool value) argument 132 SetShouldNotify(int32_t signo, bool value) argument [all...] |
/openbsd-current/gnu/llvm/lldb/bindings/interface/ |
H A D | SBUnixSignals.i | 32 GetSignalAsCString (int32_t signo) const; 38 GetShouldSuppress (int32_t signo) const; 41 SetShouldSuppress (int32_t signo, 45 GetShouldStop (int32_t signo) const; 48 SetShouldStop (int32_t signo, 52 GetShouldNotify (int32_t signo) const; 55 SetShouldNotify (int32_t signo, bool value);
|
/openbsd-current/gnu/llvm/lldb/source/Target/ |
H A D | UnixSignals.cpp | 118 void UnixSignals::AddSignal(int signo, const char *name, bool default_suppress, argument 123 m_signals.insert(std::make_pair(signo, new_signal)); 127 void UnixSignals::RemoveSignal(int signo) { argument 128 collection::iterator pos = m_signals.find(signo); 134 const char *UnixSignals::GetSignalAsCString(int signo) const { 135 collection::const_iterator pos = m_signals.find(signo); 142 bool UnixSignals::SignalIsValid(int32_t signo) const { 143 return m_signals.find(signo) != m_signals.end(); 164 int32_t signo; local 165 if (llvm::to_integer(name, signo)) 191 GetSignalInfo(int32_t signo, bool &should_suppress, bool &should_stop, bool &should_notify) const argument 213 SetShouldSuppress(int signo, bool value) argument 224 const int32_t signo = GetSignalNumberFromName(signal_name); local 237 SetShouldStop(int signo, bool value) argument 248 const int32_t signo = GetSignalNumberFromName(signal_name); local 261 SetShouldNotify(int signo, bool value) argument 272 const int32_t signo = GetSignalNumberFromName(signal_name); local 321 IncrementSignalHitCount(int signo) argument 348 ResetSignal(int32_t signo, bool reset_stop, bool reset_notify, bool reset_suppress) argument [all...] |
/openbsd-current/gnu/lib/libiberty/src/ |
H A D | strsignal.c | 358 the largest signo value defined in @code{<signal.h>}. 383 @deftypefn Supplemental {const char *} strsignal (int @var{signo}) 408 strsignal (int signo) argument 422 if ((signo < 0) || (signo >= sys_nsig)) 427 else if ((sys_siglist == NULL) || (sys_siglist[signo] == NULL)) 430 snprintf (buf, sizeof buf, "Signal %d", signo); 436 msg = (const char *) sys_siglist[signo]; 446 @deftypefn Extension {const char*} strsigno (int @var{signo}) 467 strsigno (int signo) argument 512 int signo = 0; local 552 psignal(unsigned signo, char *message) argument 581 int signo; local [all...] |
/openbsd-current/gnu/llvm/lldb/include/lldb/Target/ |
H A D | UnixSignals.h | 33 const char *GetSignalAsCString(int32_t signo) const; 35 bool SignalIsValid(int32_t signo) const; 39 const char *GetSignalInfo(int32_t signo, bool &should_suppress, 42 bool GetShouldSuppress(int32_t signo) const; 44 bool SetShouldSuppress(int32_t signo, bool value); 48 bool GetShouldStop(int32_t signo) const; 50 bool SetShouldStop(int32_t signo, bool value); 53 bool GetShouldNotify(int32_t signo) const; 55 bool SetShouldNotify(int32_t signo, bool value); 59 bool ResetSignal(int32_t signo, boo [all...] |
/openbsd-current/gnu/llvm/lldb/include/lldb/API/ |
H A D | SBUnixSignals.h | 33 const char *GetSignalAsCString(int32_t signo) const; 37 bool GetShouldSuppress(int32_t signo) const; 39 bool SetShouldSuppress(int32_t signo, bool value); 41 bool GetShouldStop(int32_t signo) const; 43 bool SetShouldStop(int32_t signo, bool value); 45 bool GetShouldNotify(int32_t signo) const; 47 bool SetShouldNotify(int32_t signo, bool value);
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/ |
H A D | crash37.C | 5 extern int sigaction(int signo, const struct sigaction *action_spec_p, struct sigaction *old_action_p);
|
/openbsd-current/gnu/llvm/lldb/source/Host/posix/ |
H A D | HostProcessPosix.cpp | 31 Status HostProcessPosix::Signal(int signo) const { 38 return HostProcessPosix::Signal(m_process, signo); 41 Status HostProcessPosix::Signal(lldb::process_t process, int signo) { argument 44 if (-1 == ::kill(process, signo))
|
H A D | MainLoopPosix.cpp | 40 static void SignalHandler(int signo, siginfo_t *info, void *) { argument 41 assert(signo < NSIG); 42 g_signal_flags[signo] = 1; 279 MainLoopPosix::RegisterSignal(int signo, const Callback &callback, argument 281 auto signal_it = m_signals.find(signo); 285 return SignalHandleUP(new SignalHandle(*this, signo, callback_it)); 294 sigaddset(&new_action.sa_mask, signo); 297 g_signal_flags[signo] = 0; 301 int ret = sigaction(signo, &new_action, &info.old_action); 307 EV_SET(&ev, signo, EVFILT_SIGNA 331 UnregisterSignal( int signo, std::list<Callback>::iterator callback_it) argument 389 ProcessSignal(int signo) argument [all...] |
/openbsd-current/gnu/gcc/gcc/config/s390/ |
H A D | linux-unwind.h | 54 int *signo; local 73 signo = NULL; 91 signo = context->cfa + sizeof(long); 100 signo = (int *)(regs + 1); 130 if (!signo || (*signo != 4 && *signo != 5 && *signo != 8))
|
/openbsd-current/gnu/usr.bin/perl/t/op/ |
H A D | kill0.t | 86 my ($i, %signo, @signame, $sig_name) = 0; 89 $signo{$name} = $i; 93 ok(scalar keys %signo > 1 && exists $signo{KILL}, 107 is(kill(-$signo{KILL}, $pid), 1, 'process group kill, numeric signal');
|
/openbsd-current/gnu/llvm/lldb/include/lldb/Host/posix/ |
H A D | HostProcessPosix.h | 26 virtual Status Signal(int signo) const; 27 static Status Signal(lldb::process_t process, int signo);
|
H A D | MainLoopPosix.h | 48 SignalHandleUP RegisterSignal(int signo, const Callback &callback, 55 void UnregisterSignal(int signo, std::list<Callback>::iterator callback_it); 61 void ProcessSignal(int signo); 68 SignalHandle(MainLoopPosix &mainloop, int signo, argument 70 : m_mainloop(mainloop), m_signo(signo), m_callback_it(callback_it) {}
|
/openbsd-current/gnu/llvm/lldb/source/Plugins/Process/OpenBSD/ |
H A D | NativeThreadOpenBSD.cpp | 36 void NativeThreadOpenBSD::SetStoppedBySignal(uint32_t signo, argument 39 LLDB_LOG(log, "tid = {0} in called with signal {1}", GetID(), signo); 44 m_stop_info.signo = signo; 48 switch (signo) { 63 m_stop_info.signo = SIGTRAP; 69 m_stop_info.signo = SIGTRAP; 75 m_stop_info.signo = SIGTRAP;
|
/openbsd-current/regress/lib/libpthread/sigwait/ |
H A D | sigwait.c | 54 int signo; local 60 CHECKe(sigwait (&wait_mask, &signo)); 61 sigcounts[signo]++; 62 printf ("Sigwait caught signal %d (%s)\n", signo, 63 strsignal(signo)); 75 sighandler (int signo) argument 82 signo, strsignal(signo), pthread_self()); 85 if ((signo >= 0) && (signo < [all...] |
/openbsd-current/gnu/llvm/lldb/source/Plugins/Process/Linux/ |
H A D | NativeThreadLinux.cpp | 51 stop_info.signo); 55 header, stop_info.signo); 59 header, stop_info.signo); 63 stop_info.signo); 71 stop_info.signo); 211 Status NativeThreadLinux::Resume(uint32_t signo) { argument 246 if (signo != LLDB_INVALID_SIGNAL_NUMBER) 247 data = signo; 253 Status NativeThreadLinux::SingleStep(uint32_t signo) { argument 267 if (signo ! 279 SetStoppedBySignal(uint32_t signo, const siginfo_t *info) argument 367 IsStopped(int *signo) argument [all...] |
H A D | NativeThreadLinux.h | 66 /// Resumes the thread. If \p signo is anything but 68 Status Resume(uint32_t signo); 70 /// Single steps the thread. If \p signo is anything but 72 Status SingleStep(uint32_t signo); 74 void SetStoppedBySignal(uint32_t signo, const siginfo_t *info = nullptr); 77 /// If stopped by a signal, indicate the signo in the signo argument. 79 bool IsStopped(int *signo);
|
/openbsd-current/lib/libc/compat-43/ |
H A D | sigcompat.c | 33 sigvec(int signo, struct sigvec *sv, struct sigvec *osv) argument 42 ret = WRAP(sigaction)(signo, sv ? (struct sigaction *)&nsv : NULL,
|
/openbsd-current/lib/libedit/ |
H A D | sig.c | 66 sig_handler(int signo) argument 73 (void) sigaddset(&nset, signo); 76 sel->el_signal->sig_no = signo; 78 switch (signo) { 96 if (signo == sighdl[i]) 99 (void) sigaction(signo, &sel->el_signal->sig_action[i], NULL); 104 (void) kill(0, signo);
|
/openbsd-current/regress/lib/libpthread/sigsuspend/ |
H A D | sigsuspend.c | 96 sighandler (int signo) argument 104 if ((signo >= 0) && (signo <= NSIG)) 105 sigcounts[signo]++; 110 * POSIX the current signo will be part of the mask unless 117 sigfifo[fifo_depth] = signo; 121 "signal %d (%s)\n", signo, strsignal(signo)); 125 sigaddset(&tmp, signo); 132 "signal %d (%s)\n", signo, strsigna [all...] |
/openbsd-current/gnu/llvm/lldb/source/Plugins/Process/FreeBSD/ |
H A D | NativeThreadFreeBSD.cpp | 76 void NativeThreadFreeBSD::SetStoppedBySignal(uint32_t signo, argument 79 LLDB_LOG(log, "tid = {0} in called with signal {1}", GetID(), signo); 84 m_stop_info.signo = signo; 88 switch (signo) { 103 m_stop_info.signo = SIGTRAP; 109 m_stop_info.signo = SIGTRAP; 115 m_stop_info.signo = SIGTRAP; 130 m_stop_info.signo = SIGTRAP; 138 m_stop_info.signo [all...] |
/openbsd-current/gnu/llvm/lldb/source/Plugins/Process/NetBSD/ |
H A D | NativeThreadNetBSD.cpp | 76 void NativeThreadNetBSD::SetStoppedBySignal(uint32_t signo, argument 79 LLDB_LOG(log, "tid = {0} in called with signal {1}", GetID(), signo); 84 m_stop_info.signo = signo; 88 switch (signo) { 103 m_stop_info.signo = SIGTRAP; 109 m_stop_info.signo = SIGTRAP; 115 m_stop_info.signo = SIGTRAP; 130 m_stop_info.signo = SIGTRAP; 138 m_stop_info.signo [all...] |