Home
last modified time | relevance | path

Searched refs:state (Results 1 – 17 of 17) sorted by relevance

/libevent-2.1.12/
H A Dbufferevent_filter.c139 return state == BEV_NORMAL && in be_underlying_writebuf_full()
151 return state == BEV_NORMAL && in be_readbuf_full()
162 (void)state; in be_null_filter()
309 if (state == BEV_NORMAL) { in be_filter_process_input()
350 if (state == BEV_NORMAL) { in be_filter_process_output()
373 if (state == BEV_NORMAL && in be_filter_process_output()
381 state, in be_filter_process_output()
454 state = BEV_FINISHED; in be_filter_read_nolock_()
456 state = BEV_NORMAL; in be_filter_read_nolock_()
493 state = BEV_FINISHED; in bufferevent_filtered_inbuf_cb()
[all …]
H A Dbufferevent_openssl.c326 unsigned state : 2; member
1023 switch (bev_ssl->state) { in do_handshake()
1039 bev_ssl->state = BUFFEREVENT_SSL_OPEN; in do_handshake()
1270 bev_ssl->state = state; in be_openssl_set_fd()
1272 switch (state) { in be_openssl_set_fd()
1347 enum bufferevent_ssl_state state, in bufferevent_openssl_new_impl() argument
1385 bev_ssl->old_state = state; in bufferevent_openssl_new_impl()
1397 if (state == BUFFEREVENT_SSL_OPEN) in bufferevent_openssl_new_impl()
1417 enum bufferevent_ssl_state state, in bufferevent_openssl_filter_new() argument
1444 enum bufferevent_ssl_state state, in bufferevent_openssl_socket_new() argument
[all …]
H A Dhttp.c418 switch (evcon->state) { in evhttp_connected()
836 evcon->state = EVCON_IDLE; in evhttp_connection_done()
869 evcon->state = EVCON_WRITING; in evhttp_connection_done()
1141 switch (evcon->state) { in evhttp_read_cb()
1182 __func__, evcon->state); in evhttp_read_cb()
1319 evcon->state = EVCON_WRITING; in evhttp_request_dispatch()
1487 switch (evcon->state) { in evhttp_error_cb()
1625 evcon->state = EVCON_IDLE; in evhttp_connection_cb()
2566 int old_state = evcon->state; in evhttp_connection_connect_()
2627 evcon->state = old_state; in evhttp_connection_connect_()
[all …]
H A Devdns.c512 if (ns->state == 1) { in nameserver_probe_failed()
585 ns->state = 0; in nameserver_failed()
636 ns->state = 1; in nameserver_up()
2564 ns->state = 1; in evdns_nameserver_add_impl_()
3088 if (!state) return; in search_state_decref()
3089 state->refcount--; in search_state_decref()
3096 mm_free(state); in search_state_decref()
3106 state->ndots = 1; in search_state_new()
3108 return state; in search_state_new()
3374 *state = NULL; in strtok_r()
[all …]
H A Dhttp-internal.h87 enum evhttp_connection_state state; member
H A Devutil.c2472 evutil_weakrand_seed_(struct evutil_weakrand_state *state, ev_uint32_t seed) in evutil_weakrand_seed_() argument
2484 state->seed = seed; in evutil_weakrand_seed_()
2489 evutil_weakrand_(struct evutil_weakrand_state *state) in evutil_weakrand_() argument
2499 state->seed = ((state->seed) * 1103515245 + 12345) & 0x7fffffff; in evutil_weakrand_()
2500 return (ev_int32_t)(state->seed); in evutil_weakrand_()
2504 evutil_weakrand_range_(struct evutil_weakrand_state *state, ev_int32_t top) in evutil_weakrand_range_() argument
2514 result = evutil_weakrand_(state) / divisor; in evutil_weakrand_range_()
H A Dutil-internal.h331 ev_uint32_t evutil_weakrand_seed_(struct evutil_weakrand_state *state, ev_uint32_t seed);
H A Dwhatsnew-2.0.txt271 state. You can tell libevent to catch these and other common errors with
599 might mess with global state can all run each in their own
601 crash or mess up global state, it doesn't affect any others.
H A DChangeLog-1.4103 o Make event_add not change any state if it fails; reported by Ian Bell.
H A DChangeLog-2.0314 o Reset outgoing http connection when read data in idle state. (272823f Tomash Brechko)
767 o Free search state when finished searching to avoid an infinite loop. (a625840 Christopher Davis)
847 o Move domain search state to evdns_request. (beaa14a Christopher Davis)
1253 o Make event_add not change any state if it fails; reported by Ian Bell.
H A Dwhatsnew-2.1.txt397 listening) state.
H A DChangeLog982 state (9b5a527 Maxime Henrion)
1743 o Reset outgoing http connection when read data in idle state. (272823f Tomash Brechko)
2006 o Allow evconnlistener to be created in disabled state. (9593a33
/libevent-2.1.12/test/
H A Dregress_zlib.c112 getstate(enum bufferevent_flush_mode state) in getstate() argument
114 switch (state) { in getstate()
132 ev_ssize_t lim, enum bufferevent_flush_mode state, void *ctx) in zlib_input_filter() argument
157 res = inflate(p, getstate(state)); in zlib_input_filter()
186 ev_ssize_t lim, enum bufferevent_flush_mode state, void *ctx) in zlib_output_filter() argument
211 res = deflate(p, getstate(state)); in zlib_output_filter()
H A Dregress_http.c436 free(state); in http_chunked_trickle_cb()
448 state->req = req; in http_chunked_cb()
449 state->base = arg; in http_chunked_cb()
4233 if (!state->req) { in terminate_chunked_trickle_cb()
4249 if (!state->oneshot) { in terminate_chunked_trickle_cb()
4253 EVUTIL_ASSERT(state); in terminate_chunked_trickle_cb()
4254 EVUTIL_ASSERT(state->base); in terminate_chunked_trickle_cb()
4263 state->gotclosecb = 1; in terminate_chunked_close_cb()
4266 if (state->oneshot) { in terminate_chunked_close_cb()
4268 state->req = NULL; in terminate_chunked_close_cb()
[all …]
H A Dregress_bufferevent.c496 ev_ssize_t lim, enum bufferevent_flush_mode state, void *ctx) in bufferevent_input_filter() argument
518 ev_ssize_t lim, enum bufferevent_flush_mode state, void *ctx) in bufferevent_output_filter() argument
/libevent-2.1.12/include/event2/
H A Dbufferevent_ssl.h72 enum bufferevent_ssl_state state,
90 enum bufferevent_ssl_state state,
/libevent-2.1.12/m4/
H A Dax_prog_doxygen.m437 # The macros mainly control the default state of the feature. The use can
166 # Verify that a required features has the right state before trying to turn on
187 # otherwise CLEAR_DEPEND is called to turn off the default state if a required
190 # DO-IF-ON or DO-IF-OFF are called according to the final state of the feature.