Searched refs:hook_type (Results 1 – 6 of 6) sorted by relevance
/external/cronet/third_party/libevent/ |
D | evrpc.c | 101 enum EVRPC_HOOK_TYPE hook_type, in evrpc_add_hook() argument 108 switch (hook_type) { in evrpc_add_hook() 116 assert(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT); in evrpc_add_hook() 149 evrpc_remove_hook(void *vbase, enum EVRPC_HOOK_TYPE hook_type, void *handle) in evrpc_remove_hook() argument 153 switch (hook_type) { in evrpc_remove_hook() 161 assert(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT); in evrpc_remove_hook()
|
D | evrpc.h | 466 enum EVRPC_HOOK_TYPE hook_type, 479 enum EVRPC_HOOK_TYPE hook_type,
|
/external/cronet/third_party/libevent/test/ |
D | regress_rpc.c | 415 const char *hook_type = arg; in rpc_hook_add_header() local 416 if (strcmp("input", hook_type) == 0) in rpc_hook_add_header() 417 evhttp_add_header(req->input_headers, "X-Hook", hook_type); in rpc_hook_add_header() 419 evhttp_add_header(req->output_headers, "X-Hook", hook_type); in rpc_hook_add_header()
|
/external/libevent/ |
D | evrpc.c | 121 enum EVRPC_HOOK_TYPE hook_type, in evrpc_add_hook() argument 128 switch (hook_type) { in evrpc_add_hook() 136 EVUTIL_ASSERT(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT); in evrpc_add_hook() 169 evrpc_remove_hook(void *vbase, enum EVRPC_HOOK_TYPE hook_type, void *handle) in evrpc_remove_hook() argument 173 switch (hook_type) { in evrpc_remove_hook() 181 EVUTIL_ASSERT(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT); in evrpc_remove_hook()
|
/external/libevent/include/event2/ |
D | rpc.h | 514 enum EVRPC_HOOK_TYPE hook_type, 528 enum EVRPC_HOOK_TYPE hook_type,
|
/external/libevent/test/ |
D | regress_rpc.c | 399 const char *hook_type = arg; in rpc_hook_add_header() local 400 if (strcmp("input", hook_type) == 0) in rpc_hook_add_header() 401 evhttp_add_header(req->input_headers, "X-Hook", hook_type); in rpc_hook_add_header() 403 evhttp_add_header(req->output_headers, "X-Hook", hook_type); in rpc_hook_add_header()
|