Searched refs:_limit (Results 1 – 7 of 7) sorted by relevance
56 size_t _limit; member85 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 …]
122 size_t _limit; member150 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 …]
34 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()
452 if (found && buffer->_limit > buffer->_position) { in sldns_bskipcs()
31 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()
445 if (found && buffer->_limit > buffer->_position) { in ldns_bskipcs()
1608 buf._limit = sizeof(data);