/vbox/src/VBox/Runtime/generic/ |
H A D | timer-generic.cpp | 145 AssertReturn(VALID_PTR(pTimer), false); 146 AssertReturn(pTimer->u32Magic == RTTIMER_MAGIC, false); 147 AssertReturn(!pTimer->fDestroyed, false);
|
/vbox/src/VBox/Runtime/r3/win/ |
H A D | env-win.cpp | 80 AssertReturn(pszValue || !cbValue, VERR_INVALID_PARAMETER); 82 AssertReturn(pcchActual || (pszValue && cbValue), VERR_INVALID_PARAMETER); 206 AssertReturn(!strchr(pszVar, '='), VERR_INVALID_PARAMETER);
|
H A D | fs-win.cpp | 140 AssertReturn(cb + 1 < RTPATH_MAX, VERR_FILENAME_TOO_LONG); 166 AssertReturn(pwszEnd >= pwszMin, VERR_INTERNAL_ERROR); /* leaks, but that's irrelevant for an internal error. */ 369 AssertReturn(*pszFsPath, VERR_INVALID_PARAMETER);
|
H A D | fileaio-win.cpp | 223 AssertReturn(hFile != NIL_RTFILE, VERR_INVALID_HANDLE); 276 AssertReturn(!(fFlags & ~RTFILEAIOCTX_FLAGS_VALID_MASK), VERR_INVALID_PARAMETER); 345 AssertReturn(cReqs > 0, VERR_INVALID_PARAMETER); 400 AssertReturn(cReqs != 0, VERR_INVALID_PARAMETER); 401 AssertReturn(cReqs >= cMinReqs, VERR_OUT_OF_RANGE);
|
H A D | process-win.cpp | 848 AssertReturn(pSid, VERR_NO_MEMORY); /** @todo r=bird: Leaking token handles when we're out of memory... */ 854 AssertReturn(pwszDomain, VERR_NO_MEMORY); /** @todo r=bird: Leaking token handles when we're out of memory... */ 1085 AssertReturn(*pszExec, VERR_INVALID_PARAMETER); 1086 AssertReturn(!(fFlags & ~(RTPROC_FLAGS_DETACHED | RTPROC_FLAGS_HIDDEN | RTPROC_FLAGS_SERVICE | RTPROC_FLAGS_SAME_CONTRACT 1089 AssertReturn(!(fFlags & RTPROC_FLAGS_DETACHED) || !phProcess, VERR_INVALID_PARAMETER); 1090 AssertReturn(hEnv != NIL_RTENV, VERR_INVALID_PARAMETER); 1093 AssertReturn(!pszAsUser || *pszAsUser, VERR_INVALID_PARAMETER); 1094 AssertReturn(!pszPassword || pszAsUser, VERR_INVALID_PARAMETER); 1322 AssertReturn(!(fFlags & ~(RTPROCWAIT_FLAGS_BLOCK | RTPROCWAIT_FLAGS_NOBLOCK)), VERR_INVALID_PARAMETER); 1463 AssertReturn( (pszUse [all...] |
/vbox/src/VBox/GuestHost/HGSMI/ |
H A D | HGSMIMemAlloc.cpp | 224 AssertReturn(HGSMI_MA_DESC_IS_FREE(pBlock->descriptor), NULL); 462 AssertReturn(HGSMIMAOrder2Size(order) >= cb, HGSMIOFFSET_VOID); 463 AssertReturn(order < RT_ELEMENTS(pMA->aListFreeBlocks), HGSMIOFFSET_VOID); 512 AssertReturn(pArea->cbArea < UINT32_C(0x80000000), VERR_INVALID_PARAMETER); 513 AssertReturn(pArea->cbArea >= HGSMI_MA_BLOCK_SIZE_MIN, VERR_INVALID_PARAMETER);
|
/vbox/src/VBox/Runtime/common/checksum/ |
H A D | manifest3.cpp | 424 AssertReturn(fAttrs < RTMANIFEST_ATTR_END, VERR_INVALID_PARAMETER); 428 AssertReturn(cRefs != UINT32_MAX, VERR_INVALID_HANDLE); 474 AssertReturn(pThis, VERR_INVALID_HANDLE); 475 AssertReturn(!pThis->fAddedEntry, VERR_WRONG_ORDER); 502 AssertReturn(fAttrs < RTMANIFEST_ATTR_END, VERR_INVALID_PARAMETER);
|
/vbox/src/VBox/Runtime/common/misc/ |
H A D | req.cpp | 152 AssertReturn(pReq->u32Magic == RTREQ_MAGIC, UINT32_MAX); 187 AssertReturn(pReq->u32Magic == RTREQ_MAGIC, UINT32_MAX); 238 AssertReturn(pReq->u32Magic == RTREQ_MAGIC, VERR_INVALID_HANDLE); 285 AssertReturn(pReq->u32Magic == RTREQ_MAGIC, VERR_INVALID_HANDLE); 329 AssertReturn(pReq->u32Magic == RTREQ_MAGIC, VERR_INVALID_POINTER);
|
H A D | reqqueue.cpp | 77 AssertReturn(ASMAtomicCmpXchgU32(&pQueue->u32Magic, RTREQQUEUE_MAGIC_DEAD, RTREQQUEUE_MAGIC), VERR_INVALID_HANDLE); 108 AssertReturn(pQueue->u32Magic == RTREQQUEUE_MAGIC, VERR_INVALID_HANDLE); 219 AssertReturn(pQueue->u32Magic == RTREQQUEUE_MAGIC, VERR_INVALID_HANDLE); 221 AssertReturn(!(fFlags & ~(RTREQFLAGS_RETURN_MASK | RTREQFLAGS_NO_WAIT)), VERR_INVALID_PARAMETER); 347 AssertReturn(pQueue->u32Magic == RTREQQUEUE_MAGIC, VERR_INVALID_HANDLE);
|
H A D | reqpool.cpp | 646 AssertReturn(cchName > 0, VERR_INVALID_PARAMETER); 715 AssertReturn(pPool->u32Magic == RTREQPOOL_MAGIC, VERR_INVALID_HANDLE); 716 AssertReturn(enmVar > RTREQPOOLCFGVAR_INVALID && enmVar < RTREQPOOLCFGVAR_END, VERR_INVALID_PARAMETER); 869 AssertReturn(pPool->u32Magic == RTREQPOOL_MAGIC, UINT64_MAX); 870 AssertReturn(enmVar > RTREQPOOLCFGVAR_INVALID && enmVar < RTREQPOOLCFGVAR_END, UINT64_MAX); 930 AssertReturn(pPool->u32Magic == RTREQPOOL_MAGIC, UINT64_MAX); 931 AssertReturn(enmStat > RTREQPOOLSTAT_INVALID && enmStat < RTREQPOOLSTAT_END, UINT64_MAX); 966 AssertReturn(pPool->u32Magic == RTREQPOOL_MAGIC, UINT32_MAX); 982 AssertReturn(pPool->u32Magic == RTREQPOOL_MAGIC, UINT32_MAX); 990 AssertReturn(ASMAtomicCmpXchgU3 [all...] |
H A D | aiomgr.cpp | 217 AssertReturn((a_hAioMgr)->u32Magic == RTAIOMGR_MAGIC, (a_rc)); \ 1122 AssertReturn(cReqsMax > 0, VERR_INVALID_PARAMETER); 1183 AssertReturn(hAioMgr != NIL_RTAIOMGR, UINT32_MAX); 1185 AssertReturn(pThis->u32Magic == RTAIOMGR_MAGIC, UINT32_MAX); 1198 AssertReturn(pThis->u32Magic == RTAIOMGR_MAGIC, UINT32_MAX); 1213 AssertReturn(hAioMgr != NIL_RTAIOMGR, VERR_INVALID_HANDLE); 1214 AssertReturn(hFile != NIL_RTFILE, VERR_INVALID_HANDLE); 1248 AssertReturn(hAioMgrFile != NIL_RTAIOMGRFILE, UINT32_MAX); 1250 AssertReturn(pThis->u32Magic == RTAIOMGRFILE_MAGIC, UINT32_MAX); 1263 AssertReturn(pThi [all...] |
/vbox/src/VBox/Runtime/common/vfs/ |
H A D | vfschain.cpp | 85 AssertReturn(pRegRec->fReserved == 0, VERR_INVALID_POINTER); 363 AssertReturn(!(fFlags & ~RTVFSCHAIN_PF_VALID_MASK), VERR_INVALID_PARAMETER); 364 AssertReturn(enmLeadingAction > RTVFSCHAINACTION_INVALID && enmLeadingAction < RTVFSCHAINACTION_END, VERR_INVALID_PARAMETER); 569 AssertReturn(*pszSpec != '\0', VERR_INVALID_PARAMETER); 619 AssertReturn(*pszSpec != '\0', VERR_INVALID_PARAMETER);
|
/vbox/src/VBox/Runtime/r0drv/nt/ |
H A D | timer-r0drv-nt.cpp | 339 AssertReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_HANDLE); 410 AssertReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_HANDLE); 426 AssertReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_HANDLE); 438 AssertReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_HANDLE); 444 AssertReturn(KeGetCurrentIrql() == PASSIVE_LEVEL, VERR_INVALID_CONTEXT);
|
/vbox/src/VBox/Runtime/r3/ |
H A D | dir.cpp | 165 AssertReturn(iDepth++ < 256, false); 209 pszNext = RTStrPrevCp(NULL, pszStart); AssertReturn(pszNext, false); 244 AssertReturn(iDepth++ < 256, false); 308 pszNext = RTStrPrevCp(NULL, pszStart); AssertReturn(pszNext, false); 377 AssertReturn(iDepth++ < 256, false);
|
/vbox/src/VBox/ImageMounter/VBoxFUSE/ |
H A D | VBoxFUSE.cpp | 422 AssertReturn(!g_pTreeRoot, VERR_ALREADY_EXISTS); 423 AssertReturn(pNode->enmType == VBOXFUSETYPE_DIRECTORY, VERR_INTERNAL_ERROR); 737 AssertReturn(pDir, VERR_WRONG_ORDER); 1166 AssertReturn((int)cbBuf >= 0, -EINVAL); 1167 AssertReturn((unsigned)cbBuf == cbBuf, -EINVAL); 1168 AssertReturn(offFile >= 0, -EINVAL); 1169 AssertReturn((off_t)(offFile + cbBuf) >= offFile, -EINVAL); 1286 AssertReturn((int)cbBuf >= 0, -EINVAL); 1287 AssertReturn((unsigned)cbBuf == cbBuf, -EINVAL); 1288 AssertReturn(offFil [all...] |
/vbox/src/VBox/VMM/VMMR3/ |
H A D | DBGFAddrSpace.cpp | 734 AssertReturn(*pszName, NIL_RTDBGAS); 771 AssertReturn(ProcId != NIL_RTPROCESS, NIL_RTDBGAS); 961 AssertReturn(*pszFilename, VERR_INVALID_PARAMETER); 962 AssertReturn(DBGFR3AddrIsValid(pUVM, pModAddress), VERR_INVALID_PARAMETER); 963 AssertReturn(fFlags == 0, VERR_INVALID_PARAMETER); 1011 AssertReturn(*pszFilename, VERR_INVALID_PARAMETER); 1012 AssertReturn(DBGFR3AddrIsValid(pUVM, pModAddress), VERR_INVALID_PARAMETER); 1013 AssertReturn(fFlags == 0, VERR_INVALID_PARAMETER); 1050 AssertReturn(DBGFR3AddrIsValid(pUVM, pModAddress), VERR_INVALID_PARAMETER); 1193 AssertReturn(DBGFR3AddrIsVali [all...] |
/vbox/src/VBox/Main/src-server/ |
H A D | DHCPServerImpl.cpp | 105 AssertReturn(aName != NULL, E_INVALIDARG); 108 AssertReturn(autoInitSpan.isOk(), E_FAIL); 133 AssertReturn(autoInitSpan.isOk(), E_FAIL); 257 AssertReturn(!aIPAddress.isEmpty(), E_INVALIDARG); 258 AssertReturn(!aNetworkMask.isEmpty(), E_INVALIDARG); 259 AssertReturn(!aLowerIP.isEmpty(), E_INVALIDARG); 260 AssertReturn(!aUpperIP.isEmpty(), E_INVALIDARG);
|
/vbox/src/VBox/VMM/VMMR0/ |
H A D | PGMR0.cpp | 82 AssertReturn(iFirst <= RT_ELEMENTS(pVM->pgm.s.aHandyPages), VERR_PGM_HANDY_PAGE_IPE); 191 AssertReturn(iFirst <= RT_ELEMENTS(pVM->pgm.s.aHandyPages), VERR_PGM_HANDY_PAGE_IPE); 274 AssertReturn(!(GCPhys & PAGE_OFFSET_MASK), VERR_INTERNAL_ERROR_3); 275 AssertReturn(!(HCPhys & PAGE_OFFSET_MASK), VERR_INTERNAL_ERROR_3); 299 AssertReturn(!(GCPhys & PAGE_OFFSET_MASK), VERR_INTERNAL_ERROR_3); 339 AssertReturn(!(GCPhys & PAGE_OFFSET_MASK), VERR_INTERNAL_ERROR_4); 340 AssertReturn(!(HCPhys & PAGE_OFFSET_MASK) || HCPhys == NIL_RTHCPHYS, VERR_INTERNAL_ERROR_4);
|
/vbox/src/VBox/Runtime/common/asn1/ |
H A D | asn1-cursor.cpp | 87 AssertReturn(pParent->pPrimary, VERR_ASN1_INTERNAL_ERROR_1); 88 AssertReturn(pParent->pbCur, VERR_ASN1_INTERNAL_ERROR_2); 94 AssertReturn(pChild->cDepth < RTASN1_MAX_NESTING, VERR_ASN1_TOO_DEEPLY_NESTED); 101 AssertReturn(pParent->cbLeft >= cb, VERR_ASN1_INTERNAL_ERROR_3); 112 AssertReturn(pParent->pPrimary, VERR_ASN1_INTERNAL_ERROR_1); 113 AssertReturn(pParent->pbCur, VERR_ASN1_INTERNAL_ERROR_2); 119 AssertReturn(pChild->cDepth < RTASN1_MAX_NESTING, VERR_ASN1_TOO_DEEPLY_NESTED);
|
/vbox/src/VBox/Runtime/common/crypto/ |
H A D | pkcs7-verify.cpp | 240 AssertReturn(!cContentTypes, VERR_CR_PKCS7_INTERNAL_ERROR); 241 AssertReturn(pAttrib->enmType == RTCRPKCS7ATTRIBUTETYPE_OBJ_IDS, VERR_CR_PKCS7_INTERNAL_ERROR); 242 AssertReturn(pAttrib->uValues.pObjIds->cItems == 1, VERR_CR_PKCS7_INTERNAL_ERROR); 253 AssertReturn(!cMessageDigests, VERR_CR_PKCS7_INTERNAL_ERROR); 254 AssertReturn(pAttrib->enmType == RTCRPKCS7ATTRIBUTETYPE_OCTET_STRINGS, VERR_CR_PKCS7_INTERNAL_ERROR); 255 AssertReturn(pAttrib->uValues.pOctetStrings->cItems == 1, VERR_CR_PKCS7_INTERNAL_ERROR); 345 AssertReturn(cRefs != UINT32_MAX, VERR_CR_PKCS7_INTERNAL_ERROR);
|
/vbox/src/VBox/Additions/x11/VBoxClient/testcase/ |
H A D | tstSeamlessX11-auto.cpp | 103 AssertReturn((req_type == XA_ATOM) || (req_type == AnyPropertyType), 105 AssertReturn(property == atomType, 0xffff); 113 AssertReturn(long_offset == 0, 0); 114 AssertReturn(delProp == false, 0); 118 AssertReturn(pProp, 0xffff); 175 AssertReturn(w == TEST_ROOT, False); /* We support nothing else */ 177 AssertReturn(g_paSmlsWindows, False);
|
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | timer-posix.cpp | 648 AssertReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_MAGIC); 650 AssertReturn(g_TimerThread != RTThreadSelf(), VERR_INTERNAL_ERROR); 652 AssertReturn(pTimer->Thread != RTThreadSelf(), VERR_INTERNAL_ERROR); 727 AssertReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_MAGIC); 729 AssertReturn(pTimer->Thread != RTThreadSelf(), VERR_INTERNAL_ERROR); 783 AssertReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_MAGIC); 825 AssertReturn(pTimer->u32Magic == RTTIMER_MAGIC, VERR_INVALID_MAGIC);
|
/vbox/src/VBox/NetworkServices/NAT/ |
H A D | VBoxNetLwipNAT.cpp | 223 AssertReturn(SUCCEEDED(hrc), hrc); 247 AssertReturn(SUCCEEDED(hrc), hrc); 250 AssertReturn(SUCCEEDED(hrc), hrc); 253 AssertReturn(SUCCEEDED(hrc), hrc); 256 AssertReturn(SUCCEEDED(hrc), hrc); 259 AssertReturn(SUCCEEDED(hrc), hrc); 262 AssertReturn(SUCCEEDED(hrc), hrc); 265 AssertReturn(SUCCEEDED(hrc), hrc); 268 AssertReturn(SUCCEEDED(hrc), hrc); 534 AssertReturn( pNeti [all...] |
/vbox/src/VBox/Frontends/VirtualBox/src/selector/ |
H A D | VBoxSnapshotsWgt.cpp | 612 AssertReturn(pItem, (void)0); 615 AssertReturn(!strSnapshotId.isNull(), (void)0); 662 AssertReturn (item, (void) 0); 665 AssertReturn (!snapId.isNull(), (void) 0); 711 AssertReturn (item, (void) 0); 714 AssertReturn (!snap.isNull(), (void) 0); 729 AssertReturn (item, (void) 0); 738 AssertReturn(!snapshot.isNull(), (void)0); 741 AssertReturn(!machine.isNull(), (void)0); 820 AssertReturn(pIte [all...] |
/vbox/src/VBox/Main/src-client/ |
H A D | VideoRec.cpp | 295 AssertReturn(0 == (aWidth & 1), false); 296 AssertReturn(0 == (aHeight & 1), false); 369 AssertReturn(0 == (aWidth & 1), false); 370 AssertReturn(0 == (aHeight & 1), false); 481 AssertReturn(uScreen < pCtx->cScreens, VERR_INVALID_PARAMETER); 490 AssertReturn(pStrm->pu8RgbBuf, VERR_NO_MEMORY);
|