Searched refs:signo (Results 1 - 25 of 267) sorted by relevance

1234567891011

/openbsd-current/gnu/usr.bin/perl/ext/POSIX/t/
H A Dsigset.t15 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 Dsigsetops.c60 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 Dreadpassphrase.c35 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 DSBUnixSignals.cpp65 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 DSBUnixSignals.i32 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 DUnixSignals.cpp118 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 Dstrsignal.c358 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 DUnixSignals.h33 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 DSBUnixSignals.h33 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 Dcrash37.C5 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 DHostProcessPosix.cpp31 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 DMainLoopPosix.cpp40 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 Dlinux-unwind.h54 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 Dkill0.t86 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 DHostProcessPosix.h26 virtual Status Signal(int signo) const;
27 static Status Signal(lldb::process_t process, int signo);
H A DMainLoopPosix.h48 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 DNativeThreadOpenBSD.cpp36 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 Dsigwait.c54 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 DNativeThreadLinux.cpp51 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 DNativeThreadLinux.h66 /// 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 Dsigcompat.c33 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 Dsig.c66 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 Dsigsuspend.c96 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 DNativeThreadFreeBSD.cpp76 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 DNativeThreadNetBSD.cpp76 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...]

Completed in 518 milliseconds

1234567891011