Searched refs:signal (Results 1 - 25 of 74) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/subprocessdata/
H A Dsigchild_ignore.py1 import signal, subprocess, sys namespace
5 signal.signal(signal.SIGCHLD, signal.SIG_IGN)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_threadsignals.py1 """PyUnit testing that threads honor our signal semantics"""
4 import signal namespace
11 raise unittest.SkipTest, "Can't test signal on %s" % sys.platform
18 usr1 = signal.signal(signal.SIGUSR1, for_usr1)
19 usr2 = signal.signal(signal.SIGUSR2, for_usr2)
20 alrm = signal
[all...]
H A Dtest_signal.py7 import signal namespace
13 raise unittest.SkipTest("Can't test signal on %s" % sys.platform)
57 print "handlerA invoked from signal %s at:\n%s" % (
63 print "handlerB invoked from signal %s at:\n%s" % (
80 signal.signal(signal.SIGHUP, self.handlerA)
81 signal.signal(signal
[all...]
H A Dwin_console_handler.py12 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
H A Dtest_pty.py11 import signal namespace
54 self.old_alarm = signal.signal(signal.SIGALRM, self.handle_sig)
55 signal.alarm(10)
59 signal.alarm(0)
60 signal.signal(signal.SIGALRM, self.old_alarm)
H A Dtest_fork1.py6 import signal namespace
62 os.kill(pid, signal.SIGKILL)
H A Dtest_largefile.py16 import signal namespace
20 oldhandler = signal.signal(signal.SIGXFSZ, signal.SIG_IGN)
H A Dtest_socket.py17 import signal namespace
670 if not hasattr(signal, 'alarm') or not hasattr(socket, 'socketpair'):
671 self.skipTest("signal.alarm and socket.socketpair required for this test")
672 # Our signal handlers clobber the C errno by calling a math function
680 old_alarm = signal.signal(signal.SIGALRM, raising_handler)
683 # Just above the one second minimum for signal.alarm
686 signal.alarm(1)
689 signal
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/
H A Dsignals.py1 import signal namespace
15 installed_handler = signal.getsignal(signal.SIGINT)
38 default_handler = signal.getsignal(signal.SIGINT)
40 signal.signal(signal.SIGINT, _interrupt_handler)
47 initial = signal.getsignal(signal
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/unittest/test/
H A Dtest_break.py4 import signal namespace
20 self._default_handler = signal.getsignal(signal.SIGINT)
23 signal.signal(signal.SIGINT, self._default_handler)
29 default_handler = signal.getsignal(signal.SIGINT)
31 self.assertNotEqual(signal.getsignal(signal
[all...]
/device/linaro/bootloader/edk2/StdLib/Include/sys/
H A Dsignal.h3 Implementation and Platform specific portion of <signal.h>.
17 #include <machine/signal.h>
19 /** The actual (default) signal numbers are assigned using an anonymous enum
22 figure out what number to assign to a new signal.
24 Properly constructed programs will NEVER depend upon signal numbers being
26 is that each signal number is distinct, positive, and non-zero.
47 /** The type of a signal handler function. **/
51 /** The signal function associates a "signal handler" with a signal numbe
[all...]
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/include/
H A Dhisi_ipc.h35 void hisi_ipc_spin_lock(unsigned int signal);
36 void hisi_ipc_spin_unlock(unsigned int signal);
/device/linaro/bootloader/edk2/StdLib/LibC/Signal/
H A DSignal.c2 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 wil
44 signal(int sig, __sighandler_t *func) function
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
H A Dpyfpe.h55 * variables PyFPE_jbuf and PyFPE_counter which are used by the signal
57 * by the macros. The signal handler itself, and code for enabling the
75 * fpectl.turnon_sigfpe(). This sets up the signal handler and enables
129 #include <signal.h>
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
H A Dpyfpe.h55 * variables PyFPE_jbuf and PyFPE_counter which are used by the signal
57 * by the macros. The signal handler itself, and code for enabling the
75 * fpectl.turnon_sigfpe(). This sets up the signal handler and enables
129 #include <signal.h>
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/
H A Dhisi_ipc.c73 void hisi_ipc_spin_lock(unsigned int signal) argument
77 if (signal >= HISI_IPC_INT_SRC_NUM)
81 hs_ctrl = mmio_read_32(HISI_IPC_ACPU_CTRL(signal));
85 void hisi_ipc_spin_unlock(unsigned int signal) argument
87 if (signal >= HISI_IPC_INT_SRC_NUM)
90 mmio_write_32(HISI_IPC_ACPU_CTRL(signal), 0);
/device/linaro/bootloader/edk2/StdLib/Include/
H A Dsignal.h6 For historical reasons; programs expect signal to be declared
7 in <sys/signal.h>. The signal function is documented in <sys/signal.h>.
9 The signal function is declared in the C Standard as:<BR>
10 void (*signal(int sig, void (*func)(int)))(int);
27 #include <sys/signal.h>
33 This, possibly machine specific, type is defined in <machine/signal.h>.
39 return value of, the signal function, and whose values compare unequal to
49 type int and distinct values that are the signal number
[all...]
/device/generic/goldfish/camera/
H A DWorkerThread.cpp52 mRunningCondition.signal();
59 mRunningCondition.signal();
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
H A Dtmpfile.c50 #include <signal.h>
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/pdist/
H A Drcslib.py281 signal = reason&0x7F
282 if signal == 0x7F:
284 signal = detail
289 return code, signal
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
H A Dintrcheck.c102 #include <signal.h>
/device/linaro/bootloader/edk2/StdLib/Include/Arm/machine/
H A Dframe.h46 #include <sys/signal.h>
/device/linaro/bootloader/edk2/StdLibPrivateInternalFiles/Include/
H A DMainData.h19 #include <signal.h>
72 __sighandler_t *sigarray[SIG_LAST]; // Pointers to signal handlers
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Dreadline.c10 #include <signal.h>
933 readline_until_enter_or_signal(char *prompt, int *signal) argument
938 *signal = 0;
982 *signal = 1;
1007 readline_until_enter_or_signal(char *prompt, int *signal) argument
1012 *signal = 0;
1021 *signal = 1;
1038 int signal; local
1055 p = readline_until_enter_or_signal(prompt, &signal);
1057 /* we got an interrupt signal */
[all...]
/device/linaro/bootloader/edk2/StdLib/LibC/Time/
H A Ditimer.c17 #include <sys/signal.h>
18 #include <signal.h>
142 Decrements in real time. A SIGALRM signal is delivered when this timer
147 executing. A SIGVTALRM signal is delivered when it expires.
153 the ITIMER_PROF timer expires, the SIGPROF signal is delivered.

Completed in 192 milliseconds

123