Searched refs:cbOut (Results 1 - 25 of 32) sorted by relevance

12

/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/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/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/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/HostDrivers/Support/
H A DSUPLib.cpp276 CookieReq.Hdr.cbOut = SUP_IOCTL_COOKIE_SIZE_OUT;
304 pFuncsReq->Hdr.cbOut = SUP_IOCTL_QUERY_FUNCS_SIZE_OUT(CookieReq.u.Out.cFunctions);
321 GipMapReq.Hdr.cbOut = SUP_IOCTL_GIP_MAP_SIZE_OUT;
590 Req.Hdr.cbOut = SUP_IOCTL_GET_PAGING_MODE_SIZE_OUT;
653 Req.Hdr.cbOut = SUP_IOCTL_CALL_VMMR0_SIZE_OUT(0);
674 pReq->Hdr.cbOut = SUP_IOCTL_CALL_VMMR0_SIZE_OUT(cbReq);
697 pReq->Hdr.cbOut = SUP_IOCTL_CALL_VMMR0_BIG_SIZE_OUT(cbReq);
740 Req.Hdr.cbOut = SUP_IOCTL_SET_VM_FOR_FAST_SIZE_OUT;
768 Req.Hdr.cbOut = SUP_IOCTL_CALL_SERVICE_SIZE_OUT(0);
789 pReq->Hdr.cbOut
[all...]
H A DSUPLibSem.cpp59 Req.Hdr.cbOut = SUP_IOCTL_SEM_OP2_SIZE_OUT;
93 pReq->Hdr.cbOut = SUP_IOCTL_SEM_OP3_SIZE_OUT;
H A DSUPDrv.cpp1442 if (RT_UNLIKELY(pReqHdr->cbIn != (cbInExpect) || pReqHdr->cbOut != (cbOutExpect))) \
1444 OSDBGPRINT(( #Name ": Invalid input/output sizes. cbIn=%ld expected %ld. cbOut=%ld expected %ld.\n", \
1445 (long)pReqHdr->cbIn, (long)(cbInExpect), (long)pReqHdr->cbOut, (long)(cbOutExpect))); \
1464 if (RT_UNLIKELY(pReqHdr->cbOut != (cbOutExpect))) \
1466 OSDBGPRINT(( #Name ": Invalid input/output sizes. cbOut=%ld expected %ld.\n", \
1467 (long)pReqHdr->cbOut, (long)(cbOutExpect))); \
1584 pReq->Hdr.cbOut = sizeof(pReq->Hdr);
1608 pReq->Hdr.cbOut = sizeof(pReq->Hdr);
1752 pReq->Hdr.rc, pReq->u.In.uOperation, pReq->Hdr.cbOut, pReq->u.In.u64Arg, RTProcSelf(), RTThreadNativeSelf()));
1755 pReq->Hdr.rc, pReq->u.In.uOperation, pReq->Hdr.cbOut, pRe
[all...]
H A DSUPLibLdr.cpp383 OpenReq.Hdr.cbOut = SUP_IOCTL_LDR_OPEN_SIZE_OUT;
471 pLoadReq->Hdr.cbOut = SUP_IOCTL_LDR_LOAD_SIZE_OUT;
585 Req.Hdr.cbOut = SUP_IOCTL_LDR_FREE_SIZE_OUT;
617 Req.Hdr.cbOut = SUP_IOCTL_LDR_GET_SYMBOL_SIZE_OUT;
H A DSUPLibTracerA.asm49 .cbOut resd 1
82 mov dword [xSP + SUPTRACERUMODFIREPROBE.Hdr + SUPREQHDR.cbOut], SUPREQHDR_size
/vbox/src/bldprogs/
H A Dbiossums.c118 size_t cbIn, cbOut; local
220 cbOut = fwrite(abBios, 1, cbIn, pOut);
/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/HostDrivers/Support/solaris/
H A DSUPDrv-solaris.c785 cbBuf = RT_MAX(StackBuf.Hdr.cbIn, StackBuf.Hdr.cbOut);
787 || StackBuf.Hdr.cbOut < sizeof(StackBuf.Hdr)
790 LogRel(("VBoxDrvSolarisIOCtlSlow: max(%#x,%#x); iCmd=%#x\n", StackBuf.Hdr.cbIn, StackBuf.Hdr.cbOut, iCmd));
827 uint32_t cbOut = pHdr->cbOut;
828 if (RT_UNLIKELY(cbOut > cbBuf))
830 LogRel(("VBoxDrvSolarisIOCtlSlow: too much output! %#x > %#x; iCmd=%#x!\n", cbOut, cbBuf, iCmd));
831 cbOut = cbBuf;
833 rc = ddi_copyout(pHdr, (void *)iArg, cbOut, Mode);
/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/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...]
H A DSUPLib-win.cpp656 Assert(cbReq == RT_MAX(pHdr->cbIn, pHdr->cbOut));
664 pvReq /*pvOutput*/, pHdr->cbOut /* cbOutput */);
674 DWORD cbReturned = (ULONG)pHdr->cbOut;
/vbox/src/VBox/HostDrivers/Support/os2/
H A DSUPDrv-os2.cpp317 uint32_t cbReq = RT_MAX(pHdr->cbIn, pHdr->cbOut);
319 && pHdr->cbOut >= sizeof(*pHdr)
341 OSDBGPRINT(("VBoxDrvIOCtl: max(%#x,%#x); iCmd=%#x\n", pHdr->cbIn, pHdr->cbOut, iFunction));
/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);
/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/Main/src-client/
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/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/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/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/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);

Completed in 257 milliseconds

12