Lines Matching refs:hook_res
303 int hook_res; in evrpc_request_cb() local
310 hook_res = evrpc_process_hooks(&rpc->base->input_hooks, in evrpc_request_cb()
312 switch (hook_res) { in evrpc_request_cb()
322 EVUTIL_ASSERT(hook_res == EVRPC_TERMINATE || in evrpc_request_cb()
323 hook_res == EVRPC_CONTINUE || in evrpc_request_cb()
324 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()
427 int hook_res; in evrpc_request_done() local
432 hook_res = evrpc_process_hooks(&rpc->base->output_hooks, in evrpc_request_done()
434 switch (hook_res) { in evrpc_request_done()
445 EVUTIL_ASSERT(hook_res == EVRPC_TERMINATE || in evrpc_request_done()
446 hook_res == EVRPC_CONTINUE || in evrpc_request_done()
447 hook_res == EVRPC_PAUSE); in evrpc_request_done()
473 evrpc_request_done_closure(void *arg, enum EVRPC_HOOK_RESULT hook_res) in evrpc_request_done_closure() argument
480 if (hook_res == EVRPC_TERMINATE) in evrpc_request_done_closure()
678 int hook_res; in evrpc_schedule_request() local
683 hook_res = evrpc_process_hooks(&pool->output_hooks, in evrpc_schedule_request()
686 switch (hook_res) { in evrpc_schedule_request()
699 EVUTIL_ASSERT(hook_res == EVRPC_TERMINATE || in evrpc_schedule_request()
700 hook_res == EVRPC_CONTINUE || in evrpc_schedule_request()
701 hook_res == EVRPC_PAUSE); in evrpc_schedule_request()
717 evrpc_schedule_request_closure(void *arg, enum EVRPC_HOOK_RESULT hook_res) in evrpc_schedule_request_closure() argument
727 if (hook_res == EVRPC_TERMINATE) in evrpc_schedule_request_closure()
863 int hook_res = EVRPC_CONTINUE; in evrpc_reply_done() local
880 hook_res = evrpc_process_hooks(&pool->input_hooks, in evrpc_reply_done()
883 switch (hook_res) { in evrpc_reply_done()
901 EVUTIL_ASSERT(hook_res == EVRPC_TERMINATE || in evrpc_reply_done()
902 hook_res == EVRPC_CONTINUE || in evrpc_reply_done()
903 hook_res == EVRPC_PAUSE); in evrpc_reply_done()
907 evrpc_reply_done_closure(ctx, hook_res); in evrpc_reply_done()
913 evrpc_reply_done_closure(void *arg, enum EVRPC_HOOK_RESULT hook_res) in evrpc_reply_done_closure() argument
927 } else if (hook_res == EVRPC_TERMINATE) { in evrpc_reply_done_closure()