Home
last modified time | relevance | path

Searched refs:signals (Results 1 – 25 of 128) sorted by relevance

123456

/external/qemu/distrib/sdl-1.2.15/src/thread/generic/
DSDL_syscond.c36 int signals; member
51 cond->waiting = cond->signals = 0; in SDL_CreateCond()
91 if ( cond->waiting > cond->signals ) { in SDL_CondSignal()
92 ++cond->signals; in SDL_CondSignal()
115 if ( cond->waiting > cond->signals ) { in SDL_CondBroadcast()
118 num_waiting = (cond->waiting - cond->signals); in SDL_CondBroadcast()
119 cond->signals = cond->waiting; in SDL_CondBroadcast()
191 if ( cond->signals > 0 ) { in SDL_CondWaitTimeout()
200 --cond->signals; in SDL_CondWaitTimeout()
/external/qemu/distrib/sdl-1.2.15/src/thread/dc/
DSDL_syscond.c36 int signals; member
51 cond->waiting = cond->signals = 0; in SDL_CreateCond()
91 if ( cond->waiting > cond->signals ) { in SDL_CondSignal()
92 ++cond->signals; in SDL_CondSignal()
115 if ( cond->waiting > cond->signals ) { in SDL_CondBroadcast()
118 num_waiting = (cond->waiting - cond->signals); in SDL_CondBroadcast()
119 cond->signals = cond->waiting; in SDL_CondBroadcast()
191 if ( cond->signals > 0 ) { in SDL_CondWaitTimeout()
200 --cond->signals; in SDL_CondWaitTimeout()
/external/qemu/distrib/sdl-1.2.15/src/thread/os2/
DSDL_syscond.c36 int signals; member
51 cond->waiting = cond->signals = 0; in SDL_CreateCond()
91 if ( cond->waiting > cond->signals ) { in SDL_CondSignal()
92 ++cond->signals; in SDL_CondSignal()
115 if ( cond->waiting > cond->signals ) { in SDL_CondBroadcast()
118 num_waiting = (cond->waiting - cond->signals); in SDL_CondBroadcast()
119 cond->signals = cond->waiting; in SDL_CondBroadcast()
191 if ( cond->signals > 0 ) { in SDL_CondWaitTimeout()
200 --cond->signals; in SDL_CondWaitTimeout()
/external/chromium_org/chrome/browser/extensions/api/serial/
Dserial_connection_win.cc195 api::serial::DeviceControlSignals* signals) const { in GetControlSignals()
200 signals->dcd = (status & MS_RLSD_ON) != 0; in GetControlSignals()
201 signals->cts = (status & MS_CTS_ON) != 0; in GetControlSignals()
202 signals->dsr = (status & MS_DSR_ON) != 0; in GetControlSignals()
203 signals->ri = (status & MS_RING_ON) != 0; in GetControlSignals()
208 const api::serial::HostControlSignals& signals) { in SetControlSignals() argument
209 if (signals.dtr.get()) { in SetControlSignals()
210 if (!EscapeCommFunction(file_, *signals.dtr ? SETDTR : CLRDTR)) { in SetControlSignals()
214 if (signals.rts.get()) { in SetControlSignals()
215 if (!EscapeCommFunction(file_, *signals.rts ? SETRTS : CLRRTS)) { in SetControlSignals()
Dserial_connection_posix.cc204 api::serial::DeviceControlSignals* signals) const { in GetControlSignals()
210 signals->dcd = (status & TIOCM_CAR) != 0; in GetControlSignals()
211 signals->cts = (status & TIOCM_CTS) != 0; in GetControlSignals()
212 signals->dsr = (status & TIOCM_DSR) != 0; in GetControlSignals()
213 signals->ri = (status & TIOCM_RI) != 0; in GetControlSignals()
218 const api::serial::HostControlSignals& signals) { in SetControlSignals() argument
225 if (signals.dtr.get()) { in SetControlSignals()
226 if (*signals.dtr) { in SetControlSignals()
233 if (signals.rts.get()) { in SetControlSignals()
234 if (*signals.rts){ in SetControlSignals()
Dserial_apitest.cc95 virtual bool GetControlSignals(api::serial::DeviceControlSignals* signals) in GetControlSignals()
97 signals->dcd = true; in GetControlSignals()
98 signals->cts = true; in GetControlSignals()
99 signals->ri = true; in GetControlSignals()
100 signals->dsr = true; in GetControlSignals()
/external/wpa_supplicant_8/src/utils/
Deloop_none.c45 struct eloop_signal *signals; member
239 if (eloop.signals[i].sig == sig) {
240 eloop.signals[i].signaled++;
261 if (eloop.signals[i].signaled) { in eloop_process_pending_signals()
262 eloop.signals[i].signaled = 0; in eloop_process_pending_signals()
263 eloop.signals[i].handler(eloop.signals[i].sig, in eloop_process_pending_signals()
264 eloop.signals[i].user_data); in eloop_process_pending_signals()
275 tmp = os_realloc_array(eloop.signals, eloop.signal_count + 1, in eloop_register_signal()
285 eloop.signals = tmp; in eloop_register_signal()
394 os_free(eloop.signals); in eloop_destroy()
Deloop_win.c58 struct eloop_signal *signals; member
365 if (eloop.signals[i].sig == sig) {
366 eloop.signals[i].signaled++;
387 if (eloop.signals[i].signaled) { in eloop_process_pending_signals()
388 eloop.signals[i].signaled = 0; in eloop_process_pending_signals()
389 eloop.signals[i].handler(eloop.signals[i].sig, in eloop_process_pending_signals()
390 eloop.signals[i].user_data); in eloop_process_pending_signals()
407 tmp = os_realloc_array(eloop.signals, eloop.signal_count + 1, in eloop_register_signal()
417 eloop.signals = tmp; in eloop_register_signal()
595 os_free(eloop.signals); in eloop_destroy()
/external/mdnsresponder/mDNSPosix/
DPosixDaemon.c140 sigset_t signals; in MainLoop() local
169 (void) mDNSPosixRunEventLoopOnce(m, &timeout, &signals, &gotData); in MainLoop()
171 if (sigismember(&signals, SIGHUP )) Reconfigure(m); in MainLoop()
172 if (sigismember(&signals, SIGUSR1)) DumpStateLog(m); in MainLoop()
174 if (sigismember(&signals, SIGPIPE)) LogMsg("Received SIGPIPE - ignoring"); in MainLoop()
175 if (sigismember(&signals, SIGINT) || sigismember(&signals, SIGTERM)) break; in MainLoop()
/external/chromium_org/chrome/browser/ui/gtk/infobars/
Dbefore_translate_infobar_gtk.cc43 signals()->Connect(combobox, "changed", in PlatformSpecificSetOwner()
52 signals()->Connect(button, "clicked", in PlatformSpecificSetOwner()
58 signals()->Connect(button, "clicked", in PlatformSpecificSetOwner()
68 signals()->Connect(button, "clicked", in PlatformSpecificSetOwner()
78 signals()->Connect(button, "clicked", in PlatformSpecificSetOwner()
/external/chromium_org/tools/idl_parser/test_parser/
Dlabel_ppapi.idl11 This comment signals that a node of type <Type> is created with the
15 This comment signals that a error of <Error String> is generated. The error
19 This comment signals that a property has been set on the Node such that
28 This comment signals that a tree of nodes matching the BUILD comment
Dinline_ppapi.idl11 This comment signals that a node of type <Type> is created with the
15 This comment signals that a error of <Error String> is generated. The error
19 This comment signals that a property has been set on the Node such that
28 This comment signals that a tree of nodes matching the BUILD comment
Dstruct_ppapi.idl11 This comment signals that a node of type <Type> is created with the
15 This comment signals that a error of <Error String> is generated. The error
19 This comment signals that a property has been set on the Node such that
28 This comment signals that a tree of nodes matching the BUILD comment
Dimplements_web.idl11 This comment signals that a node of type <Type> is created with the
15 This comment signals that a error of <Error String> is generated. The error
19 This comment signals that a property has been set on the Node such that
28 This comment signals that a tree of nodes matching the BUILD comment
Dexception_web.idl11 This comment signals that a node of type <Type> is created with the
15 This comment signals that a error of <Error String> is generated. The error
19 This comment signals that a property has been set on the Node such that
28 This comment signals that a tree of nodes matching the BUILD comment
Dtypedef_ppapi.idl11 This comment signals that a node of type <Type> is created with the
15 This comment signals that a error of <Error String> is generated. The error
19 This comment signals that a property has been set on the Node such that
28 This comment signals that a tree of nodes matching the BUILD comment
Dextattr_ppapi.idl11 This comment signals that a node of type <Type> is created with the
15 This comment signals that a error of <Error String> is generated. The error
19 This comment signals that a property has been set on the Node such that
28 This comment signals that a tree of nodes matching the BUILD comment
Ddictionary_web.idl11 This comment signals that a node of type <Type> is created with the
15 This comment signals that a error of <Error String> is generated. The error
19 This comment signals that a property has been set on the Node such that
28 This comment signals that a tree of nodes matching the BUILD comment
Dcallback_web.idl11 This comment signals that a node of type <Type> is created with the
15 This comment signals that a error of <Error String> is generated. The error
19 This comment signals that a property has been set on the Node such that
28 This comment signals that a tree of nodes matching the BUILD comment
Dinterface_web.idl11 This comment signals that a node of type <Type> is created with the
15 This comment signals that a error of <Error String> is generated. The error
19 This comment signals that a property has been set on the Node such that
28 This comment signals that a tree of nodes matching the BUILD comment
Denum_web.idl11 This comment signals that a node of type <Type> is created with the
15 This comment signals that a error of <Error String> is generated. The error
19 This comment signals that a property has been set on the Node such that
28 This comment signals that a tree of nodes matching the BUILD comment
/external/valgrind/main/docs/internals/
Dthreads-syscalls-signals.txt57 all its signals blocked (all but the fault signals: SEGV, BUS, ILL, etc).
60 signals are pending for it. poll_signals grabs the next pending signal
62 it uses the sigtimedwait() syscall to fetch blocked pending signals
64 we avoid the complexity of having signals delivered asynchronously via
68 Fault signals, being caused by a specific instruction, are the exception
80 have to set things up to accept signals during a syscall so that we get
88 window where signals are actually unblocked very narrow, the number of
95 per-signal special cases (which is, roughly, signals 1-32 are not queued
96 except when they are, and signals 33-64 are queued except when they aren't).
100 signals raised by kill(), and synchronous faults raised by an
[all …]
/external/linux-tools-perf/util/
Dsigchain.c11 static struct sigchain_signal signals[SIGCHAIN_MAX_SIGNALS]; variable
21 struct sigchain_signal *s = signals + sig; in sigchain_push()
34 struct sigchain_signal *s = signals + sig; in sigchain_pop()
/external/mtpd/
Dmtpd.c52 static int signals[2]; variable
56 write(signals[1], &signal, sizeof(int)); in interrupt()
168 if (pipe(signals) == -1) { in main()
172 fcntl(signals[0], F_SETFD, FD_CLOEXEC); in main()
173 fcntl(signals[1], F_SETFD, FD_CLOEXEC); in main()
186 pollfds[1].fd = signals[0]; in main()
218 read(signals[0], &signal, sizeof(int)); in main()
/external/chromium_org/chrome/common/extensions/api/
Dserial.idl163 // The set of control signals which may be sent to a connected serial device
164 // using <code>setControlSignals</code>. Note that support for these signals
174 // The set of control signals which may be set by a connected serial device.
176 // support for these signals is device-dependent.
191 // Returns a snapshot of current control signals.
192 callback GetControlSignalsCallback = void (DeviceControlSignals signals);
286 // Retrieves the state of control signals on a given connection.
288 // |callback| : Called when the control signals are available.
292 // Sets the state of control signals on a given connection.
294 // |signals| : The set of signal changes to send to the device.
[all …]

123456