/vbox/include/iprt/ |
H A D | base64.h | 85 * @param cbData The size of the output buffer that pvData points to. 94 RTDECL(int) RTBase64Decode(const char *pszString, void *pvData, size_t cbData, size_t *pcbActual, char **ppszEnd); 111 * @param cbData The size of the output buffer that pvData points to. 120 RTDECL(int) RTBase64DecodeEx(const char *pszString, size_t cchStringMax, void *pvData, size_t cbData, 132 * @param cbData The number of bytes to encode. 134 RTDECL(size_t) RTBase64EncodedLength(size_t cbData); variable 149 * @param cbData The number of bytes to encode. 154 RTDECL(int) RTBase64Encode(const void *pvData, size_t cbData, char *pszBuf, size_t cbBuf, size_t *pcchActual);
|
/vbox/src/VBox/Runtime/common/crypto/ |
H A D | pkix-verify.cpp | 45 PCRTASN1BITSTRING pSignatureValue, const void *pvData, size_t cbData, 68 AssertReturn(cbData > 0, VERR_INVALID_PARAMETER); 91 rcIprt = RTCrDigestUpdate(hDigest, pvData, cbData); 142 EVP_VerifyUpdate(&EvpMdCtx, pvData, cbData); 44 RTCrPkixPubKeyVerifySignature(PCRTASN1OBJID pAlgorithm, PCRTASN1DYNTYPE pParameters, PCRTASN1BITSTRING pPublicKey, PCRTASN1BITSTRING pSignatureValue, const void *pvData, size_t cbData, PRTERRINFO pErrInfo) argument
|
/vbox/src/VBox/Additions/common/VBoxGuest/ |
H A D | VBoxGuestIDC-unix.c.h | 35 DECLEXPORT(int) VBOXCALL VBoxGuestIDCCall(void *pvSession, unsigned iCmd, void *pvData, size_t cbData, size_t *pcbDataReturned); 134 * @param cbData Size of the data buffer. 137 DECLEXPORT(int) VBOXCALL VBoxGuestIDCCall(void *pvSession, unsigned iCmd, void *pvData, size_t cbData, size_t *pcbDataReturned) argument 140 LogFlow(("VBoxGuestIDCCall: %pvSession=%p Cmd=%u pvData=%p cbData=%d\n", pvSession, iCmd, pvData, cbData)); 146 return VbgdCommonIoCtl(iCmd, &g_DevExt, pSession, pvData, cbData, pcbDataReturned);
|
/vbox/include/VBox/HostServices/ |
H A D | VBoxClipboardExt.h | 37 typedef DECLCALLBACK(int) VRDPCLIPBOARDEXTCALLBACK (uint32_t u32Function, uint32_t u32Format, void *pvData, uint32_t cbData); 48 uint32_t cbData; member in struct:_VBOXCLIPBOARDEXTPARMS
|
/vbox/include/VBox/RemoteDesktop/ |
H A D | VRDETSMF.h | 79 * @param cbData Size of data. 86 uint32_t cbData)); 138 uint32_t cbData; /* How many bytes available. */ member in struct:VRDETSMFNOTIFYDATA
|
H A D | VRDEImage.h | 61 uint32_t cbData; /* Size of pixel buffer. */ member in struct:VRDEIMAGEBITMAP 231 * @param cbData The size of buffer pointed by pvData. 240 uint32_t cbData));
|
/vbox/include/iprt/crypto/ |
H A D | pem.h | 91 size_t cbData; member in struct:RTCRPEMSECTION
|
/vbox/src/VBox/Main/src-all/ |
H A D | DisplayUtils.cpp | 38 uint32_t cbData = 0; local 72 cbData = cbBlock - 2 * sizeof(uint32_t); 73 pu8Data = (uint8_t *)RTMemAlloc(cbData); 84 vrc = SSMR3GetMem(pSSM, pu8Data, cbData); 119 if (u32Type == 0 && cbData % 4 != 0) 129 *pcbData = cbData; 132 LogFlowFunc(("cbData %d, u32Width %d, u32Height %d\n", cbData, u32Width, u32Height));
|
/vbox/src/VBox/HostDrivers/VBoxUSB/solaris/ |
H A D | USBLib-solaris.cpp | 65 static int usblibDoIOCtl(unsigned iFunction, void *pvData, size_t cbData); 232 static int usblibDoIOCtl(unsigned iFunction, void *pvData, size_t cbData) argument 242 Hdr.cbData = cbData; /* Don't include full size because the header size is fixed. */
|
/vbox/src/VBox/Additions/os2/VBoxSF/ |
H A D | VBoxSFFind.cpp | 44 PFSFSI pfsfsi, PVBOXSFFS pfsfsd, PBYTE pbData, USHORT cbData, PUSHORT pcMatch, 52 FS32_FINDFROMNAME(PFSFSI pfsfsi, PVBOXSFFS pfsfsd, PBYTE pbData, USHORT cbData, PUSHORT pcMatch, argument 60 FS32_FINDNEXT(PFSFSI pfsfsi, PVBOXSFFS pfsfsd, PBYTE pbData, USHORT cbData, PUSHORT pcMatch, argument 79 PUSHORT pHandle, PBYTE pbData, USHORT cbData, PUSHORT pcMatch, 87 FS32_FINDNOTIFYNEXT(USHORT handle, PBYTE pbData, USHORT cbData, PUSHORT pcMatch, argument 43 FS32_FINDFIRST(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd, USHORT attr, PFSFSI pfsfsi, PVBOXSFFS pfsfsd, PBYTE pbData, USHORT cbData, PUSHORT pcMatch, USHORT level, USHORT flags) argument 78 FS32_FINDNOTIFYFIRST(PCDFSI pcdfsi, PVBOXSFCD pcdfsd, PCSZ pszName, USHORT iCurDirEnd, USHORT attr, PUSHORT pHandle, PBYTE pbData, USHORT cbData, PUSHORT pcMatch, USHORT level, USHORT flags) argument
|
/vbox/src/VBox/Additions/solaris/Mouse/testcase/ |
H A D | tstVBoxMouse-solaris.c | 37 void miocack(queue_t *pWriteQueue, mblk_t *pMBlk, int cbData, int rc) argument 42 pIOCBlk->ioc_count = cbData; 48 void miocnak(queue_t *pWriteQueue, mblk_t *pMBlk, int cbData, int iErr) argument 53 pIOCBlk->ioc_count = cbData; 74 void mcopyin(mblk_t *pMBlk, void *pvState, size_t cbData, void *pvUser) argument 86 pCopyReq->cq_size = cbData; 95 void mcopyout(mblk_t *pMBlk, void *pvState, size_t cbData, void *pvUser, argument 108 pCopyReq->cq_size = cbData; 115 pMBlkData->b_wptr = pMBlkData->b_rptr + cbData;
|
/vbox/src/VBox/Additions/common/VBoxGuestLib/ |
H A D | HGCM.cpp | 179 DECLVBGL(int) VbglHGCMCall (VBGLHGCMHANDLE handle, VBoxGuestHGCMCallInfo *pData, uint32_t cbData) argument 183 VBGL_HGCM_ASSERTMsg(cbData >= sizeof (VBoxGuestHGCMCallInfo) + pData->cParms * sizeof (HGCMFunctionParameter), 184 ("cbData = %d, cParms = %d (calculated size %d)\n", cbData, pData->cParms, sizeof (VBoxGuestHGCMCallInfo) + pData->cParms * sizeof (VBoxGuestHGCMCallInfo))); 186 rc = vbglDriverIOCtl (&handle->driver, VBOXGUEST_IOCTL_HGCM_CALL(cbData), pData, cbData); 191 DECLVBGL(int) VbglHGCMCallUserData (VBGLHGCMHANDLE handle, VBoxGuestHGCMCallInfo *pData, uint32_t cbData) argument 195 VBGL_HGCM_ASSERTMsg(cbData >= sizeof (VBoxGuestHGCMCallInfo) + pData->cParms * sizeof (HGCMFunctionParameter), 196 ("cbData = %d, cParms = %d (calculated size %d)\n", cbData, pDat 204 VbglHGCMCallTimed(VBGLHGCMHANDLE handle, VBoxGuestHGCMCallInfoTimed *pData, uint32_t cbData) argument [all...] |
H A D | SysHlp.cpp | 247 int vbglDriverIOCtl (VBGLDRIVER *pDriver, uint32_t u32Function, void *pvData, uint32_t cbData) argument 249 Log(("vbglDriverIOCtl: pDriver: %p, Func: %x, pvData: %p, cbData: %d\n", pDriver, u32Function, pvData, cbData)); 280 nextStack->Parameters.DeviceIoControl.OutputBufferLength = cbData; 281 nextStack->Parameters.DeviceIoControl.InputBufferLength = cbData; 323 return g_VBoxGuestIDC.pfnServiceEP(pDriver->u32Session, u32Function, pvData, cbData, NULL); 329 return VBoxGuestIDCCall(pDriver->pvOpaque, u32Function, pvData, cbData, NULL);
|
H A D | VBoxGuestR3Lib.cpp | 362 * @param cbData The size of the buffer. 368 int vbglR3DoIOCtl(unsigned iFunction, void *pvData, size_t cbData) argument 372 if (!DeviceIoControl(g_hFile, iFunction, pvData, (DWORD)cbData, pvData, (DWORD)cbData, &cbReturned, NULL)) 386 ULONG cbOS2Parm = cbData; 390 pvData, cbData, &cbOS2Parm, 400 Hdr.cbData = cbData; 413 NOREF(cbData); 427 int rc = ioctl((int)g_File, iFunction, pvData, cbData); [all...] |
H A D | VBoxGuestR3LibHostChannel.cpp | 129 uint32_t cbData) 139 VbglHGCMParmPtrSet(&parms.data, pvData, cbData); 154 uint32_t cbData, 166 VbglHGCMParmPtrSet(&parms.data, pvData, cbData); 192 uint32_t cbData, 205 VbglHGCMParmPtrSet(&parms.data, pvData, cbData); 285 uint32_t cbData, 308 VbglHGCMParmPtrSet(&parms.data, pvData, cbData); 126 VbglR3HostChannelSend(uint32_t u32ChannelHandle, uint32_t u32HGCMClientId, void *pvData, uint32_t cbData) argument 151 VbglR3HostChannelRecv(uint32_t u32ChannelHandle, uint32_t u32HGCMClientId, void *pvData, uint32_t cbData, uint32_t *pu32SizeReceived, uint32_t *pu32SizeRemaining) argument 186 VbglR3HostChannelControl(uint32_t u32ChannelHandle, uint32_t u32HGCMClientId, uint32_t u32Code, void *pvParm, uint32_t cbParm, void *pvData, uint32_t cbData, uint32_t *pu32SizeDataReturned) argument 279 VbglR3HostChannelQuery(const char *pszName, uint32_t u32HGCMClientId, uint32_t u32Code, void *pvParm, uint32_t cbParm, void *pvData, uint32_t cbData, uint32_t *pu32SizeDataReturned) argument
|
/vbox/src/VBox/Additions/common/crOpenGL/pack/ |
H A D | packspu_glsl.c | 182 void PACKSPU_APIENTRY packspu_GetUniformsLocations(GLuint program, GLsizei maxcbData, GLsizei * cbData, GLvoid * pData) argument 186 (void) cbData; 191 void PACKSPU_APIENTRY packspu_GetAttribsLocations(GLuint program, GLsizei maxcbData, GLsizei * cbData, GLvoid * pData) argument 195 (void) cbData;
|
/vbox/src/VBox/Runtime/r3/darwin/ |
H A D | RTSystemQueryDmiString-darwin.cpp | 105 size_t cbData = CFDataGetLength(DataRef); local 107 rc = RTStrCopyEx(pszBuf, cbBuf, pchData, cbData);
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTBase64.cpp | 55 static void tstBase64(const void *pvData, size_t cbData, argument 65 int rc = RTBase64Decode(pszEnc, szOut, cbData, &cchOut, NULL); 68 else if (cchOut != cbData) 70 cchOut, cbData); 81 if (cchOut != cbData) 83 cchOut, cbData); 88 rc = RTBase64Encode(pvData, cbData, szOut, cchEnc + 1, &cchOut); 98 size_t cchOut2 = RTBase64EncodedLength(cbData);
|
/vbox/src/VBox/Devices/Misc/ |
H A D | VirtualKD.cpp | 45 unsigned cbData; member in struct:VKDREQUESTHDR 52 unsigned cbData; member in struct:VKDREPLYHDR 106 if (!RT_SUCCESS(rc) || !RequestHeader.cbData) 108 rc = PDMDevHlpPhysRead(pDevIns, (RTGCPHYS)(u32 + sizeof(RequestHeader)), pThis->abCmdBody, RequestHeader.cbData); 115 RequestHeader.cbData, 122 ReplyHeader.cbData = cbReply + 2;
|
/vbox/src/VBox/Main/testcase/ |
H A D | tstGuestCtrlParseBuffer.cpp | 51 size_t cbData; member in struct:__anon16529 103 size_t cbData; member in struct:__anon16530 125 size_t cbData; member in struct:__anon16531 142 rc = stream.AddData((BYTE*)aTest[iTest].pbData, aTest[iTest].cbData); 200 int iResult = stream.AddData((BYTE*)aTestBlock[iTest].pbData, aTestBlock[iTest].cbData); 233 size_t uToWrite = aTestBlock[iTest].cbData - uOffset; 255 int iResult = stream.AddData((BYTE*)aTestStream[iTest].pbData, aTestStream[iTest].cbData);
|
/vbox/src/VBox/Devices/USB/vrdp/ |
H A D | USBProxyDevice-vrdp.cpp | 203 int rc = pDevVrdp->pCallback->pfnQueueURB (pDevVrdp->pDevice, pUrb->enmType, pUrb->EndPt, pUrb->enmDir, pUrb->cbData, 222 uint32_t cbData = 0; local 225 int rc = pDevVrdp->pCallback->pfnReapURB (pDevVrdp->pDevice, cMillies, (void **)&pUrb, &cbData, &u32Err); 232 pUrb->cbData = cbData;
|
/vbox/src/VBox/Frontends/VBoxBalloonCtrl/ |
H A D | VBoxWatchdogInternal.h | 66 size_t cbData; member in struct:VBOXWATCHDOG_MODULE_PAYLOAD
|
/vbox/src/VBox/Storage/testcase/ |
H A D | VDIoBackendMem.cpp | 150 size_t cbData; local 162 RTCircBufAcquireWriteBlock(pIoBackend->pRequestRing, sizeof(PVDIOBACKENDREQ), (void **)&ppReq, &cbData); 169 Assert(cbData == sizeof(PVDIOBACKENDREQ)); 211 size_t cbData; local 219 RTCircBufAcquireReadBlock(pIoBackend->pRequestRing, sizeof(PVDIOBACKENDREQ), (void **)&ppReq, &cbData); 220 Assert(!ppReq || cbData == sizeof(PVDIOBACKENDREQ)); 221 RTCircBufReleaseReadBlock(pIoBackend->pRequestRing, cbData);
|
/vbox/src/VBox/NetworkServices/NetLib/ |
H A D | VBoxNetUDP.cpp | 185 void const *pvData, size_t cbData) 205 IpHdr.ip_len = RT_H2BE_U16((uint16_t)(cbData + sizeof(RTNETUDP) + cbIdHdr)); 224 UdpHdr.uh_ulen = RT_H2BE_U16((uint16_t)(cbData + sizeof(RTNETUDP))); 237 aSegs[3].cb = (uint32_t)cbData; 260 * @param cbData The size of the data payload. 265 void const *pvData, size_t cbData) 270 pvData, cbData); 286 * @param cbData The size of the data payload. 291 void const *pvData, size_t cbData) 301 pvData, cbData); 182 vboxnetudpSend(PSUPDRVSESSION pSession, INTNETIFHANDLE hIf, PINTNETBUF pBuf, RTNETADDRIPV4 SrcIPv4Addr, PCRTMAC pSrcMacAddr, unsigned uSrcPort, RTNETADDRIPV4 DstIPv4Addr, PCRTMAC pDstMacAddr, unsigned uDstPort, void const *pvData, size_t cbData) argument 262 VBoxNetUDPUnicast(PSUPDRVSESSION pSession, INTNETIFHANDLE hIf, PINTNETBUF pBuf, RTNETADDRIPV4 SrcIPv4Addr, PCRTMAC pSrcMacAddr, unsigned uSrcPort, RTNETADDRIPV4 DstIPv4Addr, PCRTMAC pDstMacAddr, unsigned uDstPort, void const *pvData, size_t cbData) argument 288 VBoxNetUDPBroadcast(PSUPDRVSESSION pSession, INTNETIFHANDLE hIf, PINTNETBUF pBuf, RTNETADDRIPV4 SrcIPv4Addr, PCRTMAC pSrcMacAddr, unsigned uSrcPort, unsigned uDstPort, void const *pvData, size_t cbData) argument [all...] |
/vbox/src/VBox/Additions/darwin/VBoxClient/ |
H A D | VBoxClientClipboardGuestToHost.cpp | 118 * *ppvData pointes to. (Usually greater than *cbData 129 uint32_t cbData = 0; local 154 cbData = CFDataGetLength(flavorData); 155 if (flavorDataPtr && cbData > 0) 157 cbAlloc = RT_ALIGN_32(cbData, PAGE_SIZE); 160 memcpy(pvData, flavorDataPtr, cbData); 175 *pcbData = cbData; 198 static int vbclClipboardHostPasteData(uint32_t u32ClientId, uint32_t u32Format, const void *pvData, uint32_t cbData) argument 201 if (cbData == 0) 205 return VbglR3ClipboardWriteData(u32ClientId, u32Format, (void *)pvData, cbData); /** 216 vbclClipboardHostPasteText(uint32_t u32ClientId, PRTUTF16 pwszData, uint32_t cbData) argument 246 vbclClipboardHostPasteBitmap(uint32_t u32ClientId, void *pvData, uint32_t cbData) argument 273 uint32_t cbData = 0; local [all...] |