Lines Matching refs:EVUTIL_ASSERT
198 EVUTIL_ASSERT(chain->refcnt > 0); in evbuffer_chain_free()
245 EVUTIL_ASSERT(info->source != NULL); in evbuffer_chain_free()
246 EVUTIL_ASSERT(info->parent != NULL); in evbuffer_chain_free()
298 EVUTIL_ASSERT(evbuffer_chains_all_empty(*ch)); in evbuffer_free_trailing_empty_chains()
315 EVUTIL_ASSERT(buf->last_with_datap == &buf->first); in evbuffer_chain_insert()
316 EVUTIL_ASSERT(buf->first == NULL); in evbuffer_chain_insert()
342 EVUTIL_ASSERT((chain->flags & flag) == 0); in evbuffer_chain_pin_()
349 EVUTIL_ASSERT((chain->flags & flag) != 0); in evbuffer_chain_unpin_()
566 EVUTIL_ASSERT(buffer->refcnt > 0); in evbuffer_decref_and_unlock_()
688 EVUTIL_ASSERT(size<0 || (size_t)vec[0].iov_len >= (size_t)size); in evbuffer_reserve_space()
829 EVUTIL_ASSERT(CHAIN_PINNED_R(*pinned)); in PRESERVE_PINNED()
838 EVUTIL_ASSERT(pinned == src->last_with_datap); in PRESERVE_PINNED()
1145 EVUTIL_ASSERT(remaining == 0); in evbuffer_drain()
1154 EVUTIL_ASSERT(remaining <= chain->off); in evbuffer_drain()
1239 EVUTIL_ASSERT(chain || datlen==0); in evbuffer_copyout_from()
1243 EVUTIL_ASSERT(chain); in evbuffer_copyout_from()
1244 EVUTIL_ASSERT(datlen+pos_in_chain <= chain->off); in evbuffer_copyout_from()
1297 EVUTIL_ASSERT(chain != *src->last_with_datap); in evbuffer_remove_buffer()
1379 EVUTIL_ASSERT(remaining >= 0); in evbuffer_pullup()
1764 EVUTIL_ASSERT(chain->misalign >= 0 && in evbuffer_add()
1857 EVUTIL_ASSERT(chain->misalign >= 0 && in evbuffer_prepend()
1897 EVUTIL_ASSERT(datlen <= tmp->buffer_len); in evbuffer_prepend()
1916 EVUTIL_ASSERT(!(chain->flags & EVBUFFER_IMMUTABLE)); in evbuffer_chain_align()
1917 EVUTIL_ASSERT(!(chain->flags & EVBUFFER_MEM_PINNED_ANY)); in evbuffer_chain_align()
2026 EVUTIL_ASSERT(*chainp == chain); in evbuffer_expand_singlechain()
2042 EVUTIL_ASSERT(result); in evbuffer_expand_singlechain()
2043 EVUTIL_ASSERT(CHAIN_SPACE_LEN(result) >= datlen); in evbuffer_expand_singlechain()
2058 EVUTIL_ASSERT(n >= 2); in evbuffer_expand_fast_()
2079 EVUTIL_ASSERT(chain == *buf->last_with_datap); in evbuffer_expand_fast_()
2104 EVUTIL_ASSERT(chain == NULL); in evbuffer_expand_fast_()
2121 EVUTIL_ASSERT(chain == buf->first); in evbuffer_expand_fast_()
2134 EVUTIL_ASSERT(chain->off == 0); in evbuffer_expand_fast_()
2137 EVUTIL_ASSERT(datlen >= avail); in evbuffer_expand_fast_()
2241 EVUTIL_ASSERT(*firstchainp); in evbuffer_read_setup_vecs_()
2247 EVUTIL_ASSERT(chain); in evbuffer_read_setup_vecs_()
2551 EVUTIL_ASSERT(p || !howmuch); in evbuffer_write_atmost()
2555 EVUTIL_ASSERT(p || !howmuch); in evbuffer_write_atmost()
2651 EVUTIL_ASSERT(EV_SIZE_MAX - left >= position); in evbuffer_ptr_set()
2867 EVUTIL_ASSERT(chain->buffer_len >= used); in evbuffer_add_vprintf()
3149 EVUTIL_ASSERT(seg->refcnt > 0); in evbuffer_file_segment_add_cleanup_cb()
3163 EVUTIL_ASSERT(refcnt == 0); in evbuffer_file_segment_free()