Lines Matching +defs:val +defs:region
16 #include <isc/region.h>
23 * Make 'b' refer to the 'length'-byte region starting at 'base'.
85 * Make 'r' refer to the region of 'b'.
97 * Make 'r' refer to the used region of 'b'.
109 * Make 'r' refer to the available region of 'b'.
121 * Increase the 'used' region of 'b' by 'n' bytes.
133 * Decrease the 'used' region of 'b' by 'n' bytes.
145 * Make the used region empty.
156 * Make 'r' refer to the consumed region of 'b'.
168 * Make 'r' refer to the remaining region of 'b'.
180 * Make 'r' refer to the active region of 'b'.
192 * Sets the end of the active region 'n' bytes after current.
204 * Make the consumed region empty.
215 * Increase the 'consumed' region of 'b' by 'n' bytes.
227 * Decrease the 'consumed' region of 'b' by 'n' bytes.
242 * Compact the used region by moving the remaining region so it occurs
243 * at the start of the buffer. The used region is shrunk by the size
244 * of the consumed region, and the consumed region is then made empty.
281 isc__buffer_putuint8(isc_buffer_t *b, isc_uint8_t val) {
290 ISC__BUFFER_PUTUINT8(b, val);
315 isc__buffer_putuint16(isc_buffer_t *b, isc_uint16_t val) {
324 ISC__BUFFER_PUTUINT16(b, val);
328 isc__buffer_putuint24(isc_buffer_t *b, isc_uint32_t val) {
337 ISC__BUFFER_PUTUINT24(b, val);
364 isc__buffer_putuint32(isc_buffer_t *b, isc_uint32_t val) {
373 ISC__BUFFER_PUTUINT32(b, val);
402 isc__buffer_putuint48(isc_buffer_t *b, isc_uint64_t val) {
414 valhi = (isc_uint16_t)(val >> 32);
415 vallo = (isc_uint32_t)(val & 0xFFFFFFFF);
485 isc_region_t region;
491 isc_buffer_usedregion(src, ®ion);
493 result = isc_buffer_allocate(mctx, &dst, region.length);
497 result = isc_buffer_copyregion(dst, ®ion);