Home
last modified time | relevance | path

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

/external/libevent/
Devbuffer-internal.h192 #define EVBUFFER_IMMUTABLE 0x0008 /**< read-only chain */ macro
Dbuffer.c129 #define CHAIN_SPACE_LEN(ch) ((ch)->flags & EVBUFFER_IMMUTABLE ? \
932 chain->flags |= EVBUFFER_IMMUTABLE; in APPEND_CHAIN_MULTICAST()
936 tmp->flags |= EVBUFFER_MULTICAST|EVBUFFER_IMMUTABLE; in APPEND_CHAIN_MULTICAST()
1755 if ((chain->flags & EVBUFFER_IMMUTABLE) == 0) { in evbuffer_add()
1844 if ((chain->flags & EVBUFFER_IMMUTABLE) == 0) { in evbuffer_prepend()
1905 EVUTIL_ASSERT(!(chain->flags & EVBUFFER_IMMUTABLE)); in evbuffer_chain_align()
1947 (chain->flags & (EVBUFFER_IMMUTABLE|EVBUFFER_MEM_PINNED_ANY))) { in evbuffer_expand_singlechain()
2049 if (chain == NULL || (chain->flags & EVBUFFER_IMMUTABLE)) { in evbuffer_expand_fast_()
2919 chain->flags |= EVBUFFER_REFERENCE | EVBUFFER_IMMUTABLE; in evbuffer_add_reference()
3222 chain->flags |= EVBUFFER_IMMUTABLE|EVBUFFER_FILESEGMENT; in evbuffer_add_file_segment()