/vbox/src/VBox/HostDrivers/Support/testcase/ |
H A D | tstSupSem.cpp | 57 SUPSEMEVENT hEvent = (SUPSEMEVENT)pvUser; local 59 return SUPSemEventWaitNoResume(g_pSession, hEvent, g_cMillies); 115 SUPSEMEVENT hEvent = NIL_SUPSEMEVENT; local 116 RTTESTI_CHECK_RC(SUPSemEventCreate(pSession, &hEvent), VINF_SUCCESS); 117 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent, 0), VERR_TIMEOUT); 118 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent, 1), VERR_TIMEOUT); 119 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent, 2), VERR_TIMEOUT); 120 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent, 8), VERR_TIMEOUT); 121 RTTESTI_CHECK_RC(SUPSemEventWaitNoResume(pSession, hEvent,20), VERR_TIMEOUT); 122 RTTESTI_CHECK_RC(SUPSemEventSignal(pSession, hEvent), VINF_SUCCES [all...] |
H A D | tstSupSem-Zombie.cpp | 55 SUPSEMEVENT hEvent = (SUPSEMEVENT)pvUser; local 57 int rc = SUPSemEventWaitNoResume(g_pSession, hEvent, 120*1000); 75 SUPSEMEVENT hEvent = (SUPSEMEVENT)pvUser; local 77 int rc = SUPSemEventWaitNoResume(g_pSession, hEvent, RT_INDEFINITE_WAIT); 125 SUPSEMEVENT hEvent = NIL_SUPSEMEVENT; local 126 RTTESTI_CHECK_RC(rc = SUPSemEventCreate(pSession, &hEvent), VINF_SUCCESS); 136 RTTESTI_CHECK_RC(RTThreadCreate(&hThread, tstSupSemSRETimed, (void *)hEvent, 0, RTTHREADTYPE_TIMER, 0 /*fFlags*/, "IntSRE"), VINF_SUCCESS); 138 RTTESTI_CHECK_RC(RTThreadCreate(&hThread, tstSupSemSREInf, (void *)hEvent, 0, RTTHREADTYPE_TIMER, 0 /*fFlags*/, "IntSRE"), VINF_SUCCESS);
|
/vbox/src/VBox/Additions/WINNT/VBoxHook/testcase/ |
H A D | tstHook.cpp | 24 HANDLE hEvent = CreateEvent(NULL, FALSE, FALSE, VBOXHOOK_GLOBAL_WT_EVENT_NAME); local
|
/vbox/src/VBox/HostDrivers/Support/ |
H A D | SUPDrvSem.cpp | 103 SUPDECL(int) SUPSemEventClose(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent) argument 112 if (hEvent == NIL_SUPSEMEVENT) 114 h32 = (uint32_t)(uintptr_t)hEvent; 115 if (h32 != (uintptr_t)hEvent) 131 SUPDECL(int) SUPSemEventSignal(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent) argument 141 h32 = (uint32_t)(uintptr_t)hEvent; 142 if (h32 != (uintptr_t)hEvent) 158 static int supR0SemEventWaitEx(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint32_t fFlags, uint64_t uTimeout) argument 168 h32 = (uint32_t)(uintptr_t)hEvent; 169 if (h32 != (uintptr_t)hEvent) 185 SUPSemEventWait(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint32_t cMillies) argument 194 SUPSemEventWaitNoResume(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint32_t cMillies) argument 203 SUPSemEventWaitNsAbsIntr(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint64_t uNsTimeout) argument 210 SUPSemEventWaitNsRelIntr(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint64_t cNsTimeout) argument [all...] |
H A D | SUPLibSem.cpp | 122 SUPDECL(int) SUPSemEventClose(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent) argument 124 if (hEvent == NIL_SUPSEMEVENT) 126 return supSemOp2(pSession, SUP_SEM_TYPE_EVENT, (uintptr_t)hEvent, SUPSEMOP2_CLOSE, 0); 130 SUPDECL(int) SUPSemEventSignal(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent) argument 132 return supSemOp2(pSession, SUP_SEM_TYPE_EVENT, (uintptr_t)hEvent, SUPSEMOP2_SIGNAL, 0); 136 SUPDECL(int) SUPSemEventWaitNoResume(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint32_t cMillies) argument 138 return supSemOp2(pSession, SUP_SEM_TYPE_EVENT, (uintptr_t)hEvent, SUPSEMOP2_WAIT_MS_REL, cMillies); 142 SUPDECL(int) SUPSemEventWaitNsAbsIntr(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint64_t uNsTimeout) argument 144 return supSemOp2(pSession, SUP_SEM_TYPE_EVENT, (uintptr_t)hEvent, SUPSEMOP2_WAIT_NS_ABS, uNsTimeout); 148 SUPDECL(int) SUPSemEventWaitNsRelIntr(PSUPDRVSESSION pSession, SUPSEMEVENT hEvent, uint64_ argument [all...] |
/vbox/src/VBox/Runtime/generic/ |
H A D | timerlr-generic.cpp | 71 RTSEMEVENT hEvent; member in struct:RTTIMERLRINT 118 pThis->hEvent = NIL_RTSEMEVENT; 122 int rc = RTSemEventCreate(&pThis->hEvent); 133 RTSemEventDestroy(pThis->hEvent); 134 pThis->hEvent = NIL_RTSEMEVENT; 164 int rc = RTSemEventSignal(pThis->hEvent); 199 int rc = RTSemEventSignal(pThis->hEvent); 225 int rc = RTSemEventSignal(pThis->hEvent); 264 int rc = RTSemEventSignal(pThis->hEvent); 283 int rc = RTSemEventWait(pThis->hEvent, RT_INDEFINITE_WAI [all...] |
/vbox/src/VBox/Runtime/r3/win/ |
H A D | localipc-win.cpp | 137 HANDLE hEvent; member in struct:RTLOCALIPCSERVERINT 168 HANDLE hEvent; member in struct:RTLOCALIPCSESSIONINT 363 pThis->hEvent = CreateEvent(NULL /*lpEventAttributes*/, TRUE /*bManualReset*/, 365 if (pThis->hEvent != NULL) 369 pThis->OverlappedIO.hEvent = pThis->hEvent; 379 BOOL fRc = CloseHandle(pThis->hEvent); 404 fRc = CloseHandle(pThis->hEvent); 406 pThis->hEvent = NULL; 438 BOOL fRc = SetEvent(pThis->hEvent); 965 HANDLE hEvent = pThis->OverlappedIO.hEvent; local [all...] |
H A D | pipe-win.cpp | 269 pThisR->Overlapped.hEvent = CreateEvent(NULL, TRUE /*fManualReset*/, 271 if (pThisR->Overlapped.hEvent != NULL) 273 pThisW->Overlapped.hEvent = CreateEvent(NULL, TRUE /*fManualReset*/, 275 if (pThisW->Overlapped.hEvent != NULL) 306 CloseHandle(pThisR->Overlapped.hEvent); 338 DWORD dwRc = WaitForSingleObject(pThis->Overlapped.hEvent, 0); 355 rc = ResetEvent(pThis->Overlapped.hEvent); Assert(rc == TRUE); 418 CloseHandle(pThis->Overlapped.hEvent); 419 pThis->Overlapped.hEvent = NULL; 470 pThis->Overlapped.hEvent 856 HANDLE hEvent = pThis->Overlapped.hEvent; local [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/ |
H A D | VBoxDispCm.cpp | 31 HANDLE hEvent; member in struct:VBOXDISPCM_SESSION 51 BOOL bRc = CloseHandle(pSession->hEvent); 65 HANDLE hEvent = CreateEvent(NULL, local 70 Assert(hEvent); 71 if (hEvent) 73 pSession->hEvent = hEvent; 140 Info.hUmEvent = (uint64_t)g_pVBoxCmMgr.Session.hEvent; 271 SetEvent(pSession->hEvent); 296 DWORD dwResult = WaitForSingleObject(pSession->hEvent, dwMillisecond [all...] |
H A D | VBoxDispKmt.h | 139 HANDLE hEvent, uint64_t u64UmInfo);
|
/vbox/src/VBox/Devices/Serial/ |
H A D | DrvNamedPipe.cpp | 308 HANDLE hEvent = CreateEvent(NULL, TRUE, FALSE, 0); local 317 overlapped.hEvent = hEvent; 375 CloseHandle(hEvent); 464 if (pThis->OverlappedRead.hEvent != NULL) 466 CloseHandle(pThis->OverlappedRead.hEvent); 467 pThis->OverlappedRead.hEvent = NULL; 469 if (pThis->OverlappedWrite.hEvent != NULL) 471 CloseHandle(pThis->OverlappedWrite.hEvent); 472 pThis->OverlappedWrite.hEvent [all...] |
/vbox/src/VBox/HostDrivers/VBoxUSB/win/mon/ |
H A D | VBoxUsbFlt.h | 39 NTSTATUS VBoxUsbFltSetNotifyEvent(PVBOXUSBFLTCTX pContext, HANDLE hEvent);
|
/vbox/src/VBox/Devices/USB/win/ |
H A D | USBProxyDevice-win.cpp | 459 pQUrbWin->overlapped.hEvent = CreateEvent(NULL, TRUE, FALSE, NULL); 460 if (pQUrbWin->overlapped.hEvent != INVALID_HANDLE_VALUE) 491 CloseHandle(pQUrbWin->overlapped.hEvent); 492 pQUrbWin->overlapped.hEvent = INVALID_HANDLE_VALUE; 498 AssertMsgFailed(("FAILED!!, hEvent(0x%p)\n", pQUrbWin->overlapped.hEvent)); 503 Assert(pQUrbWin->overlapped.hEvent == INVALID_HANDLE_VALUE); 598 pPriv->paHandles[pPriv->cQueuedUrbs + i] = pPriv->aPendingUrbs[i]->overlapped.hEvent; 678 if (pQUrbWin->overlapped.hEvent != INVALID_HANDLE_VALUE) 680 CloseHandle(pQUrbWin->overlapped.hEvent); [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/ |
H A D | vboxext.c | 49 HANDLE hEvent; member in struct:VBOXEXT_WORKER 93 SetEvent(pWorker->hEvent); 116 SetEvent(pWorker->hEvent); 143 pWorker->hEvent = CreateEvent(NULL, /* LPSECURITY_ATTRIBUTES lpEventAttributes */ 148 if (pWorker->hEvent) 159 DWORD dwResult = WaitForSingleObject(pWorker->hEvent, INFINITE); 201 CloseHandle(pWorker->hEvent); 215 /* need to serialize since vboxExtWorkerThread is using one pWorker->hEvent 223 DWORD dwErr = WaitForSingleObject(pWorker->hEvent, INFINITE);
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/ |
H A D | vboxext.c | 49 HANDLE hEvent; member in struct:VBOXEXT_WORKER 93 SetEvent(pWorker->hEvent); 116 SetEvent(pWorker->hEvent); 143 pWorker->hEvent = CreateEvent(NULL, /* LPSECURITY_ATTRIBUTES lpEventAttributes */ 148 if (pWorker->hEvent) 159 DWORD dwResult = WaitForSingleObject(pWorker->hEvent, INFINITE); 201 CloseHandle(pWorker->hEvent); 215 /* need to serialize since vboxExtWorkerThread is using one pWorker->hEvent 223 DWORD dwErr = WaitForSingleObject(pWorker->hEvent, INFINITE);
|
/vbox/src/VBox/Additions/WINNT/VBoxTray/ |
H A D | VBoxDispIf.h | 109 DWORD VBoxDispIfSeamlesCreate(PCVBOXDISPIF const pIf, VBOXDISPIF_SEAMLESS *pSeamless, HANDLE hEvent);
|
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/ |
H A D | VBoxMPVhwa.h | 41 void vboxVhwaCommandSubmitAsynchByEvent(PVBOXMP_DEVEXT pDevExt, VBOXVHWACMD* pCmd, RTSEMEVENT hEvent);
|
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/ |
H A D | dyngraph.idl | 58 HRESULT Block([in] DWORD dwBlockFlags, [in] HANDLE hEvent);
|
H A D | mmstream.idl | 186 [in, optional] HANDLE hEvent,
|
/vbox/src/VBox/Main/src-server/win/ |
H A D | HostDnsServiceWin.cpp | 133 static inline int registerNotification(const HKEY& hKey, HANDLE& hEvent) argument 138 hEvent,
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/ |
H A D | dyngraph.idl | 58 HRESULT Block([in] DWORD dwBlockFlags, [in] HANDLE hEvent);
|
H A D | mmstream.idl | 186 [in, optional] HANDLE hEvent,
|
/vbox/src/VBox/Runtime/r3/ |
H A D | socket.cpp | 156 WSAEVENT hEvent; member in struct:RTSOCKETINT 416 pThis->hEvent = WSA_INVALID_EVENT; 528 WSAEVENT hEvent = pThis->hEvent; local 529 if (hEvent == WSA_INVALID_EVENT) 531 pThis->hEvent = WSA_INVALID_EVENT; 532 WSACloseEvent(hEvent); 1865 if (pThis->hEvent != WSA_INVALID_EVENT) 1866 *phNative = (RTHCINTPTR)pThis->hEvent; 1869 pThis->hEvent [all...] |
/vbox/src/VBox/VMM/VMMAll/ |
H A D | PDMAllCritSect.cpp | 137 SUPSEMEVENT hEvent = (SUPSEMEVENT)pCritSect->s.Core.EventSem; local 170 int rc = SUPSemEventWaitNoResume(pSession, hEvent, RT_INDEFINITE_WAIT); 173 int rc = SUPSemEventWaitNoResume(pSession, hEvent, RT_INDEFINITE_WAIT); 607 SUPSEMEVENT hEvent = (SUPSEMEVENT)pCritSect->s.Core.EventSem; local 609 int rc = SUPSemEventSignal(pSession, hEvent);
|
/vbox/src/VBox/Devices/Audio/ |
H A D | DrvAudio.h | 82 RTSEMEVENT hEvent; member in struct:DRVAUDIO
|