Lines Matching refs:nh
1344 native_handle_t *nh = mNativeHandle[i]; in allocate() local
1345 if (!nh) { in allocate()
1350 nh->data[0] = mMemInfo[i].fd; in allocate()
1351 nh->data[1] = 0; in allocate()
1352 nh->data[2] = (int)mMemInfo[i].size; in allocate()
1353 nh->data[3] = mUsage; in allocate()
1354 nh->data[4] = 0; //dummy value for timestamp in non-batch mode in allocate()
1355 nh->data[5] = mFormat; in allocate()
1412 native_handle_t *nh = mNativeHandle[i]; in allocateMore() local
1413 if (!nh) { in allocateMore()
1418 nh->data[0] = mMemInfo[i].fd; in allocateMore()
1419 nh->data[1] = 0; in allocateMore()
1420 nh->data[2] = (int)mMemInfo[i].size; in allocateMore()
1421 nh->data[3] = mUsage; in allocateMore()
1422 nh->data[4] = 0; //dummy value for timestamp in non-batch mode in allocateMore()
1423 nh->data[5] = mFormat; in allocateMore()
1499 native_handle_t *nh = mNativeHandle[i]; in deallocateMeta() local
1500 if (NULL != nh) { in deallocateMeta()
1501 if (native_handle_delete(nh)) { in deallocateMeta()
1575 native_handle_t *nh = NULL; in updateNativeHandle() local
1579 nh = mNativeHandle[index]; in updateNativeHandle()
1581 packet->pHandle = nh; in updateNativeHandle()
1583 packet->meta_handle = nh; in updateNativeHandle()
1586 return nh; in updateNativeHandle()