/prebuilts/go/darwin-x86/src/os/signal/ |
doc.go | 6 Package signal implements access to incoming signals. 21 synchronous signal into a run-time panic. 27 Of the asynchronous signals, the SIGHUP signal is sent when a program 28 loses its controlling terminal. The SIGINT signal is sent when the 30 which by default is ^C (Control-C). The SIGQUIT signal is sent when 38 By default, a synchronous signal is converted into a run-time panic. A 39 SIGHUP, SIGINT, or SIGTERM signal causes the program to exit. A 40 SIGQUIT, SIGILL, SIGTRAP, SIGABRT, SIGSTKFLT, SIGEMT, or SIGSYS signal 42 SIGTTOU signal gets the system default behavior (these signals are 43 used by the shell for job control). The SIGPROF signal is handle 221 package signal package [all...] |
signal_windows_test.go | 5 package signal package 42 "os/signal" 48 c := make(chan os.Signal, 10) 49 signal.Notify(c) 53 log.Fatalf("Wrong signal received: got %q, want %q\n", s, os.Interrupt)
|
signal_plan9_test.go | 5 package signal package 15 func waitSig(t *testing.T, c <-chan os.Signal, sig os.Signal) { 19 t.Fatalf("signal was %v, want %v", s, sig) 26 // Test that basic signal handling works. 29 c := make(chan os.Signal, 1) 39 c1 := make(chan os.Signal, 1) 70 sig := make(chan os.Signal, 1) 117 // Send the signal. 125 // Ask for signal [all...] |
/prebuilts/go/linux-x86/src/os/signal/ |
doc.go | 6 Package signal implements access to incoming signals. 21 synchronous signal into a run-time panic. 27 Of the asynchronous signals, the SIGHUP signal is sent when a program 28 loses its controlling terminal. The SIGINT signal is sent when the 30 which by default is ^C (Control-C). The SIGQUIT signal is sent when 38 By default, a synchronous signal is converted into a run-time panic. A 39 SIGHUP, SIGINT, or SIGTERM signal causes the program to exit. A 40 SIGQUIT, SIGILL, SIGTRAP, SIGABRT, SIGSTKFLT, SIGEMT, or SIGSYS signal 42 SIGTTOU signal gets the system default behavior (these signals are 43 used by the shell for job control). The SIGPROF signal is handle 221 package signal package [all...] |
signal_windows_test.go | 5 package signal package 42 "os/signal" 48 c := make(chan os.Signal, 10) 49 signal.Notify(c) 53 log.Fatalf("Wrong signal received: got %q, want %q\n", s, os.Interrupt)
|
signal_plan9_test.go | 5 package signal package 15 func waitSig(t *testing.T, c <-chan os.Signal, sig os.Signal) { 19 t.Fatalf("signal was %v, want %v", s, sig) 26 // Test that basic signal handling works. 29 c := make(chan os.Signal, 1) 39 c1 := make(chan os.Signal, 1) 70 sig := make(chan os.Signal, 1) 117 // Send the signal. 125 // Ask for signal [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Signal/ |
Signal.c | 2 Implementation of the signal and raise functions as declared in <signal.h>.
19 #include <signal.h>
22 /** The signal function associates a "signal handler" with a signal number.
24 The signal function chooses one of three ways in which receipt of the
25 signal number, sig, is to be subsequently handled. If the value of func
26 is SIG_DFL, default handling for that signal will occur. If the value of
27 func is SIG_IGN, the signal will be ignored. Otherwise, func shall point 44 signal(int sig, __sighandler_t *func) function [all...] |
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
signalbar.cpp | 31 int signal; local 39 signal = 0 - (256 - index.data().toInt()); 41 signal = index.data().toInt(); 45 if (signal < opts.minimum) 47 else if (signal > opts.maximum) 50 opts.progress = signal; 52 opts.text = QString::number(signal) + " dBm";
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
NativeThread.java | 34 // upon which Java threads are built, and defines a simple signal mechanism 37 // always returns -1 and the signal(long) method has no effect. 52 public static native void signal(long nt); method in class:NativeThread
|
/external/libevent/sample/ |
signal-test.c | 3 * cc -I/usr/local/include -o signal-test \ 4 * signal-test.c -L/usr/local/lib -levent 20 #include <signal.h> 34 struct event *signal = arg; local 36 printf("signal_cb: got signal %d\n", event_get_signal(signal)); 39 event_del(signal);
|
/external/python/cpython3/Lib/ |
signal.py | 45 @_wraps(_signal.signal) 46 def signal(signalnum, handler): function 47 handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler))
|
/external/strace/linux/powerpc/ |
arch_sigreturn.c | 11 int signal; member in struct:__anon35302
|
/external/swiftshader/src/OpenGL/libEGL/ |
Sync.hpp | 42 void wait() { context->finish(); signal(); } 43 void signal() { status = EGL_SIGNALED_KHR; } function in class:egl::FenceSync
|
/external/wayland/tests/ |
signal-test.c | 40 struct wl_signal signal; local 42 wl_signal_init(&signal); 45 assert(&signal.listener_list == signal.listener_list.next 47 assert(signal.listener_list.next == signal.listener_list.prev 53 struct wl_signal signal; local 62 wl_signal_init(&signal); 64 wl_signal_add(&signal, &l1); 65 wl_signal_add(&signal, &l2) 86 struct wl_signal signal; local 103 struct wl_signal signal; local [all...] |
/prebuilts/go/darwin-x86/src/os/ |
exec_unix.go | 28 // so that Process.signal will not send a signal. 31 // active call to the signal method to complete. 55 func (p *Process) signal(sig Signal) error { func 67 s, ok := sig.(syscall.Signal) 69 return errors.New("os: unsupported signal type")
|
/prebuilts/go/linux-x86/src/os/ |
exec_unix.go | 28 // so that Process.signal will not send a signal. 31 // active call to the signal method to complete. 55 func (p *Process) signal(sig Signal) error { func 67 s, ok := sig.(syscall.Signal) 69 return errors.New("os: unsupported signal type")
|
/cts/tests/app/app/src/android/app/stubs/ |
KeyboardShortcutsActivity.java | 61 mSignalOnActivityDeFocused.signal(); 87 mSignalOnProvideKeyboardShortcuts.signal();
|
/packages/apps/DocumentsUI/perf-tests/src/com/android/documentsui/ |
FilesActivityPerfTest.java | 85 final CountDownLatch signal = new CountDownLatch(1); local 107 signal.countDown(); 118 signal.await();
|
/bionic/libc/include/android/ |
legacy_signal_inlines.h | 37 #include <signal.h> 64 /* Signal numbers start at 1, but bit positions start at 0. */ 75 /* Signal numbers start at 1, but bit positions start at 0. */ 87 /* Signal numbers start at 1, but bit positions start at 0. */ 116 static __inline sighandler_t signal(int s, sighandler_t f) { function
|
/cts/hostsidetests/seccomp/app/jni/ |
android_seccomp_cts_app_SeccompDeviceTest.cpp | 60 int signal = WTERMSIG(status); local 61 if (signal == 31) { 66 ALOGE("Unexpected signal");
|
/external/libbrillo/brillo/ |
asynchronous_signal_handler.cc | 7 #include <signal.h> 25 CHECK_EQ(sigemptyset(&signal_mask_), 0) << "Failed to initialize signal mask"; 27 << "Failed to initialize signal mask"; 59 void AsynchronousSignalHandler::RegisterHandler(int signal, 61 registered_callbacks_[signal] = callback; 62 CHECK_EQ(0, sigaddset(&signal_mask_, signal)); 66 void AsynchronousSignalHandler::UnregisterHandler(int signal) { 67 Callbacks::iterator callback_it = registered_callbacks_.find(signal); 70 ResetSignal(signal); 78 int signal = info.ssi_signo local [all...] |
/external/ltp/testcases/kernel/syscalls/rt_sigaction/ |
rt_sigaction01.c | 25 /* of a particular signal. The action is specified by the */ 26 /* sigaction structure. The previous action on the signal is */ 34 #include <signal.h> 67 tst_resm(TINFO, "Signal Handler Called with signal number %d\n", sig); 86 int signal; local 99 for (signal = SIGRTMIN; signal <= SIGRTMAX; signal++) { 105 (signal, 0, test_flags[flag])) 116 kill(getpid(), signal); local [all...] |
rt_sigaction02.c | 30 #include <signal.h> 74 int signal; local 84 for (signal = SIGRTMIN; signal <= SIGRTMAX; signal++) { 85 tst_resm(TINFO, "Signal %d", signal); 96 TEST(ltp_rt_sigaction(signal, 106 TCID, signal,
|
/external/ltp/testcases/kernel/syscalls/utils/ |
mq_timed.h | 30 int signal; member in struct:test_case
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
posix_event.hpp | 41 // Signal the event. (Retained for backward compatibility.) 43 void signal(Lock& lock) function in class:asio::detail::posix_event 48 // Signal all waiters. 58 // Unlock the mutex and signal one waiter. 70 // If there's a waiter, unlock the mutex and signal it.
|