Searched refs:AssertReturn (Results 51 - 75 of 640) sorted by relevance

1234567891011>>

/vbox/src/VBox/Runtime/common/misc/
H A Dhandletablectx.cpp53 AssertReturn(pThis->u32Magic == RTHANDLETABLE_MAGIC, VERR_INVALID_HANDLE);
54 AssertReturn(pThis->fFlags & RTHANDLETABLE_FLAGS_CONTEXT, VERR_INVALID_FUNCTION);
55 AssertReturn(!RTHT_IS_FREE(pvObj), VERR_INVALID_PARAMETER);
226 AssertReturn(pThis->u32Magic == RTHANDLETABLE_MAGIC, NULL);
227 AssertReturn(pThis->fFlags & RTHANDLETABLE_FLAGS_CONTEXT, NULL);
269 AssertReturn(pThis->u32Magic == RTHANDLETABLE_MAGIC, NULL);
270 AssertReturn(pThis->fFlags & RTHANDLETABLE_FLAGS_CONTEXT, NULL);
H A Dhandletablesimple.cpp50 AssertReturn(pThis->u32Magic == RTHANDLETABLE_MAGIC, VERR_INVALID_HANDLE);
51 AssertReturn(!(pThis->fFlags & RTHANDLETABLE_FLAGS_CONTEXT), VERR_INVALID_FUNCTION);
52 AssertReturn(!RTHT_IS_FREE(pvObj), VERR_INVALID_PARAMETER);
208 AssertReturn(pThis->u32Magic == RTHANDLETABLE_MAGIC, NULL);
209 AssertReturn(!(pThis->fFlags & RTHANDLETABLE_FLAGS_CONTEXT), NULL);
248 AssertReturn(pThis->u32Magic == RTHANDLETABLE_MAGIC, NULL);
249 AssertReturn(!(pThis->fFlags & RTHANDLETABLE_FLAGS_CONTEXT), NULL);
/vbox/src/VBox/Runtime/r3/win/
H A Dsemmutex-win.cpp79 AssertReturn(!(fFlags & ~RTSEMMUTEX_FLAGS_NO_LOCK_VAL), VERR_INVALID_PARAMETER);
133 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, VERR_INVALID_HANDLE);
138 AssertReturn(ASMAtomicCmpXchgU32(&pThis->u32Magic, RTSEMMUTEX_MAGIC_DEAD, RTSEMMUTEX_MAGIC), VERR_INVALID_HANDLE);
165 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, RTLOCKVAL_SUB_CLASS_INVALID);
189 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, VERR_INVALID_HANDLE);
284 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, VERR_INVALID_HANDLE);
336 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, false);
H A Dallocex-win.cpp53 AssertReturn(cbRange == sizeof(MemInfo), VERR_NOT_SUPPORTED);
82 AssertReturn(cbAlloc <= _64K - PAGE_SIZE, VERR_NO_MEMORY);
92 AssertReturn(cbAlloc <= _2G+_1G, VERR_NO_MEMORY);
/vbox/src/VBox/HostDrivers/Support/
H A DSUPDrvSem.cpp75 AssertReturn(SUP_IS_SESSION_VALID(pSession), VERR_INVALID_PARAMETER);
111 AssertReturn(SUP_IS_SESSION_VALID(pSession), VERR_INVALID_PARAMETER);
140 AssertReturn(SUP_IS_SESSION_VALID(pSession), VERR_INVALID_PARAMETER);
167 AssertReturn(SUP_IS_SESSION_VALID(pSession), VERR_INVALID_PARAMETER);
247 AssertReturn(SUP_IS_SESSION_VALID(pSession), VERR_INVALID_PARAMETER);
283 AssertReturn(SUP_IS_SESSION_VALID(pSession), VERR_INVALID_PARAMETER);
312 AssertReturn(SUP_IS_SESSION_VALID(pSession), VERR_INVALID_PARAMETER);
339 AssertReturn(SUP_IS_SESSION_VALID(pSession), VERR_INVALID_PARAMETER);
366 AssertReturn(SUP_IS_SESSION_VALID(pSession), VERR_INVALID_PARAMETER);
/vbox/src/VBox/VMM/VMMR3/
H A DDBGFAddr.cpp110 AssertReturn(idCpu < pUVM->cCpus, VERR_INVALID_PARAMETER);
277 AssertReturn(DBGFADDRESS_IS_VALID(pAddress), VERR_INVALID_PARAMETER);
281 AssertReturn(idCpu < pUVM->cCpus, VERR_INVALID_PARAMETER);
337 AssertReturn(DBGFADDRESS_IS_VALID(pAddress), VERR_INVALID_PARAMETER);
341 AssertReturn(idCpu < pUVM->cCpus, VERR_INVALID_PARAMETER);
457 AssertReturn(DBGFADDRESS_IS_VALID(pAddress), VERR_INVALID_PARAMETER);
459 AssertReturn(idCpu < pUVM->cCpus, VERR_INVALID_PARAMETER);
485 AssertReturn(DBGFADDRESS_IS_VALID(pAddress), NULL);
513 AssertReturn(DBGFADDRESS_IS_VALID(pAddress), NULL);
H A DDBGFCpu.cpp62 AssertReturn(idCpu < pUVM->pVM->cCpus, CPUMMODE_INVALID);
100 AssertReturn(idCpu < pUVM->pVM->cCpus, false);
/vbox/src/VBox/Runtime/common/path/
H A DRTPathSplit.cpp45 AssertReturn(cbSplit >= RT_UOFFSETOF(RTPATHSPLIT, apszComps), VERR_INVALID_PARAMETER);
48 AssertReturn(*pszPath, VERR_PATH_ZERO_LENGTH);
49 AssertReturn(RTPATH_STR_F_IS_VALID(fFlags, 0), VERR_INVALID_FLAGS);
/vbox/src/VBox/Runtime/common/rand/
H A Drandadv.cpp48 AssertReturn(pThis->u32Magic == RTRANDINT_MAGIC, VERR_INVALID_HANDLE);
61 AssertReturn(pThis->u32Magic == RTRANDINT_MAGIC, VERR_INVALID_HANDLE);
74 AssertReturn(pThis->u32Magic == RTRANDINT_MAGIC, VERR_INVALID_HANDLE);
89 AssertReturn(pThis->u32Magic == RTRANDINT_MAGIC, VERR_INVALID_HANDLE);
117 AssertReturn(pThis->u32Magic == RTRANDINT_MAGIC, INT32_MAX);
130 AssertReturn(pThis->u32Magic == RTRANDINT_MAGIC, INT32_MAX);
143 AssertReturn(pThis->u32Magic == RTRANDINT_MAGIC, UINT32_MAX);
156 AssertReturn(pThis->u32Magic == RTRANDINT_MAGIC, UINT32_MAX);
169 AssertReturn(pThis->u32Magic == RTRANDINT_MAGIC, INT64_MAX);
182 AssertReturn(pThi
[all...]
/vbox/src/VBox/Runtime/r3/
H A Dpoll.cpp269 AssertReturn(pThis->cPipes > 0, VERR_INTERNAL_ERROR_2);
436 AssertReturn(pThis->u32Magic == RTPOLLSET_MAGIC, VERR_INVALID_HANDLE);
443 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_CONCURRENT_ACCESS);
476 AssertReturn(pThis->u32Magic == RTPOLLSET_MAGIC, VERR_INVALID_HANDLE);
483 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_CONCURRENT_ACCESS);
540 AssertReturn(pThis->u32Magic == RTPOLLSET_MAGIC, VERR_INVALID_HANDLE);
541 AssertReturn(ASMAtomicCmpXchgBool(&pThis->fBusy, true, false), VERR_CONCURRENT_ACCESS);
741 AssertReturn(pThis->u32Magic == RTPOLLSET_MAGIC, VERR_INVALID_HANDLE);
742 AssertReturn(!(fEvents & ~RTPOLL_EVT_VALID_MASK), VERR_INVALID_PARAMETER);
743 AssertReturn(fEvent
[all...]
/vbox/src/VBox/VMM/VMMR0/
H A DPDMR0Driver.cpp50 AssertReturn(pDrvIns->Internal.s.pVMR0 == pVM, VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/common/crypto/
H A Dpkix-verify.cpp52 AssertReturn(RTAsn1ObjId_IsPresent(pAlgorithm), VERR_INVALID_POINTER);
62 AssertReturn(RTAsn1BitString_IsPresent(pPublicKey), VERR_INVALID_POINTER);
65 AssertReturn(RTAsn1BitString_IsPresent(pSignatureValue), VERR_INVALID_POINTER);
68 AssertReturn(cbData > 0, VERR_INVALID_PARAMETER);
H A DRTCrStoreCertAddFromFile.cpp51 AssertReturn(!fFlags, VERR_INVALID_FLAGS);
74 AssertReturn(!fFlags, VERR_INVALID_FLAGS);
H A Dx509-file.cpp51 AssertReturn(!fFlags, VERR_INVALID_FLAGS);
86 AssertReturn(!fFlags, VERR_INVALID_FLAGS);
/vbox/src/VBox/Additions/common/VBoxGuestLib/
H A DVBoxGuestR3LibEvent.cpp55 AssertReturn((fMask & ~VMMDEV_EVENT_VALID_EVENT_MASK) == 0, VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/include/internal/
H A Ddvm.h293 AssertReturn(cbRead > 0, VERR_INVALID_PARAMETER);
294 AssertReturn(off + cbRead <= pDisk->cbDisk, VERR_INVALID_PARAMETER);
312 AssertReturn(cbWrite > 0, VERR_INVALID_PARAMETER);
313 AssertReturn(off + cbWrite <= pDisk->cbDisk, VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/r0drv/darwin/
H A Dinitterm-r0drv-darwin.cpp58 AssertReturn(g_pDarwinLockGroup, VERR_NO_MEMORY);
/vbox/src/VBox/Runtime/r0drv/os2/
H A Dinitterm-r0drv-os2.cpp66 AssertReturn(g_pDosTable, VERR_INTERNAL_ERROR);
/vbox/src/VBox/Runtime/r3/darwin/
H A DrtProcInitExePath-darwin.cpp52 AssertReturn(pszImageName, VERR_INTERNAL_ERROR);
/vbox/src/VBox/Main/src-server/
H A DTokenImpl.cpp58 AssertReturn(autoInitSpan.isOk(), E_FAIL);
150 AssertReturn(autoInitSpan.isOk(), E_FAIL);
/vbox/src/VBox/Main/src-server/solaris/
H A DUSBProxyServiceSolaris.cpp340 AssertReturn(aDevice, VERR_GENERAL_FAILURE);
341 AssertReturn(!aDevice->isWriteLockOnCurrentThread(), VERR_GENERAL_FAILURE);
347 AssertReturn(aDevice->mUsb, VERR_INVALID_POINTER);
395 AssertReturn(aDevice, VERR_GENERAL_FAILURE);
396 AssertReturn(!aDevice->isWriteLockOnCurrentThread(), VERR_GENERAL_FAILURE);
402 AssertReturn(aDevice->mUsb, VERR_INVALID_POINTER);
448 AssertReturn(aDevice, false);
449 AssertReturn(!aDevice->isWriteLockOnCurrentThread(), false);
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/clonevd/
H A DUIWizardCloneVD.cpp63 AssertReturn(!strMediumPath.isNull(), false);
64 AssertReturn(uSize > 0, false);
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/newvd/
H A DUIWizardNewVD.cpp67 AssertReturn(!strMediumPath.isNull(), false);
68 AssertReturn(uSize > 0, false);
/vbox/src/VBox/Runtime/common/asn1/
H A Dasn1-encode.cpp76 AssertReturn((fFlags & RTASN1ENCODE_F_RULE_MASK) == RTASN1ENCODE_F_DER, VERR_INVALID_FLAGS);
93 AssertReturn(pAsn1Core->uTag != UINT32_MAX, RTErrInfoSet(pErrInfo, VERR_ASN1_DUMMY_OBJECT, "uTag=UINT32_MAX"));
107 AssertReturn(cb < _1G, RTErrInfoSetF(pErrInfo, VERR_ASN1_TOO_LONG, "cb=%u (%#x)", cb, cb));
219 AssertReturn((fFlags & RTASN1ENCODE_F_RULE_MASK) == RTASN1ENCODE_F_DER, VERR_INVALID_FLAGS);
238 AssertReturn((fFlags & RTASN1ENCODE_F_RULE_MASK) == RTASN1ENCODE_F_DER, VERR_INVALID_FLAGS);
253 AssertReturn(pAsn1Core->uTag != UINT32_MAX, RTErrInfoSet(pErrInfo, VERR_ASN1_DUMMY_OBJECT, "uTag=UINT32_MAX"));
296 AssertReturn(cb < _1G, RTErrInfoSetF(pErrInfo, VERR_ASN1_TOO_LONG, "cb=%u (%#x)", cb, cb));
414 AssertReturn((fFlags & RTASN1ENCODE_F_RULE_MASK) == RTASN1ENCODE_F_DER, VERR_INVALID_FLAGS);
H A Dasn1-ut-null.cpp79 AssertReturn(pSrc->Asn1Core.pOps == &g_RTAsn1Null_Vtable, VERR_INTERNAL_ERROR_3);
80 AssertReturn(pSrc->Asn1Core.cb == 0, VERR_INTERNAL_ERROR_4);

Completed in 145 milliseconds

1234567891011>>