Lines Matching defs:size
55 int gpu_context_t::gralloc_alloc_buffer(size_t size, int usage,
61 size = roundUpToPageSize(size);
76 size = ALIGN(size, data.align);
80 data.size = size;
90 eData.size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
158 private_handle_t *hnd = new private_handle_t(data.fd, size, flags,
208 //adreno needs FB size to be page aligned
265 size_t size;
294 size = getBufferSizeAndDimensions(w, h, grallocFormat, usage, alignedw,
297 if ((ssize_t)size <= 0)
299 size = (bufferSize >= size)? bufferSize : size;
314 err = gralloc_alloc_buffer(size, usage, pHandle, bufferType,
336 int err = memalloc->free_buffer((void*)hnd->base, (size_t) hnd->size,
341 size_t size = ROUND_UP_PAGESIZE(sizeof(MetaData_t));
343 size, hnd->offset_metadata,