Home | History | Annotate | Download | only in libgralloc

Lines Matching defs:hnd

362     private_handle_t* hnd = new private_handle_t(data.fd, data.size,
365 hnd->base = (int) data.base;
366 hnd->offset = data.offset;
367 hnd->gpuaddr = 0;
368 *pHnd = hnd;
372 void free_buffer(private_handle_t *hnd)
376 if (hnd && hnd->fd > 0) {
377 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags);
378 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd);
380 if(hnd)
381 delete hnd;