Lines Matching refs:base
72 hnd->base = 0; in gralloc_map()
76 hnd->base = intptr_t(mappedAddress) + hnd->offset; in gralloc_map()
98 void* base = (void*)hnd->base; in gralloc_unmap() local
102 err = memalloc->unmap_buffer(base, size, hnd->offset); in gralloc_unmap()
104 ALOGE("Could not unmap memory at address %p", base); in gralloc_unmap()
106 base = (void*)hnd->base_metadata; in gralloc_unmap()
108 err = memalloc->unmap_buffer(base, size, hnd->offset_metadata); in gralloc_unmap()
110 ALOGE("Could not unmap memory at address %p", base); in gralloc_unmap()
116 hnd->base = 0; in gralloc_unmap()
143 hnd->base = 0; in gralloc_register_buffer()
168 if (hnd->base != 0) { in gralloc_unregister_buffer()
171 hnd->base = 0; in gralloc_unregister_buffer()
184 if (hnd->base != 0) { in terminateBuffer()
211 if (hnd->base == 0) { in gralloc_map_and_invalidate()
222 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_map_and_invalidate()
244 *vaddr = (void*)hnd->base; in gralloc_lock()
262 ycbcr->y = (void*)hnd->base; in gralloc_lock_ycbcr()
263 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in gralloc_lock_ycbcr()
264 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height + 1); in gralloc_lock_ycbcr()
290 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_unlock()
299 err = memalloc->clean_buffer((void*)hnd->base, in gralloc_unlock()
322 void* base = va_arg(args, void*); in gralloc_perform() local
336 hnd->base = intptr_t(base) + offset; in gralloc_perform()