Searched defs:cbOut (Results 1 - 21 of 21) sorted by relevance

/vbox/src/VBox/HostDrivers/VBoxUSB/darwin/
H A DUSBLib-darwin.cpp143 IOByteCount cbOut = sizeof(Out); local
147 &cbOut,
151 size_t cbOut = sizeof(Out); local
155 &Out, &cbOut);
160 Assert(cbOut == sizeof(Out));
174 IOByteCount cbOut = sizeof(rc); local
178 &cbOut,
182 size_t cbOut = sizeof(rc); local
186 &rc, &cbOut);
/vbox/src/bldprogs/
H A Dbiossums.c118 size_t cbIn, cbOut; local
220 cbOut = fwrite(abBios, 1, cbIn, pOut);
/vbox/src/VBox/Devices/EFI/
H A DVBoxSmcUtil-darwin.cpp157 size_t cbOut = sizeof(*pOut); local
158 IOReturn rcIo = IOConnectCallStructMethod(g_hSmcConnect, kSMCHandleYPCEvent, pIn, sizeof(*pIn), pOut, &cbOut);
H A DDevEFI.cpp2031 uint32_t const cbOut = (uint32_t)RTStrNLen(pszDeviceProps, RTSTR_MAX) / 2 + 1; local
2032 pThis->pbDeviceProps = (uint8_t *)PDMDevHlpMMHeapAlloc(pThis->pDevIns, cbOut);
2050 Assert(iHex < cbOut);
/vbox/src/VBox/HostDrivers/Support/freebsd/
H A DSUPDrv-freebsd.c358 if (RT_UNLIKELY( RT_MAX(pHdr->cbIn, pHdr->cbOut) != cbReq
360 || pHdr->cbOut < sizeof(*pHdr)))
362 OSDBGPRINT(("VBoxDrvFreeBSDIOCtlSlow: max(%#x,%#x) != %#x; ulCmd=%#lx\n", pHdr->cbIn, pHdr->cbOut, cbReq, ulCmd));
387 cbReq = RT_MAX(Hdr.cbIn, Hdr.cbOut);
389 || Hdr.cbOut < sizeof(Hdr)
392 OSDBGPRINT(("VBoxDrvFreeBSDIOCtlSlow: max(%#x,%#x); ulCmd=%#lx\n", Hdr.cbIn, Hdr.cbOut, ulCmd));
433 uint32_t cbOut = pHdr->cbOut; local
434 if (cbOut > cbReq)
436 OSDBGPRINT(("VBoxDrvFreeBSDIOCtlSlow: too much output! %#x > %#x; uCmd=%#lx!\n", cbOut, cbRe
[all...]
/vbox/src/VBox/Additions/common/VBoxGuestLib/
H A DHGCMInternal.cpp817 size_t cbOut = RT_MIN(pSrcParm->u.Pointer.size, pDstParm->u.Pointer.size); local
818 if (cbOut)
826 cbOut);
/vbox/src/VBox/HostDrivers/Support/linux/
H A DSUPDrv-linux.c719 cbBuf = RT_MAX(Hdr.cbIn, Hdr.cbOut);
757 uint32_t cbOut = pHdr->cbOut; local
758 if (RT_UNLIKELY(cbOut > cbBuf))
760 OSDBGPRINT(("VBoxDrvLinuxIOCtl: too much output! %#x > %#x; uCmd=%#x!\n", cbOut, cbBuf, uCmd));
761 cbOut = cbBuf;
763 if (RT_UNLIKELY(copy_to_user((void *)ulArg, pHdr, cbOut)))
766 OSDBGPRINT(("VBoxDrvLinuxIOCtl: copy_to_user(%#lx,,%#x); uCmd=%#x!\n", ulArg, cbOut, uCmd));
/vbox/src/VBox/HostDrivers/VBoxUSB/win/dev/
H A DVBoxUsbRt.cpp357 ULONG cbOut = 0; local
382 cbOut = sizeof (*pDev);
391 cbOut = sizeof (*pDev);
396 VBoxDrvToolIoComplete(pIrp, Status, cbOut);
467 ULONG cbOut = 0; local
480 cbOut = sizeof (*pDev);
489 VBoxDrvToolIoComplete(pIrp, Status, cbOut);
/vbox/src/VBox/Additions/WINNT/SharedFolders/driver/
H A Dvbsf.c654 ULONG cbOut = LowIoContext->ParamsFor.IoCtl.OutputBufferLength; local
665 if (cbOut >= _MRX_MAX_DRIVE_LETTERS && pu8Out)
684 Log(("VBOXSF: MRxDevFcbXXXControlFile: IOCTL_MRX_VBOX_GETLIST: cbOut is too small %d bytes\n",
685 cbOut));
698 ULONG cbOut = LowIoContext->ParamsFor.IoCtl.OutputBufferLength; local
708 if (cbOut >= _MRX_MAX_DRIVE_LETTERS && pu8Out)
721 for (i = 0; i < RT_MIN(cMappings, cbOut); i++)
/vbox/src/VBox/Additions/WINNT/SharedFolders/np/
H A Dvboxmrxnp.cpp60 ULONG cbOut = 0; local
64 pOutputDataLen = &cbOut;
360 ULONG cbOut = sizeof(RemoteName) - sizeof(WCHAR); /* Trailing NULL. */ local
366 &cbOut);
369 && cbOut > 0)
371 RemoteName[cbOut / sizeof(WCHAR)] = L'\0';
468 ULONG cbOut = 0; local
479 cbOut = sizeof(RemoteName) - sizeof(WCHAR);
480 RemoteName[cbOut / sizeof(WCHAR)] = 0;
490 &cbOut);
761 ULONG cbOut; local
[all...]
/vbox/src/VBox/HostDrivers/Support/darwin/
H A DSUPDrv-darwin.cpp667 if (RT_UNLIKELY( RT_MAX(pHdr->cbIn, pHdr->cbOut) != cbReq
669 || pHdr->cbOut < sizeof(*pHdr)))
671 OSDBGPRINT(("VBoxDrvDarwinIOCtlSlow: max(%#x,%#x) != %#x; iCmd=%#lx\n", pHdr->cbIn, pHdr->cbOut, cbReq, iCmd));
693 cbReq = RT_MAX(Hdr.cbIn, Hdr.cbOut);
695 || Hdr.cbOut < sizeof(Hdr)
698 OSDBGPRINT(("VBoxDrvDarwinIOCtlSlow: max(%#x,%#x); iCmd=%#lx\n", Hdr.cbIn, Hdr.cbOut, iCmd));
744 uint32_t cbOut = pHdr->cbOut; local
745 if (cbOut > cbReq)
747 OSDBGPRINT(("VBoxDrvDarwinIOCtlSlow: too much output! %#x > %#x; uCmd=%#lx!\n", cbOut, cbRe
[all...]
/vbox/src/VBox/ExtPacks/VNC/
H A DVBoxVNC.cpp225 uint32_t cbOut = 0; local
230 &cbOut);
291 uint32_t cbOut = 0; local
294 &szAddress, sizeof(szAddress), &cbOut);
295 Assert(cbOut <= sizeof(szAddress));
306 &port, sizeof(port), &cbOut);
307 Assert(cbOut <= sizeof(port));
318 cbOut = featLen;
319 rc = instance->mCallbacks->VRDECallbackProperty(instance->mCallback, VRDE_QP_FEATURE, feature, featLen, &cbOut);
320 Assert(cbOut <
410 uint32_t cbOut = 0; local
1037 uint32_t cbOut = sizeof(uint32_t); local
[all...]
/vbox/src/VBox/Additions/common/VBoxGuest/
H A DVBoxGuest-win.cpp744 size_t cbOut = 0; local
790 cbOut = cbDataReturned;
810 pIrp->IoStatus.Information = cbOut;
814 //LogFlowFunc(("Returned cbOut=%d rc=%#x\n", cbOut, Status));
/vbox/src/VBox/Devices/Audio/
H A DDevSB16.cpp1752 uint32_t cbOut; local
1756 NULL /* pcbIn */, &cbOut, NULL /* pcSamplesLive */);
1758 cbOutMin = RT_MIN(cbOutMin, cbOut);
1858 uint32_t cbIn, cbOut, cSamplesLive; local
1862 &cbIn, &cbOut, &cSamplesLive);
1865 LogFlowFunc(("\tLUN#%RU8: [1] cbIn=%RU32, cbOut=%RU32\n", pDrv->uLUN, cbIn, cbOut));
1878 &cbIn, &cbOut, &cSamplesLive);
1880 LogFlowFunc(("\tLUN#%RU8: [2] cbIn=%RU32, cbOut=%RU32\n", pDrv->uLUN, cbIn, cbOut));
[all...]
H A DDevIchAc97.cpp1328 uint32_t cbIn, cbOut, cSamplesLive; local
1332 &cbIn, &cbOut, &cSamplesLive);
1336 LogFlowFunc(("\tLUN#%RU8: [1] cbIn=%RU32, cbOut=%RU32\n", pDrv->uLUN, cbIn, cbOut));
1350 &cbIn, &cbOut, &cSamplesLive);
1353 LogFlowFunc(("\tLUN#%RU8: [2] cbIn=%RU32, cbOut=%RU32\n", pDrv->uLUN, cbIn, cbOut));
1359 cbOutMin = RT_MIN(cbOutMin, cbOut);
/vbox/src/VBox/Main/webservice/
H A Dvboxweb.cpp1436 ssize_t cbOut = RTBase64DecodedSize(pszStr, NULL); local
1438 if (cbOut > DECODE_STR_MAX)
1444 com::SafeArray<BYTE> result(cbOut);
1445 int rc = RTBase64Decode(pszStr, result.raw(), cbOut, NULL, NULL);
/vbox/src/VBox/Main/src-client/
H A DDisplayImpl.cpp2189 ULONG cbOut = 0; local
2190 rc = takeScreenShotWorker(aScreenId, aAddress, aWidth, aHeight, aBitmapFormat, &cbOut);
2191 NOREF(cbOut);
2217 ULONG cbOut = 0; local
2218 rc = takeScreenShotWorker(aScreenId, &aScreenData.front(), aWidth, aHeight, aBitmapFormat, &cbOut);
2220 cbOut = 0;
2222 aScreenData.resize(cbOut);
H A DConsoleVRDPServer.cpp2091 uint32_t cbOut = (uint32_t)strlen(H3DOR_FMT_RGBA_TOPDOWN) + 1 local
2093 if (cbOut <= cbBuffer)
2107 *pcbOut = cbOut;
3961 uint32_t cbOut = sizeof(int32_t); local
3963 if (cbBuffer >= cbOut)
3965 *pcbOut = cbOut;
4116 uint32_t cbOut = 0; \
4119 (_aIndex, &value, sizeof(value), &cbOut); \
4121 *a##_aName = cbOut? !!value: FALSE; \
4134 uint32_t cbOut
[all...]
/vbox/src/VBox/HostDrivers/Support/
H A DSUPDrvIOC.h153 uint32_t cbOut; member in struct:SUPREQHDR
192 /** The SUPREQHDR::cbOut value. */
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPDrv-win.cpp1067 unsigned cbOut = 0; local
1069 Log2(("VBoxDrvNtFastIoDeviceControl(%p): ioctl=%#x pvIn=%p cbIn=%#x pvOut=%p cbOut=%#x pSession=%p\n",
1105 && cbOutput == Hdr.cbOut
1137 cbOut = pHdr->cbOut;
1138 if (cbOut > cbOutput)
1140 cbOut = cbOutput;
1142 pHdr->cbOut, cbOut, uCmd));
1144 if (cbOut)
1266 unsigned cbOut = 0; local
1361 unsigned cbOut = 0; local
[all...]
/vbox/src/VBox/Main/src-server/
H A DMachineImpl.cpp8570 ssize_t cbOut = RTBase64DecodedSize(pszStr, NULL); local
8571 if (cbOut > DECODE_STR_MAX)
8574 cbOut,
8576 mUserData->mIcon.resize(cbOut);
8578 if (cbOut)
8579 vrc = RTBase64Decode(pszStr, &mUserData->mIcon.front(), cbOut, NULL, NULL);

Completed in 146 milliseconds