| /vbox/src/VBox/Runtime/generic/ |
| H A D | RTFileReadAllEx-generic.cpp | 38 RTDECL(int) RTFileReadAllEx(const char *pszFilename, RTFOFF off, RTFOFF cbMax, uint32_t fFlags, void **ppvFile, size_t *pcbFile) argument 46 rc = RTFileReadAllByHandleEx(File, off, cbMax, fFlags, ppvFile, pcbFile);
|
| H A D | RTFileReadAllByHandleEx-generic.cpp | 40 RTDECL(int) RTFileReadAllByHandleEx(RTFILE File, RTFOFF off, RTFOFF cbMax, uint32_t fFlags, void **ppvFile, size_t *pcbFile) argument 59 if (cbAllocFile > cbMax) 60 cbAllocFile = cbMax;
|
| /vbox/src/VBox/Runtime/testcase/ |
| H A D | tstFile.cpp | 52 RTFOFF cbMax = -2; local 53 rc = RTFileGetMaxSizeEx(File, &cbMax); 59 else if (cbMax <= 0) 61 RTPrintf("tstFile: RTFileGetMaxSizeEx failed: cbMax=%RTfoff\n", cbMax); 64 else if (RTFileGetMaxSize(File) != cbMax) 66 RTPrintf("tstFile: RTFileGetMaxSize failed; returns %RTfoff instead of %RTfoff\n", RTFileGetMaxSize(File), cbMax); 70 RTPrintf("Maximum file size is %RTfoff bytes.\n", cbMax);
|
| H A D | tstLdr-2.cpp | 41 bool MyDisBlock(uint8_t const *pbCodeBlock, int32_t cbMax) argument 45 while (i < cbMax)
|
| H A D | tstRTDigest.cpp | 125 uint64_t cbMax = UINT64_MAX; local 226 cbMax = ValueUnion.u64; 252 if (offStart != 0 || cbMax != UINT64_MAX) 295 uint64_t cbMaxLeft = cbMax; 430 offStart, cbMax - cbMaxLeft, pszDigest, pszDigestType, offStart, cbMax - cbMaxLeft); 433 cbMax - cbMaxLeft, pszDigest, pszDigestType, cbMax - cbMaxLeft);
|
| H A D | tstLdr-3.cpp | 158 static bool MyDisBlock(DISCPUMODE enmCpuMode, RTHCUINTPTR pvCodeBlock, int32_t cbMax, RTUINTPTR off, argument 163 while (i < cbMax)
|
| /vbox/src/bldprogs/ |
| H A D | bin2c.c | 73 size_t cbMax = ~0U; local 101 cbMax = 1024 * strtoul(argv[iArg], NULL, 0); 182 else if (cbBin < cbMin || cbBin > cbMax) 184 argv[0], (long)cbBin, (long)cbMin, (long)cbMax);
|
| H A D | VBoxTpG.cpp | 890 size_t cbMax = strlen(pszProvider) + 1 + strlen(pszProbe) + 1; local 891 if (cbMax > cbBuf || cbMax > 80)
|
| /vbox/src/VBox/Devices/Network/ |
| H A D | Pcap.cpp | 78 static void pcapCalcHeader(struct pcaprec_hdr *pHdr, uint64_t StartNanoTS, size_t cbFrame, size_t cbMax) argument 83 pHdr->incl_len = (uint32_t)RT_MIN(cbFrame, cbMax); 91 static void pcapUpdateHeader(struct pcaprec_hdr *pHdr, size_t cbFrame, size_t cbMax) argument 93 pHdr->incl_len = (uint32_t)RT_MIN(cbFrame, cbMax); 123 * @param cbMax The max number of bytes to include in the file. 125 int PcapStreamFrame(PRTSTREAM pStream, uint64_t StartNanoTS, const void *pvFrame, size_t cbFrame, size_t cbMax) argument 128 pcapCalcHeader(&Hdr, StartNanoTS, cbFrame, cbMax); 203 * @param cbMax The max number of bytes to include in the file. 205 int PcapFileFrame(RTFILE File, uint64_t StartNanoTS, const void *pvFrame, size_t cbFrame, size_t cbMax) argument 208 pcapCalcHeader(&Hdr, StartNanoTS, cbFrame, cbMax); [all...] |
| /vbox/src/VBox/Devices/Storage/VSCSI/ |
| H A D | VSCSILunMmc.cpp | 369 uint16_t cbMax = vscsiBE2HU16(&pVScsiReq->pbCDB[7]); local 427 uint16_t cbMax; local 431 cbMax = vscsiBE2HU16(&pVScsiReq->pbCDB[7]); 436 mmcReadTOCNormal(pVScsiLun, pVScsiReq, cbMax, fMSF); 439 mmcReadTOCMulti(pVScsiLun, pVScsiReq, cbMax, fMSF);
|
| H A D | VSCSILunSbc.cpp | 429 uint16_t cbMax = vscsiBE2HU16(&pVScsiReq->pbCDB[7]); local
|
| /vbox/src/VBox/VMM/VMMR3/ |
| H A D | PDMNetShaper.cpp | 506 uint64_t cbMax; local 520 rc = CFGMR3QueryU64(pCur, "Max", &cbMax); 522 rc = pdmNsBwGroupCreate(pShaper, pszBwGrpId, cbMax);
|
| H A D | PDMAsyncCompletion.cpp | 864 uint32_t cbMax, cbStart, cbStep; local 878 rc = CFGMR3QueryU32(pCur, "Max", &cbMax); 880 rc = CFGMR3QueryU32Def(pCur, "Start", &cbStart, cbMax); 884 rc = pdmacAsyncCompletionBwMgrCreate(pEndpointClass, pszBwGrpId, cbMax, cbStart, cbStep);
|
| /vbox/src/VBox/Disassembler/testcase/ |
| H A D | tstDisasm-2.cpp | 471 RTFOFF cbMax = _1G; local 504 cbMax = ValueUnion.i64; 660 rc = RTFileReadAllEx(argv[iArg], off, cbMax, RTFILE_RDALL_O_DENY_NONE, &pvFile, &cbFile);
|
| /vbox/src/VBox/Runtime/r3/ |
| H A D | fileio.cpp | 351 RTFOFF cbMax; local 352 int rc = RTFileGetMaxSizeEx(File, &cbMax); 353 return RT_SUCCESS(rc) ? cbMax : -1;
|
| H A D | memsafer-r3.cpp | 515 size_t cbMax = (size_t)(pThis->cPages - 2) * PAGE_SIZE; variable 516 if (cbNew <= cbMax) 519 size_t const cbAfter = cbMax - pThis->offUser - cbOld;
|
| /vbox/src/VBox/VMM/include/ |
| H A D | PDMBlkCacheInternal.h | 107 uint32_t cbMax; member in struct:PDMBLKCACHEGLOBAL
|
| /vbox/src/VBox/Devices/BiosCommonCode/ |
| H A D | MakeAlternativeSource.cpp | 626 * @param cbMax The size of the search range. 631 static void disGetNextSymbolWorker(uint32_t uFlatAddr, uint32_t cbMax, uint32_t *poff, PRTDBGSYMBOL pSym) argument 650 RTStrPrintf(pSym->szName, sizeof(pSym->szName), "_dummy_addr_%#x", uFlatAddr + cbMax); 651 pSym->Value = uFlatAddr + cbMax; 653 pSym->offSeg = uFlatAddr + cbMax; 657 *poff = cbMax; 668 * @param cbMax The size of the search range. 673 static void disGetNextSymbol(uint32_t uFlatAddr, uint32_t cbMax, uint32_t *poff, PRTDBGSYMBOL pSym) argument 675 disGetNextSymbolWorker(uFlatAddr, cbMax, poff, pSym); 676 if ( *poff < cbMax [all...] |
| /vbox/src/VBox/Devices/USB/ |
| H A D | USBProxyDevice.cpp | 1029 const uint16_t cbMax = (paEps[iEp].Core.bmAttributes & 3) == 1 /* isoc */ local 1032 if (paEps[iEp].Core.wMaxPacketSize > cbMax) 1035 pUsbIns->pszName, paEps[iEp].Core.wMaxPacketSize, cbMax)); 1036 paEps[iEp].Core.wMaxPacketSize = cbMax;
|
| H A D | VUSBInternal.h | 109 uint32_t cbMax; member in struct:vusb_ctrl_extra
|
| H A D | VUSBUrb.cpp | 1382 const size_t cbMax = sizeof(pExtra->Urb.abData) + sizeof(VUSBSETUP); local 1383 pExtra = (PVUSBCTRLEXTRA)RTMemAllocZ(RT_OFFSETOF(VUSBCTRLEXTRA, Urb.abData[cbMax])); 1391 pExtra->cbMax = cbMax; 1451 void *pvNew = RTMemDup(pExtra, RT_OFFSETOF(VUSBCTRLEXTRA, Urb.abData[pExtra->cbMax])); 1454 Log(("vusbMsgSetup: out of memory!!! cbReq=%u\n", RT_OFFSETOF(VUSBCTRLEXTRA, Urb.abData[pExtra->cbMax]))); 1467 if (pExtra->cbMax < cbBuf + pSetupIn->wLength) 1482 pExtra->cbMax = cbReq;
|
| /vbox/src/VBox/HostDrivers/Support/ |
| H A D | SUPLib.cpp | 1853 size_t cbMax = 1; local 1861 cbMax = 0; 1864 cbMax += cch + 1; 1868 if (cbMax > 0) 1869 pThis->pchStrTab = (char *)RTMemAlloc(cbMax);
|
| /vbox/src/VBox/HostDrivers/VBoxUSB/solaris/ |
| H A D | VBoxUSB-solaris.c | 2702 * If bits 12..11 is non-zero, cbMax will be more than 1024 and thus the Endpoint is a 2705 uint16_t cbMax = VBOXUSB_PKT_SIZE(pEp->EpDesc.wMaxPacketSize); local 2706 if (cbMax <= 1024) 2709 pEp->cbMaxIsocData = 1000 * cbMax * 8; 2714 pEp->cbMaxIsocData = 400 * cbMax * 8;
|
| /vbox/src/VBox/ExtPacks/VBoxDTrace/ |
| H A D | VBoxDTraceR0.cpp | 374 * @param cbMax The maximum number of bytes to copy. May stop 378 void dtrace_copyinstr( uintptr_t uUserAddr, uintptr_t uKrnlAddr, size_t cbMax, volatile uint16_t *pfFlags) argument 380 if (!cbMax) 384 int rc = RTR0MemUserCopyFrom(pszDst, uUserAddr, cbMax); 389 while (off < cbMax) 405 pszDst[cbMax - 1] = '\0'; 414 * @param cbMax The maximum number of bytes to copy. Will stop 418 void dtrace_copyoutstr(uintptr_t uKrnlAddr, uintptr_t uUserAddr, size_t cbMax, volatile uint16_t *pfFlags) argument 421 size_t cbActual = RTStrNLen(pszSrc, cbMax); 422 cbActual += cbActual < cbMax; [all...] |
| /vbox/src/VBox/Devices/Audio/ |
| H A D | DevIchAc97.cpp | 1077 * @param cbMax 1080 static int ichac97WriteAudio(PAC97STATE pThis, PAC97BMREG pReg, uint32_t cbMax, uint32_t *pcbWritten) argument 1084 AssertReturn(cbMax, VERR_INVALID_PARAMETER); 1093 uint32_t cbToWrite = RT_MIN((uint32_t)(pReg->picb << 1), cbMax); 1102 LogFlowFunc(("pReg=%p, cbMax=%RU32, cbToWrite=%RU32\n", pReg, cbMax, cbToWrite)); 1220 static int ichac97ReadAudio(PAC97STATE pThis, PAC97BMREG pReg, uint32_t cbMax, uint32_t *pcbRead) argument 1224 AssertReturn(cbMax, VERR_INVALID_PARAMETER); 1238 uint32_t cbMixBuf = cbMax; 1280 temp = audio_MIN(temp, (uint32_t)cbMax); [all...] |