Lines Matching defs:base
21 isc__buffer_init(isc_buffer_t *b, void *base, unsigned int length) {
23 * Make 'b' refer to the 'length'-byte region starting at 'base'.
24 * XXXDCL see the comment in buffer.h about base being const.
29 ISC__BUFFER_INIT(b, base, length);
43 isc_buffer_reinit(isc_buffer_t *b, void *base, unsigned int length) {
45 * Re-initialize the buffer enough to reconfigure the base of the
54 REQUIRE(base != NULL);
57 (void)memmove(base, b->base, b->length);
58 b->base = base;
251 (void)memmove(b->base, src, (size_t)length);
421 isc__buffer_putmem(isc_buffer_t *b, const unsigned char *base,
432 ISC__BUFFER_PUTMEM(b, base, length);
505 unsigned char *base;
515 base = isc_buffer_used(b);
524 memmove(base, r->base, r->length);
579 memmove(bdata, (*dynbuffer)->base, (*dynbuffer)->length);
580 isc_mem_put((*dynbuffer)->mctx, (*dynbuffer)->base,
583 (*dynbuffer)->base = bdata;
632 isc_mem_put(mctx, dbuf->base, dbuf->length);