Lines Matching refs:hook_res
302 int hook_res; in evrpc_request_cb() local
309 hook_res = evrpc_process_hooks(&rpc->base->input_hooks, in evrpc_request_cb()
311 switch (hook_res) { in evrpc_request_cb()
321 EVUTIL_ASSERT(hook_res == EVRPC_TERMINATE || in evrpc_request_cb()
322 hook_res == EVRPC_CONTINUE || in evrpc_request_cb()
323 hook_res == EVRPC_PAUSE); in evrpc_request_cb()
338 evrpc_request_cb_closure(void *arg, enum EVRPC_HOOK_RESULT hook_res) in evrpc_request_cb_closure() argument
348 if (hook_res == EVRPC_TERMINATE) in evrpc_request_cb_closure()
428 int hook_res; in evrpc_request_done() local
433 hook_res = evrpc_process_hooks(&rpc->base->output_hooks, in evrpc_request_done()
435 switch (hook_res) { in evrpc_request_done()
446 EVUTIL_ASSERT(hook_res == EVRPC_TERMINATE || in evrpc_request_done()
447 hook_res == EVRPC_CONTINUE || in evrpc_request_done()
448 hook_res == EVRPC_PAUSE); in evrpc_request_done()
475 evrpc_request_done_closure(void *arg, enum EVRPC_HOOK_RESULT hook_res) in evrpc_request_done_closure() argument
482 if (hook_res == EVRPC_TERMINATE) in evrpc_request_done_closure()
681 int hook_res; in evrpc_schedule_request() local
686 hook_res = evrpc_process_hooks(&pool->output_hooks, in evrpc_schedule_request()
689 switch (hook_res) { in evrpc_schedule_request()
702 EVUTIL_ASSERT(hook_res == EVRPC_TERMINATE || in evrpc_schedule_request()
703 hook_res == EVRPC_CONTINUE || in evrpc_schedule_request()
704 hook_res == EVRPC_PAUSE); in evrpc_schedule_request()
720 evrpc_schedule_request_closure(void *arg, enum EVRPC_HOOK_RESULT hook_res) in evrpc_schedule_request_closure() argument
730 if (hook_res == EVRPC_TERMINATE) in evrpc_schedule_request_closure()
866 int hook_res = EVRPC_CONTINUE; in evrpc_reply_done() local
883 hook_res = evrpc_process_hooks(&pool->input_hooks, in evrpc_reply_done()
886 switch (hook_res) { in evrpc_reply_done()
904 EVUTIL_ASSERT(hook_res == EVRPC_TERMINATE || in evrpc_reply_done()
905 hook_res == EVRPC_CONTINUE || in evrpc_reply_done()
906 hook_res == EVRPC_PAUSE); in evrpc_reply_done()
910 evrpc_reply_done_closure(ctx, hook_res); in evrpc_reply_done()
916 evrpc_reply_done_closure(void *arg, enum EVRPC_HOOK_RESULT hook_res) in evrpc_reply_done_closure() argument
930 } else if (hook_res == EVRPC_TERMINATE) { in evrpc_reply_done_closure()