/vbox/src/VBox/Runtime/include/internal/ |
H A D | pipe.h | 39 * @param hPipe The pipe handle. 43 int rtPipePollGetHandle(RTPIPE hPipe, uint32_t fEvents, PRTHCINTPTR phNative); 55 * @param hPipe The pipe handle. 64 uint32_t rtPipePollStart(RTPIPE hPipe, RTPOLLSET hPollSet, uint32_t fEvents, bool fFinalEntry, bool fNoWait); 72 * @param hPipe The pipe handle. 82 uint32_t rtPipePollDone(RTPIPE hPipe, uint32_t fEvents, bool fFinalEntry, bool fHarvestEvents);
|
/vbox/include/iprt/ |
H A D | pipe.h | 63 * @param hPipe The pipe end to close. 65 RTDECL(int) RTPipeClose(RTPIPE hPipe); variable 102 * @param hPipe The IPRT pipe handle. 104 RTDECL(RTHCINTPTR) RTPipeToNative(RTPIPE hPipe); variable 117 * @param hPipe The IPRT pipe handle to read from. 125 RTDECL(int) RTPipeRead(RTPIPE hPipe, void *pvBuf, size_t cbToRead, size_t *pcbRead); 136 * @param hPipe The IPRT pipe handle to read from. 142 RTDECL(int) RTPipeReadBlocking(RTPIPE hPipe, void *pvBuf, size_t cbToRead, size_t *pcbRead); 155 * @param hPipe The IPRT pipe handle to write to. 161 RTDECL(int) RTPipeWrite(RTPIPE hPipe, cons 191 RTDECL(int) RTPipeFlush(RTPIPE hPipe); variable [all...] |
H A D | poll.h | 203 * @param hPipe The pipe handle. 210 DECLINLINE(int) RTPollSetAddPipe(RTPOLLSET hPollSet, RTPIPE hPipe, uint32_t fEvents, uint32_t id) argument 215 Handle.u.hPipe = hPipe;
|
H A D | types.h | 2008 RTPIPE hPipe; /**< Pipe handle. */ member in union:RTHANDLEUNION
|
/vbox/src/VBox/Runtime/r3/win/ |
H A D | pipe-win.cpp | 65 HANDLE hPipe; member in struct:RTPIPEINTERNAL 156 NTSTATUS rcNt = NtQueryInformationFile(pThis->hPipe, &Ios, pInfo, sizeof(*pInfo), FilePipeLocalInformation); 279 pThisR->hPipe = hPipeR; 280 pThisW->hPipe = hPipeW; 342 if (GetOverlappedResult(pThis->hPipe, &pThis->Overlapped, &cbWritten, TRUE)) 356 if (!WriteFile(pThis->hPipe, pThis->pbBounceBuf, (DWORD)pThis->cbBounceBufUsed, 397 RTDECL(int) RTPipeClose(RTPIPE hPipe) argument 399 RTPIPEINTERNAL *pThis = hPipe; 415 CloseHandle(pThis->hPipe); 416 pThis->hPipe 558 RTPipeToNative(RTPIPE hPipe) argument 568 RTPipeRead(RTPIPE hPipe, void *pvBuf, size_t cbToRead, size_t *pcbRead) argument 638 RTPipeReadBlocking(RTPIPE hPipe, void *pvBuf, size_t cbToRead, size_t *pcbRead) argument 715 RTPipeWrite(RTPIPE hPipe, const void *pvBuf, size_t cbToWrite, size_t *pcbWritten) argument 830 RTPipeWriteBlocking(RTPIPE hPipe, const void *pvBuf, size_t cbToWrite, size_t *pcbWritten) argument 966 RTPipeFlush(RTPIPE hPipe) argument 984 RTPipeSelectOne(RTPIPE hPipe, RTMSINTERVAL cMillies) argument 1150 RTPipeQueryReadable(RTPIPE hPipe, size_t *pcbReadable) argument 1173 rtPipePollGetHandle(RTPIPE hPipe, uint32_t fEvents, PRTHCINTPTR phNative) argument 1278 rtPipePollStart(RTPIPE hPipe, RTPOLLSET hPollSet, uint32_t fEvents, bool fFinalEntry, bool fNoWait) argument 1360 rtPipePollDone(RTPIPE hPipe, uint32_t fEvents, bool fFinalEntry, bool fHarvestEvents) argument [all...] |
H A D | RTHandleGetStandard-win.cpp | 108 rc = RTPipeFromNative(&h.u.hPipe, (RTHCUINTPTR)hNative,
|
H A D | localipc-win.cpp | 685 HANDLE hPipe = CreateFile(pszPipe, /* pipe name */ local 695 if (hPipe != INVALID_HANDLE_VALUE) 699 pThis->hNmPipe = hPipe;
|
H A D | process-win.cpp | 1168 *aphStds[i] = paHandles[i]->u.hPipe != NIL_RTPIPE 1169 ? (HANDLE)RTPipeToNative(paHandles[i]->u.hPipe)
|
/vbox/src/VBox/Runtime/common/misc/ |
H A D | handle.cpp | 53 rc = RTPipeClose(ph->u.hPipe); 54 ph->u.hPipe = NIL_RTPIPE;
|
/vbox/src/VBox/Runtime/r3/os2/ |
H A D | pipe-os2.cpp | 67 HPIPE hPipe; member in struct:RTPIPEINTERNAL 104 orc = DosSetNPipeSem(pThis->hPipe, (HSEM)hev, 1); 191 pThisR->hPipe = hPipeR; 192 pThisW->hPipe = hPipeW; 229 RTDECL(int) RTPipeClose(RTPIPE hPipe) argument 231 RTPIPEINTERNAL *pThis = hPipe; 245 DosClose(pThis->hPipe); 246 pThis->hPipe = (HPIPE)-1; 333 pThis->hPipe = hNative; 350 RTDECL(RTHCINTPTR) RTPipeToNative(RTPIPE hPipe) argument 467 RTPipeRead(RTPIPE hPipe, void *pvBuf, size_t cbToRead, size_t *pcbRead) argument 514 RTPipeReadBlocking(RTPIPE hPipe, void *pvBuf, size_t cbToRead, size_t *pcbRead) argument 622 RTPipeWrite(RTPIPE hPipe, const void *pvBuf, size_t cbToWrite, size_t *pcbWritten) argument 676 RTPipeWriteBlocking(RTPIPE hPipe, const void *pvBuf, size_t cbToWrite, size_t *pcbWritten) argument 731 RTPipeFlush(RTPIPE hPipe) argument 754 RTPipeSelectOne(RTPIPE hPipe, RTMSINTERVAL cMillies) argument 850 RTPipeQueryReadable(RTPIPE hPipe, size_t *pcbReadable) argument 881 rtPipePollGetHandle(RTPIPE hPipe, uint32_t fEvents, PRTHCINTPTR phNative) argument 979 rtPipePollStart(RTPIPE hPipe, RTPOLLSET hPollSet, uint32_t fEvents, bool fFinalEntry, bool fNoWait) argument 1012 rtPipePollDone(RTPIPE hPipe, uint32_t fEvents, bool fFinalEntry, bool fHarvestEvents) argument [all...] |
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | pipe-posix.cpp | 215 RTDECL(int) RTPipeClose(RTPIPE hPipe) argument 217 RTPIPEINTERNAL *pThis = hPipe; 291 RTDECL(RTHCINTPTR) RTPipeToNative(RTPIPE hPipe) argument 293 RTPIPEINTERNAL *pThis = hPipe; 444 RTDECL(int) RTPipeRead(RTPIPE hPipe, void *pvBuf, size_t cbToRead, size_t *pcbRead) argument 446 RTPIPEINTERNAL *pThis = hPipe; 478 RTDECL(int) RTPipeReadBlocking(RTPIPE hPipe, void *pvBuf, size_t cbToRead, size_t *pcbRead) argument 480 RTPIPEINTERNAL *pThis = hPipe; 525 RTDECL(int) RTPipeWrite(RTPIPE hPipe, const void *pvBuf, size_t cbToWrite, size_t *pcbWritten) argument 527 RTPIPEINTERNAL *pThis = hPipe; 559 RTPipeWriteBlocking(RTPIPE hPipe, const void *pvBuf, size_t cbToWrite, size_t *pcbWritten) argument 602 RTPipeFlush(RTPIPE hPipe) argument 619 RTPipeSelectOne(RTPIPE hPipe, RTMSINTERVAL cMillies) argument 648 RTPipeQueryReadable(RTPIPE hPipe, size_t *pcbReadable) argument 674 rtPipePollGetHandle(RTPIPE hPipe, uint32_t fEvents, PRTHCINTPTR phNative) argument [all...] |
H A D | RTHandleGetStandard-posix.cpp | 114 rc = RTPipeFromNative(&h.u.hPipe, fd,
|
H A D | process-creation-posix.cpp | 341 aStdFds[i] = paHandles[i]->u.hPipe != NIL_RTPIPE 342 ? (int)RTPipeToNative(paHandles[i]->u.hPipe)
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTPipe.cpp | 62 RTPIPE hPipe; 63 rc = RTPipeFromNative(&hPipe, (RTHCINTPTR)iNative, RTPIPE_N_READ); 70 rc = RTPipeReadBlocking(hPipe, szTmp, sizeof(szTmp) - 1, &cbRead); 77 rc = RTPipeReadBlocking(hPipe, szTmp2, sizeof(szTmp2), &cbRead2); 81 rc = RTPipeClose(hPipe); 139 RTPIPE hPipe; 140 rc = RTPipeFromNative(&hPipe, (RTHCINTPTR)iNative, RTPIPE_N_WRITE); 144 rc = RTPipeWriteBlocking(hPipe, g_szTest4Message, sizeof(g_szTest4Message) - 1, NULL); 148 rc = RTPipeClose(hPipe);
|
H A D | tstRTPoll.cpp | 53 Handle.u.hPipe = NIL_RTPIPE; 152 RTTESTI_CHECK(Handle.u.hPipe == hPipeR); 176 RTTESTI_CHECK(Handle.u.hPipe == hPipeW); 180 RTTESTI_CHECK(Handle.u.hPipe == hPipeR); 289 RTTESTI_CHECK(Handle.u.hPipe == hPipeW); 303 RTTESTI_CHECK(Handle.u.hPipe == hPipeR); 307 RTTESTI_CHECK(Handle.u.hPipe == hPipeW); 321 RTTESTI_CHECK(Handle.u.hPipe == hPipeW);
|
H A D | tstRTProcCreateEx.cpp | 240 Handle.u.hPipe = hPipeW; 305 Handle.u.hPipe = hPipeW; 371 Handle.u.hPipe = hPipeW;
|
/vbox/src/VBox/HostDrivers/VBoxUSB/win/cmn/ |
H A D | VBoxUsbTool.h | 54 VBOXUSBTOOL_DECL(NTSTATUS) VBoxUsbToolPipeClear(PDEVICE_OBJECT pDevObj, HANDLE hPipe, bool fReset);
|
H A D | VBoxUsbTool.cpp | 251 VBOXUSBTOOL_DECL(NTSTATUS) VBoxUsbToolPipeClear(PDEVICE_OBJECT pDevObj, HANDLE hPipe, bool fReset) argument 253 if (!hPipe) 265 pUrb->UrbPipeRequest.PipeHandle = hPipe;
|
/vbox/src/VBox/Runtime/r3/ |
H A D | poll.cpp | 182 fEvents = rtPipePollStart(pThis->paHandles[i].u.hPipe, pThis, pThis->paHandles[i].fEvents, 220 rtPipePollDone(pThis->paHandles[i].u.hPipe, pThis->paHandles[i].fEvents, 328 fEvents = rtPipePollDone(pThis->paHandles[i].u.hPipe, pThis->paHandles[i].fEvents, 762 uh.hPipe = pHandle->u.hPipe; 763 if (uh.hPipe == NIL_RTPIPE) 765 rc = rtPipePollGetHandle(uh.hPipe, fEvents, &hNative);
|
/vbox/src/VBox/HostDrivers/VBoxUSB/win/dev/ |
H A D | VBoxUsbRt.cpp | 1220 HANDLE hPipe = NULL; local 1223 hPipe = vboxUsbRtGetPipeHandle(pDevExt, pUrbInfo->ep | ((pUrbInfo->dir == USBSUP_DIRECTION_IN) ? 0x80 : 0x00)); 1224 if (!hPipe) 1271 pUrb->UrbControlTransfer.PipeHandle = hPipe; 1276 if (!hPipe) 1307 Assert(hPipe); 1319 pUrb->UrbIsochronousTransfer.PipeHandle = hPipe; 1355 Assert(hPipe); 1359 pUrb->UrbBulkOrInterruptTransfer.PipeHandle = hPipe;
|
/vbox/src/bldprogs/ |
H A D | scmsubversion.cpp | 241 hChildStdOut.u.hPipe = NIL_RTPIPE; 245 rc = RTPipeCreate(&hPipeStdOutR, &hChildStdOut.u.hPipe, 0 /*fFlags*/); 259 hChildStdErr.u.hPipe = NIL_RTPIPE; 263 rc = RTPipeCreate(&hPipeStdErrR, &hChildStdErr.u.hPipe, 0 /*fFlags*/);
|
H A D | scmstream.cpp | 363 rc = RTPipeWriteBlocking(h.u.hPipe, pStream->pch, pStream->cb, NULL);
|
/vbox/src/VBox/Additions/common/VBoxService/ |
H A D | VBoxServiceControlProcess.cpp | 904 ph->u.hPipe = NIL_RTPIPE; 935 ph->u.hPipe = NIL_RTPIPE; 949 rc = RTPipeCreate(&ph->u.hPipe, phPipe, RTPIPE_C_INHERIT_READ); 954 rc = RTPipeCreate(phPipe, &ph->u.hPipe, RTPIPE_C_INHERIT_WRITE);
|
/vbox/src/VBox/Main/src-all/ |
H A D | ExtPackManagerImpl.cpp | 2198 vrc = RTPipeCreate(&hPipeR, &hStdErrPipe.u.hPipe, RTPIPE_C_INHERIT_WRITE); 2218 vrc = RTPipeClose(hStdErrPipe.u.hPipe); 2219 hStdErrPipe.u.hPipe = NIL_RTPIPE; 2338 RTPipeClose(hStdErrPipe.u.hPipe);
|
/vbox/src/VBox/ValidationKit/utils/TestExecServ/ |
H A D | TestExecService.cpp | 2240 ph->u.hPipe = NIL_RTPIPE; 2251 rc = RTPipeCreate(&ph->u.hPipe, phPipe, RTPIPE_C_INHERIT_READ); 2253 rc = RTPipeCreate(phPipe, &ph->u.hPipe, RTPIPE_C_INHERIT_WRITE);
|