Home
last modified time | relevance | path

Searched refs:EVBUFFER_IMMUTABLE (Results 1 – 2 of 2) sorted by relevance

/external/libevent/
Devbuffer-internal.h190 #define EVBUFFER_IMMUTABLE 0x0008 /**< read-only chain */ macro
Dbuffer.c133 #define CHAIN_SPACE_LEN(ch) ((ch)->flags & EVBUFFER_IMMUTABLE ? \
1573 if ((chain->flags & EVBUFFER_IMMUTABLE) == 0) { in evbuffer_add()
1662 if ((chain->flags & EVBUFFER_IMMUTABLE) == 0) { in evbuffer_prepend()
1723 EVUTIL_ASSERT(!(chain->flags & EVBUFFER_IMMUTABLE)); in evbuffer_chain_align()
1765 (chain->flags & (EVBUFFER_IMMUTABLE|EVBUFFER_MEM_PINNED_ANY))) { in evbuffer_expand_singlechain()
1868 if (chain == NULL || (chain->flags & EVBUFFER_IMMUTABLE)) { in _evbuffer_expand_fast()
2752 chain->flags |= EVBUFFER_REFERENCE | EVBUFFER_IMMUTABLE; in evbuffer_add_reference()
2819 chain->flags |= EVBUFFER_SENDFILE | EVBUFFER_IMMUTABLE; in evbuffer_add_file()
2867 chain->flags |= EVBUFFER_MMAP | EVBUFFER_IMMUTABLE; in evbuffer_add_file()