Lines Matching defs:hnd
381 private_handle_t* hnd = new private_handle_t(data.fd, data.size,
384 hnd->base = (int) data.base;
385 hnd->offset = data.offset;
386 hnd->gpuaddr = 0;
387 *pHnd = hnd;
391 void free_buffer(private_handle_t *hnd)
395 if (hnd && hnd->fd > 0) {
396 IMemAlloc* memalloc = sAlloc->getAllocator(hnd->flags);
397 memalloc->free_buffer((void*)hnd->base, hnd->size, hnd->offset, hnd->fd);
399 if(hnd)
400 delete hnd;