HomeSort by relevance Sort by last modified time
    Searched refs:hnd (Results 1 - 25 of 104) sorted by null

1 2 3 4 5

  /hardware/samsung_slsi/exynos5/gralloc/
mapper.cpp 42 private_handle_t* hnd = (private_handle_t*)handle; local
44 void* mappedAddress = mmap(0, hnd->size, PROT_READ|PROT_WRITE, MAP_SHARED,
45 hnd->fd, 0);
50 ALOGV("%s: base %p %d %d %d %d\n", __func__, mappedAddress, hnd->size,
51 hnd->width, hnd->height, hnd->stride);
52 hnd->base = mappedAddress;
58 private_handle_t* hnd = (private_handle_t*)handle; local
60 if (!hnd->base
165 private_handle_t* hnd = (private_handle_t*)handle; local
    [all...]
gralloc.cpp 130 unsigned int ion_flags, private_handle_t **hnd, int *stride)
193 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride,
201 private_handle_t **hnd, int *stride)
225 *hnd = new private_handle_t(fd, size, usage, w, h, format, *stride, h);
231 private_handle_t **hnd, int *stride)
274 ion_flags, hnd, stride);
295 *hnd = new private_handle_t(fd, luma_size, usage, w, h,
306 *hnd = new private_handle_t(fd, fd1, fd2, luma_size, usage, w, h,
309 *hnd = new private_handle_t(fd, fd1, luma_size, usage, w, h, format,
314 if (!err && *hnd) {
339 private_handle_t *hnd = NULL; local
384 private_handle_t const* hnd = reinterpret_cast<private_handle_t const*>(handle); local
    [all...]
  /hardware/qcom/display/msm8974/libgralloc/
mapper.cpp 60 private_handle_t* hnd = (private_handle_t*)handle; local
62 if (!(hnd->flags & private_handle_t::PRIV_FLAGS_FRAMEBUFFER) &&
63 !(hnd->flags & private_handle_t::PRIV_FLAGS_SECURE_BUFFER)) {
64 size_t size = hnd->size;
65 IMemAlloc* memalloc = getAllocator(hnd->flags) ;
67 hnd->offset, hnd->fd);
70 handle, hnd->fd, strerror(errno));
71 hnd->base = 0;
75 hnd->base = intptr_t(mappedAddress) + hnd->offset
94 private_handle_t* hnd = (private_handle_t*)handle; local
208 private_handle_t* hnd = (private_handle_t*)handle; local
240 private_handle_t* hnd = (private_handle_t*)handle; local
252 private_handle_t* hnd = (private_handle_t*)handle; local
293 private_handle_t* hnd = (private_handle_t*)handle; local
337 private_handle_t* hnd = (private_handle_t*)native_handle_create( local
360 private_handle_t* hnd = va_arg(args, private_handle_t*); local
381 private_handle_t* hnd = va_arg(args, private_handle_t*); local
    [all...]
gralloc_priv.h 211 const private_handle_t* hnd = (const private_handle_t*)h; local
214 hnd->magic != sMagic)
222 hnd ? (((hnd->magic >> 24) & 0xFF)?
223 ((hnd->magic >> 24) & 0xFF) : '-') : '?',
224 hnd ? (((hnd->magic >> 16) & 0xFF)?
225 ((hnd->magic >> 16) & 0xFF) : '-') : '?',
226 hnd ? (((hnd->magic >> 8) & 0xFF)
    [all...]
alloc_controller.cpp 383 private_handle_t* hnd = new private_handle_t(data.fd, data.size, local
386 hnd->base = (int) data.base;
387 hnd->offset = data.offset;
388 hnd->gpuaddr = 0;
389 *pHnd = hnd;
393 void free_buffer(private_handle_t *hnd)
397 if (hnd && hnd->fd > 0) {
398 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags);
399 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd)
    [all...]