Searched refs:_position (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/ldns/ldns/ |
H A D | buffer.h | 53 size_t _position; member 85 assert(buffer->_position <= buffer->_limit); in ldns_buffer_invariant() 121 buffer->_position = 0; in ldns_buffer_clear() 137 buffer->_limit = buffer->_position; in ldns_buffer_flip() 138 buffer->_position = 0; in ldns_buffer_flip() 150 buffer->_position = 0; in ldns_buffer_rewind() 161 return buffer->_position; in ldns_buffer_position() 174 buffer->_position = mark; in ldns_buffer_set_position() 187 assert(buffer->_position + count <= buffer->_limit); in ldns_buffer_skip() 188 buffer->_position += count; in ldns_buffer_skip() [all …]
|
/freebsd/contrib/unbound/sldns/ |
H A D | sbuffer.h | 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() [all …]
|
H A D | sbuffer.c | 33 buffer->_position = 0; in sldns_buffer_new() 48 buffer->_position = 0; in sldns_buffer_new_frm_data() 79 assert(buffer->_position <= capacity && !buffer->_fixed); in sldns_buffer_set_capacity() 97 if (buffer->_capacity < buffer->_position + amount) { in sldns_buffer_reserve() 100 if (new_capacity < buffer->_position + amount) { in sldns_buffer_reserve() 101 new_capacity = buffer->_position + amount; in sldns_buffer_reserve() 132 buffer->_position += written; in sldns_buffer_printf()
|
H A D | parse.c | 271 if (!sldns_buffer_available_at(buffer, buffer->_position, sizeof(uint8_t))) { in sldns_bgetc() 444 while(sldns_buffer_available_at(buffer, buffer->_position, sizeof(char))) { in sldns_bskipcs() 445 c = (char) sldns_buffer_read_u8_at(buffer, buffer->_position); in sldns_bskipcs() 452 if (found && buffer->_limit > buffer->_position) { in sldns_bskipcs() 453 buffer->_position += sizeof(char); in sldns_bskipcs()
|
/freebsd/contrib/ldns/ |
H A D | buffer.c | 30 buffer->_position = 0; in ldns_buffer_new() 45 buffer->_position = 0; in ldns_buffer_new_frm_data() 65 assert(buffer->_position <= capacity); in ldns_buffer_set_capacity() 83 if (buffer->_capacity < buffer->_position + amount) { in ldns_buffer_reserve() 86 if (new_capacity < buffer->_position + amount) { in ldns_buffer_reserve() 87 new_capacity = buffer->_position + amount; in ldns_buffer_reserve() 131 buffer->_position += written; in ldns_buffer_printf() 159 if (!ldns_buffer_available_at(buffer, buffer->_position, sizeof(uint8_t))) { in ldns_bgetc()
|
H A D | parse.c | 437 while(ldns_buffer_available_at(buffer, buffer->_position, sizeof(char))) { in ldns_bskipcs() 438 c = (char) ldns_buffer_read_u8_at(buffer, buffer->_position); in ldns_bskipcs() 445 if (found && buffer->_limit > buffer->_position) { in ldns_bskipcs() 446 buffer->_position += sizeof(char); in ldns_bskipcs()
|
H A D | dnssec_zone.c | 1607 buf._position = 0; 1617 ldns_sha384_update(&zd->sha384_CTX, data, buf._position); 1620 ldns_sha512_update(&zd->sha512_CTX, data, buf._position);
|
H A D | host2str.c | 1297 output->_position += written; in ldns_rdf2buffer_str_hip()
|