/vbox/src/VBox/Frontends/VirtualBox/src/extensions/ |
H A D | QIStatusBarIndicator.h | 78 /** Returns state-icon for passed @a iState. */ 79 QIcon stateIcon(int iState) const; 80 /** Defines state-icon for passed @a iState as @a icon. */ 81 void setStateIcon(int iState, const QIcon &icon); 86 virtual void setState(int iState) { m_iState = iState; repaint(); } argument
|
H A D | QIStatusBarIndicator.cpp | 83 QIcon QIStateStatusBarIndicator::stateIcon(int iState) const 86 return m_icons.value(iState, QIcon()); 89 void QIStateStatusBarIndicator::setStateIcon(int iState, const QIcon &icon) argument 94 m_icons[iState] = icon;
|
/vbox/include/iprt/ |
H A D | once.h | 77 int32_t volatile iState; member in struct:RTONCE 158 int32_t iState = ASMAtomicUoReadS32(&pOnce->iState); local 159 if (RT_LIKELY( iState == RTONCESTATE_DONE 160 || iState == RTONCESTATE_DONE_CREATING_SEM 161 || iState == RTONCESTATE_DONE_HAVE_SEM )) 182 int32_t iState = ASMAtomicUoReadS32(&pOnce->iState); local 183 if (RT_LIKELY( iState == RTONCESTATE_DONE 184 || iState [all...] |
/vbox/src/VBox/Runtime/common/misc/ |
H A D | once.cpp | 111 ASMAtomicWriteS32(&pCur->iState, RTONCESTATE_UNINITIALIZED); 130 ASMAtomicWriteS32(&g_OnceCleanUp.iState, RTONCESTATE_UNINITIALIZED); 185 int32_t iState = ASMAtomicReadS32(&pOnce->iState); local 186 switch (iState) 192 if (ASMAtomicCmpXchgS32(&pOnce->iState, RTONCESTATE_BUSY_CREATING_SEM, RTONCESTATE_BUSY_NO_SEM)) 200 if (!ASMAtomicCmpXchgS32(&pOnce->iState, RTONCESTATE_BUSY_HAVE_SEM, RTONCESTATE_BUSY_CREATING_SEM)) 203 AssertReturn(ASMAtomicCmpXchgS32(&pOnce->iState, RTONCESTATE_DONE, RTONCESTATE_DONE_CREATING_SEM) 215 AssertReturn( ASMAtomicCmpXchgS32(&pOnce->iState, RTONCESTATE_BUSY_SPIN, RTONCESTATE_BUSY_CREATING_SEM) 216 || ASMAtomicCmpXchgS32(&pOnce->iState, RTONCESTATE_DON 300 int32_t iState = ASMAtomicUoReadS32(&pOnce->iState); local 415 int32_t iState = ASMAtomicUoReadS32(&pOnce->iState); local [all...] |
/vbox/src/VBox/Runtime/r3/linux/ |
H A D | semeventmulti-linux.cpp | 91 int32_t volatile iState; member in struct:RTSEMEVENTMULTIINTERNAL 135 pThis->iState = 0; 178 if (ASMAtomicXchgS32(&pThis->iState, -1) == 1) 180 sys_futex(&pThis->iState, FUTEX_WAKE, INT_MAX, NULL, NULL, 0); 217 int32_t iOld = ASMAtomicXchgS32(&pThis->iState, -1); 221 long cWoken = sys_futex(&pThis->iState, FUTEX_WAKE, INT_MAX, NULL, NULL, 0); 238 int32_t i = pThis->iState; 245 ASMAtomicCmpXchgS32(&pThis->iState, 0, -1); 264 int32_t iCur = ASMAtomicUoReadS32(&pThis->iState); 322 iCur = ASMAtomicUoReadS32(&pThis->iState); [all...] |
H A D | semmutex-linux.cpp | 70 int32_t volatile iState; member in struct:RTSEMMUTEXINTERNAL 120 pThis->iState = 0; 166 if (ASMAtomicXchgS32(&pThis->iState, 0) > 0) 168 sys_futex(&pThis->iState, FUTEX_WAKE, INT_MAX, NULL, NULL, 0); 257 if (RT_UNLIKELY(!ASMAtomicCmpXchgS32(&pThis->iState, 1, 0))) 261 int32_t iOld = ASMAtomicXchgS32(&pThis->iState, 2); 284 long rc = sys_futex(&pThis->iState, FUTEX_WAIT, 2, pTimeout, NULL, 0); 329 * When leaving this loop, iState is set to 2. This means that we gained the 333 * The key problem is the simple futex_wait test for x != y (iState != 2) in 437 int32_t iNew = ASMAtomicDecS32(&pThis->iState); [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/globals/ |
H A D | UIActionPool.h | 296 void setState(int iState) { m_iState = iState; retranslateUi(); } argument
|
/vbox/src/VBox/Additions/common/VBoxService/ |
H A D | VBoxServiceVMInfo-win.cpp | 811 int iState = -1; local 819 iState = *pBuffer; 821 pUserInfo->wszUser, iState, cbRet); 822 if ( iState == WTSActive /* User logged on to WinStation. */ 823 || iState == WTSShadow /* Shadowing another WinStation. */ 824 || iState == WTSDisconnected) /* WinStation logged on without client. */ 829 pUserInfo->wszUser, iState);
|
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/ |
H A D | UIIndicatorsPool.cpp | 709 void setState(int iState) argument 712 switch (iState) 725 QIStateStatusBarIndicator::setState(iState); 911 void setState(int iState) argument 913 if ((iState & UIMouseStateType_MouseAbsoluteDisabled) && 914 (iState & UIMouseStateType_MouseAbsolute) && 915 !(iState & UIMouseStateType_MouseCaptured)) 921 QIStateStatusBarIndicator::setState(iState & (UIMouseStateType_MouseAbsolute | UIMouseStateType_MouseCaptured)); 1343 const int iState = (int)state; local 1344 if (pStateIndicator->state() != iState) [all...] |
/vbox/include/VBox/ |
H A D | rawpci.h | 234 uint32_t iState; member in struct:PCIRAWREQPOWERSTATECHANGE
|