/vbox/src/VBox/Runtime/generic/ |
H A D | RTSystemQueryDmiString-generic.cpp | 41 AssertReturn(cbBuf > 0, VERR_INVALID_PARAMETER); 43 AssertReturn(enmString > RTSYSDMISTR_INVALID && enmString < RTSYSDMISTR_END, VERR_INVALID_PARAMETER);
|
H A D | RTDirCreateUniqueNumbered-generic.cpp | 46 AssertReturn(cbSize, VERR_BUFFER_OVERFLOW); 47 AssertReturn(cchDigits > 0, VERR_INVALID_PARAMETER); 51 AssertReturn(pszEnd, VERR_BUFFER_OVERFLOW); 52 AssertReturn(cbSize - 1 - (pszEnd - pszPath) >= (size_t)cchDigits + (chSep ? 1 : 0), VERR_BUFFER_OVERFLOW);
|
H A D | RTSystemQueryOSInfo-generic.cpp | 43 AssertReturn(enmInfo > RTSYSOSINFO_INVALID && enmInfo < RTSYSOSINFO_END, VERR_INVALID_PARAMETER);
|
H A D | RTSystemShutdown-generic.cpp | 41 AssertReturn(!(fFlags & ~RTSYSTEM_SHUTDOWN_VALID_MASK), VERR_INVALID_PARAMETER);
|
/vbox/src/VBox/Main/src-client/ |
H A D | SessionImpl.cpp | 82 AssertReturn(autoInitSpan.isOk(), E_FAIL); 270 AssertReturn(mState == SessionState_Locked, VBOX_E_INVALID_VM_STATE); 271 AssertReturn(mType == SessionType_WriteLock, VBOX_E_INVALID_OBJECT_STATE); 273 AssertReturn(mConsole, VBOX_E_INVALID_OBJECT_STATE); 294 AssertReturn(mState == SessionState_Unlocked, VBOX_E_INVALID_VM_STATE); 304 AssertReturn(mType == SessionType_Null, VBOX_E_INVALID_OBJECT_STATE); 313 AssertReturn(!!mControl, E_FAIL); 391 AssertReturn(aMachine, E_INVALIDARG); 395 AssertReturn(mState == SessionState_Unlocked || 402 AssertReturn(!!mContro [all...] |
/vbox/src/VBox/Runtime/common/path/ |
H A D | RTPathParse.cpp | 48 AssertReturn(cbParsed >= RT_UOFFSETOF(RTPATHPARSED, aComps), VERR_INVALID_PARAMETER); 51 AssertReturn(*pszPath, VERR_PATH_ZERO_LENGTH); 52 AssertReturn(RTPATH_STR_F_IS_VALID(fFlags, 0), VERR_INVALID_FLAGS);
|
H A D | RTPathParsedReassemble.cpp | 47 AssertReturn(pParsed->cComps > 0, VERR_INVALID_PARAMETER); 48 AssertReturn(RTPATH_STR_F_IS_VALID(fFlags, 0) && !(fFlags & RTPATH_STR_F_MIDDLE), VERR_INVALID_FLAGS); 50 AssertReturn(cbDstPath > pParsed->cchPath, VERR_BUFFER_OVERFLOW); 88 AssertReturn(cchDstPath <= cchOrgPath, VERR_INVALID_PARAMETER); 106 AssertReturn(cchDstPath <= cchOrgPath, VERR_INVALID_PARAMETER); 113 AssertReturn(cchDstPath <= cchOrgPath, VERR_INVALID_PARAMETER);
|
H A D | RTPathSplitReassemble.cpp | 45 AssertReturn(pSplit->cComps > 0, VERR_INVALID_PARAMETER); 46 AssertReturn(RTPATH_STR_F_IS_VALID(fFlags, 0) && !(fFlags & RTPATH_STR_F_MIDDLE), VERR_INVALID_FLAGS); 48 AssertReturn(cbDstPath > pSplit->cchPath, VERR_BUFFER_OVERFLOW); 86 AssertReturn(cchDstPath <= cchOrgPath, VERR_INVALID_PARAMETER); 104 AssertReturn(cchDstPath <= cchOrgPath, VERR_INVALID_PARAMETER); 111 AssertReturn(cchDstPath <= cchOrgPath, VERR_INVALID_PARAMETER);
|
H A D | RTPathCalcRelative.cpp | 47 AssertReturn(cbPathDst, VERR_INVALID_PARAMETER); 50 AssertReturn(RTPathStartsWithRoot(pszPathFrom), VERR_INVALID_PARAMETER); 51 AssertReturn(RTPathStartsWithRoot(pszPathTo), VERR_INVALID_PARAMETER); 52 AssertReturn(RTStrCmp(pszPathFrom, pszPathTo), VERR_INVALID_PARAMETER);
|
/vbox/src/VBox/Runtime/common/string/ |
H A D | RTStrPrintHexBytes.cpp | 40 AssertReturn(!(fFlags & ~RTSTRPRINTHEXBYTES_F_UPPER), VERR_INVALID_PARAMETER); 42 AssertReturn(cb * 2 >= cb, VERR_BUFFER_OVERFLOW); 43 AssertReturn(cchBuf >= cb * 2 + 1, VERR_BUFFER_OVERFLOW);
|
H A D | RTUtf16PrintHexBytes.cpp | 40 AssertReturn(!(fFlags & ~RTSTRPRINTHEXBYTES_F_UPPER), VERR_INVALID_PARAMETER); 42 AssertReturn(cb * 2 >= cb, VERR_BUFFER_OVERFLOW); 43 AssertReturn(cwcBuf >= cb * 2 + 1, VERR_BUFFER_OVERFLOW);
|
H A D | RTUtf16Cat.cpp | 38 AssertReturn(pwszDst2, VERR_INVALID_PARAMETER);
|
H A D | RTUtf16CatAscii.cpp | 38 AssertReturn(pwszDst2, VERR_INVALID_PARAMETER);
|
H A D | RTStrCat.cpp | 38 AssertReturn(pszDst2, VERR_INVALID_PARAMETER);
|
H A D | RTStrCatP.cpp | 44 AssertReturn(pszDst, VERR_INVALID_PARAMETER);
|
H A D | RTStrCatPEx.cpp | 43 AssertReturn(pszDst, VERR_INVALID_PARAMETER);
|
/vbox/src/VBox/Runtime/r0drv/ |
H A D | memobj-r0drv.cpp | 280 AssertReturn(pMem->u32Magic == RTR0MEMOBJ_MAGIC, NIL_RTHCPHYS); 281 AssertReturn(pMem->enmType > RTR0MEMOBJTYPE_INVALID && pMem->enmType < RTR0MEMOBJTYPE_END, NIL_RTHCPHYS); 290 AssertReturn(iPage < (pMem->cb >> PAGE_SHIFT), NIL_RTHCPHYS); 329 AssertReturn(pMem->u32Magic == RTR0MEMOBJ_MAGIC, VERR_INVALID_HANDLE); 330 AssertReturn(pMem->enmType > RTR0MEMOBJTYPE_INVALID && pMem->enmType < RTR0MEMOBJTYPE_END, VERR_INVALID_HANDLE); 426 AssertReturn(cb > 0, VERR_INVALID_PARAMETER); 427 AssertReturn(cb <= cbAligned, VERR_INVALID_PARAMETER); 442 AssertReturn(cb > 0, VERR_INVALID_PARAMETER); 443 AssertReturn(cb <= cbAligned, VERR_INVALID_PARAMETER); 458 AssertReturn(c [all...] |
/vbox/src/VBox/Runtime/r0drv/os2/ |
H A D | process-r0drv-os2.cpp | 44 AssertReturn(pLIS, NIL_RTPROCESS);
|
/vbox/src/VBox/Runtime/common/dvm/ |
H A D | dvm.cpp | 221 AssertReturn(pThis->u32Magic == RTDVM_MAGIC, UINT32_MAX); 258 AssertReturn(pThis->u32Magic == RTDVM_MAGIC, UINT32_MAX); 274 AssertReturn(pThis->u32Magic == RTDVM_MAGIC, VERR_INVALID_HANDLE); 275 AssertReturn(pThis->hVolMgrFmt == NIL_RTDVMFMT, VERR_INVALID_HANDLE); 373 AssertReturn(pThis->u32Magic == RTDVM_MAGIC, VERR_INVALID_HANDLE); 374 AssertReturn(pThis->hVolMgrFmt == NIL_RTDVMFMT, VERR_INVALID_HANDLE); 397 AssertReturn(pThis->u32Magic == RTDVM_MAGIC, NULL); 398 AssertReturn(pThis->hVolMgrFmt != NIL_RTDVMFMT, NULL); 407 AssertReturn(pThis->u32Magic == RTDVM_MAGIC, UINT32_MAX); 408 AssertReturn(pThi [all...] |
/vbox/src/VBox/Runtime/common/crypto/ |
H A D | pkix-signature-core.cpp | 96 AssertReturn(RTAsn1BitString_IsPresent(pKey), VERR_INVALID_PARAMETER); 138 AssertReturn(pThis->u32Magic == RTCRPKIXSIGNATUREINT_MAGIC, UINT32_MAX); 152 AssertReturn(pThis->u32Magic == RTCRPKIXSIGNATUREINT_MAGIC, UINT32_MAX); 202 AssertReturn(pThis->u32Magic == RTCRPKIXSIGNATUREINT_MAGIC, VERR_INVALID_HANDLE); 203 AssertReturn(!pThis->fSigning, VERR_INVALID_FUNCTION); 204 AssertReturn(pThis->uState == RTCRPKIXSIGNATURE_STATE_READY || pThis->uState == RTCRPKIXSIGNATURE_STATE_DONE, VERR_INVALID_STATE); 207 AssertReturn(cRefs != UINT32_MAX, VERR_INVALID_HANDLE); 227 AssertReturn(RTAsn1BitString_IsPresent(pSignature), VERR_INVALID_PARAMETER); 242 AssertReturn(RTAsn1OctetString_IsPresent(pSignature), VERR_INVALID_PARAMETER); 256 AssertReturn(pThi [all...] |
H A D | x509-verify.cpp | 47 AssertReturn(RTCrX509Certificate_IsPresent(pThis), VERR_INVALID_PARAMETER); 50 AssertReturn(RTAsn1ObjId_IsPresent(pAlgorithm), VERR_INVALID_POINTER); 60 AssertReturn(RTAsn1BitString_IsPresent(pPublicKey), VERR_INVALID_POINTER);
|
/vbox/src/VBox/Main/src-server/win/ |
H A D | USBProxyServiceWindows.cpp | 58 AssertReturn(mhEventInterrupt != INVALID_HANDLE_VALUE, E_FAIL); 115 AssertReturn(aFilter, NULL); 142 AssertReturn(aDevice, VERR_GENERAL_FAILURE); 143 AssertReturn(!aDevice->isWriteLockOnCurrentThread(), VERR_GENERAL_FAILURE); 184 AssertReturn(aDevice, VERR_GENERAL_FAILURE); 185 AssertReturn(!aDevice->isWriteLockOnCurrentThread(), VERR_GENERAL_FAILURE); 225 AssertReturn(aDevice, false); 226 AssertReturn(!aDevice->isWriteLockOnCurrentThread(), false);
|
/vbox/src/VBox/Runtime/common/vfs/ |
H A D | vfsmisc.cpp | 49 AssertReturn( enmStdHandle == RTHANDLESTD_INPUT 53 AssertReturn(!(fOpen & ~RTFILE_O_VALID_MASK), VERR_INVALID_PARAMETER);
|
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | RTPathUserDocuments-posix.cpp | 40 AssertReturn(cchPath, VERR_INVALID_PARAMETER);
|
/vbox/src/VBox/Devices/Storage/VSCSI/ |
H A D | VSCSILun.cpp | 49 AssertReturn( enmLunType > VSCSILUNTYPE_INVALID 101 AssertReturn(!pVScsiLun->pVScsiDevice, VERR_VSCSI_LUN_ATTACHED_TO_DEVICE); 102 AssertReturn(vscsiIoReqOutstandingCountGet(pVScsiLun) == 0, VERR_VSCSI_LUN_BUSY); 131 AssertReturn(vscsiIoReqOutstandingCountGet(pVScsiLun) == 0, VERR_VSCSI_LUN_BUSY); 153 AssertReturn(vscsiIoReqOutstandingCountGet(pVScsiLun) == 0, VERR_VSCSI_LUN_BUSY);
|