Home
last modified time | relevance | path

Searched refs:newFd (Results 1 – 4 of 4) sorted by relevance

/third_party/vk-gl-cts/framework/delibs/deutil/
DdeSocket.c544 deSocketHandle newFd = DE_INVALID_SOCKET_HANDLE; in deSocket_accept() local
552 newFd = accept(sock->handle, bsdAddr, &bsdAddrLen); in deSocket_accept()
553 if (!deSocketHandleIsValid(newFd)) in deSocket_accept()
560 closesocket(newFd); in deSocket_accept()
562 close(newFd); in deSocket_accept()
568 newSock->handle = newFd; in deSocket_accept()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiExternalMemoryTests.cpp1666 NativeHandle newFd (dup(fd.getFd())); in testSemaphoreFdDup() local
1668 if (newFd.getFd() < 0) in testSemaphoreFdDup()
1671 TCU_CHECK_MSG(newFd.getFd() >= 0, "Failed to call dup() for semaphores fd"); in testSemaphoreFdDup()
1674 …kSemaphore> semaphoreB (createAndImportSemaphore(vkd, *device, config.externalType, newFd, flags)); in testSemaphoreFdDup()
1739 int newFd (dup2(fd.getFd(), secondFd.getFd())); in testSemaphoreFdDup2() local
1741 if (newFd < 0) in testSemaphoreFdDup2()
1744 TCU_CHECK_MSG(newFd >= 0, "Failed to call dup2() for fences fd"); in testSemaphoreFdDup2()
1812 const int newFd (dup3(fd.getFd(), secondFd.getFd(), 0)); in testSemaphoreFdDup3() local
1814 if (newFd < 0) in testSemaphoreFdDup3()
1817 TCU_CHECK_MSG(newFd >= 0, "Failed to call dup3() for fences fd"); in testSemaphoreFdDup3()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiExternalMemoryTests.cpp1666 NativeHandle newFd (dup(fd.getFd())); in testSemaphoreFdDup() local
1668 if (newFd.getFd() < 0) in testSemaphoreFdDup()
1671 TCU_CHECK_MSG(newFd.getFd() >= 0, "Failed to call dup() for semaphores fd"); in testSemaphoreFdDup()
1674 …kSemaphore> semaphoreB (createAndImportSemaphore(vkd, *device, config.externalType, newFd, flags)); in testSemaphoreFdDup()
1739 int newFd (dup2(fd.getFd(), secondFd.getFd())); in testSemaphoreFdDup2() local
1741 if (newFd < 0) in testSemaphoreFdDup2()
1744 TCU_CHECK_MSG(newFd >= 0, "Failed to call dup2() for fences fd"); in testSemaphoreFdDup2()
1812 const int newFd (dup3(fd.getFd(), secondFd.getFd(), 0)); in testSemaphoreFdDup3() local
1814 if (newFd < 0) in testSemaphoreFdDup3()
1817 TCU_CHECK_MSG(newFd >= 0, "Failed to call dup3() for fences fd"); in testSemaphoreFdDup3()
[all …]
/third_party/python/Lib/test/
Dtest_urllib.py733 newFd, newFilePath = tempfile.mkstemp()
736 newFile = os.fdopen(newFd, "wb")