Searched refs:cbMsg (Results 1 - 15 of 15) sorted by relevance

/vbox/src/VBox/Runtime/common/err/
H A Derrinfo-alloc.cpp40 RTDECL(PRTERRINFO) RTErrInfoAlloc(size_t cbMsg) argument
43 RTErrInfoAllocEx(cbMsg, &pErrInfo);
48 RTDECL(int) RTErrInfoAllocEx(size_t cbMsg, PRTERRINFO *ppErrInfo) argument
50 if (cbMsg == 0)
51 cbMsg = _4K;
53 cbMsg = RT_ALIGN_Z(cbMsg, 256);
56 *ppErrInfo = pErrInfo = (PRTERRINFO)RTMemTmpAlloc(sizeof(*pErrInfo) + cbMsg);
60 RTErrInfoInit(pErrInfo, (char *)(pErrInfo + 1), cbMsg);
H A Derrinfo.cpp45 RTStrCopy(pErrInfo->pszMsg, pErrInfo->cbMsg, pszMsg);
70 RTStrPrintfV(pErrInfo->pszMsg, pErrInfo->cbMsg, pszFormat, va);
84 RTStrCat(pErrInfo->pszMsg, pErrInfo->cbMsg, pszMsg);
114 char *pszOut = (char *)memchr(pErrInfo->pszMsg, '\0', pErrInfo->cbMsg - 2);
116 RTStrPrintfV(pszOut, &pErrInfo->pszMsg[pErrInfo->cbMsg] - pszOut, pszFormat, va);
/vbox/src/VBox/Runtime/common/crypto/
H A Diprt-openssl.cpp60 if (cchAlready + 1 < pErrInfo->cbMsg)
61 RTStrCopyEx(pErrInfo->pszMsg + cchAlready, pErrInfo->cbMsg - cchAlready, pach, cch);
/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/
H A Dserver_stream.c421 uint32_t cbMsg; member in struct:CR_SERVER_PENDING_MSG
425 static int crServerPendMsg(CRConnection *conn, const CRMessage *msg, int cbMsg) argument
429 if (!cbMsg)
431 WARN(("cbMsg is null!"));
435 pMsg = (CR_SERVER_PENDING_MSG*)RTMemAlloc(cbMsg + RT_OFFSETOF(CR_SERVER_PENDING_MSG, Msg));
442 pMsg->cbMsg = cbMsg;
444 memcpy(&pMsg->Msg, msg, cbMsg);
478 CRASSERT(pIter->cbMsg);
480 rc = SSMR3PutU32(pSSM, pIter->cbMsg);
588 crServerDispatchMessage(CRConnection *conn, CRMessage *msg, int cbMsg) argument
[all...]
/vbox/src/VBox/ValidationKit/testdriver/
H A Dtxsclient.py245 cbMsg = 16 + len(abPayload);
247 abMsg.extend(u32ToByteArray(cbMsg));
297 cbMsg = getU32(abHdr, 0);
301 if cbMsg < 16:
302 reporter.fatal('recvMsg: message length is out of range: %s (min 16 bytes)' % (cbMsg));
304 if cbMsg > 1024*1024:
305 reporter.fatal('recvMsg: message length is out of range: %s (max 1MB)' % (cbMsg));
313 if cbMsg > 16:
314 if cbMsg % 16:
315 cbPadding = 16 - (cbMsg
[all...]
/vbox/src/VBox/Additions/WINNT/Installer/InstallHelper/
H A DVBoxGuestInstallHelper.cpp457 uint32_t cbMsg = sizeof(VBOXTRAYIPCMSG_SHOWBALLOONMSG) local
460 Assert(cbMsg);
462 (PVBOXTRAYIPCMSG_SHOWBALLOONMSG)RTMemAlloc(cbMsg);
482 VBOXTRAYIPCMSGTYPE_SHOWBALLOONMSG, cbMsg };
486 rc = RTLocalIpcSessionWrite(hSession, pIpcMsg, cbMsg);
/vbox/src/VBox/Additions/solaris/Mouse/testcase/
H A DtstVBoxMouse-solaris.c61 int miocpullup(mblk_t *pMBlk, size_t cbMsg) argument
68 || pMBlk->b_cont->b_wptr < pMBlk->b_cont->b_rptr + cbMsg)
H A Dsolaris.h397 extern int miocpullup(mblk_t *pMBlk, size_t cbMsg);
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPLib-win.cpp239 if (pErrInfo && pErrInfo->cbMsg > 32)
245 cchPrefix = RTStrPrintf(pErrInfo->pszMsg, pErrInfo->cbMsg / 2, "Integrity error (%#x/%s): ", rcNt, pszDefine);
247 cchPrefix = RTStrPrintf(pErrInfo->pszMsg, pErrInfo->cbMsg / 2, "Integrity error (%#x/%d): ", rcNt, rc);
250 supR3HardenedWinReadErrorInfoDevice(pErrInfo->pszMsg + cchPrefix, pErrInfo->cbMsg - cchPrefix, "");
/vbox/src/VBox/HostDrivers/VBoxNetFlt/solaris/
H A DVBoxNetFlt-solaris.c1497 size_t cbMsg = pParams->fPromiscOn ? 1 : 2; local
1498 mblk_t *pMsg = allocb(cbMsg, BPRI_HI);
1501 LogRel((DEVICE_NAME ":Failed to alloc message of %u bytes\n", cbMsg));
1509 pMsg->b_wptr += cbMsg;
1724 size_t cbMsg = MBLKL(pAttachMsg); local
1725 if (cbMsg >= sizeof(t_uscalar_t))
1731 && cbMsg == DL_OK_ACK_SIZE)
1736 && cbMsg == DL_ERROR_ACK_SIZE)
1750 LogRel((DEVICE_NAME ":vboxNetFltSolarisAttachReq ldi_getmsg succeeded, but invalid size %d expected %d\n", cbMsg,
2983 size_t cbMsg
3125 size_t cbMsg = MBLKL(pMsg); local
3160 size_t cbMsg = MBLKL(pMsg); local
3285 size_t cbMsg = MBLKL(pMsg); local
3394 size_t cbMsg = msgdsize(pMsg); local
[all...]
/vbox/include/iprt/
H A Derr.h420 * @param cbMsg The size of the message buffer.
422 DECLINLINE(PRTERRINFO) RTErrInfoInit(PRTERRINFO pErrInfo, char *pszMsg, size_t cbMsg) argument
429 pErrInfo->cbMsg = cbMsg;
454 * @param cbMsg The minimum message buffer size. Use 0 to get
457 RTDECL(PRTERRINFO) RTErrInfoAlloc(size_t cbMsg); variable
464 * @param cbMsg The minimum message buffer size. Use 0 to get
470 RTDECL(int) RTErrInfoAllocEx(size_t cbMsg, PRTERRINFO *ppErrInfo);
H A Dtypes.h2070 size_t cbMsg; member in struct:RTERRINFO
/vbox/src/VBox/Runtime/common/asn1/
H A Dasn1-cursor.cpp141 size_t cbBuf = pErrInfo->cbMsg;
/vbox/src/VBox/HostDrivers/VBoxUSB/solaris/
H A DVBoxUSB-solaris.c1887 size_t cbMsg = MBLKL(pMsg); local
1888 if (cbMsg > 0)
1890 rc = ddi_copyout(pMsg->b_rptr, (void *)pvDataR3, cbMsg, Mode);
1900 pvDataR3 += cbMsg;
/vbox/src/VBox/HostDrivers/Support/
H A DSUPR3HardenedVerify.cpp987 size_t cbErr = pErrInfo->cbMsg;

Completed in 143 milliseconds