Searched defs:signals (Results 1 - 25 of 47) sorted by relevance

12

/external/autotest/frontend/afe/
H A Dmanagement.py3 from django.db.models import signals namespace
49 signals.post_syncdb.connect(create_admin_group, sender=models)
/external/libmojo/mojo/edk/system/
H A Dawakable_list.h39 void Add(Awakable* awakable, MojoHandleSignals signals, uintptr_t context);
43 MojoResult AddWatcher(MojoHandleSignals signals,
51 AwakeInfo(Awakable* awakable, MojoHandleSignals signals, uintptr_t context) argument
52 : awakable(awakable), signals(signals), context(context) {}
55 MojoHandleSignals signals; member in struct:mojo::edk::AwakableList::AwakeInfo
H A Dwatcher_set.cc27 MojoResult WatcherSet::Add(MojoHandleSignals signals, argument
35 if (!current_state.can_satisfy(signals))
38 scoped_refptr<Watcher> watcher(new Watcher(signals, callback));
H A Dawakable_list.cc29 if (state.satisfies(it->signals))
31 else if (!state.can_satisfy(it->signals))
55 MojoHandleSignals signals,
57 awakables_.push_back(AwakeInfo(awakable, signals, context));
75 MojoResult AwakableList::AddWatcher(MojoHandleSignals signals, argument
79 return watchers_.Add(signals, callback, context, current_state);
54 Add(Awakable* awakable, MojoHandleSignals signals, uintptr_t context) argument
H A Dwait_set_dispatcher.h32 MojoHandleSignals signals,
42 MojoHandleSignals signals,
59 MojoHandleSignals signals; member in struct:mojo::edk::WaitSetDispatcher::WaitState
H A Dwatcher.cc13 Watcher::Watcher(MojoHandleSignals signals, const WatchCallback& callback) argument
14 : signals_(signals), callback_(callback) {
H A Dcore_unittest.cc197 // On invalid argument, it shouldn't modify the handle signals state.
206 // On invalid argument, it shouldn't modify the handle signals state.
216 MojoHandleSignals signals[2] = {~MOJO_HANDLE_SIGNAL_NONE, local
220 core()->WaitMany(handles, signals, 0, MOJO_DEADLINE_INDEFINITE,
223 core()->WaitMany(nullptr, signals, 0, MOJO_DEADLINE_INDEFINITE,
231 core()->WaitMany(nullptr, signals, 0, MOJO_DEADLINE_INDEFINITE,
244 core()->WaitMany(handles, signals, 1, MOJO_DEADLINE_INDEFINITE, nullptr,
252 handles, signals, 1, MOJO_DEADLINE_INDEFINITE, &result_index,
267 handles, signals, 1, MOJO_DEADLINE_INDEFINITE, &result_index,
278 handles, signals,
457 MojoHandleSignals signals = ~MOJO_HANDLE_SIGNAL_NONE; local
517 MojoHandleSignals signals[2] = {MOJO_HANDLE_SIGNAL_READABLE, local
[all...]
H A Dwait_set_dispatcher.cc73 MojoHandleSignals signals,
89 const MojoResult result = dispatcher->AddAwakable(waiter_.get(), signals,
101 state.signals = signals;
182 waiter_.get(), it->second.signals, d, nullptr);
247 MojoHandleSignals signals,
252 // |awakable_list_| because we need to check the signals state and add to
254 // possible for the signals state to change after it is checked, but before
258 if (state.satisfies(signals)) {
263 if (!state.can_satisfy(signals)) {
71 AddWaitingDispatcher( const scoped_refptr<Dispatcher>& dispatcher, MojoHandleSignals signals, uintptr_t context) argument
246 AddAwakable(Awakable* awakable, MojoHandleSignals signals, uintptr_t context, HandleSignalsState* signals_state) argument
[all...]
/external/libmojo/mojo/public/c/system/tests/
H A Dcore_unittest_pure_c.c45 MojoHandleSignals signals; local
63 signals = MOJO_HANDLE_SIGNAL_READABLE;
67 MojoWaitMany(&handle0, &signals, 1, 1, &result_index, states));
/external/libmojo/mojo/public/java/system/src/org/chromium/mojo/system/
H A DHandle.java30 public WaitResult wait(Core.HandleSignals signals, long deadline); argument
H A DAsyncWaiter.java51 Cancellable asyncWait(Handle handle, HandleSignals signals, long deadline, Callback callback); argument
H A DCore.java27 * @param signals the serialized signals.
29 public HandleSignals(int signals) { argument
30 super(signals);
39 * Immutable signals.
103 * the signals can still be satisfied.
138 * |MojoResult.OK| if some signal in |signals| was satisfied (or is already satisfied).
140 * |MojoResult.DEADLINE_EXCEEDED| if the deadline has passed without any of the signals
146 * |signals| will ever be satisfied (for example, if the other endpoint is closed).
185 * Waits on the given |handle| until the state indicated by |signals| i
190 wait(Handle handle, HandleSignals signals, long deadline) argument
[all...]
H A DInvalidHandle.java44 public WaitResult wait(HandleSignals signals, long deadline) { argument
/external/libmojo/mojo/edk/js/
H A Dsupport.cc27 MojoHandleSignals signals,
30 args.isolate(), callback, handle, signals, true /* one_shot */).get();
39 MojoHandleSignals signals,
42 args.isolate(), callback, handle, signals, false /* one_shot */).get();
25 AsyncWait(const gin::Arguments& args, gin::Handle<HandleWrapper> handle, MojoHandleSignals signals, v8::Handle<v8::Function> callback) argument
37 Watch(const gin::Arguments& args, gin::Handle<HandleWrapper> handle, MojoHandleSignals signals, v8::Handle<v8::Function> callback) argument
H A Dwaiting_callback.cc31 MojoHandleSignals signals,
36 handle_wrapper->get(), signals,
40 // The signals may already be unsatisfiable.
27 Create( v8::Isolate* isolate, v8::Handle<v8::Function> callback, gin::Handle<HandleWrapper> handle_wrapper, MojoHandleSignals signals, bool one_shot) argument
H A Dcore.cc40 MojoHandleSignals signals,
46 MojoResult result = mojo::Wait(handle, signals, deadline, &signals_state);
65 const std::vector<MojoHandleSignals>& signals,
70 std::vector<MojoHandleSignalsState> signals_states(signals.size());
72 mojo::WaitMany(handles, signals, deadline, &signals_states);
38 WaitHandle(const gin::Arguments& args, mojo::Handle handle, MojoHandleSignals signals, MojoDeadline deadline) argument
63 WaitMany(const gin::Arguments& args, const std::vector<mojo::Handle>& handles, const std::vector<MojoHandleSignals>& signals, MojoDeadline deadline) argument
/external/valgrind/coregrind/m_gdbserver/
H A Dsignals.c36 /* 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:__anon24611
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 i
[all...]
/external/libmojo/mojo/android/system/src/org/chromium/mojo/system/impl/
H A DHandleBase.java69 public WaitResult wait(HandleSignals signals, long deadline) { argument
70 return mCore.wait(this, signals, deadline);
/external/libmojo/mojo/public/cpp/system/
H A Dwatcher.cc69 MojoHandleSignals signals,
78 MojoResult result = MojoWatch(handle_.value(), signals,
68 Start(Handle handle, MojoHandleSignals signals, const ReadyCallback& callback) argument
H A Dhandle.h188 MojoHandleSignals signals,
191 return MojoWait(handle.value(), signals, deadline, signals_state);
231 const FlagsVectorType& signals,
234 if (signals.size() != handles.size() ||
235 (signals_states && signals_states->size() != signals.size()))
247 const MojoHandleSignals& first_signals = signals[0];
262 const FlagsVectorType& signals,
265 if (signals.size() != handles.size())
277 const MojoHandleSignals& first_signals = signals[0];
187 Wait(Handle handle, MojoHandleSignals signals, MojoDeadline deadline, MojoHandleSignalsState* signals_state) argument
230 WaitMany(const HandleVectorType& handles, const FlagsVectorType& signals, MojoDeadline deadline, SignalsStateVectorType* signals_states) argument
261 WaitMany(const HandleVectorType& handles, const FlagsVectorType& signals, MojoDeadline deadline, decltype(nullptr) signals_states) argument
/external/ipsec-tools/src/racoon/
H A Dsession.c316 static int signals[] = { variable
334 /* Do not just set it to 1, because we may miss some signals by just setting
553 for (i = 0; signals[i] != 0; i++)
554 if (set_signal(signals[i], signal_handler) < 0) {
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/
H A DHandleMock.java41 public WaitResult wait(Core.HandleSignals signals, long deadline) { argument
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
H A D18-1.c106 /* We block the signals SIGUSR1 and SIGUSR2 for this THREAD */
172 int signals[] = { SIGBUS, SIGKILL, SIGABRT, SIGCHLD, SIGHUP }; local
173 #define NSIG (sizeof(signals)/sizeof(int))
182 /* We don't block the signals SIGUSR1 and SIGUSR2 for this THREAD */
198 ret = sigdelset(&set, signals[j - NSIG]);
200 ret = sigaddset(&set, signals[j]);
261 /* We now block the signals SIGUSR1 and SIGUSR2 for this THREAD */
323 output(" %d signals were sent meanwhile.\n", count_sig);
/external/autotest/client/tests/monotonic_time/src/
H A Dtime_test.c238 sigset_t signals; local
244 sigemptyset(&signals);
245 sigaddset(&signals, SIGINT);
246 sigprocmask(SIG_BLOCK, &signals, NULL);
278 while (sigtimedwait(&signals, NULL, timeout) < 0) {
/external/libevent/
H A Dsignal.c107 /* The event base that's currently getting informed about signals. */
132 static char signals[1024]; local
143 n = recv(fd, signals, sizeof(signals), 0);
154 ev_uint8_t sig = signals[i];
174 * signals that got delivered.
283 /* catch signals if they happen quickly */
286 event_warnx("Added a signal to event base %p with signals "
288 "signals at a time with the %s backend. The base with "

Completed in 528 milliseconds

12