Home
last modified time | relevance | path

Searched refs:EVBUFFER_CHAIN_MAX (Results 1 – 3 of 3) sorted by relevance

/external/libevent/
Devbuffer-internal.h160 #define EVBUFFER_CHAIN_MAX ((size_t)EV_SSIZE_MAX) macro
164 #define EVBUFFER_CHAIN_MAX EV_SIZE_MAX macro
166 #define EVBUFFER_CHAIN_MAX ((size_t)EV_SSIZE_MAX) macro
Dbuffer.c161 if (size > EVBUFFER_CHAIN_MAX - EVBUFFER_CHAIN_SIZE) in evbuffer_chain_new()
167 if (size < EVBUFFER_CHAIN_MAX / 2) { in evbuffer_chain_new()
1758 (ev_uint64_t)chain->misalign <= EVBUFFER_CHAIN_MAX); in evbuffer_add()
1847 (ev_uint64_t)chain->misalign <= EVBUFFER_CHAIN_MAX); in evbuffer_prepend()
1986 datlen >= (EVBUFFER_CHAIN_MAX - chain->off)) { in evbuffer_expand_singlechain()
2374 if (space > EVBUFFER_CHAIN_MAX) in evbuffer_read()
2375 space = EVBUFFER_CHAIN_MAX; in evbuffer_read()
2871 if (INT_MAX >= EVBUFFER_CHAIN_MAX && in evbuffer_add_vprintf()
2872 (size_t)sz >= EVBUFFER_CHAIN_MAX) in evbuffer_add_vprintf()
2984 ((ev_uint64_t)length > EVBUFFER_CHAIN_MAX) || in evbuffer_file_segment_new()
[all …]
/external/libevent/test/
Dregress_buffer.c718 evbuffer_expand(buf, EVBUFFER_CHAIN_MAX); in test_evbuffer_expand_overflow()