Lines Matching defs:base
58 * a == base of buffer.
72 * with the memory region of size length bytes starting at location base.
108 * base to b. Conversely, lwres_buffer_getmem() copies length bytes of
109 * memory from b to base.
121 lwres_buffer_init(lwres_buffer_t *b, void *base, unsigned int length)
124 * Make 'b' refer to the 'length'-byte region starting at base.
130 b->base = base;
145 b->base = NULL;
233 cp = b->base;
250 cp = b->base;
267 cp = b->base;
285 cp = b->base;
302 cp = b->base;
322 cp = b->base;
331 /* copies length bytes of memory at base to b */
333 lwres_buffer_putmem(lwres_buffer_t *b, const unsigned char *base,
341 cp = (unsigned char *)b->base + b->used;
342 memmove(cp, base, length);
346 /* copies length bytes of memory at b to base */
348 lwres_buffer_getmem(lwres_buffer_t *b, unsigned char *base,
356 cp = b->base;
360 memmove(base, cp, length);