Lines Matching refs:cbBufferSize
330 static CRVBOXSVCBUFFER_t* svcGetBuffer(uint32_t iBuffer, uint32_t cbBufferSize)
341 if (cbBufferSize && pBuffer->uiSize!=cbBufferSize)
349 iBuffer, pBuffer->uiSize, cbBufferSize));
364 pBuffer->pData = RTMemAlloc(cbBufferSize);
367 LogRel(("SHARED_CROPENGL svcGetBuffer: not enough memory (%d)\n", cbBufferSize));
377 pBuffer->uiSize = cbBufferSize;
673 || paParms[1].type != VBOX_HGCM_SVC_PARM_32BIT /*cbBufferSize*/
684 uint32_t cbBufferSize = paParms[1].u.uint32;
690 CRVBOXSVCBUFFER_t *pSvcBuffer = svcGetBuffer(iBuffer, cbBufferSize);
691 if (!pSvcBuffer || ((uint64_t)ui32Offset+cbBuffer)>cbBufferSize)