Searched refs:AssertReturn (Results 151 - 175 of 640) sorted by relevance

1234567891011>>

/vbox/src/VBox/Devices/Graphics/
H A DDevVGA-SVGA3d-win.cpp476 AssertReturn(pThis->svga.p3dState, VERR_NO_MEMORY);
501 AssertReturn(pThis->svga.p3dState, VERR_NO_MEMORY);
509 AssertReturn(pState->pD3D9, VERR_INTERNAL_ERROR);
518 AssertReturn(hr == D3D_OK, VERR_INTERNAL_ERROR);
521 AssertReturn(hr == D3D_OK, VERR_INTERNAL_ERROR);
594 AssertReturn(pThis->svga.p3dState, VERR_NO_MEMORY);
615 AssertReturn(pThis->svga.p3dState, VERR_NO_MEMORY);
734 AssertReturn(pState, VERR_NO_MEMORY);
1391 AssertReturn(pState, VERR_NO_MEMORY);
1396 AssertReturn(si
2929 AssertReturn(cid < SVGA3D_MAX_CONTEXT_IDS, VERR_INVALID_PARAMETER); function
4270 AssertReturn(type < SVGA3D_RT_MAX, VERR_INVALID_PARAMETER); function
[all...]
H A DDevVGA-SVGA3d-ogl.cpp1345 AssertReturn(pszEnd, false);
1399 AssertReturn(pThis->svga.p3dState, VERR_NO_MEMORY);
1430 AssertReturn(pThis->svga.p3dState, VERR_NO_MEMORY);
1822 AssertReturn(pThis->svga.p3dState, VERR_NO_MEMORY);
1843 AssertReturn(pState, VERR_WRONG_ORDER);
2015 AssertReturn(pState, VERR_NO_MEMORY);
2616 AssertReturn(pState, VERR_NO_MEMORY);
2621 AssertReturn(sid < SVGA3D_MAX_SURFACE_IDS, VERR_INVALID_PARAMETER);
2622 AssertReturn(cMipLevels >= 1, VERR_INVALID_PARAMETER);
2624 AssertReturn(!(surfaceFlag
[all...]
H A DDevVGA-SVGA3d-shared.h21 AssertReturn(pState, VERR_NO_MEMORY);
55 AssertReturn(pContext->id == cid, VERR_INTERNAL_ERROR);
88 AssertReturn(pData, VERR_NO_MEMORY);
119 AssertReturn(pData, VERR_NO_MEMORY);
184 AssertReturn(pMipmapLevel, VERR_NO_MEMORY);
186 AssertReturn(pMipmapLevelSize, VERR_NO_MEMORY);
222 AssertReturn(pMipmapLevel->pSurfaceData, VERR_NO_MEMORY);
349 AssertReturn(pState, VERR_NO_MEMORY);
509 AssertReturn(pData, VERR_NO_MEMORY);
688 AssertReturn(pDat
767 AssertReturn(reg < _32K, VERR_INVALID_PARAMETER); function
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/globals/
H A DUIIconPool.cpp58 AssertReturn(!strNormal.isEmpty(), nullIcon);
85 AssertReturn(!strNormal.isEmpty(), nullIcon);
87 AssertReturn(!strNormalOff.isEmpty(), nullIcon);
118 AssertReturn(!strNormal.isEmpty(), nullIcon);
120 AssertReturn(!strSmall.isEmpty(), nullIcon);
/vbox/src/VBox/Runtime/r3/linux/
H A Dsemmutex-linux.cpp111 AssertReturn(!(fFlags & ~RTSEMMUTEX_FLAGS_NO_LOCK_VAL), VERR_INVALID_PARAMETER);
193 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, RTLOCKVAL_SUB_CLASS_INVALID);
209 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, VERR_INVALID_HANDLE);
399 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, VERR_INVALID_HANDLE);
455 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, false);
H A Dsysfs.cpp72 AssertReturn(pszPrefix[cchPrefix - 1] == '/', VERR_INVALID_PARAMETER);
73 AssertReturn(cchBuf > cchPrefix + 1, VERR_INVALID_PARAMETER);
82 AssertReturn(cchBuf >= cch + cchPrefix + 1, VERR_BUFFER_OVERFLOW);
422 AssertReturn(cchBuf >= 2, VERR_INVALID_PARAMETER);
423 AssertReturn( fMode == RTFS_TYPE_DEV_CHAR
/vbox/include/VBox/com/
H A Darray.h938 AssertReturn(m.arr != NULL, *((T *)NULL));
939 AssertReturn(aIdx < size(), *((T *)NULL));
943 AssertReturn(m.raw != NULL, *((T *)NULL));
953 AssertReturn(m.arr != NULL, *((T *)NULL));
954 AssertReturn(aIdx < size(), *((T *)NULL));
958 AssertReturn(m.raw != NULL, *((T *)NULL));
1016 AssertReturn(!m.isWeak, *this);
1020 AssertReturn(aArgSize != NULL, *this);
1021 AssertReturn(aArg != NULL, *this);
1032 AssertReturn(aAr
[all...]
/vbox/src/VBox/Runtime/r3/win/
H A Dlocalipc-win.cpp343 AssertReturn(*pszName, VERR_INVALID_PARAMETER);
344 AssertReturn(!(fFlags & ~(RTLOCALIPC_FLAGS_VALID_MASK)), VERR_INVALID_PARAMETER);
345 AssertReturn((fFlags & RTLOCALIPC_FLAGS_MULTI_SESSION), VERR_INVALID_PARAMETER); /** @todo Implement !RTLOCALIPC_FLAGS_MULTI_SESSION */
424 AssertReturn(pThis->u32Magic == RTLOCALIPCSERVER_MAGIC, VERR_INVALID_MAGIC);
457 AssertReturn(pThis->u32Magic == RTLOCALIPCSERVER_MAGIC, VERR_INVALID_MAGIC);
564 AssertReturn(pThis->u32Magic == RTLOCALIPCSERVER_MAGIC, VERR_INVALID_MAGIC);
596 AssertReturn(hNmPipeSession != INVALID_HANDLE_VALUE, VERR_INVALID_HANDLE);
646 AssertReturn(*pszName, VERR_INVALID_PARAMETER);
647 AssertReturn(!fFlags, VERR_INVALID_PARAMETER); /* Flags currently unused, must be 0. */
758 AssertReturn(pThi
[all...]
/vbox/src/VBox/Runtime/common/time/
H A Dtime.cpp386 AssertReturn(VALID_PTR(pTimeSpec), NULL);
387 AssertReturn(VALID_PTR(pTime), NULL);
388 AssertReturn(pTime->u32Nanosecond < 1000000000, NULL);
389 AssertReturn(pTime->u8Second < 60, NULL);
390 AssertReturn(pTime->u8Minute < 60, NULL);
391 AssertReturn(pTime->u8Hour < 24, NULL);
392 AssertReturn(pTime->u16YearDay >= 1, NULL);
393 AssertReturn(pTime->u16YearDay <= (rtTimeIsLeapYear(pTime->i32Year) ? 366 : 365), NULL);
666 AssertReturn(VALID_PTR(pTime), NULL);
/vbox/src/VBox/Runtime/r3/nt/
H A Ddirenum-r3-nt.cpp187 AssertReturn(uEndAddr < (uintptr_t)&pThis->pabBuffer[pThis->cbBuffer], VERR_IO_GEN_FAILURE);
189 AssertReturn(pThis->uCurData.pBoth->FileNameLength < _64K, VERR_FILENAME_TOO_LONG);
190 AssertReturn((pThis->uCurData.pBoth->FileNameLength & 1) == 0, VERR_IO_GEN_FAILURE);
193 AssertReturn(uEndAddr <= (uintptr_t)&pThis->pabBuffer[pThis->cbBuffer], VERR_IO_GEN_FAILURE);
195 AssertReturn((unsigned)pThis->uCurData.pBoth->ShortNameLength <= sizeof(pThis->uCurData.pBoth->ShortName),
236 AssertReturn(offNext >= cbRec, VERR_IO_GEN_FAILURE);
434 AssertReturn(pDir->u32Magic == RTDIR_MAGIC, VERR_INVALID_HANDLE);
531 AssertReturn(pDir->u32Magic == RTDIR_MAGIC, VERR_INVALID_HANDLE);
534 AssertReturn(enmAdditionalAttribs >= RTFSOBJATTRADD_NOTHING && enmAdditionalAttribs <= RTFSOBJATTRADD_LAST,
/vbox/src/VBox/Disassembler/
H A DDisasmReg.cpp310 AssertReturn(reg8 < RT_ELEMENTS(g_aReg8Index), VERR_INVALID_PARAMETER);
322 AssertReturn(reg16 < RT_ELEMENTS(g_aReg16Index), VERR_INVALID_PARAMETER);
334 AssertReturn(reg32 < RT_ELEMENTS(g_aReg32Index), VERR_INVALID_PARAMETER);
346 AssertReturn(reg64 < RT_ELEMENTS(g_aReg64Index), VERR_INVALID_PARAMETER);
358 AssertReturn(reg8 < RT_ELEMENTS(g_aReg8Index), VERR_INVALID_PARAMETER);
370 AssertReturn(reg16 < RT_ELEMENTS(g_aReg16Index), VERR_INVALID_PARAMETER);
382 AssertReturn(reg32 < RT_ELEMENTS(g_aReg32Index), VERR_INVALID_PARAMETER);
394 AssertReturn(reg64 < RT_ELEMENTS(g_aReg64Index), VERR_INVALID_PARAMETER);
406 AssertReturn((unsigned)sel < RT_ELEMENTS(g_aRegSegIndex), VERR_INVALID_PARAMETER);
430 AssertReturn(reg6
[all...]
/vbox/src/VBox/HostServices/SharedFolders/
H A Dmappings.cpp320 AssertReturn(pFolderMapping, NULL);
329 AssertReturn(pFolderMapping, false);
336 AssertReturn(pFolderMapping, false);
463 AssertReturn(pFolderMapping, VERR_INVALID_PARAMETER);
483 AssertReturn(pFolderMapping, VERR_INVALID_PARAMETER);
502 AssertReturn(pFolderMapping, VERR_INVALID_PARAMETER);
/vbox/src/VBox/VMM/VMMR3/
H A DDBGFCoreWrite.cpp209 AssertReturn(pcvData, VERR_INVALID_POINTER);
210 AssertReturn(cbData > 0, VERR_NO_DATA);
509 AssertReturn(pVM, VERR_INVALID_VM_HANDLE);
510 AssertReturn(pVCpu, VERR_INVALID_VMCPU_HANDLE);
511 AssertReturn(pvData, VERR_INVALID_POINTER);
553 AssertReturn(pszFilename, VERR_INVALID_HANDLE);
H A DPGMPhys.cpp1095 AssertReturn(!(paPhysPage[0] & 0xfff), VERR_INVALID_PARAMETER);
1104 AssertReturn(paPhysPageCopy, VERR_NO_MEMORY);
1560 AssertReturn(pszDescChunk, VERR_NO_MEMORY);
1567 AssertReturn(paChunkPages, VERR_NO_TMP_MEMORY);
1646 AssertReturn(RT_ALIGN_T(GCPhys, PAGE_SIZE, RTGCPHYS) == GCPhys, VERR_INVALID_PARAMETER);
1647 AssertReturn(RT_ALIGN_T(cb, PAGE_SIZE, RTGCPHYS) == cb, VERR_INVALID_PARAMETER);
1648 AssertReturn(cb > 0, VERR_INVALID_PARAMETER);
2192 AssertReturn(!(cb & PAGE_OFFSET_MASK), VERR_INVALID_PARAMETER);
2193 AssertReturn(!(GCPhys & PAGE_OFFSET_MASK), VERR_INVALID_PARAMETER);
2195 AssertReturn(*pszDes
[all...]
/vbox/src/VBox/Runtime/common/asn1/
H A Dasn1-ut-bitstring.cpp64 AssertReturn(cbToWrite <= pCtx->cbBuf - pCtx->offBuf,
79 AssertReturn(cbToWrite <= pCtx->cbBuf - pCtx->offBuf, VERR_BUFFER_OVERFLOW);
132 AssertReturn(pThis->pEncapsulated, VERR_INVALID_STATE);
140 AssertReturn(pThis->cBits / 8 == cbEncoded, RTErrInfoSetF(pErrInfo, VERR_TOO_MUCH_DATA, "cbEncoded=%#x", cbEncoded));
268 AssertReturn(RT_ALIGN(pThis->cBits, 7) / 8 + 1 == pThis->Asn1Core.cb, VERR_INTERNAL_ERROR_3);
352 AssertReturn(pSrc->Asn1Core.pOps == &g_RTAsn1BitString_Vtable, VERR_INTERNAL_ERROR_3);
H A Dasn1-ut-integer.cpp179 AssertReturn(pThis->Asn1Core.fFlags, -1);
181 AssertReturn(pb, -1);
183 AssertReturn(pThis->Asn1Core.cb < (uint32_t)INT32_MAX / 8, -1);
303 AssertReturn(!(fBigNumInit & ~( RTBIGNUMINIT_F_SENSITIVE | RTBIGNUMINIT_F_UNSIGNED | RTBIGNUMINIT_F_SIGNED
306 AssertReturn(RTAsn1Integer_IsPresent(pThis), VERR_INVALID_PARAMETER);
381 AssertReturn(pSrc->Asn1Core.pOps == &g_RTAsn1Integer_Vtable, VERR_INTERNAL_ERROR_3);
H A Dasn1-ut-objid.cpp84 AssertReturn(cComponents >= 2, VERR_ASN1_INTERNAL_ERROR_1);
85 AssertReturn(pauComponents[0] <= 2, VERR_ASN1_INTERNAL_ERROR_1);
86 AssertReturn(pauComponents[1] <= (pauComponents[0] < 2 ? 39 : UINT32_MAX - 80), VERR_ASN1_INTERNAL_ERROR_1);
162 AssertReturn(cbObjId < sizeof(pThis->szObjId), VERR_ASN1_OBJID_TOO_LONG_STRING_FORM);
417 AssertReturn(pSrc->Asn1Core.pOps == &g_RTAsn1ObjId_Vtable, VERR_INTERNAL_ERROR_3);
421 AssertReturn(cbObjId <= sizeof(pThis->szObjId), VERR_INTERNAL_ERROR_5);
H A Dasn1-ut-boolean.cpp118 AssertReturn(pSrc->Asn1Core.pOps == &g_RTAsn1Boolean_Vtable, VERR_INTERNAL_ERROR_3);
119 AssertReturn(pSrc->Asn1Core.cb <= 1, VERR_INTERNAL_ERROR_4);
/vbox/src/VBox/Additions/solaris/Virtio/
H A DVirtioPci-solaris.c207 AssertReturn(pPciData, DDI_FAILURE);
248 AssertReturn(pPciData, DDI_FAILURE);
267 AssertReturn(pPciData, 0);
301 AssertReturn(pPciData, DDI_FAILURE);
396 AssertReturn(pDevice, NULL);
399 AssertReturn(pPci, NULL);
/vbox/src/VBox/Runtime/r0drv/solaris/
H A Dtimer-r0drv-solaris.c427 AssertReturn(pCurThread, false); /* serious paranoia */
446 AssertReturn(!rtTimerSolIsCallingFromTimerProc(pTimer), VERR_INVALID_CONTEXT);
471 AssertReturn(!rtTimerSolIsCallingFromTimerProc(pTimer), VERR_INVALID_CONTEXT);
606 AssertReturn(u64NanoInterval > 0, VERR_INVALID_PARAMETER);
607 AssertReturn(u64NanoInterval < UINT64_MAX / 8, VERR_INVALID_PARAMETER);
608 AssertReturn(pTimer->cNsInterval, VERR_INVALID_STATE);
/vbox/src/VBox/Runtime/common/misc/
H A Dlockvalidator.cpp1181 AssertReturn(hClass->u32Magic == RTLOCKVALCLASS_MAGIC, NIL_RTLOCKVALCLASS);
1297 AssertReturn(pClass->u32Magic == RTLOCKVALCLASS_MAGIC, UINT32_MAX);
1308 AssertReturn(pClass->u32Magic == RTLOCKVALCLASS_MAGIC, UINT32_MAX);
1473 AssertReturn(pClass->u32Magic == RTLOCKVALCLASS_MAGIC, VERR_INVALID_HANDLE);
1477 AssertReturn(pPriorClass->u32Magic == RTLOCKVALCLASS_MAGIC, VERR_INVALID_HANDLE);
1487 AssertReturn(pClass->u32Magic == RTLOCKVALCLASS_MAGIC, VERR_INVALID_HANDLE);
1542 AssertReturn( p1->Core.u32Magic == RTLOCKVALRECEXCL_MAGIC
1547 AssertReturn( p2->Core.u32Magic == RTLOCKVALRECEXCL_MAGIC
2248 AssertReturn(pPriorClass->u32Magic == RTLOCKVALCLASS_MAGIC, VERR_SEM_LV_INTERNAL_ERROR);
2399 AssertReturn(pPriorClas
[all...]
/vbox/src/VBox/Runtime/r3/
H A Dtcp.cpp231 AssertReturn(uPort > 0, VERR_INVALID_PARAMETER);
309 AssertReturn(uPort > 0, VERR_INVALID_PARAMETER);
397 AssertReturn(pServer->u32Magic == RTTCPSERVER_MAGIC, VERR_INVALID_HANDLE);
398 AssertReturn(RTMemPoolRetain(pServer) != UINT32_MAX, VERR_INVALID_HANDLE);
577 AssertReturn(pServer->u32Magic == RTTCPSERVER_MAGIC, VERR_INVALID_HANDLE);
578 AssertReturn(RTMemPoolRetain(pServer) != UINT32_MAX, VERR_INVALID_HANDLE);
663 AssertReturn(pServer->u32Magic == RTTCPSERVER_MAGIC, VERR_INVALID_HANDLE);
664 AssertReturn(RTMemPoolRetain(pServer) != UINT32_MAX, VERR_INVALID_HANDLE);
699 AssertReturn(pServer->u32Magic == RTTCPSERVER_MAGIC, VERR_INVALID_HANDLE);
700 AssertReturn(RTMemPoolRetai
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/
H A DVBoxDTraceR0.cpp452 AssertReturn(iArg >= 5, UINT64_MAX);
925 AssertReturn(!pfnAlloc, NULL);
926 AssertReturn(!pfnFree, NULL);
927 AssertReturn(!pSrc, NULL);
928 AssertReturn(!cbQCacheMax, NULL);
929 AssertReturn(fFlags & VM_SLEEP, NULL);
930 AssertReturn(fFlags & VMC_IDENTIFIER, NULL);
993 AssertReturn(fFlags & VM_BESTFIT, NULL);
994 AssertReturn(fFlags & VM_SLEEP, NULL);
995 AssertReturn(cbMe
[all...]
/vbox/src/VBox/Devices/Network/slirp/
H A Dtftp.c162 AssertReturn(piIdxOpt, VERR_INVALID_PARAMETER);
163 AssertReturn(paTftpDesc, VERR_INVALID_PARAMETER);
164 AssertReturn(pszOptName, VERR_INVALID_PARAMETER);
202 AssertReturn(RTStrNLen(pszOptionName,10) >= 4, false);
203 AssertReturn(RTStrNLen(pszOptionName,10) < 8, false);
261 AssertReturn(RT_N2H_U16(pcTftpIpHeader->u16TftpOpType) == TFTP_RRQ, VERR_INVALID_PARAMETER);
286 AssertReturn( g_TftpTransferFmtDesc[idxFmt].enmType != TFTPFMT_NONE
496 AssertReturn(pcTftpSession->OptionBlkSize.u64Value < UINT16_MAX, VERR_INVALID_PARAMETER);
/vbox/src/VBox/HostDrivers/Support/
H A DSUPR0IdcClient.c80 AssertReturn(!uMinVersion || (uMinVersion & UINT32_C(0xffff0000)) == (SUPDRV_IDC_VERSION & UINT32_C(0xffff0000)), VERR_INVALID_PARAMETER);
81 AssertReturn(!uReqVersion || (uReqVersion & UINT32_C(0xffff0000)) == (SUPDRV_IDC_VERSION & UINT32_C(0xffff0000)), VERR_INVALID_PARAMETER);

Completed in 141 milliseconds

1234567891011>>