Lines Matching refs:exception
18 - [async/exception.h](include/lib/async/exception.h)
26 - [async/cpp/exception.h](include/lib/async/cpp/exception.h)
80 to register it with the dispatcher. When an exception happens, the dispatcher
86 The client is responsible for ensuring that the exception structure remains in
90 See [async/exception.h](include/lib/async/exception.h) for details.
96 void handler(async_dispatcher_t* async, async_exception_t* exception,
99 status, exception ? exception->type : 0);
101 // ... process exception ...
103 // get exceptions for more than just |exception->task|.
104 zx_handle_t task = handle_of(exception_packet->exception.tid);
106 status = async_resume_from_exception(async, exception, task, options);
115 async_exception_t* exception = calloc(1, sizeof(async_exception_t));
116 exception->handler = handler;
117 exception->task = task;
118 exception->options = options;
119 zx_status_t status = async_bind_exception_port(async, exception);
121 *out_exception = exception;
123 free(exception);
128 zx_status_t eunbind(async_exception_t* exception) {
130 zx_status_t status = async_unbind_exception_port(dispatcher, exception);
131 free(exception);