Lines Matching refs:CHAIN_SPACE_LEN
130 #define CHAIN_SPACE_LEN(ch) ((ch)->flags & EVBUFFER_IMMUTABLE ? \ macro
687 vec[0].iov_len = (size_t)CHAIN_SPACE_LEN(chain); in evbuffer_reserve_space()
743 if ((size_t)vec[0].iov_len > (size_t)CHAIN_SPACE_LEN(buf->last)) in evbuffer_commit_space()
756 if (CHAIN_SPACE_LEN(*firstchainp) == 0) { in evbuffer_commit_space()
767 (size_t)vec[i].iov_len > CHAIN_SPACE_LEN(chain)) in evbuffer_commit_space()
1390 if (CHAIN_SPACE_LEN(chain) < size - chain->off) { in evbuffer_pullup()
1950 if (*chainp && CHAIN_SPACE_LEN(*chainp) == 0) in evbuffer_expand_singlechain()
1965 if (CHAIN_SPACE_LEN(chain) >= datlen) { in evbuffer_expand_singlechain()
1995 if (CHAIN_SPACE_LEN(chain) < chain->buffer_len / 8 || in evbuffer_expand_singlechain()
2000 if (chain->next && CHAIN_SPACE_LEN(chain->next) >= datlen) { in evbuffer_expand_singlechain()
2043 EVUTIL_ASSERT(CHAIN_SPACE_LEN(result) >= datlen); in evbuffer_expand_singlechain()
2078 size_t space = (size_t) CHAIN_SPACE_LEN(chain); in evbuffer_expand_fast_()
2127 avail = (size_t) CHAIN_SPACE_LEN(chain); in evbuffer_expand_fast_()
2242 if (CHAIN_SPACE_LEN(*firstchainp) == 0) { in evbuffer_read_setup_vecs_()
2249 size_t avail = (size_t) CHAIN_SPACE_LEN(chain); in evbuffer_read_setup_vecs_()
2384 size_t space = (size_t) CHAIN_SPACE_LEN(*chainp); in evbuffer_read()
2871 space = (size_t) CHAIN_SPACE_LEN(chain); in evbuffer_add_vprintf()