/external/libcxx/test/libcxx/debug/ |
H A D | debug_abort.pass.cpp | 24 void signal_handler(int signal) argument 26 if (signal == SIGABRT) 33 if (std::signal(SIGABRT, signal_handler) != SIG_ERR)
|
/external/chromium-trace/catapult/devil/devil/utils/ |
H A D | signal_handler.py | 6 import signal namespace 11 """Sets the signal handler for the given signal in the wrapped context. 14 signum: The signal for which a handler should be added. 17 existing_handler = signal.getsignal(signalnum) 20 signal.signal(signalnum, handler) 23 signal.signal(signalnum, existing_handler) 28 """Adds a signal handle [all...] |
/external/autotest/server/site_tests/network_WiFi_Manual/ |
H A D | network_WiFi_Manual.py | 5 import signal namespace 23 signal.pause()
|
/external/python/cpython2/Lib/test/subprocessdata/ |
H A D | sigchild_ignore.py | 1 import signal, subprocess, sys, time namespace 5 signal.signal(signal.SIGCHLD, signal.SIG_IGN)
|
/external/python/cpython3/Lib/test/subprocessdata/ |
H A D | sigchild_ignore.py | 1 import signal, subprocess, sys, time namespace 5 signal.signal(signal.SIGCHLD, signal.SIG_IGN)
|
/external/python/cpython3/Lib/test/ |
H A D | test_eintr.py | 2 import signal namespace 12 @unittest.skipUnless(hasattr(signal, "setitimer"), "requires setitimer()") 15 # thread (for reliable signal delivery).
|
H A D | win_console_handler.py | 12 import signal namespace 22 if sig == signal.CTRL_C_EVENT: 24 elif sig == signal.CTRL_BREAK_EVENT: 47 # Do nothing but wait for the signal
|
/external/autotest/client/tests/bash_shared_mapping/ |
H A D | bash_shared_mapping.py | 1 import signal, os namespace 44 os.kill(pid[i], signal.SIGKILL)
|
/external/mdnsresponder/mDNSPosix/ |
H A D | ExampleClientApp.c | 26 #include <signal.h> // For SIGINT, etc. 36 mDNSlocal void HandleSIG(int signal) argument 38 (void)signal; // Unused 46 signal(SIGINT, HandleSIG); // SIGINT is what you get for a Ctrl-C 47 signal(SIGTERM, HandleSIG);
|
/external/python/cpython2/Lib/test/ |
H A D | win_console_handler.py | 12 import signal namespace 22 if sig == signal.CTRL_C_EVENT: 24 elif sig == signal.CTRL_BREAK_EVENT: 47 # Do nothing but wait for the signal
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
H A D | ShadowFileUtils.java | 17 ProgressListener listener, CancellationSignal signal, long count) 20 return FileUtils.copyInternalUserspace(in, out, listener, signal, count); 16 copy( FileDescriptor in, FileDescriptor out, ProgressListener listener, CancellationSignal signal, long count) argument
|
/external/strace/linux/powerpc/ |
H A D | arch_sigreturn.c | 11 int signal; member in struct:__anon21981
|
/external/toybox/toys/other/ |
H A D | oneit.c | 49 static void oneit_signaled(int signal) argument 53 toys.signal = signal; 54 if (signal == SIGUSR1) action = RB_HALT_SYSTEM; 55 if (signal == SIGUSR2) action = RB_POWER_OFF; 67 // Setup signal handlers for signals of interest 79 while (!toys.signal) {
|
/external/v8/tools/testrunner/objects/ |
H A D | output.py | 29 import signal namespace 46 # Timed out tests will have exit_code -signal.SIGTERM. 50 self.exit_code != -signal.SIGABRT)
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | hp_input.c | 26 int16_t *signal, /* (i/o) signal vector */ 53 tmpW32 += signal[i] * ba[0]; /* b[0]*x[0] */ 59 x[0] = signal[i]; 64 /* Saturate (to 2^28) so that the HP filtered signal does not overflow */ 68 signal[i] = (int16_t)(tmpW32b >> 13); 25 WebRtcIlbcfix_HpInput( int16_t *signal, int16_t *ba, int16_t *y, int16_t *x, size_t len) argument
|
H A D | hp_output.c | 26 int16_t *signal, /* (i/o) signal vector */ 53 tmpW32 += signal[i] * ba[0]; /* b[0]*x[0] */ 59 x[0] = signal[i]; 64 /* Saturate (to 2^26) so that the HP filtered signal does not overflow */ 68 signal[i] = (int16_t)(tmpW32b >> 11); 25 WebRtcIlbcfix_HpOutput( int16_t *signal, int16_t *ba, int16_t *y, int16_t *x, size_t len) argument
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
H A D | 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";
|
/external/autotest/client/profilers/cros_perf/ |
H A D | cros_perf.py | 15 import os, signal, subprocess namespace 57 self._process.send_signal(signal.SIGINT)
|
/external/autotest/client/profilers/custom_perf/ |
H A D | custom_perf.py | 6 import os, signal, subprocess namespace 41 os.killpg(os.getpgid(self._process.pid), signal.SIGINT)
|
/external/autotest/client/profilers/ftrace/ |
H A D | ftrace.py | 6 import logging, os, signal, time namespace 119 os.kill(self.record_job.sp.pid, signal.SIGINT)
|
/external/autotest/client/profilers/perf/ |
H A D | perf.py | 8 import time, os, stat, subprocess, signal namespace 51 os.kill(self._process.pid, signal.SIGINT)
|
/external/autotest/client/tests/tbench/ |
H A D | tbench.py | 1 import time, os, signal, re namespace 38 os.kill(pid, signal.SIGTERM) # clean up the server
|
/external/libbrillo/brillo/ |
H A D | 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, argument 61 registered_callbacks_[signal] = callback; 62 CHECK_EQ(0, sigaddset(&signal_mask_, signal)); 66 void AsynchronousSignalHandler::UnregisterHandler(int signal) { argument 67 Callbacks::iterator callback_it = registered_callbacks_.find(signal); 70 ResetSignal(signal); 78 int signal local 94 ResetSignal(int signal) argument [all...] |
/external/libevent/sample/ |
H A D | 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/libunwind/tests/ |
H A D | ia64-test-sig.c | 27 #include <signal.h> 39 sighandler (int signal) argument 46 printf ("caught signal %d\n", signal); 59 panic ("failed to find signal frame!\n"); 97 signal (SIGSEGV, sighandler);
|