Home
last modified time | relevance | path

Searched refs:EV_SIZE_MAX (Results 1 – 7 of 7) sorted by relevance

/external/libevent/include/event2/
Dutil.h276 #define EV_SIZE_MAX EV_UINT64_MAX macro
279 #define EV_SIZE_MAX EV_UINT32_MAX
282 #define EV_SIZE_MAX ...
/external/libevent/
Devbuffer-internal.h164 #define EVBUFFER_CHAIN_MAX EV_SIZE_MAX
Dhttp.c270 if (replace_size > EV_SIZE_MAX - new_size) { in evhttp_htmlescape()
277 if (new_size == EV_SIZE_MAX) in evhttp_htmlescape()
630 evcon->max_headers_size = EV_SIZE_MAX; in evhttp_connection_set_max_headers_size()
932 if ((ev_uint64_t)ntoread > EV_SIZE_MAX - req->body_size) { in evhttp_handle_chunked_read()
2353 evcon->max_headers_size = EV_SIZE_MAX; in evhttp_connection_base_bufferevent_new()
2354 evcon->max_body_size = EV_SIZE_MAX; in evhttp_connection_base_bufferevent_new()
3618 evhttp_set_max_headers_size(http, EV_SIZE_MAX); in evhttp_new_object()
3619 evhttp_set_max_body_size(http, EV_SIZE_MAX); in evhttp_new_object()
3827 http->default_max_headers_size = EV_SIZE_MAX; in evhttp_set_max_headers_size()
Dbuffer.c1736 if (datlen > EV_SIZE_MAX - buf->total_len) { in evbuffer_add()
1830 if (datlen > EV_SIZE_MAX - buf->total_len) { in evbuffer_prepend()
2628 if (pos->pos < 0 || EV_SIZE_MAX - position < (size_t)pos->pos) { in evbuffer_ptr_set()
2638 EVUTIL_ASSERT(EV_SIZE_MAX - left >= position); in evbuffer_ptr_set()
2676 EV_SIZE_MAX - len < (size_t)pos->pos || in evbuffer_ptr_memcmp()
Devent.c3453 if (count > EV_SIZE_MAX / size) in event_mm_calloc_()
3484 if (ln == EV_SIZE_MAX) in event_mm_strdup_()
/external/libevent/test/
Dregress_util.c1197 p = mm_calloc(EV_SIZE_MAX/2, EV_SIZE_MAX/2 + 8); in test_event_calloc()
Dregress_buffer.c721 evbuffer_expand(buf, EV_SIZE_MAX); in test_evbuffer_expand_overflow()