/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/tm/ |
H A D | Makefile | 2 SIGNAL_CONTEXT_CHK_TESTS := tm-signal-context-chk-gpr tm-signal-context-chk-fpu \ 3 tm-signal-context-chk-vmx tm-signal-context-chk-vsx 5 TEST_GEN_PROGS := tm-resched-dscr tm-syscall tm-signal-msr-resv tm-signal-stack \ 7 $(SIGNAL_CONTEXT_CHK_TESTS) tm-sigreturn tm-signal-sigreturn-nt \ 8 tm-signal-context-force-tm tm-poison tm-signal-pagefault 26 $(OUTPUT)/tm-signal [all...] |
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | tty_jobctrl.c | 8 #include <linux/signal.h> 9 #include <linux/sched/signal.h> 27 * not in the foreground, send a SIGTTOU. If the signal is blocked or 38 if (current->signal->tty != tty) in __tty_check_change() 79 tty = p->signal->tty; in proc_clear_tty() 80 p->signal->tty = NULL; in proc_clear_tty() 109 if (current->signal->tty) { in __proc_set_tty() 111 current->signal->tty->name); in __proc_set_tty() 112 tty_kref_put(current->signal->tty); in __proc_set_tty() 114 put_pid(current->signal in __proc_set_tty() [all...] |
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | tty_jobctrl.c | 8 #include <linux/signal.h> 9 #include <linux/sched/signal.h> 25 * @sig: signal to send 28 * not in the foreground, send a SIGTTOU. If the signal is blocked or 39 if (current->signal->tty != tty) in __tty_check_change() 81 tty = p->signal->tty; in proc_clear_tty() 82 p->signal->tty = NULL; in proc_clear_tty() 112 if (current->signal->tty) { in __proc_set_tty() 114 current->signal->tty->name); in __proc_set_tty() 115 tty_kref_put(current->signal in __proc_set_tty() [all...] |
/third_party/node/test/parallel/ |
H A D | test-child-process-execFile-promisified-abortController.js | 17 // Verify that the signal option works properly 19 const signal = ac.signal; 20 const promise = promisified(process.execPath, [echoFixture, 0], { signal }); 31 // Verify that the signal option works properly when already aborted 32 const signal = AbortSignal.abort(); 35 promisified(process.execPath, [echoFixture, 0], { signal }), 41 // Verify that if something different than Abortcontroller.signal 43 const signal = {}; 45 promisified(process.execPath, [echoFixture, 0], { signal }); [all...] |
H A D | test-child-process-execfile.js | 36 assert.strictEqual(err.signal, null); 53 // Verify that the signal option works properly 55 const { signal } = ac; 61 assert.strictEqual(err.signal, undefined); 63 execFile(process.execPath, [echoFixture, 0], { signal }, check); 66 // Verify that it still works the same way now that the signal is aborted. 73 const signal = AbortSignal.abort(); 78 assert.strictEqual(err.signal, undefined); 80 execFile(process.execPath, [echoFixture, 0], { signal }, check); 84 // Verify that if something different than Abortcontroller.signal [all...] |
H A D | test-https-agent-abort-controller.js | 34 const { signal } = ac; 35 const connection = agent.createConnection({ ...options, signal }); 36 assert.strictEqual(getEventListeners(signal, 'abort').length, 1); 44 const { signal } = ac; 46 const connection = agent.createConnection({ ...options, signal }); 54 const { signal } = ac; 59 signal, 61 assert.strictEqual(getEventListeners(signal, 'abort').length, 1); 69 const { signal } = ac; 75 signal, [all...] |
H A D | test-set-http-max-http-headers.js | 26 cp.on('close', common.mustCall((code, signal) => { 28 assert.strictEqual(signal, null); 50 cp.on('close', common.mustCall((code, signal) => { 52 assert.strictEqual(signal, null); 70 cp.on('close', common.mustCall((code, signal) => { 72 assert.strictEqual(signal, null); 82 cp.on('close', common.mustCall((code, signal) => { 84 assert.strictEqual(signal, null);
|
/third_party/python/Lib/test/ |
H A D | _test_eintr.py | 8 sub-second periodicity (contrarily to signal()). 17 import signal namespace 39 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") 43 # delay for initial signal delivery 45 # signal delivery periodicity 56 self.orig_handler = signal.signal(signal.SIGALRM, self.sighandler) 57 signal.setitimer(signal [all...] |
/third_party/musl/libc-test/src/eabi/ |
H A D | __sigtimedwait_time64.c | 18 #include <signal.h> 44 int signal; in sigtimedwait_0100() local 47 signal = sigtimedwait(&set2, &siginfo, &timeout); in sigtimedwait_0100() 48 if (signal < 0) { in sigtimedwait_0100() 49 t_error( "%s sigtimedwait error get result is %d\n", __func__, signal); in sigtimedwait_0100() 73 int signal; in sigtimedwait_time64_0100() local 76 signal = __sigtimedwait_time64(&set2, &siginfo, &timeout); in sigtimedwait_time64_0100() 77 if (signal < 0) { in sigtimedwait_time64_0100() 78 t_error( "%s __sigtimedwait_time64 error get result is %d\n", __func__, signal); in sigtimedwait_time64_0100()
|
/third_party/ffmpeg/tests/ |
H A D | audiomatch.c | 44 int16_t *signal, *data; in main() local 82 signal = malloc(siglen * sizeof(*signal)); in main() 86 if (fread(signal, 1, siglen, f[1]) != siglen) in main() 92 signal[i] = ((uint8_t*)(signal + i))[0] + 256*((uint8_t*)(signal + i))[1]; in main() 93 sigamp += signal[i] * signal[i]; in main() 103 c += signal[ in main() [all...] |
/third_party/node/deps/v8/tools/testrunner/local/ |
H A D | pool.py | 9 import signal namespace 97 int_handler = signal.signal(signal.SIGINT, signal.SIG_IGN) 98 term_handler = signal.signal(signal.SIGTERM, signal.SIG_IGN) 102 signal [all...] |
/third_party/python/Lib/asyncio/ |
H A D | runners.py | 7 import signal namespace 103 and signal.getsignal(signal.SIGINT) is signal.default_int_handler 107 signal.signal(signal.SIGINT, sigint_handler) 109 # `signal.signal` may throw if `threading.main_thread` does 127 and signal [all...] |
/third_party/ltp/testcases/kernel/syscalls/rt_sigaction/ |
H A D | rt_sigaction02.c | 31 #include <signal.h> 75 int signal; in main() local 85 for (signal = SIGRTMIN; signal <= SIGRTMAX; signal++) { in main() 86 tst_resm(TINFO, "Signal %d", signal); in main() 97 TEST(ltp_rt_sigaction(signal, in main() 107 TCID, signal, in main()
|
H A D | rt_sigaction03.c | 31 #include <signal.h> 74 tst_resm(TINFO, "Signal Handler Called with signal number %d", sig); in handler() 100 int signal; in main() local 111 for (signal = SIGRTMIN; signal <= (SIGRTMAX); signal++) { in main() 112 tst_resm(TINFO, "Signal %d", signal); in main() 116 (signal, 0, test_flags[flag])); in main() 125 TCID, signal, in main()
|
H A D | rt_sigaction01.c | 25 /* of a particular signal. The action is specified by the */ 26 /* sigaction structure. The previous action on the signal is */ 35 #include <signal.h> 68 tst_resm(TINFO, "Signal Handler Called with signal number %d", sig); in handler() 87 int signal; in main() local 100 for (signal = SIGRTMIN; signal <= SIGRTMAX; signal++) { in main() 106 (signal, 0, test_flags[flag])); in main() 109 tst_resm(TINFO, "signal in main() 117 kill(getpid(), signal); main() local [all...] |
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | unwind_hints.h | 23 .macro UNWIND_HINT_REGS base=%rsp offset=0 indirect=0 extra=1 partial=0 signal=1 53 UNWIND_HINT sp_reg=sp_reg sp_offset=sp_offset type=type signal=\signal 56 .macro UNWIND_HINT_IRET_REGS base=%rsp offset=0 signal=1 57 UNWIND_HINT_REGS base=\base offset=\offset partial=1 signal=\signal 60 .macro UNWIND_HINT_IRET_ENTRY base=%rsp offset=0 signal=1 62 UNWIND_HINT_IRET_REGS base=\base offset=\offset signal=\signal
|
/third_party/node/deps/v8/tools/testrunner/testproc/ |
H A D | sigproc.py | 5 import signal namespace 19 # catched signal. 20 signal.signal(signal.SIGINT, self._on_ctrlc) 21 signal.signal(signal.SIGTERM, self._on_sigterm)
|
/third_party/rust/crates/nix/test/sys/ |
H A D | test_signal.rs | 3 use nix::sys::signal::*; 10 kill(getpid(), None).expect("Should be able to send signal to myself."); in test_kill_none() 17 .expect("Should be able to send signal to my process group."); in test_killpg_none() 46 // This needs to be a signal that rust doesn't use in the test harness. in test_sigprocmask() 53 // Make sure the old set doesn't contain the signal, otherwise the following in test_sigprocmask() 57 "the {:?} signal is already blocked, please change to a \ in test_sigprocmask() 62 // Now block the signal. in test_sigprocmask() 78 // Reset the signal. in test_sigprocmask() 87 extern "C" fn test_sigaction_handler(signal: libc::c_int) { in test_sigaction_handler() 88 let signal in test_sigaction_handler() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/hwss/ |
H A D | link_hwss_dio.c | 46 if (dc_is_dp_signal(pipe_ctx->stream->signal)) in setup_dio_stream_encoder() 68 if (dc_is_dp_signal(pipe_ctx->stream->signal)) in reset_dio_stream_encoder() 81 if (!dc_is_virtual_signal(stream->signal)) in setup_dio_stream_attribute() 87 if (dc_is_dp_signal(stream->signal)) in setup_dio_stream_attribute() 94 else if (dc_is_hdmi_tmds_signal(stream->signal)) in setup_dio_stream_attribute() 100 else if (dc_is_dvi_signal(stream->signal)) in setup_dio_stream_attribute() 104 (stream->signal == SIGNAL_TYPE_DVI_DUAL_LINK) ? in setup_dio_stream_attribute() 106 else if (dc_is_lvds_signal(stream->signal)) in setup_dio_stream_attribute() 111 if (dc_is_dp_signal(stream->signal)) in setup_dio_stream_attribute() 118 enum signal_type signal, in enable_dio_dp_link_output() 116 enable_dio_dp_link_output(struct dc_link *link, const struct link_resource *link_res, enum signal_type signal, enum clock_source_id clock_source, const struct dc_link_settings *link_settings) enable_dio_dp_link_output() argument 138 disable_dio_link_output(struct dc_link *link, const struct link_resource *link_res, enum signal_type signal) disable_dio_link_output() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/wpa_gui-qt4/ |
H A D | signalbar.cpp | 31 int signal; in paint() local 39 signal = 0 - (256 - index.data().toInt()); in paint() 41 signal = index.data().toInt(); in paint() 45 if (signal < opts.minimum) in paint() 47 else if (signal > opts.maximum) in paint() 50 opts.progress = signal; in paint() 52 opts.text = QString::number(signal) + " dBm"; in paint()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/wpa_gui-qt4/ |
H A D | signalbar.cpp | 31 int signal; in paint() local 39 signal = 0 - (256 - index.data().toInt()); in paint() 41 signal = index.data().toInt(); in paint() 45 if (signal < opts.minimum) in paint() 47 else if (signal > opts.maximum) in paint() 50 opts.progress = signal; in paint() 52 opts.text = QString::number(signal) + " dBm"; in paint()
|
/third_party/node/test/common/ |
H A D | child_process.js | 65 signal, 75 if (signal !== undefined && child.signal !== signal) { 76 failures.push(`- process terminated with signal ${child.signal}, expected ${signal}`); 85 console.error(`${tag} status = ${child.status}, signal = ${child.signal}`); 89 // If status and signal ar [all...] |
/third_party/ltp/testcases/kernel/syscalls/syslog/ |
H A D | syslogtst.c | 26 #include <signal.h> 36 void sig_handler(int signal); 46 signal(SIGINT, sig_handler); in main() 47 signal(SIGTERM, sig_handler); in main() 48 signal(SIGHUP, sig_handler); in main() 49 signal(SIGABRT, sig_handler); in main() 50 signal(SIGSEGV, sig_handler); in main() 51 signal(SIGQUIT, sig_handler); in main() 304 void sig_handler(int signal) in sig_handler() argument 307 switch (signal) { in sig_handler() [all...] |
/third_party/rust/crates/nix/src/sys/ |
H A D | signal.rs | 17 #[cfg(any(feature = "aio", feature = "signal"))] 20 #[cfg(any(feature = "aio", feature = "process", feature = "signal"))] 24 // type for signal constants. 29 #[cfg_attr(docsrs, doc(cfg(any(feature = "aio", feature = "signal"))))] 49 /// User defined signal 1 53 /// User defined signal 2 59 /// Software termination signal from kill 71 /// Sendable stop signal not from tty 73 /// Stop signal from tty 91 /// Input/output possible signal 826 pub unsafe fn signal(signal: Signal, handler: SigHandler) -> Result<SigHandler> { signal() functions [all...] |
/third_party/gn/infra/ |
H A D | recipes.py | 86 # return None to signal that there's no EngineDep. 264 import signal namespace 265 signal.signal(signal.SIGBREAK, signal.SIG_IGN) 266 signal.signal(signal.SIGINT, signal [all...] |