Searched refs:AssertReturn (Results 101 - 125 of 640) sorted by relevance

1234567891011>>

/vbox/src/VBox/Debugger/
H A DVBoxDbg.cpp197 AssertReturn(pGui, (void)VERR_INVALID_PARAMETER);
211 AssertReturn(pGui, VERR_INVALID_PARAMETER);
225 AssertReturn(pGui, VERR_INVALID_PARAMETER);
/vbox/src/VBox/Main/src-server/darwin/
H A DHostDnsServiceDarwin.cpp94 AssertReturn(m->m_store, E_FAIL);
107 AssertReturn(m->m_Stopper, E_FAIL);
132 AssertReturn(m->m_RunLoopRef, VERR_INTERNAL_ERROR);
/vbox/src/VBox/Runtime/common/dbg/
H A Ddbgmodexports.cpp125 AssertReturn(!pDbgMod->pDbgVt, VERR_DBG_MOD_IPE);
126 AssertReturn(pDbgMod->pImgVt, VERR_DBG_MOD_IPE);
128 AssertReturn(cbImage > 0, VERR_DBG_MOD_IPE);
/vbox/src/VBox/Runtime/generic/
H A Dsemxroads-generic.cpp167 AssertReturn(pThis->u32Magic == RTSEMXROADS_MAGIC, VERR_INVALID_HANDLE);
173 AssertReturn(ASMAtomicCmpXchgU32(&pThis->u32Magic, RTSEMXROADS_MAGIC_DEAD, RTSEMXROADS_MAGIC), VERR_INVALID_HANDLE);
392 AssertReturn(pThis->u32Magic == RTSEMXROADS_MAGIC, VERR_INVALID_HANDLE);
407 AssertReturn(pThis->u32Magic == RTSEMXROADS_MAGIC, VERR_INVALID_HANDLE);
422 AssertReturn(pThis->u32Magic == RTSEMXROADS_MAGIC, VERR_INVALID_HANDLE);
437 AssertReturn(pThis->u32Magic == RTSEMXROADS_MAGIC, VERR_INVALID_HANDLE);
H A Dstrcache-stubs-generic.cpp65 AssertReturn(cchString < _1G, NULL);
83 AssertReturn(cchString < _1G, NULL);
H A Dtls-generic.cpp114 AssertReturn(pThread, VERR_NOT_SUPPORTED);
130 AssertReturn(pThread, VERR_NOT_SUPPORTED);
H A Dsemrw-generic.cpp101 AssertReturn(!(fFlags & ~RTSEMRW_FLAGS_NO_LOCK_VAL), VERR_INVALID_PARAMETER);
191 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDLE);
254 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, RTLOCKVAL_SUB_CLASS_INVALID);
272 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDLE);
487 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDLE);
566 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDLE);
791 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDLE);
868 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, false);
888 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, false);
928 AssertReturn(pThi
[all...]
H A Dcritsectrw-generic.cpp60 AssertReturn(!(fFlags & ~( RTCRITSECT_FLAGS_NO_NESTING | RTCRITSECT_FLAGS_NO_LOCK_VAL | RTCRITSECT_FLAGS_BOOTSTRAP_HACK
139 AssertReturn(pThis->u32Magic == RTCRITSECTRW_MAGIC, RTLOCKVAL_SUB_CLASS_INVALID);
141 AssertReturn(!(pThis->fFlags & RTCRITSECT_FLAGS_NOP), RTLOCKVAL_SUB_CLASS_INVALID);
159 AssertReturn(pThis->u32Magic == RTCRITSECTRW_MAGIC, VERR_SEM_DESTROYED);
389 AssertReturn(pThis->u32Magic == RTCRITSECTRW_MAGIC, VERR_SEM_DESTROYED);
406 AssertReturn(c > 0, VERR_NOT_OWNER);
441 AssertReturn(hNativeSelf == hNativeWriter, VERR_NOT_OWNER);
442 AssertReturn(pThis->cWriterReads > 0, VERR_NOT_OWNER);
462 AssertReturn(pThis->u32Magic == RTCRITSECTRW_MAGIC, VERR_SEM_DESTROYED);
683 AssertReturn(pThi
[all...]
H A Dsemrw-lockless-generic.cpp123 AssertReturn(!(fFlags & ~RTSEMRW_FLAGS_NO_LOCK_VAL), VERR_INVALID_PARAMETER);
187 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDLE);
193 AssertReturn(ASMAtomicCmpXchgU32(&pThis->u32Magic, ~RTSEMRW_MAGIC, RTSEMRW_MAGIC), VERR_INVALID_HANDLE);
223 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, RTLOCKVAL_SUB_CLASS_INVALID);
243 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDLE);
477 AssertReturn(pThis->u32Magic == RTSEMRW_MAGIC, VERR_INVALID_HANDLE);
494 AssertReturn(c > 0, VERR_NOT_OWNER);
529 AssertReturn(hNativeSelf == hNativeWriter, VERR_NOT_OWNER);
530 AssertReturn(pThis->cWriterReads > 0, VERR_NOT_OWNER);
553 AssertReturn(pThi
[all...]
/vbox/src/VBox/Runtime/r3/linux/
H A Dsemeventmulti-linux.cpp126 AssertReturn(!(fFlags & ~RTSEMEVENTMULTI_FLAGS_NO_LOCK_VAL), VERR_INVALID_PARAMETER);
172 AssertReturn(pThis->u32Magic == RTSEMEVENTMULTI_MAGIC, VERR_INVALID_HANDLE);
201 AssertReturn(VALID_PTR(pThis) && pThis->u32Magic == RTSEMEVENTMULTI_MAGIC,
235 AssertReturn(VALID_PTR(pThis) && pThis->u32Magic == RTSEMEVENTMULTI_MAGIC,
258 AssertReturn(pThis->u32Magic == RTSEMEVENTMULTI_MAGIC, VERR_INVALID_HANDLE);
259 AssertReturn(RTSEMWAIT_FLAGS_ARE_VALID(fFlags), VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/r3/posix/
H A Dsemmutex-posix.cpp116 AssertReturn(!(fFlags & ~RTSEMMUTEX_FLAGS_NO_LOCK_VAL), VERR_INVALID_PARAMETER);
181 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, VERR_INVALID_HANDLE);
216 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, RTLOCKVAL_SUB_CLASS_INVALID);
232 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, VERR_INVALID_HANDLE);
375 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, VERR_INVALID_HANDLE);
431 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, false);
/vbox/src/VBox/ExtPacks/BusMouseSample/
H A DVBoxBusMouseMain.cpp91 AssertReturn(pCfgRoot, VERR_INTERNAL_ERROR_3);
94 AssertReturn(pCfgDevices, VERR_INTERNAL_ERROR_3);
/vbox/src/VBox/Additions/common/VBoxGuestLib/
H A DVBoxGuestR3LibModule.cpp54 AssertReturn(cRegions < VMMDEVSHAREDREGIONDESC_MAX, VERR_INVALID_PARAMETER);
57 AssertReturn(pReq, VERR_NO_MEMORY);
H A DVBoxGuestR3LibGuestCtrl.cpp291 AssertReturn(pCtx->uNumParms == 2, VERR_INVALID_PARAMETER);
357 AssertReturn(pCtx->uNumParms == 6, VERR_INVALID_PARAMETER);
412 AssertReturn(pCtx->uNumParms == 2, VERR_INVALID_PARAMETER);
454 AssertReturn(pCtx->uNumParms == 4, VERR_INVALID_PARAMETER);
457 AssertReturn(cbSource, VERR_INVALID_PARAMETER);
459 AssertReturn(cbDest, VERR_INVALID_PARAMETER);
541 AssertReturn(cbUser, VERR_INVALID_PARAMETER);
543 AssertReturn(pszPassword, VERR_INVALID_PARAMETER);
552 AssertReturn(cbAffinity, VERR_INVALID_PARAMETER);
603 AssertReturn(pCt
[all...]
H A DVBoxGuestR3LibDragAndDrop.cpp112 AssertReturn(cbFormats, VERR_INVALID_PARAMETER);
142 AssertReturn(cbFormats >= *pcbFormatsRecv, VERR_TOO_MUCH_DATA);
186 AssertReturn(cbDirname, VERR_INVALID_PARAMETER);
209 AssertReturn(cbDirname >= *pcbDirnameRecv, VERR_TOO_MUCH_DATA);
226 AssertReturn(cbFilename, VERR_INVALID_PARAMETER);
229 AssertReturn(cbData, VERR_INVALID_PARAMETER);
255 AssertReturn(cbFilename >= *pcbFilenameRecv, VERR_TOO_MUCH_DATA);
256 AssertReturn(cbData >= *pcbDataRecv, VERR_TOO_MUCH_DATA);
469 AssertReturn(cbFormat, VERR_INVALID_PARAMETER);
472 AssertReturn(cbDat
[all...]
/vbox/src/VBox/Runtime/r3/
H A Dallocex.cpp47 AssertReturn(cb > 0, VERR_INVALID_PARAMETER);
48 AssertReturn(RT_IS_POWER_OF_TWO(cbAlignment), VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/r3/darwin/
H A DRTSystemQueryDmiString-darwin.cpp57 AssertReturn(cbBuf > 0, VERR_INVALID_PARAMETER);
59 AssertReturn(enmString > RTSYSDMISTR_INVALID && enmString < RTSYSDMISTR_END, VERR_INVALID_PARAMETER);
/vbox/src/VBox/VMM/VMMRC/
H A DMMRamRC.cpp176 AssertReturn(!(TRPMGetErrorCode(VMMGetCpu0(pVM)) & X86_TRAP_PF_RW), VERR_MM_BAD_TRAP_TYPE_IPE);
188 AssertReturn(TRPMGetErrorCode(VMMGetCpu0(pVM)) & X86_TRAP_PF_RW, VERR_MM_BAD_TRAP_TYPE_IPE);
/vbox/src/VBox/Main/src-server/
H A DUSBProxyService.cpp137 AssertReturn(isWriteLockOnCurrentThread(), E_FAIL);
405 AssertReturn(!isWriteLockOnCurrentThread(), E_FAIL);
406 AssertReturn(!aDevice->isWriteLockOnCurrentThread(), E_FAIL);
517 AssertReturn(aMachine, false);
518 AssertReturn(!isWriteLockOnCurrentThread(), false);
519 AssertReturn(!aMachine->isWriteLockOnCurrentThread(), false);
520 AssertReturn(!aDevice->isWriteLockOnCurrentThread(), false);
1092 AssertReturn(aDevice, false);
1093 AssertReturn(!aDevice->isWriteLockOnCurrentThread(), false);
1116 AssertReturn(aDevic
[all...]
/vbox/src/VBox/Runtime/r3/solaris/
H A Dcoredumper-solaris.cpp293 AssertReturn(pSolCore->pvCore == NULL, VERR_ALREADY_EXISTS);
381 AssertReturn(pSolCore, NULL);
382 AssertReturn(pSolCore->pvCore, NULL);
383 AssertReturn(pSolCore->pvFree, NULL);
411 AssertReturn(pSolCore, VERR_INVALID_POINTER);
454 AssertReturn(pSolCore, VERR_INVALID_POINTER);
487 AssertReturn(pSolCore, VERR_INVALID_POINTER);
522 AssertReturn(pSolCore, VERR_INVALID_POINTER);
539 AssertReturn(pSolCore, VERR_INVALID_POINTER);
565 AssertReturn(pSolCor
[all...]
/vbox/src/VBox/VMM/VMMR3/
H A DMMHyper.cpp426 AssertReturn(RT_ALIGN_P(pvR3, PAGE_SIZE) == pvR3, VERR_INVALID_PARAMETER);
427 AssertReturn(RT_ALIGN_T(pvR0, PAGE_SIZE, RTR0PTR) == pvR0, VERR_INVALID_PARAMETER);
428 AssertReturn(RT_ALIGN_T(HCPhys, PAGE_SIZE, RTHCPHYS) == HCPhys, VERR_INVALID_PARAMETER);
429 AssertReturn(pszDesc && *pszDesc, VERR_INVALID_PARAMETER);
435 AssertReturn(cbAligned >= cb, VERR_INVALID_PARAMETER);
476 AssertReturn(RT_ALIGN_T(GCPhys, PAGE_SIZE, RTGCPHYS) == GCPhys, VERR_INVALID_PARAMETER);
477 AssertReturn(pszDesc && *pszDesc, VERR_INVALID_PARAMETER);
550 AssertReturn(pszDesc && *pszDesc, VERR_INVALID_PARAMETER);
551 AssertReturn(off + cb > off, VERR_INVALID_PARAMETER);
557 AssertReturn(offEn
[all...]
/vbox/src/VBox/Main/src-all/
H A DSharedFolderImpl.cpp109 AssertReturn(autoInitSpan.isOk(), E_FAIL);
138 AssertReturn(autoInitSpan.isOk(), E_FAIL);
180 AssertReturn(autoInitSpan.isOk(), E_FAIL);
219 AssertReturn(autoInitSpan.isOk(), E_FAIL);
/vbox/src/VBox/VMM/VMMAll/
H A DPDMAllCritSectRw.cpp111 AssertReturn(pThis->s.Core.u32Magic == RTCRITSECTRW_MAGIC, RTLOCKVAL_SUB_CLASS_INVALID);
113 AssertReturn(!(pThis->s.Core.fFlags & RTCRITSECT_FLAGS_NOP), RTLOCKVAL_SUB_CLASS_INVALID);
157 AssertReturn(pThis->s.Core.u32Magic == RTCRITSECTRW_MAGIC, VERR_SEM_DESTROYED);
564 AssertReturn(pThis->s.Core.u32Magic == RTCRITSECTRW_MAGIC, VERR_SEM_DESTROYED);
586 AssertReturn(c > 0, VERR_NOT_OWNER);
648 AssertReturn(hNativeSelf == hNativeWriter, VERR_NOT_OWNER);
649 AssertReturn(pThis->s.Core.cWriterReads > 0, VERR_NOT_OWNER);
710 AssertReturn(pThis->s.Core.u32Magic == RTCRITSECTRW_MAGIC, VERR_SEM_DESTROYED);
1100 AssertReturn(pThis->s.Core.u32Magic == RTCRITSECTRW_MAGIC, VERR_SEM_DESTROYED);
1105 AssertReturn(hNativeSel
[all...]
H A DVMMAll.cpp329 AssertReturn(idCpu < pVM->cCpus, NULL);
409 AssertReturn(pvBuf, VERR_INVALID_POINTER);
410 AssertReturn(pcbWritten, VERR_INVALID_POINTER);
425 AssertReturn(ASMIsIntelCpu() || ASMIsViaCentaurCpu(), VERR_UNSUPPORTED_CPU);
/vbox/src/VBox/Runtime/common/ldr/
H A DldrMemory.cpp102 AssertReturn(off >= 0, VERR_INVALID_PARAMETER);
185 AssertReturn(pThis->cMappings > 0, VERR_INVALID_PARAMETER);
228 AssertReturn(cbImage < RTFOFF_MAX, VERR_INVALID_PARAMETER);
230 AssertReturn((RTFOFF)cbImage > 0, VERR_INVALID_PARAMETER);

Completed in 116 milliseconds

1234567891011>>