Lines Matching refs:pHandle
199 …tic int gralloc_alloc_buffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHandle) in gralloc_alloc_buffer() argument
258 *pHandle = hnd; in gralloc_alloc_buffer()
331 *pHandle = hnd; in gralloc_alloc_buffer()
367 …loc_alloc_framebuffer_locked(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHandle) in gralloc_alloc_framebuffer_locked() argument
394 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked()
450 return gralloc_alloc_buffer(dev, bufferSize, newUsage, pHandle); in gralloc_alloc_framebuffer_locked()
463 *pHandle = hnd; in gralloc_alloc_framebuffer_locked()
468 …nt gralloc_alloc_framebuffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHandle) in gralloc_alloc_framebuffer() argument
472 int err = gralloc_alloc_framebuffer_locked(dev, size, usage, pHandle); in gralloc_alloc_framebuffer()
478 …c(alloc_device_t *dev, int w, int h, int format, int usage, buffer_handle_t *pHandle, int *pStride) in alloc_device_alloc() argument
480 if (!pHandle || !pStride) in alloc_device_alloc()
588 err = gralloc_alloc_framebuffer(dev, size, usage, pHandle); in alloc_device_alloc()
594 err = gralloc_alloc_buffer(dev, size, usage, pHandle); in alloc_device_alloc()
612 private_handle_t *hnd = (private_handle_t *)*pHandle; in alloc_device_alloc()