Lines Matching refs:nh
1339 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in allocate() local
1340 if (!nh) { in allocate()
1345 nh->data[0] = mMemInfo[i].fd; in allocate()
1346 nh->data[1] = 0; in allocate()
1347 nh->data[2] = (int)mMemInfo[i].size; in allocate()
1348 nh->data[3] = mUsage; in allocate()
1349 nh->data[4] = 0; //dummy value for timestamp in non-batch mode in allocate()
1350 nh->data[5] = mFormat; in allocate()
1402 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in allocateMore() local
1403 if (!nh) { in allocateMore()
1408 nh->data[0] = mMemInfo[i].fd; in allocateMore()
1409 nh->data[1] = 0; in allocateMore()
1410 nh->data[2] = (int)mMemInfo[i].size; in allocateMore()
1411 nh->data[3] = mUsage; in allocateMore()
1412 nh->data[4] = 0; //dummy value for timestamp in non-batch mode in allocateMore()
1413 nh->data[5] = mFormat; in allocateMore()
1479 native_handle_t * nh = const_cast<native_handle_t *>(packet->meta_handle); in deallocateMeta() local
1480 if (NULL != nh) { in deallocateMeta()
1481 if (native_handle_delete(nh)) { in deallocateMeta()