Searched refs:RT_ALIGN_32 (Results 1 - 25 of 59) sorted by relevance

123

/vbox/src/VBox/Runtime/common/log/
H A Dtracebuf.cpp289 cbEntry = RT_ALIGN_32(cbEntry, RTTRACEBUF_ALIGNMENT);
342 cbEntry = RT_ALIGN_32(cbEntry, RTTRACEBUF_ALIGNMENT);
358 else if (cbBlock >= RT_ALIGN_32(512, RTTRACEBUF_ALIGNMENT) * 256)
359 cbEntry = RT_ALIGN_32(512, RTTRACEBUF_ALIGNMENT);
360 else if (cbBlock >= RT_ALIGN_32(256, RTTRACEBUF_ALIGNMENT) * 64)
361 cbEntry = RT_ALIGN_32(256, RTTRACEBUF_ALIGNMENT);
362 else if (cbBlock >= RT_ALIGN_32(128, RTTRACEBUF_ALIGNMENT) * 32)
363 cbEntry = RT_ALIGN_32(128, RTTRACEBUF_ALIGNMENT);
367 Assert(RT_ALIGN_32(cbEntry, RTTRACEBUF_ALIGNMENT) == cbEntry);
/vbox/include/VBox/
H A Dintnetinline.h381 offReadNew = RT_ALIGN_32(offReadNew, INTNETHDR_ALIGNMENT);
387 memset((uint8_t *)pHdr + pHdr->offFrame, 0xfe, RT_ALIGN_32(pHdr->cbFrame, INTNETHDR_ALIGNMENT));
413 const uint32_t cb = RT_ALIGN_32(cbFrame, INTNETHDR_ALIGNMENT);
554 const uint32_t cb = RT_ALIGN_32(cbFrame, INTNETHDR_ALIGNMENT);
597 const uint32_t cbAlignedFrame = RT_ALIGN_32(pHdr->cbFrame, INTNETHDR_ALIGNMENT);
598 const uint32_t cbAlignedUsed = RT_ALIGN_32(cbUsed, INTNETHDR_ALIGNMENT);
650 const uint32_t cb = RT_ALIGN_32(cbFrame, INTNETHDR_ALIGNMENT);
763 memset((void *)pvFrameSrc, 0xfe, RT_ALIGN_32(cbFrame, INTNETHDR_ALIGNMENT));
769 offRead = RT_ALIGN_32(offRead, INTNETHDR_ALIGNMENT);
793 Assert(RT_ALIGN_32(cbRec
[all...]
H A Dintnet.h90 AssertMsg(offWriteCom == RT_ALIGN_32(offWriteCom, INTNETHDR_ALIGNMENT), ("%#x\n", offWriteCom)); \
94 AssertMsg(offRead == RT_ALIGN_32(offRead, INTNETHDR_ALIGNMENT), ("%#x\n", offRead)); \
98 AssertMsg(offWriteInt == RT_ALIGN_32(offWriteInt, INTNETHDR_ALIGNMENT), ("%#x\n", offWriteInt)); \
/vbox/src/VBox/Runtime/r3/win/
H A Dmp-win.cpp133 cbSysProcInfo = RT_ALIGN_32(cbSysProcInfo, 256);
H A Dfileio-win.cpp444 cbChunk = RT_ALIGN_32(cbChunk, 256);
531 cbChunk = RT_ALIGN_32(cbChunk, 256);
/vbox/src/VBox/Main/src-all/
H A DDisplayPNGUtil.cpp46 cbNew = RT_ALIGN_32(cbNew, 4096) + 4096;
/vbox/src/VBox/Runtime/common/crypto/
H A Dstore-inmem.cpp186 cMin = RT_ALIGN_32(cMin, 8);
188 cMin = RT_ALIGN_32(cMin, 32);
H A Ddigest-core.cpp90 uint32_t offHash = RT_ALIGN_32(pDesc->cbState, 8);
/vbox/src/VBox/Runtime/common/string/
H A Dstrcache.cpp429 Assert(RT_ALIGN_32(pFree->cbFree, sizeof(*pFree)) == pFree->cbFree);
522 Assert(RT_ALIGN_32(pFree->cbFree, sizeof(*pFree)) == pFree->cbFree);
548 cbEntry = RT_ALIGN_32(cbEntry, sizeof(RTSTRCACHEFREEMERGE));
572 Assert(RT_ALIGN_32(pFree->cbFree, sizeof(*pFree)) == pFree->cbFree);
1053 pFreeStr->cbFree = RT_ALIGN_32(cbMin, sizeof(*pFreeStr));
1133 pThis->cbBigEntries -= RT_ALIGN_32(RT_UOFFSETOF(RTSTRCACHEBIGENTRY, Core.szString[cchString + 1]),
/vbox/src/VBox/Additions/common/VBoxGuest/
H A DVBoxGuest-os2.cpp287 if (RT_ALIGN_32(pVMMDev->u32Size, PAGE_SIZE) == cb)
291 cb = RT_ALIGN_32(pVMMDev->u32Size, PAGE_SIZE);
/vbox/src/VBox/Additions/darwin/VBoxClient/
H A DVBoxClientClipboardGuestToHost.cpp157 cbAlloc = RT_ALIGN_32(cbData, PAGE_SIZE);
H A DVBoxClientClipboardHostToGuest.cpp65 cbDataSizeInternal = cbMemSizeInternal = RT_ALIGN_32(cbDataSizeInternal, PAGE_SIZE);
/vbox/src/VBox/HostDrivers/Support/win/
H A DSUPHardenedVerifyProcess-win.cpp759 if (RT_ALIGN_32(pImage->cbImage, PAGE_SIZE) != RT_ALIGN_32(cbImage, PAGE_SIZE) && !pImage->fApiSetSchemaOnlySection1)
788 uint32_t const cbHdrsFile = RT_ALIGN_32(cbHeaders, cbFileAlign);
901 if (uSectRva < uRva || uSectRva > cbImage || RT_ALIGN_32(uSectRva, cbSectAlign) != uSectRva)
911 if (cbFile != RT_ALIGN_32(cbFile, cbFileAlign) || cbFile > RT_ALIGN_32(cbMap, cbSectAlign))
974 ? RT_ALIGN_32(cbMap, cbSectAlign) : RT_ALIGN_32(cbMap, PAGE_SIZE);
984 rc = supHardNtVpCheckSectionProtection(pThis, pImage, uSectRva, RT_ALIGN_32(cbMap, PAGE_SIZE), fProt);
992 uRva = uSectRva + RT_ALIGN_32(cbMa
[all...]
/vbox/src/VBox/VMM/VMMR3/
H A DMMHyper.cpp130 cbHyperHeap = RT_ALIGN_32(cbHyperHeap, PAGE_SIZE);
434 uint32_t cbAligned = RT_ALIGN_32(cb, PAGE_SIZE);
749 const uint32_t cbAligned = RT_ALIGN_32(cb, PAGE_SIZE);
807 const uint32_t cbAligned = RT_ALIGN_32(cb, PAGE_SIZE);
1003 uint32_t const cbAligned = RT_ALIGN_32(cb, PAGE_SIZE);
H A DCPUMR3Db.cpp311 cMsrRangesAllocated = RT_ALIGN_32(cMsrRanges, 16);
324 uint32_t cNew = RT_ALIGN_32(cMsrRanges + cNewRanges, 16);
H A DPATMPatch.cpp956 pPatch->uCurPatchOffset = RT_ALIGN_32(pPatch->uCurPatchOffset, 8);
964 pPatch->uCurPatchOffset = RT_ALIGN_32(pPatch->uCurPatchOffset, 8);
972 pPatch->uCurPatchOffset = RT_ALIGN_32(pPatch->uCurPatchOffset, 8);
/vbox/src/VBox/Additions/WINNT/Graphics/Video/disp/xpdm/
H A DVBoxDispVBVA.cpp380 vram->cbFramebuffer = RT_ALIGN_32(pDev->memInfo.FrameBufferLength, 0x1000);
455 vram->cbFramebuffer = RT_ALIGN_32(pDev->memInfo.FrameBufferLength, 0x1000);
/vbox/src/VBox/Devices/USB/
H A DDrvVUSBRootHub.cpp404 uint32_t cbDataAllocated = cbData <= _4K ? RT_ALIGN_32(cbData, _1K)
405 : cbData <= _32K ? RT_ALIGN_32(cbData, _4K)
406 : RT_ALIGN_32(cbData, 16*_1K);
407 uint32_t cTdsAllocated = RT_ALIGN_32(cTds, 16);
/vbox/src/VBox/VMM/VMMAll/
H A DMMAllHyper.cpp225 cbAligned = RT_ALIGN_32(cb, MMHYPER_HEAP_ALIGN_MIN);
235 AssertMsg(RT_ALIGN_32(cb, PAGE_SIZE) == cb, ("The size isn't page aligned. (cb=%#x)\n", cb));
236 cbAligned = RT_ALIGN_32(cb, PAGE_SIZE);
802 || RT_ALIGN_32(pChunk->offNext, MMHYPER_HEAP_ALIGN_MIN) != pChunk->offNext,
/vbox/src/VBox/Devices/PC/
H A DDevACPI.cpp2652 GCPhysCur = RT_ALIGN_32(GCPhysCur + cbRsdt, 16);
2655 GCPhysCur = RT_ALIGN_32(GCPhysCur + cbXsdt, 16);
2658 GCPhysCur = RT_ALIGN_32(GCPhysCur + ACPITBLFADT_VERSION1_SIZE, 16);
2661 GCPhysCur = RT_ALIGN_32(GCPhysCur + sizeof(ACPITBLFADT), 64);
2664 GCPhysCur = RT_ALIGN_32(GCPhysCur + sizeof(ACPITBLFACS), 16);
2668 GCPhysCur = RT_ALIGN_32(GCPhysCur + AcpiTableMadt::sizeFor(pThis, NUMBER_OF_IRQ_SOURCE_OVERRIDES), 16);
2673 GCPhysCur = RT_ALIGN_32(GCPhysCur + sizeof(ACPITBLHPET), 16);
2679 GCPhysCur = RT_ALIGN_32(GCPhysCur + sizeof(ACPITBLMCFG) + sizeof(ACPITBLMCFGENTRY), 16);
2684 GCPhysCur = RT_ALIGN_32(GCPhysCur + pThis->cbCustBin, 16);
2694 GCPhysCur = RT_ALIGN_32(GCPhysCu
[all...]
/vbox/src/VBox/Runtime/common/math/
H A Dbignum.cpp89 # define RTBIGNUM_ZERO_ALIGN(a_cUsed) RT_ALIGN_32(a_cUsed, 2)
371 uint32_t const cNew = RT_ALIGN_32(cMinElements, RTBIGNUM_ALIGNMENT);
642 pBigNum->cAllocated = RT_ALIGN_32(pBigNum->cUsed, RTBIGNUM_ALIGNMENT);
793 pBigNum->cAllocated = RT_ALIGN_32(pBigNum->cUsed, RTBIGNUM_ALIGNMENT);
1761 rc = rtBigNumSetUsedEx(pResult, 0, RT_ALIGN_32(cBitsNew, RTBIGNUM_ELEMENT_BITS) / RTBIGNUM_ELEMENT_BITS);
1763 rc = rtBigNumSetUsed(pResult, RT_ALIGN_32(cBitsNew, RTBIGNUM_ELEMENT_BITS) / RTBIGNUM_ELEMENT_BITS);
1848 uint32_t cElementsNew = RT_ALIGN_32(cBitsNew, RTBIGNUM_ELEMENT_BITS) / RTBIGNUM_ELEMENT_BITS;
/vbox/src/VBox/HostDrivers/Support/
H A DSUPLibLdr.cpp372 const uint32_t offSymTab = RT_ALIGN_32(CalcArgs.cbImage, 8);
374 const uint32_t cbImageWithTabs = RT_ALIGN_32(offStrTab + CalcArgs.cbStrings, 8);
/vbox/src/VBox/Runtime/r3/
H A Dalloc-ef.cpp505 off = RT_ALIGN_32(off, 16);
510 off = RT_ALIGN_32(off, 8);
/vbox/src/VBox/Runtime/testcase/
H A DtstRTAvl.cpp181 Key2 = ASMBitNextClear(pTracker->abBitmap, RT_ALIGN_32(KeyPrev, 32), Key);
201 int Key2 = ASMBitNextSet(pTracker->abBitmap, RT_ALIGN_32(KeyLast, 32), Key);
/vbox/src/VBox/Devices/Bus/
H A DDevPCI.cpp991 pGlobals->pci_bios_io_addr = RT_ALIGN_32(pGlobals->pci_bios_io_addr, 4*1024);
997 pGlobals->pci_bios_mem_addr = RT_ALIGN_32(pGlobals->pci_bios_mem_addr, 1024*1024);
1021 pGlobals->pci_bios_io_addr = RT_ALIGN_32(pGlobals->pci_bios_io_addr, 4*1024);
1029 pGlobals->pci_bios_mem_addr = RT_ALIGN_32(pGlobals->pci_bios_mem_addr, 1024*1024);

Completed in 6107 milliseconds

123