/vbox/src/VBox/NetworkServices/NetLib/ |
H A D | VBoxNetPortForwardString.cpp | 61 AssertReturn(pszRaw[0] == PF_ADDRESS_FIELD_STARTS, -1); 71 AssertReturn(cbRaw > 0, VERR_INVALID_PARAMETER); 81 AssertReturn(cbField < cbRaw, VERR_INVALID_PARAMETER); 89 AssertReturn(pszRaw[cbField] == PF_ADDRESS_FIELD_ENDS, -1); 105 AssertReturn(pszRaw[0] == PF_FIELD_SEPARATOR, -1); 169 AssertReturn(cbRaw > 0, VERR_INVALID_PARAMETER); 191 AssertReturn(cbRaw > 0, VERR_INVALID_PARAMETER); 245 AssertReturn(cbRaw > 14, VERR_INVALID_PARAMETER); 248 AssertReturn(pszRaw, VERR_NO_MEMORY); 263 AssertReturn(cbToke [all...] |
/vbox/src/VBox/Runtime/common/crypto/ |
H A D | digest-core.cpp | 119 AssertReturn(hSrc->u32Magic == RTCRDIGESTINT_MAGIC, VERR_INVALID_HANDLE); 155 AssertReturn(pThis->u32Magic == RTCRDIGESTINT_MAGIC, VERR_INVALID_HANDLE); 178 AssertReturn(pThis->u32Magic == RTCRDIGESTINT_MAGIC, UINT32_MAX); 192 AssertReturn(pThis->u32Magic == RTCRDIGESTINT_MAGIC, UINT32_MAX); 211 AssertReturn(pThis->u32Magic == RTCRDIGESTINT_MAGIC, VERR_INVALID_HANDLE); 212 AssertReturn(pThis->uState == RTCRDIGEST_STATE_READY, VERR_INVALID_STATE); 224 AssertReturn(pThis->u32Magic == RTCRDIGESTINT_MAGIC, VERR_INVALID_HANDLE); 225 AssertReturn(pThis->uState == RTCRDIGEST_STATE_READY || pThis->uState == RTCRDIGEST_STATE_FINAL, VERR_INVALID_STATE); 237 AssertReturn(pThis->uState == RTCRDIGEST_STATE_FINAL, VERR_INVALID_STATE); 285 AssertReturn(pThi [all...] |
H A D | store.cpp | 104 AssertReturn(pThis->u32Magic == RTCRSTOREINT_MAGIC, UINT32_MAX); 119 AssertReturn(pThis->u32Magic == RTCRSTOREINT_MAGIC, UINT32_MAX); 136 AssertReturn(pThis->u32Magic == RTCRSTOREINT_MAGIC, NULL); 173 AssertReturn(pThis->u32Magic == RTCRSTOREINT_MAGIC, VERR_INVALID_HANDLE); 175 AssertReturn(cbSrc > 16 && cbSrc < _1M, VERR_OUT_OF_RANGE); 201 AssertReturn(pThis->u32Magic == RTCRSTOREINT_MAGIC, VERR_INVALID_HANDLE); 217 AssertReturn(pThis->u32Magic == RTCRSTOREINT_MAGIC, VERR_INVALID_HANDLE); 234 AssertReturn(pThis->u32Magic == RTCRSTOREINT_MAGIC, NULL); 278 AssertReturn(pThis->u32Magic == RTCRSTOREINT_MAGIC, VERR_INVALID_HANDLE); 300 AssertReturn(pThi [all...] |
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | pipe-posix.cpp | 130 AssertReturn(!(fFlags & ~RTPIPE_C_VALID_MASK), VERR_INVALID_PARAMETER); 221 AssertReturn(pThis->u32Magic == RTPIPE_MAGIC, VERR_INVALID_HANDLE); 226 AssertReturn(ASMAtomicCmpXchgU32(&pThis->u32Magic, ~RTPIPE_MAGIC, RTPIPE_MAGIC), VERR_INVALID_HANDLE); 246 AssertReturn(!(fFlags & ~RTPIPE_N_VALID_MASK), VERR_INVALID_PARAMETER); 247 AssertReturn(!!(fFlags & RTPIPE_N_READ) != !!(fFlags & RTPIPE_N_WRITE), VERR_INVALID_PARAMETER); 254 AssertReturn(fstat(hNative, &st) == 0, RTErrConvertFromErrno(errno)); 258 AssertReturn(fFd != -1, VERR_INVALID_HANDLE); 295 AssertReturn(pThis->u32Magic == RTPIPE_MAGIC, -1); 323 AssertReturn(cUsers < RTPIPE_POSIX_USERS_MASK / 2, VERR_INTERNAL_ERROR_4); function 385 AssertReturn(cUser function [all...] |
/vbox/src/VBox/Runtime/r0drv/nt/ |
H A D | semmutex-r0drv-nt.cpp | 73 AssertReturn(!(fFlags & ~RTSEMMUTEX_FLAGS_NO_LOCK_VAL), VERR_INVALID_PARAMETER); 101 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, VERR_INVALID_HANDLE); 106 AssertReturn(ASMAtomicCmpXchgU32(&pThis->u32Magic, RTSEMMUTEX_MAGIC_DEAD, RTSEMMUTEX_MAGIC), VERR_INVALID_HANDLE); 129 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, VERR_INVALID_HANDLE); 203 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, VERR_INVALID_HANDLE); 224 AssertReturn(pThis->u32Magic == RTSEMMUTEX_MAGIC, false);
|
/vbox/src/VBox/Runtime/common/vfs/ |
H A D | vfsbase.cpp | 119 AssertReturn((hVfs)->uMagic == RTVFS_MAGIC, (rcRet)); \ 340 AssertReturn(pThis->enmType > RTVFSLOCKTYPE_INVALID && pThis->enmType < RTVFSLOCKTYPE_END, UINT32_MAX); 387 AssertReturn(pThis->enmType > RTVFSLOCKTYPE_INVALID && pThis->enmType < RTVFSLOCKTYPE_END, UINT32_MAX); 677 AssertReturn(hLock->enmType > RTVFSLOCKTYPE_INVALID && hLock->enmType < RTVFSLOCKTYPE_END, VERR_INVALID_HANDLE); 678 AssertReturn(hLock->cRefs > 0, VERR_INVALID_HANDLE); 719 AssertReturn(pObjOps->uVersion == RTVFSOBJOPS_VERSION, VERR_VERSION_MISMATCH); 720 AssertReturn(pObjOps->uEndMarker == RTVFSOBJOPS_VERSION, VERR_VERSION_MISMATCH); 769 AssertReturn(pThis->uMagic == RTVFSOBJ_MAGIC, UINT32_MAX); 867 AssertReturn(pThis->uMagic == RTVFSOBJ_MAGIC, UINT32_MAX); 878 AssertReturn(pThi [all...] |
/vbox/src/VBox/Additions/darwin/VBoxClient/ |
H A D | VBoxClientClipboardHostToGuest.cpp | 51 AssertReturn(pData && cbDataSize && cbMemSize, VERR_INVALID_PARAMETER); 122 AssertReturn(rc == noErr, VERR_NOT_SUPPORTED); 160 AssertReturn(pData, VERR_INVALID_PARAMETER); 163 AssertReturn(cbDataSize > 0, VINF_SUCCESS); 170 AssertReturn(RT_SUCCESS(rc), rc); 172 AssertReturn(pDataInternal, VERR_NO_MEMORY); 213 AssertReturn(pData, VERR_INVALID_PARAMETER); 215 AssertReturn(cbDataSize > 0, VINF_SUCCESS); 218 AssertReturn(RT_SUCCESS(rc), rc);
|
H A D | VBoxClientClipboardGuestToHost.cpp | 57 AssertReturn((rc == noErr) && (cItems > 0), fFormats); 137 AssertReturn(rc == noErr, VERR_INVALID_PARAMETER); 138 AssertReturn(cItems > 0, VERR_INVALID_PARAMETER); 149 AssertReturn(rc == noErr, VERR_INVALID_PARAMETER); 204 AssertReturn(pvData, VERR_INVALID_PARAMETER); 218 AssertReturn(cbData > 0, VERR_INVALID_PARAMETER); 223 AssertReturn(RT_SUCCESS(rc), rc); 226 AssertReturn(pwszWinTmp, VERR_NO_MEMORY);
|
/vbox/src/VBox/Runtime/common/string/ |
H A D | RTStrCatEx.cpp | 38 AssertReturn(pszDst2, VERR_INVALID_PARAMETER);
|
/vbox/src/VBox/Runtime/generic/ |
H A D | RTFileReadAllEx-generic.cpp | 40 AssertReturn(!(fFlags & ~RTFILE_RDALL_VALID_MASK), VERR_INVALID_PARAMETER);
|
H A D | timerlr-generic.cpp | 152 AssertReturn(pThis->u32Magic == RTTIMERLR_MAGIC, VERR_INVALID_HANDLE); 153 AssertReturn(!pThis->fDestroyed, VERR_INVALID_HANDLE); 182 AssertReturn(pThis->u32Magic == RTTIMERLR_MAGIC, VERR_INVALID_HANDLE); 183 AssertReturn(!pThis->fDestroyed, VERR_INVALID_HANDLE); 215 AssertReturn(pThis->u32Magic == RTTIMERLR_MAGIC, VERR_INVALID_HANDLE); 216 AssertReturn(!pThis->fDestroyed, VERR_INVALID_HANDLE); 237 AssertReturn(pThis->u32Magic == RTTIMERLR_MAGIC, VERR_INVALID_HANDLE); 238 AssertReturn(!pThis->fDestroyed, VERR_INVALID_HANDLE);
|
/vbox/src/VBox/Runtime/r0drv/os2/ |
H A D | thread-r0drv-os2.cpp | 57 AssertReturn(pLIS, NIL_RTNATIVETHREAD); 121 AssertReturn(rc == 0, false); 127 AssertReturn(rc == 0, false); 186 AssertReturn(rc == 0, true);
|
/vbox/src/VBox/Runtime/r3/haiku/ |
H A D | rtProcInitExePath-haiku.cpp | 53 AssertReturn((status == B_OK), VERR_INTERNAL_ERROR);
|
/vbox/src/VBox/Runtime/r3/ |
H A D | socket.cpp | 427 AssertReturn(uNative != NIL_RTSOCKETNATIVE, VERR_INVALID_PARAMETER); 429 AssertReturn(uNative >= 0, VERR_INVALID_PARAMETER); 475 AssertReturn(pThis->u32Magic == RTSOCKET_MAGIC, UINT32_MAX); 547 AssertReturn(pThis->u32Magic == RTSOCKET_MAGIC, UINT32_MAX); 551 AssertReturn(cRefs != UINT32_MAX, UINT32_MAX); 565 AssertReturn(pThis->u32Magic == RTSOCKET_MAGIC, VERR_INVALID_HANDLE); 568 AssertReturn(cRefs != UINT32_MAX, UINT32_MAX); 581 AssertReturn(pThis->u32Magic == RTSOCKET_MAGIC, RTHCUINTPTR_MAX); 590 AssertReturn(pThis->u32Magic == RTSOCKET_MAGIC, VERR_INVALID_HANDLE); 591 AssertReturn(RTMemPoolRefCoun [all...] |
/vbox/src/VBox/Main/src-client/ |
H A D | GuestDnDPrivate.cpp | 188 AssertReturn(cbData, VERR_INVALID_PARAMETER); 659 AssertReturn(sizeof(DragAndDropSvc::VBOXDNDCBHGACKOPDATA) == cbParms, VERR_INVALID_PARAMETER); 660 AssertReturn(DragAndDropSvc::CB_MAGIC_DND_HG_ACK_OP == pCBData->hdr.u32Magic, VERR_INVALID_PARAMETER); 672 AssertReturn(sizeof(DragAndDropSvc::VBOXDNDCBHGREQDATADATA) == cbParms, VERR_INVALID_PARAMETER); 673 AssertReturn(DragAndDropSvc::CB_MAGIC_DND_HG_REQ_DATA == pCBData->hdr.u32Magic, VERR_INVALID_PARAMETER); 686 AssertReturn(sizeof(DragAndDropSvc::VBOXDNDCBHGEVTPROGRESSDATA) == cbParms, VERR_INVALID_PARAMETER); 687 AssertReturn(DragAndDropSvc::CB_MAGIC_DND_HG_EVT_PROGRESS == pCBData->hdr.u32Magic, VERR_INVALID_PARAMETER); 699 AssertReturn(sizeof(DragAndDropSvc::VBOXDNDCBGHACKPENDINGDATA) == cbParms, VERR_INVALID_PARAMETER); 700 AssertReturn(DragAndDropSvc::CB_MAGIC_DND_GH_ACK_PENDING == pCBData->hdr.u32Magic, VERR_INVALID_PARAMETER); 714 AssertReturn(sizeo [all...] |
/vbox/src/VBox/Main/src-server/win/ |
H A D | svchlp.cpp | 62 AssertReturn(aName, VERR_INVALID_PARAMETER); 91 AssertReturn(aName, VERR_INVALID_PARAMETER); 158 AssertReturn(aVal != NULL, VERR_INVALID_PARAMETER); 159 AssertReturn(aLen != 0, VERR_INVALID_PARAMETER); 166 AssertReturn(!ok || written == aLen, VERR_GENERAL_FAILURE); 200 AssertReturn(aVal != NULL, VERR_INVALID_PARAMETER); 201 AssertReturn(aLen != 0, VERR_INVALID_PARAMETER); 208 AssertReturn(!ok || read == aLen, VERR_GENERAL_FAILURE);
|
/vbox/src/VBox/GuestHost/DragAndDrop/ |
H A D | DnDDir.cpp | 34 AssertReturn(cbDropDir, VERR_INVALID_PARAMETER); 77 AssertReturn(cbDropDir, VERR_INVALID_PARAMETER);
|
/vbox/src/VBox/Runtime/include/internal/ |
H A D | fileaio.h | 63 AssertReturn((pReq)->u32Magic == RTFILEAIOREQ_MAGIC, (rc)); \ 80 AssertReturn((pCtx)->u32Magic == RTFILEAIOCTX_MAGIC, (rc)); \
|
/vbox/src/VBox/Runtime/r3/linux/ |
H A D | RTSystemQueryDmiString-linux.cpp | 44 AssertReturn(cbBuf > 0, VERR_INVALID_PARAMETER); 46 AssertReturn(enmString > RTSYSDMISTR_INVALID && enmString < RTSYSDMISTR_END, VERR_INVALID_PARAMETER);
|
/vbox/src/bldprogs/ |
H A D | scmstream.cpp | 275 AssertReturn(offEol + pStream->paLines[iLine].enmEol <= cbFile, VERR_INTERNAL_ERROR_2); 279 AssertReturn(pStream->pch[offEol] == '\n', VERR_INTERNAL_ERROR_3); 282 AssertReturn(pStream->pch[offEol] == '\r', VERR_INTERNAL_ERROR_3); 283 AssertReturn(pStream->pch[offEol + 1] == '\n', VERR_INTERNAL_ERROR_3); 286 AssertReturn(iLine + 1 >= pStream->cLines, VERR_INTERNAL_ERROR_4); 289 AssertReturn(iLine + 1 >= pStream->cLines, VERR_INTERNAL_ERROR_5); 384 AssertReturn(!pStream->fWriteOrRead, NULL); 493 AssertReturn(!pStream->fWriteOrRead, pStream->cb); 543 AssertReturn(!pStream->fWriteOrRead, VERR_ACCESS_DENIED); 571 AssertReturn(pStrea [all...] |
/vbox/src/VBox/Additions/solaris/Virtio/ |
H A D | Virtio-solaris.c | 55 AssertReturn(pDip, DDI_EINVAL); 56 AssertReturn(pDeviceOps, DDI_EINVAL); 57 AssertReturn(pHyperOps, DDI_EINVAL); 192 AssertReturn(pQueue->pQueue, NULL); 193 AssertReturn(pQueue->Ring.cDesc > 0, NULL);
|
/vbox/src/VBox/Runtime/r3/win/ |
H A D | pipe-win.cpp | 165 AssertReturn(!(fFlags & ~RTPIPE_C_VALID_MASK), VERR_INVALID_PARAMETER); 403 AssertReturn(pThis->u32Magic == RTPIPE_MAGIC, VERR_INVALID_HANDLE); 408 AssertReturn(ASMAtomicCmpXchgU32(&pThis->u32Magic, ~RTPIPE_MAGIC, RTPIPE_MAGIC), VERR_INVALID_HANDLE); 436 AssertReturn(!(fFlags & ~RTPIPE_N_VALID_MASK), VERR_INVALID_PARAMETER); 437 AssertReturn(!!(fFlags & RTPIPE_N_READ) != !!(fFlags & RTPIPE_N_WRITE), VERR_INVALID_PARAMETER); 443 AssertReturn(GetFileType(hNative) == FILE_TYPE_PIPE, VERR_INVALID_HANDLE); 449 AssertReturn(!(fInfo & PIPE_TYPE_MESSAGE), VERR_INVALID_HANDLE); 450 AssertReturn(cMaxInstances == 1, VERR_INVALID_HANDLE); 456 AssertReturn(!(fState & PIPE_NOWAIT), VERR_INVALID_HANDLE); 457 AssertReturn(!(fStat [all...] |
/vbox/src/VBox/Runtime/r3/os2/ |
H A D | pipe-os2.cpp | 121 AssertReturn(!(fFlags & ~RTPIPE_C_VALID_MASK), VERR_INVALID_PARAMETER); 235 AssertReturn(pThis->u32Magic == RTPIPE_MAGIC, VERR_INVALID_HANDLE); 240 AssertReturn(ASMAtomicCmpXchgU32(&pThis->u32Magic, ~RTPIPE_MAGIC, RTPIPE_MAGIC), VERR_INVALID_HANDLE); 266 AssertReturn(!(fFlags & ~RTPIPE_N_VALID_MASK), VERR_INVALID_PARAMETER); 267 AssertReturn(!!(fFlags & RTPIPE_N_READ) != !!(fFlags & RTPIPE_N_WRITE), VERR_INVALID_PARAMETER); 277 AssertReturn((ulType & 0x7) == HANDTYPE_PIPE, VERR_INVALID_HANDLE); 292 AssertReturn(Buf.PipeInfo.cbMaxInst == 1, VERR_INVALID_HANDLE); 303 AssertReturn(!(fPipeState & NP_TYPE_MESSAGE), VERR_INVALID_HANDLE); 304 AssertReturn(!(fPipeState & NP_READMODE_MESSAGE), VERR_INVALID_HANDLE); 305 AssertReturn((fPipeStat [all...] |
/vbox/src/VBox/Runtime/common/asn1/ |
H A D | asn1-basics.cpp | 80 AssertReturn(pAllocation->pAllocator != NULL, VERR_WRONG_ORDER); 81 AssertReturn(cbEntry > 0, VERR_INVALID_PARAMETER); 82 AssertReturn(cNew > cCurrent, VERR_INVALID_PARAMETER); 83 AssertReturn(cNew < _1M, VERR_OUT_OF_RANGE); 92 AssertReturn(pvOld == NULL, VERR_INVALID_PARAMETER); 93 AssertReturn(cNew != 0, VERR_INVALID_PARAMETER); 129 AssertReturn(pAllocation->pAllocator != NULL, VERR_WRONG_ORDER); 140 AssertReturn(pAllocation->pAllocator != NULL, VERR_WRONG_ORDER); 178 AssertReturn(pAllocator != NULL, VERR_WRONG_ORDER); 179 AssertReturn(c [all...] |
/vbox/src/VBox/Main/src-server/linux/ |
H A D | USBProxyServiceLinux.cpp | 224 AssertReturn(aDevice, VERR_GENERAL_FAILURE); 225 AssertReturn(!aDevice->isWriteLockOnCurrentThread(), VERR_GENERAL_FAILURE); 243 AssertReturn(aDevice, VERR_GENERAL_FAILURE); 244 AssertReturn(!aDevice->isWriteLockOnCurrentThread(), VERR_GENERAL_FAILURE); 263 AssertReturn(aDevice, false); 264 AssertReturn(!aDevice->isWriteLockOnCurrentThread(), false); 367 AssertReturn(!isWriteLockOnCurrentThread(), VERR_GENERAL_FAILURE);
|