Searched refs:newFd (Results 1 – 3 of 3) sorted by relevance
/third_party/vk-gl-cts/framework/delibs/deutil/ |
D | deSocket.c | 544 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/ |
D | vktApiExternalMemoryTests.cpp | 1431 NativeHandle newFd (dup(fd.getFd())); in testSemaphoreFdDup() local 1433 if (newFd.getFd() < 0) in testSemaphoreFdDup() 1436 TCU_CHECK_MSG(newFd.getFd() >= 0, "Failed to call dup() for semaphores fd"); in testSemaphoreFdDup() 1439 …kSemaphore> semaphoreB (createAndImportSemaphore(vkd, *device, config.externalType, newFd, flags)); in testSemaphoreFdDup() 1501 int newFd (dup2(fd.getFd(), secondFd.getFd())); in testSemaphoreFdDup2() local 1503 if (newFd < 0) in testSemaphoreFdDup2() 1506 TCU_CHECK_MSG(newFd >= 0, "Failed to call dup2() for fences fd"); in testSemaphoreFdDup2() 1571 const int newFd (dup3(fd.getFd(), secondFd.getFd(), 0)); in testSemaphoreFdDup3() local 1573 if (newFd < 0) in testSemaphoreFdDup3() 1576 TCU_CHECK_MSG(newFd >= 0, "Failed to call dup3() for fences fd"); in testSemaphoreFdDup3() [all …]
|
/third_party/python/Lib/test/ |
D | test_urllib.py | 733 newFd, newFilePath = tempfile.mkstemp() 736 newFile = os.fdopen(newFd, "wb")
|