Lines Matching full:used
54 * Make 'r' refer to the used region of 'b'. in isc__buffer_usedregion()
76 * Increase the 'used' region of 'b' by 'n' bytes. in isc__buffer_add()
79 REQUIRE(b->used + n <= b->length); in isc__buffer_add()
87 * Decrease the 'used' region of 'b' by 'n' bytes. in isc__buffer_subtract()
90 REQUIRE(b->used >= n); in isc__buffer_subtract()
98 * Make the used region empty. in isc__buffer_clear()
132 REQUIRE(b->current + n <= b->used); in isc__buffer_setactive()
152 REQUIRE(b->current + n <= b->used); in isc__buffer_forward()
163 * Compact the used region by moving the remaining region so it occurs in isc_buffer_compact()
164 * at the start of the buffer. The used region is shrunk by the size in isc_buffer_compact()
177 b->used = length; in isc_buffer_compact()
189 REQUIRE(b->used - b->current >= 1); in isc_buffer_getuint8()
200 REQUIRE(b->used + 1 <= b->length); in isc__buffer_putuint8()
215 REQUIRE(b->used - b->current >= 2); in isc_buffer_getuint16()
227 REQUIRE(b->used + 2 <= b->length); in isc__buffer_putuint16()
242 REQUIRE(b->used - b->current >= 4); in isc_buffer_getuint32()
256 REQUIRE(b->used + 4 <= b->length); in isc__buffer_putuint32()
266 REQUIRE(b->used + 6 <= b->length); in isc__buffer_putuint48()
278 REQUIRE(b->used + length <= b->length); in isc__buffer_putmem()
299 b->used += l; in isc__buffer_putstr()
317 b->used += r->length; in isc_buffer_copyregion()
368 /* this used to be str_totext() in rdata.c etc. */