/external/qemu/distrib/sdl-1.2.15/src/thread/dc/ |
SDL_syscond.c | 36 int signals; member in struct:SDL_cond 51 cond->waiting = cond->signals = 0; 91 if ( cond->waiting > cond->signals ) { 92 ++cond->signals; 115 if ( cond->waiting > cond->signals ) { 118 num_waiting = (cond->waiting - cond->signals); 119 cond->signals = cond->waiting; 191 if ( cond->signals > 0 ) { 200 --cond->signals;
|
/external/qemu/distrib/sdl-1.2.15/src/thread/generic/ |
SDL_syscond.c | 36 int signals; member in struct:SDL_cond 51 cond->waiting = cond->signals = 0; 91 if ( cond->waiting > cond->signals ) { 92 ++cond->signals; 115 if ( cond->waiting > cond->signals ) { 118 num_waiting = (cond->waiting - cond->signals); 119 cond->signals = cond->waiting; 191 if ( cond->signals > 0 ) { 200 --cond->signals;
|
/external/qemu/distrib/sdl-1.2.15/src/thread/os2/ |
SDL_syscond.c | 36 int signals; member in struct:SDL_cond 51 cond->waiting = cond->signals = 0; 91 if ( cond->waiting > cond->signals ) { 92 ++cond->signals; 115 if ( cond->waiting > cond->signals ) { 118 num_waiting = (cond->waiting - cond->signals); 119 cond->signals = cond->waiting; 191 if ( cond->signals > 0 ) { 200 --cond->signals;
|
/system/core/toolbox/ |
kill.c | 11 } signals[] = { variable in typeref:struct:__anon62819 13 /* Single Unix Specification signals */ 42 /* non-SUS signals */ 63 // Sort the signals 64 for (i = 0; i < sizeof(signals)/sizeof(signals[0]); i++) { 65 sorted_signals[signals[i].number] = i; 75 fprintf(stderr, "%2d) SIG%-9s ", i, signals[index].name); 91 for (i = 1; i < sizeof(signals) / sizeof(signals[0]); i++) [all...] |
/external/linux-tools-perf/util/ |
sigchain.c | 11 static struct sigchain_signal signals[SIGCHAIN_MAX_SIGNALS]; variable in typeref:struct:sigchain_signal 21 struct sigchain_signal *s = signals + sig; 34 struct sigchain_signal *s = signals + sig;
|
/external/chromium_org/chrome/browser/ui/gtk/infobars/ |
before_translate_infobar_gtk.cc | 44 signals()->Connect(combobox, "changed", 53 signals()->Connect(button, "clicked", 59 signals()->Connect(button, "clicked", 69 signals()->Connect(button, "clicked", 79 signals()->Connect(button, "clicked",
|
after_translate_infobar_gtk.cc | 53 signals()->Connect(original_lang_combo, "changed", 60 signals()->Connect(target_lang_combo, "changed", 83 signals()->Connect(button, "clicked",
|
confirm_infobar_gtk.cc | 59 signals()->Connect(label, "map", 69 signals()->Connect(link, "clicked", G_CALLBACK(OnLinkClickedThunk), this); 92 signals()->Connect(button, "clicked",
|
translate_message_infobar_gtk.cc | 35 signals()->Connect(button, "clicked", G_CALLBACK(&OnButtonPressedThunk),
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/ |
__init__.py | 66 from .signals import installHandler, registerResult, removeResult, removeHandler
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/ |
__init__.py | 66 from .signals import installHandler, registerResult, removeResult, removeHandler
|
/external/wpa_supplicant_8/src/utils/ |
eloop_none.c | 45 struct eloop_signal *signals; member in struct:eloop_data 239 if (eloop.signals[i].sig == sig) { 240 eloop.signals[i].signaled++; 261 if (eloop.signals[i].signaled) { 262 eloop.signals[i].signaled = 0; 263 eloop.signals[i].handler(eloop.signals[i].sig, 264 eloop.signals[i].user_data); 275 tmp = os_realloc_array(eloop.signals, eloop.signal_count + 1, 285 eloop.signals = tmp [all...] |
eloop_win.c | 58 struct eloop_signal *signals; member in struct:eloop_data 365 if (eloop.signals[i].sig == sig) { 366 eloop.signals[i].signaled++; 387 if (eloop.signals[i].signaled) { 388 eloop.signals[i].signaled = 0; 389 eloop.signals[i].handler(eloop.signals[i].sig, 390 eloop.signals[i].user_data); 407 tmp = os_realloc_array(eloop.signals, eloop.signal_count + 1, 417 eloop.signals = tmp [all...] |
/external/mdnsresponder/mDNSPosix/ |
PosixDaemon.c | 140 sigset_t signals; local 169 (void) mDNSPosixRunEventLoopOnce(m, &timeout, &signals, &gotData); 171 if (sigismember(&signals, SIGHUP )) Reconfigure(m); 172 if (sigismember(&signals, SIGUSR1)) DumpStateLog(m); 174 if (sigismember(&signals, SIGPIPE)) LogMsg("Received SIGPIPE - ignoring"); 175 if (sigismember(&signals, SIGINT) || sigismember(&signals, SIGTERM)) break;
|
/art/runtime/ |
signal_catcher.h | 29 * A daemon thread that catches signals and does something useful. For 50 int WaitForSignal(Thread* self, SignalSet& signals);
|
signal_catcher.cc | 80 // Since we know the thread is just sitting around waiting for signals 163 int SignalCatcher::WaitForSignal(Thread* self, SignalSet& signals) { 166 // Signals for sigwait() must be blocked but not ignored. We 167 // block signals like SIGQUIT for all threads, so the condition 170 int signal_number = signals.Wait(); 199 // Set up mask with signals we want to handle. 200 SignalSet signals; local 201 signals.Add(SIGQUIT); 202 signals.Add(SIGUSR1); 205 int signal_number = signal_catcher->WaitForSignal(self, signals); [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/unittest2/ |
__init__.py | 55 from unittest2.signals import (
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
comstats.h | 67 unsigned long signals; member in struct:__anon39303
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
comstats.h | 67 unsigned long signals; member in struct:__anon40894
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
comstats.h | 67 unsigned long signals; member in struct:__anon42408
|
/external/mtpd/ |
mtpd.c | 51 /* We redirect signals to a pipe in order to prevent race conditions. */ 52 static int signals[2]; variable 56 write(signals[1], &signal, sizeof(int)); 168 if (pipe(signals) == -1) { 172 fcntl(signals[0], F_SETFD, FD_CLOEXEC); 173 fcntl(signals[1], F_SETFD, FD_CLOEXEC); 186 pollfds[1].fd = signals[0]; 218 read(signals[0], &signal, sizeof(int));
|
/external/chromium_org/media/audio/ |
cross_process_notification_unittest.cc | 159 MultiNotifierWorkerFlagArray(size_t count, FlagArray* signals, 162 : count_(count), signals_(signals), shared_data_(shared_data), 205 // Initializes two notifiers, signals the each one and make sure the others 287 // FlagArray for the 1000 signals. This approach is significantly faster. 295 FlagArray signals; local 296 ASSERT_GE(signals.size(), kCount); 304 MultiNotifierWorkerFlagArray worker1(kCount, &signals, &data[0], repeats, &a); 305 MultiNotifierWorkerFlagArray worker2(kCount, &signals, &data[0], repeats, &b); 311 signals.set(i);
|
/external/valgrind/main/coregrind/m_gdbserver/ |
signals.c | 36 /* This table must match in order and size the signals in enum target_signal 37 in gdb/signals.h. */ 42 } signals [] = variable in typeref:struct:__anon29662 211 && signals[sig].name != NULL) 212 return signals[sig].name; 233 if (signals[sig].name != NULL 234 && strcmp (name, signals[sig].name) == 0) 244 /* Convert host signal to our signals. */ 725 /* This block of signals is continuous, and 734 /* This block of signals is continuous, an [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
test_break.py | 27 unittest.signals._results = weakref.WeakKeyDictionary() 28 unittest.signals._interrupt_handler = None 42 self.assertTrue(unittest.signals._interrupt_handler.called) 48 for ref in unittest.signals._results: 161 self.assertIn(result, unittest.signals._results)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
test_break.py | 27 unittest.signals._results = weakref.WeakKeyDictionary() 28 unittest.signals._interrupt_handler = None 42 self.assertTrue(unittest.signals._interrupt_handler.called) 48 for ref in unittest.signals._results: 161 self.assertIn(result, unittest.signals._results)
|