Home
last modified time | relevance | path

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

/external/deqp/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()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiExternalMemoryTests.cpp1334 NativeHandle newFd (dup(fd.getFd())); in testSemaphoreFdDup() local
1336 if (newFd.getFd() < 0) in testSemaphoreFdDup()
1339 TCU_CHECK_MSG(newFd.getFd() >= 0, "Failed to call dup() for semaphores fd"); in testSemaphoreFdDup()
1342 …kSemaphore> semaphoreB (createAndImportSemaphore(vkd, *device, config.externalType, newFd, flags)); in testSemaphoreFdDup()
1404 int newFd (dup2(fd.getFd(), secondFd.getFd())); in testSemaphoreFdDup2() local
1406 if (newFd < 0) in testSemaphoreFdDup2()
1409 TCU_CHECK_MSG(newFd >= 0, "Failed to call dup2() for fences fd"); in testSemaphoreFdDup2()
1474 const int newFd (dup3(fd.getFd(), secondFd.getFd(), 0)); in testSemaphoreFdDup3() local
1476 if (newFd < 0) in testSemaphoreFdDup3()
1479 TCU_CHECK_MSG(newFd >= 0, "Failed to call dup3() for fences fd"); in testSemaphoreFdDup3()
[all …]
/external/python/cpython2/Lib/test/
Dtest_urllib.py406 newFd, newFilePath = tempfile.mkstemp()
409 newFile = os.fdopen(newFd, "wb")
/external/python/cpython3/Lib/test/
Dtest_urllib.py599 newFd, newFilePath = tempfile.mkstemp()
602 newFile = os.fdopen(newFd, "wb")