Searched refs:AssertReturn (Results 126 - 150 of 640) sorted by relevance

1234567891011>>

/vbox/src/VBox/Additions/common/VBoxGuestLib/
H A DVBoxGuestR3LibGuestUser.cpp72 AssertReturn(cbSize, VERR_BUFFER_UNDERFLOW);
/vbox/src/VBox/Runtime/common/string/
H A Dstrformattype.cpp260 AssertReturn(cchType < RT_SIZEOFMEMB(RTSTRDYNFMT, szType), VERR_INVALID_PARAMETER);
439 AssertReturn(ch != '\0', 0);
440 AssertReturn(ch != '%', 0);
441 AssertReturn(ch != '[', 0);
/vbox/src/VBox/Runtime/common/vfs/
H A Dvfsiosmisc.cpp49 AssertReturn(!(fFlags & ~RTVFS_VALIDATE_UTF8_VALID_MASK), VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/generic/
H A DRTFileReadAllByHandleEx-generic.cpp42 AssertReturn(!(fFlags & ~RTFILE_RDALL_VALID_MASK), VERR_INVALID_PARAMETER);
H A DRTProcDaemonize-generic.cpp51 AssertReturn(RTProcGetExecutablePath(szExecPath, sizeof(szExecPath)) == szExecPath, VERR_WRONG_ORDER);
/vbox/src/VBox/Runtime/r0drv/os2/
H A Dspinlock-r0drv-os2.cpp67 AssertReturn(fFlags == RTSPINLOCK_FLAGS_INTERRUPT_SAFE || fFlags == RTSPINLOCK_FLAGS_INTERRUPT_UNSAFE, VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/r3/darwin/
H A DRTPathUserDocuments-darwin.cpp50 AssertReturn(cchPath, VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/r3/generic/
H A Dsemspinmutex-r3-generic.cpp43 AssertReturn(!(fFlags & ~RTSEMSPINMUTEX_FLAGS_VALID_MASK), VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/r3/linux/
H A DRTSystemShutdown-linux.cpp44 AssertReturn(!(fFlags & ~RTSYSTEM_SHUTDOWN_VALID_MASK), VERR_INVALID_PARAMETER);
H A Dsemevent-linux.cpp126 AssertReturn(!(fFlags & ~(RTSEMEVENT_FLAGS_NO_LOCK_VAL | RTSEMEVENT_FLAGS_BOOTSTRAP_HACK)), VERR_INVALID_PARAMETER);
179 AssertReturn(pThis->iMagic == RTSEMEVENT_MAGIC, VERR_INVALID_HANDLE);
212 AssertReturn(pThis->iMagic == RTSEMEVENT_MAGIC, VERR_INVALID_HANDLE);
248 AssertReturn(pThis->iMagic == RTSEMEVENT_MAGIC, VERR_INVALID_HANDLE);
/vbox/src/VBox/Runtime/r3/os2/
H A Dsems-os2.cpp54 AssertReturn(!(fFlags & ~(RTSEMEVENT_FLAGS_NO_LOCK_VAL | RTSEMEVENT_FLAGS_BOOTSTRAP_HACK)), VERR_INVALID_PARAMETER);
156 AssertReturn(!(fFlags & ~RTSEMEVENTMULTI_FLAGS_NO_LOCK_VAL), VERR_INVALID_PARAMETER);
273 AssertReturn(!(fFlags & ~RTSEMMUTEX_FLAGS_NO_LOCK_VAL), VERR_INVALID_PARAMETER);
316 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, RTLOCKVAL_SUB_CLASS_INVALID);
/vbox/src/VBox/Runtime/r3/posix/
H A DRTSystemQueryOSInfo-posix.cpp44 AssertReturn(enmInfo > RTSYSOSINFO_INVALID && enmInfo < RTSYSOSINFO_END, VERR_INVALID_PARAMETER);
H A Dallocex-r3-posix.cpp45 AssertReturn(cbAlloc < _64K, VERR_NO_MEMORY);
H A Dthread-posix.cpp386 AssertReturn(hThread != RTThreadSelf(), VERR_INVALID_PARAMETER);
388 AssertReturn(pThread, VERR_INVALID_HANDLE);
432 AssertReturn(krc == KERN_SUCCESS, RTErrConvertFromDarwinKern(krc));
441 AssertReturn(status == B_OK, RTErrConvertFromErrno(status));
/vbox/src/VBox/Runtime/r3/solaris/
H A DRTSystemShutdown-solaris.cpp44 AssertReturn(!(fFlags & ~RTSYSTEM_SHUTDOWN_VALID_MASK), VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/r3/win/
H A Dtls-win.cpp53 AssertReturn(!pfnDestructor, VERR_NOT_SUPPORTED);
/vbox/src/libs/kStuff/iprt/
H A DkHlpPage-iprt.cpp48 AssertReturn(fFixed, KERR_NOT_IMPLEMENTED);
/vbox/src/VBox/Runtime/common/dbg/
H A Ddbgmod.cpp89 AssertReturn((pDbgMod)->u32Magic == RTDBGMOD_MAGIC, (rc)); \
90 AssertReturn((pDbgMod)->cRefs > 0, (rc)); \
328 AssertReturn(*pszName, VERR_INVALID_PARAMETER);
329 AssertReturn(fFlags == 0 || fFlags == RTDBGMOD_F_NOT_DEFERRED, VERR_INVALID_PARAMETER);
377 AssertReturn(*pszFilename, VERR_INVALID_PARAMETER);
379 AssertReturn(uSubtrahend == 0, VERR_NOT_IMPLEMENTED); /** @todo implement uSubtrahend. */
471 AssertReturn(!pDbgMod->pDbgVt, VERR_DBG_MOD_IPE);
472 AssertReturn(pDbgMod->pImgVt, VERR_DBG_MOD_IPE);
794 AssertReturn(*pszFilename, VERR_INVALID_PARAMETER);
796 AssertReturn(enmArc
[all...]
/vbox/include/VBox/HostServices/
H A DService.h82 AssertReturn(cParms < 256, VERR_INVALID_PARAMETER);
109 AssertReturn(iParm < m_cParms, VERR_INVALID_PARAMETER);
110 AssertReturn(m_paParms[iParm].type == VBOX_HGCM_SVC_PARM_32BIT, VERR_INVALID_PARAMETER);
119 AssertReturn(iParm < m_cParms, VERR_INVALID_PARAMETER);
120 AssertReturn(m_paParms[iParm].type == VBOX_HGCM_SVC_PARM_64BIT, VERR_INVALID_PARAMETER);
130 AssertReturn(iParm < m_cParms, VERR_INVALID_PARAMETER);
131 AssertReturn(m_paParms[iParm].type == VBOX_HGCM_SVC_PARM_PTR, VERR_INVALID_PARAMETER);
/vbox/src/VBox/Runtime/r3/
H A Dmemsafer-r3.cpp203 AssertReturn(pThis, VERR_INVALID_POINTER);
226 AssertReturn(pThis, VERR_INVALID_POINTER);
369 AssertReturn(cb, VERR_INVALID_PARAMETER);
370 AssertReturn(cb <= 32U*_1M - PAGE_SIZE * 3U, VERR_ALLOCATION_TOO_BIG); /* Max 32 MB minus padding and guard pages. */
371 AssertReturn(!(fFlags & ~RTMEMSAFER_F_VALID_MASK), VERR_INVALID_FLAGS);
505 AssertReturn(pThis, VERR_INVALID_POINTER);
537 AssertReturn(rtMemSaferNodeRemove(pvOld) == pThis, VERR_INTERNAL_ERROR_3);
/vbox/src/VBox/Devices/Network/slirp/
H A Ddebug.c294 AssertReturn(strcmp(pszType, "natsock") == 0, 0);
366 AssertReturn(strcmp(pszType, "natsockstate") == 0, 0);
403 AssertReturn(RTStrCmp(pszType, "tcpcb793") == 0, 0);
431 AssertReturn(RTStrCmp(pszType, "tcpseg793") == 0 && ti, 0);
453 AssertReturn(RTStrCmp(pszType, "tcpstate") == 0, 0);
475 AssertReturn(RTStrCmp(pszType, "tcpflags") == 0, 0);
518 AssertReturn(RTStrCmp(pszType, "sbuf") == 0, 0);
539 AssertReturn(RTStrCmp(pszType, "mzone") == 0, 0);
563 AssertReturn(RTStrCmp(pszType, "mzoneitem") == 0, 0);
590 AssertReturn(strcm
[all...]
/vbox/src/VBox/Main/src-all/
H A DProgressImpl.cpp163 AssertReturn(ulTotalOperationsWeight >= 1, E_INVALIDARG);
167 AssertReturn(autoInitSpan.isOk(), E_FAIL);
178 AssertReturn(aParent, E_INVALIDARG);
180 AssertReturn(aInitiator, E_INVALIDARG);
263 AssertReturn(autoInitSpan.isOk(), E_FAIL);
453 AssertReturn(mCompleted == FALSE, E_FAIL);
771 AssertReturn(!mCompleted, E_FAIL);
772 AssertReturn(!mCompleted && !mCanceled, E_FAIL);
793 AssertReturn(!mCompleted, E_FAIL);
794 AssertReturn(m_ulCurrentOperatio
[all...]
/vbox/src/VBox/Runtime/common/crypto/
H A Dx509-certpaths.cpp350 AssertReturn(pThis->u32Magic == RTCRX509CERTPATHSINT_MAGIC, UINT32_MAX);
398 AssertReturn(pThis->u32Magic == RTCRX509CERTPATHSINT_MAGIC, VERR_INVALID_HANDLE);
399 AssertReturn(pThis->pRoot == NULL, VERR_WRONG_ORDER);
408 AssertReturn(RTCrStoreRetain(hTrustedStore) != UINT32_MAX, VERR_INVALID_HANDLE);
419 AssertReturn(pThis->u32Magic == RTCRX509CERTPATHSINT_MAGIC, VERR_INVALID_HANDLE);
420 AssertReturn(pThis->pRoot == NULL, VERR_WRONG_ORDER);
429 AssertReturn(RTCrStoreRetain(hUntrustedStore) != UINT32_MAX, VERR_INVALID_HANDLE);
440 AssertReturn(pThis->u32Magic == RTCRX509CERTPATHSINT_MAGIC, VERR_INVALID_HANDLE);
452 AssertReturn(pThis->u32Magic == RTCRX509CERTPATHSINT_MAGIC, VERR_INVALID_HANDLE);
463 AssertReturn(pThi
[all...]
/vbox/src/VBox/Runtime/common/log/
H A Dtracebuf.cpp134 AssertReturn((a_pThis)->u32Magic == RTTRACEBUF_MAGIC, (a_rc)); \
135 AssertReturn((a_pThis)->offVolatile < RTTRACEBUF_ALIGNMENT * 2, (a_rc)); \
136 AssertReturn(RTTRACEBUF_TO_VOLATILE(a_pThis)->cRefs > 0, (a_rc)); \
159 AssertReturn((a_pThis)->u32Magic == RTTRACEBUF_MAGIC, VERR_INVALID_HANDLE); \
160 AssertReturn((a_pThis)->offVolatile < RTTRACEBUF_ALIGNMENT * 2, VERR_INVALID_HANDLE); \
219 AssertReturn(pThis->u32Magic == RTTRACEBUF_MAGIC, VERR_INVALID_HANDLE); \
222 AssertReturn(pThis->offVolatile < RTTRACEBUF_ALIGNMENT * 2, VERR_INVALID_HANDLE); \
279 AssertReturn(!(fFlags & ~(RTTRACEBUF_FLAGS_MASK & ~ RTTRACEBUF_FLAGS_FREE_ME)), VERR_INVALID_PARAMETER);
327 AssertReturn(!(fFlags & ~RTTRACEBUF_FLAGS_MASK), VERR_INVALID_PARAMETER);
332 AssertReturn(RT_VALID_PT
[all...]
/vbox/src/VBox/Runtime/common/zip/
H A Dgzipvfs.cpp294 AssertReturn(pThis->Zlib.avail_out == cbToRead, VERR_OUT_OF_RANGE);
381 AssertReturn(off == -1 || off == pThis->offStream , VERR_INVALID_PARAMETER);
438 AssertReturn(cbWrittenOut == 0, VERR_INTERNAL_ERROR_3);
439 AssertReturn(rc != VINF_SUCCESS, VERR_IPE_UNEXPECTED_INFO_STATUS);
515 AssertReturn(off == -1 || off == pThis->offStream , VERR_INVALID_PARAMETER);
688 AssertReturn(!(fFlags & ~RTZIPGZIPDECOMP_F_ALLOW_ZLIB_HDR), VERR_INVALID_PARAMETER);
692 AssertReturn(cRefs != UINT32_MAX, VERR_INVALID_HANDLE);
784 AssertReturn(!fFlags, VERR_INVALID_PARAMETER);
786 AssertReturn(uLevel > 0 && uLevel <= 9, VERR_INVALID_PARAMETER);
789 AssertReturn(cRef
[all...]

Completed in 119 milliseconds

1234567891011>>