Home
last modified time | relevance | path

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

/freebsd/contrib/ldns/ldns/
H A Dbuffer.h56 size_t _limit; member
85 assert(buffer->_position <= buffer->_limit); in ldns_buffer_invariant()
86 assert(buffer->_limit <= buffer->_capacity); in ldns_buffer_invariant()
122 buffer->_limit = buffer->_capacity; in ldns_buffer_clear()
137 buffer->_limit = buffer->_position; in ldns_buffer_flip()
173 assert(mark <= buffer->_limit); in ldns_buffer_set_position()
187 assert(buffer->_position + count <= buffer->_limit); in ldns_buffer_skip()
199 return buffer->_limit; in ldns_buffer_limit()
212 buffer->_limit = limit; in ldns_buffer_set_limit()
213 if (buffer->_position > buffer->_limit) in ldns_buffer_set_limit()
[all …]
/freebsd/contrib/unbound/sldns/
H A Dsbuffer.h122 size_t _limit; member
150 assert(buffer->_position <= buffer->_limit); in sldns_buffer_invariant()
151 assert(buffer->_limit <= buffer->_capacity); in sldns_buffer_invariant()
196 buffer->_limit = buffer->_capacity; in sldns_buffer_clear()
210 buffer->_limit = buffer->_position; in sldns_buffer_flip()
246 assert(mark <= buffer->_limit); in sldns_buffer_set_position()
260 assert(buffer->_position + count <= buffer->_limit); in sldns_buffer_skip()
272 return buffer->_limit; in sldns_buffer_limit()
285 buffer->_limit = limit; in sldns_buffer_set_limit()
286 if (buffer->_position > buffer->_limit) in sldns_buffer_set_limit()
[all …]
H A Dsbuffer.c34 buffer->_limit = buffer->_capacity = capacity; in sldns_buffer_new()
49 buffer->_limit = buffer->_capacity = size; in sldns_buffer_new_frm_data()
69 buffer->_capacity = buffer->_limit = size; in sldns_buffer_init_frm_data()
87 buffer->_limit = buffer->_capacity = capacity; in sldns_buffer_set_capacity()
108 buffer->_limit = buffer->_capacity; in sldns_buffer_reserve()
121 assert(buffer->_limit == buffer->_capacity); in sldns_buffer_printf()
H A Dparse.c452 if (found && buffer->_limit > buffer->_position) { in sldns_bskipcs()
/freebsd/contrib/ldns/
H A Dbuffer.c31 buffer->_limit = buffer->_capacity = capacity; in ldns_buffer_new()
46 buffer->_limit = buffer->_capacity = size; in ldns_buffer_new_frm_data()
74 buffer->_limit = buffer->_capacity = capacity; in ldns_buffer_set_capacity()
94 buffer->_limit = buffer->_capacity; in ldns_buffer_reserve()
107 assert(buffer->_limit == buffer->_capacity); in ldns_buffer_printf()
H A Dparse.c445 if (found && buffer->_limit > buffer->_position) { in ldns_bskipcs()
H A Ddnssec_zone.c1608 buf._limit = sizeof(data);