Searched refs:AssertReturn (Results 1 - 25 of 640) sorted by relevance

1234567891011>>

/vbox/src/VBox/Runtime/generic/
H A DRTSystemQueryDmiString-generic.cpp41 AssertReturn(cbBuf > 0, VERR_INVALID_PARAMETER);
43 AssertReturn(enmString > RTSYSDMISTR_INVALID && enmString < RTSYSDMISTR_END, VERR_INVALID_PARAMETER);
H A DRTDirCreateUniqueNumbered-generic.cpp46 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 DRTSystemQueryOSInfo-generic.cpp43 AssertReturn(enmInfo > RTSYSOSINFO_INVALID && enmInfo < RTSYSOSINFO_END, VERR_INVALID_PARAMETER);
H A DRTSystemShutdown-generic.cpp41 AssertReturn(!(fFlags & ~RTSYSTEM_SHUTDOWN_VALID_MASK), VERR_INVALID_PARAMETER);
/vbox/src/VBox/Main/src-client/
H A DSessionImpl.cpp82 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 DRTPathParse.cpp48 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 DRTPathParsedReassemble.cpp47 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 DRTPathSplitReassemble.cpp45 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 DRTPathCalcRelative.cpp47 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 DRTStrPrintHexBytes.cpp40 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 DRTUtf16PrintHexBytes.cpp40 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 DRTUtf16Cat.cpp38 AssertReturn(pwszDst2, VERR_INVALID_PARAMETER);
H A DRTUtf16CatAscii.cpp38 AssertReturn(pwszDst2, VERR_INVALID_PARAMETER);
H A DRTStrCat.cpp38 AssertReturn(pszDst2, VERR_INVALID_PARAMETER);
H A DRTStrCatP.cpp44 AssertReturn(pszDst, VERR_INVALID_PARAMETER);
H A DRTStrCatPEx.cpp43 AssertReturn(pszDst, VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/r0drv/
H A Dmemobj-r0drv.cpp280 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 Dprocess-r0drv-os2.cpp44 AssertReturn(pLIS, NIL_RTPROCESS);
/vbox/src/VBox/Runtime/common/dvm/
H A Ddvm.cpp221 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 Dpkix-signature-core.cpp96 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 Dx509-verify.cpp47 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 DUSBProxyServiceWindows.cpp58 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 Dvfsmisc.cpp49 AssertReturn( enmStdHandle == RTHANDLESTD_INPUT
53 AssertReturn(!(fOpen & ~RTFILE_O_VALID_MASK), VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/r3/posix/
H A DRTPathUserDocuments-posix.cpp40 AssertReturn(cchPath, VERR_INVALID_PARAMETER);
/vbox/src/VBox/Devices/Storage/VSCSI/
H A DVSCSILun.cpp49 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);

Completed in 104 milliseconds

1234567891011>>