Lines Matching refs:_position

119 	size_t   _position;  member
150 assert(buffer->_position <= buffer->_limit); in sldns_buffer_invariant()
195 buffer->_position = 0; in sldns_buffer_clear()
210 buffer->_limit = buffer->_position; in sldns_buffer_flip()
211 buffer->_position = 0; in sldns_buffer_flip()
223 buffer->_position = 0; in sldns_buffer_rewind()
234 return buffer->_position; in sldns_buffer_position()
247 buffer->_position = mark; in sldns_buffer_set_position()
260 assert(buffer->_position + count <= buffer->_limit); in sldns_buffer_skip()
261 buffer->_position += count; in sldns_buffer_skip()
286 if (buffer->_position > buffer->_limit) in sldns_buffer_set_limit()
287 buffer->_position = buffer->_limit; in sldns_buffer_set_limit()
368 return sldns_buffer_at(buffer, buffer->_position); in sldns_buffer_current()
395 return sldns_buffer_remaining_at(buffer, buffer->_position); in sldns_buffer_remaining()
422 return sldns_buffer_available_at(buffer, buffer->_position, count); in sldns_buffer_available()
464 sldns_buffer_write_at(buffer, buffer->_position, data, count); in sldns_buffer_write()
465 buffer->_position += count; in sldns_buffer_write()
512 sldns_buffer_write_u8_at(buffer, buffer->_position, data); in sldns_buffer_write_u8()
513 buffer->_position += sizeof(data); in sldns_buffer_write_u8()
537 sldns_buffer_write_u16_at(buffer, buffer->_position, data); in sldns_buffer_write_u16()
538 buffer->_position += sizeof(data); in sldns_buffer_write_u16()
575 sldns_buffer_write_u32_at(buffer, buffer->_position, data); in sldns_buffer_write_u32()
576 buffer->_position += sizeof(data); in sldns_buffer_write_u32()
587 sldns_buffer_write_u48_at(buffer, buffer->_position, data); in sldns_buffer_write_u48()
588 buffer->_position += 6; in sldns_buffer_write_u48()
614 sldns_buffer_read_at(buffer, buffer->_position, data, count); in sldns_buffer_read()
615 buffer->_position += count; in sldns_buffer_read()
639 uint8_t result = sldns_buffer_read_u8_at(buffer, buffer->_position); in sldns_buffer_read_u8()
640 buffer->_position += sizeof(uint8_t); in sldns_buffer_read_u8()
665 uint16_t result = sldns_buffer_read_u16_at(buffer, buffer->_position); in sldns_buffer_read_u16()
666 buffer->_position += sizeof(uint16_t); in sldns_buffer_read_u16()
691 uint32_t result = sldns_buffer_read_u32_at(buffer, buffer->_position); in sldns_buffer_read_u32()
692 buffer->_position += sizeof(uint32_t); in sldns_buffer_read_u32()