Home
last modified time | relevance | path

Searched refs:trap_handle (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/mojo/public/c/system/
Dtrap.h207 MojoHandle* trap_handle);
243 MojoAddTrigger(MojoHandle trap_handle,
271 MojoRemoveTrigger(MojoHandle trap_handle,
313 MojoArmTrap(MojoHandle trap_handle,
Dthunks.cc284 MojoHandle* trap_handle) { in MojoCreateTrap() argument
285 return INVOKE_THUNK(CreateTrap, handler, options, trap_handle); in MojoCreateTrap()
288 MojoResult MojoAddTrigger(MojoHandle trap_handle, in MojoAddTrigger() argument
294 return INVOKE_THUNK(AddTrigger, trap_handle, handle, signals, condition, in MojoAddTrigger()
298 MojoResult MojoRemoveTrigger(MojoHandle trap_handle, in MojoRemoveTrigger() argument
301 return INVOKE_THUNK(RemoveTrigger, trap_handle, context, options); in MojoRemoveTrigger()
304 MojoResult MojoArmTrap(MojoHandle trap_handle, in MojoArmTrap() argument
308 return INVOKE_THUNK(ArmTrap, trap_handle, options, num_blocking_events, in MojoArmTrap()
Dthunks.h147 MojoHandle* trap_handle);
148 MojoResult (*AddTrigger)(MojoHandle trap_handle,
154 MojoResult (*RemoveTrigger)(MojoHandle trap_handle,
157 MojoResult (*ArmTrap)(MojoHandle trap_handle,
/external/libchrome/mojo/core/
Dentrypoints.cc219 MojoHandle* trap_handle) { in MojoCreateTrapImpl() argument
220 return g_core->CreateTrap(handler, options, trap_handle); in MojoCreateTrapImpl()
223 MojoResult MojoAddTriggerImpl(MojoHandle trap_handle, in MojoAddTriggerImpl() argument
229 return g_core->AddTrigger(trap_handle, handle, signals, condition, context, in MojoAddTriggerImpl()
233 MojoResult MojoRemoveTriggerImpl(MojoHandle trap_handle, in MojoRemoveTriggerImpl() argument
236 return g_core->RemoveTrigger(trap_handle, context, options); in MojoRemoveTriggerImpl()
239 MojoResult MojoArmTrapImpl(MojoHandle trap_handle, in MojoArmTrapImpl() argument
243 return g_core->ArmTrap(trap_handle, options, num_blocking_events, in MojoArmTrapImpl()
Dcore.h174 MojoHandle* trap_handle);
175 MojoResult AddTrigger(MojoHandle trap_handle,
181 MojoResult RemoveTrigger(MojoHandle trap_handle,
184 MojoResult ArmTrap(MojoHandle trap_handle,
Dcore.cc317 MojoHandle* trap_handle) { in CreateTrap() argument
322 if (!trap_handle) in CreateTrap()
324 *trap_handle = AddDispatcher(new WatcherDispatcher(handler)); in CreateTrap()
325 if (*trap_handle == MOJO_HANDLE_INVALID) in CreateTrap()
330 MojoResult Core::AddTrigger(MojoHandle trap_handle, in AddTrigger() argument
340 scoped_refptr<Dispatcher> watcher = GetDispatcher(trap_handle); in AddTrigger()
352 MojoResult Core::RemoveTrigger(MojoHandle trap_handle, in RemoveTrigger() argument
359 scoped_refptr<Dispatcher> watcher = GetDispatcher(trap_handle); in RemoveTrigger()
365 MojoResult Core::ArmTrap(MojoHandle trap_handle, in ArmTrap() argument
373 scoped_refptr<Dispatcher> watcher = GetDispatcher(trap_handle); in ArmTrap()
/external/libchrome/mojo/public/cpp/system/
Dtrap.cc12 ScopedTrapHandle* trap_handle) { in CreateTrap() argument
16 trap_handle->reset(TrapHandle(handle)); in CreateTrap()
Dtrap.h32 ScopedTrapHandle* trap_handle);
Dsimple_watcher.cc28 TrapHandle trap_handle, in Create() argument
42 *result = MojoAddTrigger(trap_handle.value(), handle.value(), signals, in Create()