Searched refs:dupFd (Results 1 – 4 of 4) sorted by relevance
110 auto fd = NN_TRY(nn::dupFd(memory.fd)); in createHidlMemoryFrom()116 auto fd = NN_TRY(nn::dupFd(memory.fd)); in createHidlMemoryFrom()325 .fd = NN_TRY(nn::dupFd(memory.handle()->data[0])), in createSharedMemoryFromHidlMemory()401 const int dupFd = dup(fd); in hidlHandleFromSharedHandle() local402 if (dupFd == -1) { in hidlHandleFromSharedHandle()405 fds.emplace_back(dupFd); in hidlHandleFromSharedHandle()434 const int dupFd = dup(handle->data[i]); in sharedHandleFromNativeHandle() local435 if (dupFd == -1) { in sharedHandleFromNativeHandle()438 fds.emplace_back(dupFd); in sharedHandleFromNativeHandle()
115 auto duplicatedFd = NN_TRY(dupFd(fd.get())); in unvalidatedConvertHelper()361 .fd = NN_TRY(dupFd(ashmem.fd.get())), in unvalidatedConvert()511 auto duplicatedFd = NN_TRY(dupFd(syncFence.get())); in unvalidatedConvert()626 auto duplicatedFd = NN_TRY(nn::dupFd(fd.get())); in unvalidatedConvert()662 auto fd = NN_TRY(nn::dupFd(memory.fd)); in unvalidatedConvert()686 auto fd = NN_TRY(nn::dupFd(memory.fd)); in unvalidatedConvert()996 auto duplicatedFd = NN_TRY(nn::dupFd(syncFence.getFd())); in unvalidatedConvert()1009 auto duplicatedFd = NN_TRY(nn::dupFd(handle->fds.front().get())); in unvalidatedConvertCache()
49 auto duplicatedFd = NN_TRY(nn::dupFd(fd.get())); in clone()
647 auto dupFd = dup(executionResult.syncFence.get()); in EvaluatePreparedModel() local648 ASSERT_NE(dupFd, -1); in EvaluatePreparedModel()649 waitFor.emplace_back(dupFd); in EvaluatePreparedModel()