Lines Matching defs:base
49 * a == base of buffer.
63 * with the memory region of size length bytes starting at location base.
99 * base to b. Conversely, lwres_buffer_getmem() copies length bytes of
100 * memory from b to base.
112 lwres_buffer_init(lwres_buffer_t *b, void *base, unsigned int length)
115 * Make 'b' refer to the 'length'-byte region starting at base.
121 b->base = base;
136 b->base = NULL;
224 cp = b->base;
241 cp = b->base;
258 cp = b->base;
276 cp = b->base;
293 cp = b->base;
313 cp = b->base;
322 /* copies length bytes of memory at base to b */
324 lwres_buffer_putmem(lwres_buffer_t *b, const unsigned char *base,
332 cp = (unsigned char *)b->base + b->used;
333 memmove(cp, base, length);
337 /* copies length bytes of memory at b to base */
339 lwres_buffer_getmem(lwres_buffer_t *b, unsigned char *base,
347 cp = b->base;
351 memmove(base, cp, length);