Lines Matching defs:hnd
364 private_handle_t* hnd = new private_handle_t(data.fd, data.size,
367 hnd->base = (int) data.base;
368 hnd->offset = data.offset;
369 hnd->gpuaddr = 0;
370 *pHnd = hnd;
374 void free_buffer(private_handle_t *hnd)
378 if (hnd && hnd->fd > 0) {
379 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags);
380 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd);
382 if(hnd)
383 delete hnd;