Searched refs:AssertReturn (Results 226 - 250 of 640) sorted by relevance

1234567891011>>

/vbox/src/VBox/Runtime/r3/posix/
H A Dprocess-creation-posix.cpp305 AssertReturn(*pszExec, VERR_INVALID_PARAMETER);
306 AssertReturn(!(fFlags & ~(RTPROC_FLAGS_DETACHED | RTPROC_FLAGS_HIDDEN | RTPROC_FLAGS_SERVICE | RTPROC_FLAGS_SAME_CONTRACT | RTPROC_FLAGS_NO_PROFILE | RTPROC_FLAGS_SEARCH_PATH)), VERR_INVALID_PARAMETER);
307 AssertReturn(!(fFlags & RTPROC_FLAGS_DETACHED) || !phProcess, VERR_INVALID_PARAMETER);
308 AssertReturn(hEnv != NIL_RTENV, VERR_INVALID_PARAMETER);
314 AssertReturn(!pszAsUser || *pszAsUser, VERR_INVALID_PARAMETER);
315 AssertReturn(!pszPassword || pszAsUser, VERR_INVALID_PARAMETER);
H A Dsemeventmulti-posix.cpp114 AssertReturn(!(fFlags & ~RTSEMEVENTMULTI_FLAGS_NO_LOCK_VAL), VERR_INVALID_PARAMETER);
207 AssertReturn(u32 == EVENTMULTI_STATE_NOT_SIGNALED || u32 == EVENTMULTI_STATE_SIGNALED, VERR_INVALID_HANDLE);
264 AssertReturn(u32 == EVENTMULTI_STATE_NOT_SIGNALED || u32 == EVENTMULTI_STATE_SIGNALED, VERR_INVALID_HANDLE);
325 AssertReturn(u32 == EVENTMULTI_STATE_NOT_SIGNALED || u32 == EVENTMULTI_STATE_SIGNALED, VERR_INVALID_HANDLE);
588 AssertReturn(u32 == EVENTMULTI_STATE_NOT_SIGNALED || u32 == EVENTMULTI_STATE_SIGNALED, VERR_INVALID_HANDLE);
589 AssertReturn(RTSEMWAIT_FLAGS_ARE_VALID(fFlags), VERR_INVALID_PARAMETER);
H A Dpath-posix.cpp85 AssertReturn(*pszPath, VERR_INVALID_PARAMETER);
320 AssertReturn(*pszPath, false);
363 AssertReturn(*pszPath, VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/r3/win/
H A Dpath-win.cpp164 AssertReturn(cchPath, VERR_INVALID_PARAMETER);
222 AssertReturn(cchPath, VERR_INVALID_PARAMETER);
262 AssertReturn(*pszPath, VERR_INVALID_PARAMETER);
424 AssertReturn(*pszPath, VERR_INVALID_PARAMETER);
626 AssertReturn(*pszPath, false);
688 AssertReturn(*pszPath, VERR_INVALID_PARAMETER);
/vbox/src/VBox/Main/include/
H A DMatching.h198 AssertReturn (Lim::is_integer, (void) 0);
199 AssertReturn (
231 AssertReturn (!mValues.size() && !mIntervals.size(), (void) 0);
/vbox/src/VBox/Main/src-server/
H A DAudioAdapterImpl.cpp87 AssertReturn(autoInitSpan.isOk(), E_FAIL);
131 AssertReturn(autoInitSpan.isOk(), E_FAIL);
164 AssertReturn(autoInitSpan.isOk(), E_FAIL);
H A DHostDnsService.cpp312 AssertReturn(m && m->info, E_FAIL);
328 AssertReturn(m && m->info, E_FAIL);
344 AssertReturn(m && m->info, E_FAIL);
H A DBandwidthControlImpl.cpp67 AssertReturn(autoInitSpan.isOk(), E_FAIL);
101 AssertReturn(autoInitSpan.isOk(), E_FAIL);
144 AssertReturn(autoInitSpan.isOk(), E_FAIL);
369 AssertReturn(!aName.isEmpty(), E_INVALIDARG);
H A DSerialPortImpl.cpp64 AssertReturn(autoInitSpan.isOk(), E_FAIL);
100 AssertReturn(autoInitSpan.isOk(), E_FAIL);
134 AssertReturn(autoInitSpan.isOk(), E_FAIL);
642 AssertReturn(isWriteLockOnCurrentThread(), E_FAIL);
/vbox/src/VBox/HostDrivers/Support/
H A DSUPDrv.cpp1060 AssertReturn(SUP_IS_SESSION_VALID(pSession), VERR_INVALID_PARAMETER);
1061 AssertReturn(pSession->R0Process != NIL_RTR0PROCESS, VERR_INVALID_PARAMETER);
1147 AssertReturn(SUP_IS_SESSION_VALID(pSession), VERR_INVALID_PARAMETER);
1148 AssertReturn(pSession->R0Process != NIL_RTR0PROCESS, VERR_INVALID_PARAMETER);
1238 AssertReturn(R0Process != NIL_RTR0PROCESS, NULL);
1297 AssertReturn(SUP_IS_SESSION_VALID(pSession), UINT32_MAX);
1315 AssertReturn(SUP_IS_SESSION_VALID(pSession), UINT32_MAX);
2579 AssertReturn(SUP_IS_SESSION_VALID(pSession), NULL);
2580 AssertReturn(enmType > SUPDRVOBJTYPE_INVALID && enmType < SUPDRVOBJTYPE_END, NULL);
2693 AssertReturn(SUP_IS_SESSION_VALI
[all...]
/vbox/src/VBox/Runtime/common/crypto/
H A Dstore-inmem.cpp182 AssertReturn(cMin <= _1M, VERR_OUT_OF_RANGE);
183 AssertReturn(cMin > pThis->cCertsAlloc, VERR_INTERNAL_ERROR_3);
251 AssertReturn(pSearch->auOpaque[0] == ~(uintptr_t)pvProvider, NULL);
H A Dpkix-signature-rsa.cpp239 AssertReturn(cbEncodedMsg * 2 <= sizeof(pThis->Scratch), VERR_CR_PKIX_INTERNAL_ERROR);
245 AssertReturn(enmDigest != RTDIGESTTYPE_INVALID && enmDigest != RTDIGESTTYPE_UNKNOWN, VERR_CR_PKIX_UNKNOWN_DIGEST_TYPE);
263 AssertReturn(cbHash > 0 && cbHash < _16K, VERR_OUT_OF_RANGE);
264 AssertReturn(cbHash == pbDigestInfoStart[cbDigestInfoStart - 1], VERR_CR_PKIX_INTERNAL_ERROR);
/vbox/src/VBox/VMM/VMMR3/
H A DPGMSharedPage.cpp77 AssertReturn(cRegions <= VMMDEVSHAREDREGIONDESC_MAX, VERR_INVALID_PARAMETER);
84 AssertReturn(pReq, VERR_NO_MEMORY);
157 AssertReturn(pReq, VERR_NO_MEMORY);
H A DDBGF.cpp1025 AssertReturn(pVM->dbgf.s.fAttached, VERR_DBGF_NOT_ATTACHED);
1060 AssertReturn(pVM->dbgf.s.fAttached, VERR_DBGF_NOT_ATTACHED);
1087 AssertReturn(pVM->dbgf.s.fAttached, false);
1145 AssertReturn(pVM->dbgf.s.fAttached, VERR_DBGF_NOT_ATTACHED);
1146 AssertReturn(RTSemPongIsSpeaker(&pVM->dbgf.s.PingPong), VERR_SEM_OUT_OF_TURN);
1177 AssertReturn(pVM->dbgf.s.fAttached, VERR_DBGF_NOT_ATTACHED);
1178 AssertReturn(RTSemPongIsSpeaker(&pVM->dbgf.s.PingPong), VERR_SEM_OUT_OF_TURN);
1179 AssertReturn(idCpu < pVM->cCpus, VERR_INVALID_PARAMETER);
1226 AssertReturn(idCpu < pVM->cCpus, VERR_INVALID_CPU_ID);
/vbox/src/VBox/Devices/Graphics/shaderlib/
H A Dshaderapi.c216 AssertReturn(pContext, VERR_NO_MEMORY);
218 AssertReturn(pContext->pDeviceContext, VERR_NO_MEMORY);
237 AssertReturn(hr == S_OK, VERR_INTERNAL_ERROR);
246 AssertReturn(pContext->pDeviceContext->stateBlock, VERR_NO_MEMORY);
248 AssertReturn(hr == S_OK, VERR_INTERNAL_ERROR);
252 AssertReturn(pContext->pDeviceContext->stateBlock->vertexDecl, VERR_NO_MEMORY);
379 AssertReturn(pShaderObj, VERR_INVALID_PARAMETER);
390 AssertReturn(pShaderObj, VERR_INVALID_PARAMETER);
639 AssertReturn(glGetError() == GL_NO_ERROR, VERR_INTERNAL_ERROR);
/vbox/src/VBox/GuestHost/DragAndDrop/
H A DDnDURIList.cpp152 AssertReturn(cbToRead, VERR_INVALID_PARAMETER);
384 AssertReturn(cbNativePaths, VERR_INVALID_PARAMETER);
463 AssertReturn(cbURIPaths, VERR_INVALID_PARAMETER);
511 AssertReturn(cbData, VERR_INVALID_PARAMETER);
/vbox/src/VBox/NetworkServices/DHCP/
H A DNetworkManagerDhcp.cpp64 AssertReturn(lease != Lease::NullLease, VINF_SUCCESS);
/vbox/src/VBox/NetworkServices/NAT/
H A DRTWinPoll.cpp42 AssertReturn(g_hNetworkEvent != WSA_INVALID_EVENT, VERR_INTERNAL_ERROR);
/vbox/src/VBox/Runtime/common/asn1/
H A Dasn1-ut-octetstring.cpp64 AssertReturn(cbToWrite <= pCtx->cbBuf - pCtx->offBuf,
79 AssertReturn(cbToWrite <= pCtx->cbBuf - pCtx->offBuf, VERR_BUFFER_OVERFLOW);
94 AssertReturn(pThis->pEncapsulated, VERR_INVALID_STATE);
269 AssertReturn(pSrc->Asn1Core.pOps == &g_RTAsn1OctetString_Vtable, VERR_INTERNAL_ERROR_3);
/vbox/src/VBox/Runtime/common/checksum/
H A Dmanifest.cpp277 AssertReturn(cbSize > 0, VERR_INVALID_PARAMETER);
337 AssertReturn(cbSize > 0, VERR_INVALID_PARAMETER);
339 AssertReturn(cTests > 0, VERR_INVALID_PARAMETER);
529 AssertReturn(cFiles > 0, VERR_INVALID_PARAMETER);
/vbox/src/VBox/Additions/common/VBoxGuestLib/
H A DVBoxGuestR3LibSeamless.cpp149 AssertReturn(pRects || cRects == 0, VERR_INVALID_PARAMETER);
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/common/
H A DVBoxMPCommon.cpp104 AssertReturn(ntStatus == STATUS_SUCCESS, false);
/vbox/include/iprt/cpp/
H A Dmem.h65 AssertReturn(!pvOld, NULL);
/vbox/src/VBox/Runtime/generic/
H A Dcritsect-generic.cpp54 AssertReturn(!(fFlags & ~(RTCRITSECT_FLAGS_NO_NESTING | RTCRITSECT_FLAGS_NO_LOCK_VAL | RTCRITSECT_FLAGS_BOOTSTRAP_HACK | RTCRITSECT_FLAGS_NOP)),
123 AssertReturn(pCritSect->u32Magic == RTCRITSECT_MAGIC, RTLOCKVAL_SUB_CLASS_INVALID);
124 AssertReturn(!(pCritSect->fFlags & RTCRITSECT_FLAGS_NOP), RTLOCKVAL_SUB_CLASS_INVALID);
136 /*AssertReturn(pCritSect->u32Magic == RTCRITSECT_MAGIC, VERR_SEM_DESTROYED);*/
213 AssertReturn(pCritSect->u32Magic == RTCRITSECT_MAGIC, VERR_SEM_DESTROYED);
H A Dspinlock-generic.cpp79 AssertReturn(fFlags == RTSPINLOCK_FLAGS_INTERRUPT_SAFE || fFlags == RTSPINLOCK_FLAGS_INTERRUPT_UNSAFE, VERR_INVALID_PARAMETER);

Completed in 149 milliseconds

1234567891011>>