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.cpp1403 NativeHandle newFd (dup(fd.getFd())); in testSemaphoreFdDup() local
1405 if (newFd.getFd() < 0) in testSemaphoreFdDup()
1408 TCU_CHECK_MSG(newFd.getFd() >= 0, "Failed to call dup() for semaphores fd"); in testSemaphoreFdDup()
1411 …kSemaphore> semaphoreB (createAndImportSemaphore(vkd, *device, config.externalType, newFd, flags)); in testSemaphoreFdDup()
1473 int newFd (dup2(fd.getFd(), secondFd.getFd())); in testSemaphoreFdDup2() local
1475 if (newFd < 0) in testSemaphoreFdDup2()
1478 TCU_CHECK_MSG(newFd >= 0, "Failed to call dup2() for fences fd"); in testSemaphoreFdDup2()
1543 const int newFd (dup3(fd.getFd(), secondFd.getFd(), 0)); in testSemaphoreFdDup3() local
1545 if (newFd < 0) in testSemaphoreFdDup3()
1548 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.py731 newFd, newFilePath = tempfile.mkstemp()
734 newFile = os.fdopen(newFd, "wb")