Searched refs:signal (Results 276 - 300 of 1027) sorted by relevance

<<11121314151617181920>>

/external/valgrind/main/none/tests/
H A Dasync-sigs.c4 // various different paths in Valgrind's signal handling.
6 // It does this by installing signal handlers for one signal S, spawning
8 // sending another signal from P (not caught).
10 #include <signal.h>
40 // In the child, exec 'kill' in order to send the signal.
63 WIFEXITED(status) ? "exit" : "signal",
84 // In the child, install the signal handler, then wait for the signal to
90 signal(caughtsi
[all...]
/external/chromium_org/base/debug/
H A Dstack_trace_posix.cc9 #include <signal.h>
73 // Note: code in this function is NOT async-signal safe (std::string uses
150 // NOTE: This code MUST be async-signal safe (it's used by in-process
151 // stack dumping signal handler). NO malloc or stdio is allowed here.
175 // Below part is async-signal unsafe (uses malloc), so execute it only
176 // when we are not executing the signal handler.
203 // NOTE: This code MUST be async-signal safe (it's used by in-process
204 // stack dumping signal handler). NO malloc or stdio is allowed here.
208 void StackDumpSignalHandler(int signal, siginfo_t* info, void* void_context) { argument
209 // NOTE: This code MUST be async-signal saf
[all...]
/external/chromium_org/chromeos/dbus/
H A Dcros_disks_client.cc279 // A struct to contain a pair of signal name and mount event type.
407 dbus::Signal* signal) {
408 dbus::MessageReader reader(signal);
411 LOG(ERROR) << "Invalid signal: " << signal->ToString();
417 // Handles MountCompleted signal and calls |handler|.
418 void OnMountCompleted(MountCompletedHandler handler, dbus::Signal* signal) { argument
419 dbus::MessageReader reader(signal);
422 LOG(ERROR) << "Invalid signal: " << signal
405 OnMountEvent(MountEventType event_type, MountEventHandler handler, dbus::Signal* signal) argument
429 OnFormatCompleted(FormatCompletedHandler handler, dbus::Signal* signal) argument
441 OnSignalConnected(const std::string& interface, const std::string& signal, bool succeeded) argument
445 signal << " failed."; local
[all...]
H A Dpower_manager_client.cc242 // Monitor the D-Bus signal for brightness changes. Only the power
330 // Called when a dbus signal is initially connected.
334 LOG_IF(WARNING, !success) << "Failed to connect to signal "
365 void BrightnessChangedReceived(dbus::Signal* signal) { argument
366 dbus::MessageReader reader(signal);
371 LOG(ERROR) << "Brightness changed signal had incorrect parameters: "
372 << signal->ToString();
381 void PeripheralBatteryStatusReceived(dbus::Signal* signal) { argument
382 dbus::MessageReader reader(signal);
386 << power_manager::kPeripheralBatteryStatusSignal << " signal";
401 PowerSupplyPollReceived(dbus::Signal* signal) argument
473 HandleSuspendImminent(bool in_dark_resume, dbus::Signal* signal) argument
513 SuspendDoneReceived(dbus::Signal* signal) argument
531 IdleActionImminentReceived(dbus::Signal* signal) argument
544 IdleActionDeferredReceived(dbus::Signal* signal) argument
548 InputEventReceived(dbus::Signal* signal) argument
[all...]
H A Dmodem_messaging_client_unittest.cc139 // The SmsReceived signal handler given by the tested client.
175 // Run the message loop to run the signal connection result callback.
178 // Send signal.
179 dbus::Signal signal(modemmanager::kModemManager1MessagingInterface,
181 dbus::MessageWriter writer(&signal);
185 sms_received_callback_.Run(&signal);
188 // Send signal again.
189 sms_received_callback_.Run(&signal);
H A Dshill_profile_client_unittest.cc46 // Run the message loop to run the signal connection result callback.
59 // Create a signal.
60 dbus::Signal signal(shill::kFlimflamProfileInterface,
62 dbus::MessageWriter writer(&signal);
81 // Run the signal callback.
82 SendPropertyChangedSignal(&signal);
91 // Run the signal callback again and make sure the observer isn't called.
92 SendPropertyChangedSignal(&signal);
/external/bison/lib/
H A Dsys_wait.in.h63 /* The termination signal. Only to be accessed if WIFSIGNALED(x) is true. */
73 /* The stopping signal. Only to be accessed if WIFSTOPPED(x) is true. */
86 # include <signal.h> /* for SIGTERM */
92 /* When an unhandled fatal signal terminates a process, the exit code is 3. */
97 /* The signal that terminated a process is not known posthum. */
/external/bluetooth/bluedroid/include/
H A Dbte.h28 #include <signal.h>
/external/chromium_org/chrome/browser/chromeos/dbus/
H A Dproxy_resolution_service_provider.cc155 // Send a signal to the client.
156 dbus::Signal signal(signal_interface, signal_name);
157 dbus::MessageWriter writer(&signal);
161 exported_object->SendSignal(&signal);
162 VLOG(1) << "Sending signal: " << signal.ToString();
251 // Send an empty response for now. We'll send a signal once the network proxy
H A Dservice_provider_test_helper.h46 // Setups return signal callback. It's optional and don't need to be called
47 // if tested method doesn't use signal to return results.
81 void MockSendSignal(dbus::Signal* signal);
/external/chromium_org/chrome/common/
H A Dservice_process_util_linux.cc7 #include <signal.h>
/external/chromium_org/chromeos/process_proxy/
H A Dprocess_proxy.h9 #include <signal.h>
/external/chromium_org/components/nacl/loader/nonsfi/
H A Dirt_exception_handling.cc7 #include <signal.h>
29 // This signal does not exist on MIPS.
/external/chromium_org/components/nacl/loader/sandbox_linux/
H A Dnacl_bpf_sandbox_linux.cc12 #include <signal.h>
74 // NaCl uses custom signal stacks.
/external/chromium_org/jingle/glue/
H A Dchrome_async_socket_unittest.cc208 // Helper struct that records the state at the time of a signal.
212 : signal(SIGNAL_ERROR),
218 Signal signal,
222 : signal(signal),
229 (signal == other.signal) &&
236 Signal signal,
238 return SignalSocketState(signal,
246 Signal signal, buz
217 SignalSocketState( Signal signal, ChromeAsyncSocket::State state, ChromeAsyncSocket::Error error, net::Error net_error) argument
235 FromAsyncSocket( Signal signal, buzz::AsyncSocket* async_socket) argument
245 NoError( Signal signal, buzz::AsyncSocket::State state) argument
252 Signal signal; member in struct:jingle_glue::__anon8504::ChromeAsyncSocketTest::SignalSocketState
258 CaptureSocketState(Signal signal) argument
[all...]
/external/chromium_org/sandbox/linux/seccomp-bpf/
H A Dtrap.h8 #include <signal.h>
27 // raising a SIGSYS signal.
41 // Please note that TrapFnc is executed from signal context and must be
42 // async-signal safe:
57 // Enables support for unsafe traps in the SIGSYS signal handler. This is a
/external/chromium_org/sandbox/linux/services/
H A Dthread_helpers.cc9 #include <signal.h>
/external/chromium_org/third_party/WebKit/Source/build/mac/
H A DPrefix.h41 #include <signal.h>
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DThreadingWin.cpp48 * This file includes timedWait/signal/broadcast implementations translated to WebKit coding style from the latest algorithm by
270 void PlatformCondition::signal(bool unblockAll) function in class:WTF::PlatformCondition
370 void ThreadCondition::signal() function in class:WTF::ThreadCondition
372 m_condition.signal(false); // Unblock only 1 thread.
377 m_condition.signal(true); // Unblock all threads.
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/
H A Dmac.py32 import signal namespace
/external/chromium_org/third_party/libevent/
H A Dsignal.c47 #include <signal.h>
70 /* Callback for when the signal handler write a byte to our signaling socket */
101 * Our signal handler is going to write to one end of the socket
137 /* Helper: set the signal handler for evsignal to handler in base, so that
152 * resize saved signal handler array up to the highest signal number.
192 if ((sh = signal(evsignal, handler)) == SIG_ERR) {
193 event_warn("signal");
215 event_debug(("%s: %p: changing signal handler", __func__, ev));
230 /* multiple events may listen to the same signal */
[all...]
/external/chromium_org/third_party/sqlite/src/test/
H A Dcrashtest1.c21 #include <signal.h>
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dgetpc.h34 // the single (inline) function GetPC. GetPC is used in a signal
36 // the signal-handler was triggered.
38 // To get this, we use the ucontext_t argument to the signal-handler
40 // the signal triggered. How to get from a ucontext_t to a Program
63 #include <cygwin/signal.h>
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Dgetpc_test.cc41 #include <signal.h>
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dgetpc.h34 // the single (inline) function GetPC. GetPC is used in a signal
36 // the signal-handler was triggered.
38 // To get this, we use the ucontext_t argument to the signal-handler
40 // the signal triggered. How to get from a ucontext_t to a Program
63 #include <cygwin/signal.h>

Completed in 3067 milliseconds

<<11121314151617181920>>