/fuchsia/zircon/system/ulib/trace/ |
H A D | handler.cpp | 5 #include <trace/handler.h> 20 bool TraceHandler::CallIsCategoryEnabled(trace_handler_t* handler, const char* category) { argument 21 return static_cast<TraceHandler*>(handler)->IsCategoryEnabled(category); 24 void TraceHandler::CallTraceStarted(trace_handler_t* handler) { argument 25 static_cast<TraceHandler*>(handler)->TraceStarted(); 28 void TraceHandler::CallTraceStopped(trace_handler_t* handler, async_dispatcher_t* dispatcher, argument 30 static_cast<TraceHandler*>(handler)->TraceStopped(dispatcher, 34 void TraceHandler::CallNotifyBufferFull(trace_handler_t* handler, argument 37 static_cast<TraceHandler*>(handler)->NotifyBufferFull(wrapped_count,
|
/fuchsia/zircon/system/ulib/trace/include/trace/ |
H A D | handler.h | 9 // See <trace-engine/handler.h> for the C API and more detailed documentation. 14 #include <trace-engine/handler.h> 21 // Make sure the trace has fully stopped before destroying the handler object. 66 static bool CallIsCategoryEnabled(trace_handler_t* handler, const char* category); 67 static void CallTraceStarted(trace_handler_t* handler); 68 static void CallTraceStopped(trace_handler_t* handler, async_dispatcher_t* dispatcher, 70 static void CallNotifyBufferFull(trace_handler_t* handler,
|
/fuchsia/zircon/system/ulib/trace-engine/include/trace-engine/ |
H A D | handler.h | 9 // of the trace engine. The trace engine binds to a single trace handler for 11 // on the trace handler to ask about enabled categories and to report relevant 30 // Trace handler interface. 47 // |handler| is the trace handler object itself. 51 bool (*is_category_enabled)(trace_handler_t* handler, const char* category); 54 void (*trace_started)(trace_handler_t* handler); 61 // |handler| is the trace handler object itself. 68 void (*trace_stopped)(trace_handler_t* handler, async_dispatcher_ [all...] |
/fuchsia/zircon/system/ulib/async/ |
H A D | task.cpp | 12 RetainedTask(fbl::Closure handler, zx::time deadline) argument 14 handler(static_cast<fbl::Closure&&>(handler)) {} 16 fbl::Closure handler; member in struct:async::internal::RetainedTask 21 self->handler(); 28 zx_status_t PostTask(async_dispatcher_t* dispatcher, fbl::Closure handler) { argument 29 return PostTaskForTime(dispatcher, static_cast<fbl::Closure&&>(handler), 33 zx_status_t PostDelayedTask(async_dispatcher_t* dispatcher, fbl::Closure handler, zx::duration delay) { argument 34 return PostTaskForTime(dispatcher, static_cast<fbl::Closure&&>(handler), 38 zx_status_t PostTaskForTime(async_dispatcher_t* dispatcher, fbl::Closure handler, z argument 46 TaskBase(async_task_handler_t* handler) argument 96 Task(Handler handler) argument 106 TaskClosure(fbl::Closure handler) argument [all...] |
H A D | receiver.cpp | 9 ReceiverBase::ReceiverBase(async_receiver_handler_t* handler) argument 10 : receiver_{{ASYNC_STATE_INIT}, handler} {} 18 Receiver::Receiver(Handler handler) argument 19 : ReceiverBase(&Receiver::CallHandler), handler_(fbl::move(handler)) {}
|
H A D | trap.cpp | 9 GuestBellTrapBase::GuestBellTrapBase(async_guest_bell_trap_handler_t* handler) argument 10 : trap_{{ASYNC_STATE_INIT}, handler} {} 19 GuestBellTrap::GuestBellTrap(Handler handler) argument 20 : GuestBellTrapBase(&GuestBellTrap::CallHandler), handler_(fbl::move(handler)) {}
|
H A D | exception.cpp | 10 async_exception_handler_t* handler) 11 : exception_{{ASYNC_STATE_INIT}, handler, task, options} { 12 ZX_DEBUG_ASSERT(handler); variable 52 Handler handler) 54 handler_(fbl::move(handler)) {} 9 ExceptionBase(zx_handle_t task, uint32_t options, async_exception_handler_t* handler) argument 51 Exception(zx_handle_t task, uint32_t options, Handler handler) argument
|
H A D | wait.cpp | 9 WaitBase::WaitBase(zx_handle_t object, zx_signals_t trigger, async_wait_handler_t* handler) argument 10 : wait_{{ASYNC_STATE_INIT}, handler, object, trigger} {} 49 Wait::Wait(zx_handle_t object, zx_signals_t trigger, Handler handler) argument 50 : WaitBase(object, trigger, &Wait::CallHandler), handler_(fbl::move(handler)) {}
|
/fuchsia/zircon/system/uapp/trace-benchmark/ |
H A D | benchmarks.h | 9 #include <trace/handler.h>
|
H A D | benchmarks.cpp | 16 #include "handler.h" 37 BenchmarkHandler handler(&loop, spec_->mode, spec_->buffer_size); 42 [&handler] () { handler.Start(); }, 43 [&handler] () { handler.Stop(); });
|
/fuchsia/zircon/kernel/dev/interrupt/arm_gic/common/include/dev/interrupt/ |
H A D | arm_gic_common.h | 35 // Registers a software generated interrupt handler. 36 static inline zx_status_t gic_register_sgi_handler(unsigned int vector, int_handler handler) { argument 38 return register_int_handler(vector, handler, nullptr);
|
/fuchsia/zircon/system/ulib/fs/ |
H A D | managed-vfs.cpp | 27 void ManagedVfs::Shutdown(ShutdownCallback handler) { argument 28 ZX_DEBUG_ASSERT(handler); 29 zx_status_t status = async::PostTask(dispatcher(), [this, closure = fbl::move(handler)]() mutable { 59 auto handler = fbl::move(shutdown_handler_); local 60 handler(status);
|
H A D | synchronous-vfs.cpp | 25 void SynchronousVfs::Shutdown(ShutdownCallback handler) { argument 33 if (handler) { 34 handler(ZX_OK);
|
/fuchsia/zircon/kernel/platform/pc/ |
H A D | interrupts.cpp | 39 int_handler handler; member in struct:int_handler_struct 169 struct int_handler_struct* handler = &int_handler_table[x86_vector]; local 172 AutoSpinLockNoIrqSave guard(&handler->lock); 173 if (handler->handler) 174 handler->handler(handler->arg); 180 zx_status_t register_int_handler(unsigned int vector, int_handler handler, void* arg) { argument 195 if (x86_vector && !handler) { 348 msi_register_handler(const msi_block_t* block, uint msi_id, int_handler handler, void* ctx) argument [all...] |
/fuchsia/zircon/system/ulib/async/include/lib/async/ |
H A D | receiver.h | 21 // Holds content for a packet receiver and its handler. 25 // been received by the handler or the dispatcher shuts down. There is no way 33 // The handler to invoke when a packet is received. 34 async_receiver_handler_t* handler; member in struct:async_receiver
|
H A D | exception.h | 22 // Holds content for an exception packet receiver and its handler. 25 // (and unmodified) until all packets have been received by the handler or the 33 // The handler to invoke when a packet is received. 34 async_exception_handler_t* handler; member in struct:async_exception
|
H A D | wait.h | 16 // the task's handler ran or the task was canceled. 22 // Holds context for an asynchronous wait operation and its handler. 25 // the structure in memory (and unmodified) until the wait's handler runs, the wait 32 // The wait's handler function. 33 async_wait_handler_t* handler; member in struct:async_wait 43 // specified in |wait|. Invokes the handler when the wait completes. 45 // The wait's handler will be invoked exactly once unless the wait is canceled. 59 // If successful, the wait's handler will not run. 62 // canceled; its handler will not run again and can be released immediately. 65 // dequeued from the port and is pending delivery to its handler (perhap [all...] |
H A D | task.h | 16 // the task's handler ran or the task was canceled. 21 // Holds context for a task and its handler. 24 // the structure in memory (and unmodified) until the task's handler runs, the task 31 // The task's handler function. 32 async_task_handler_t* handler; member in struct:async_task 43 // The task's handler will be invoked exactly once unless the task is canceled. 56 // If successful, the task's handler will not run. 59 // canceled; its handler will not run again and can be released immediately.
|
H A D | trap.h | 21 // Holds context for a bell trap and its handler. 30 // The handler to invoke to handle the trap access. 31 async_guest_bell_trap_handler_t* handler; member in struct:async_guest_bell_trap 34 // Sets a bell trap in the guest to be handled asynchronously via a handler.
|
/fuchsia/zircon/system/ulib/async/include/lib/async/cpp/ |
H A D | task.h | 13 // Posts a task to invoke |handler| with a deadline of now. 15 // The handler will not run if the dispatcher shuts down before it comes due. 20 zx_status_t PostTask(async_dispatcher_t* dispatcher, fbl::Closure handler); 22 // Posts a task to invoke |handler| with a deadline expressed as a |delay| from now. 24 // The handler will not run if the dispatcher shuts down before it comes due. 29 zx_status_t PostDelayedTask(async_dispatcher_t* dispatcher, fbl::Closure handler, zx::duration delay); 31 // Posts a task to invoke |handler| with the specified |deadline|. 33 // The handler will not run if the dispatcher shuts down before it comes due. 38 zx_status_t PostTaskForTime(async_dispatcher_t* dispatcher, fbl::Closure handler, zx::time deadline); 40 // Holds context for a task and its handler, wit 145 set_handler(Handler handler) argument 190 set_handler(fbl::Closure handler) argument [all...] |
H A D | receiver.h | 12 // Holds content for a packet receiver and its handler. 16 // been received by the handler or the dispatcher shuts down. There is no way 25 explicit ReceiverBase(async_receiver_handler_t* handler); 56 // A receiver whose handler is bound to a |async::Task::Handler| function. 71 explicit Receiver(Handler handler = nullptr); 74 void set_handler(Handler handler) { handler_ = fbl::move(handler); } argument 84 // A receiver whose handler is bound to a fixed class member function.
|
/fuchsia/zircon/third_party/ulib/jemalloc/src/ |
H A D | jemalloc_cpp.cpp | 43 std::new_handler handler; local 49 handler = std::set_new_handler(nullptr); 50 std::set_new_handler(handler); 52 if (handler == nullptr) 56 handler();
|
/fuchsia/zircon/third_party/ulib/ngunwind/src/mi/ |
H A D | Gdyn-extract.c | 40 pi->handler = di->u.pi.handler;
|
/fuchsia/zircon/system/core/virtcon/ |
H A D | keyboard.h | 25 zx_status_t vc_input_create(vc_input_t** out, keypress_handler_t handler, int fd);
|
/fuchsia/zircon/kernel/dev/interrupt/ |
H A D | msi.cpp | 43 int_handler handler, 41 msi_register_handler(const msi_block_t* block, uint msi_id, int_handler handler, void *ctx) argument
|