Home
last modified time | relevance | path

Searched refs:BlockAlignment (Results 1 – 25 of 196) sorted by relevance

12345678

/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/foxxll/foxxll/io/
H A Drequest.cpp42 if (offset_ % BlockAlignment != 0) in check_alignment()
44 BlockAlignment << " = " << offset_ % BlockAlignment; in check_alignment()
46 if (bytes_ % BlockAlignment != 0) in check_alignment()
48 BlockAlignment << ", = " << bytes_ % BlockAlignment; in check_alignment()
50 if (size_t(buffer_) % BlockAlignment != 0) in check_alignment()
52 BlockAlignment << " = " << size_t(buffer_) % BlockAlignment << in check_alignment()
H A Dmemory_file.cpp79 void* uninitialized = malloc(BlockAlignment); in discard()
80 while (size >= BlockAlignment) { in discard()
81 memcpy(ptr_ + offset, uninitialized, BlockAlignment); in discard()
82 offset += BlockAlignment; in discard()
83 size -= BlockAlignment; in discard()
H A Dfileperblock_file.cpp91 const int page_size = BlockAlignment; in lock()
92 void* one_page = aligned_alloc<BlockAlignment>(page_size); in lock()
99 aligned_dealloc<BlockAlignment>(one_page); in lock()
H A Drequest.hpp34 constexpr size_t BlockAlignment = 4096; variable
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/FatPkg/EnhancedFatDxe/
H A DInit.c209 UINT8 BlockAlignment; in FatOpenDevice() local
253 BlockAlignment = (UINT8) HighBitSet32 (FatBs.FatBsb.SectorSize); in FatOpenDevice()
254 if (BlockAlignment > MAX_BLOCK_ALIGNMENT || BlockAlignment < MIN_BLOCK_ALIGNMENT) { in FatOpenDevice()
312 Volume->VolumeSize = LShiftU64 (Sectors, BlockAlignment); in FatOpenDevice()
313 Volume->RootPos = LShiftU64 (RootLba, BlockAlignment); in FatOpenDevice()
314 Volume->FirstClusterPos = LShiftU64 (FirstClusterLba, BlockAlignment); in FatOpenDevice()
316 Volume->ClusterAlignment = (UINT8)(BlockAlignment + SectorsPerClusterAlignment); in FatOpenDevice()
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/FatPkg/EnhancedFatDxe/
H A DInit.c209 UINT8 BlockAlignment; in FatOpenDevice() local
253 BlockAlignment = (UINT8) HighBitSet32 (FatBs.FatBsb.SectorSize); in FatOpenDevice()
254 if (BlockAlignment > MAX_BLOCK_ALIGNMENT || BlockAlignment < MIN_BLOCK_ALIGNMENT) { in FatOpenDevice()
312 Volume->VolumeSize = LShiftU64 (Sectors, BlockAlignment); in FatOpenDevice()
313 Volume->RootPos = LShiftU64 (RootLba, BlockAlignment); in FatOpenDevice()
314 Volume->FirstClusterPos = LShiftU64 (FirstClusterLba, BlockAlignment); in FatOpenDevice()
316 Volume->ClusterAlignment = (UINT8)(BlockAlignment + SectorsPerClusterAlignment); in FatOpenDevice()
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/FatPkg/EnhancedFatDxe/
H A DInit.c209 UINT8 BlockAlignment; in FatOpenDevice() local
253 BlockAlignment = (UINT8) HighBitSet32 (FatBs.FatBsb.SectorSize); in FatOpenDevice()
254 if (BlockAlignment > MAX_BLOCK_ALIGNMENT || BlockAlignment < MIN_BLOCK_ALIGNMENT) { in FatOpenDevice()
312 Volume->VolumeSize = LShiftU64 (Sectors, BlockAlignment); in FatOpenDevice()
313 Volume->RootPos = LShiftU64 (RootLba, BlockAlignment); in FatOpenDevice()
314 Volume->FirstClusterPos = LShiftU64 (FirstClusterLba, BlockAlignment); in FatOpenDevice()
316 Volume->ClusterAlignment = (UINT8)(BlockAlignment + SectorsPerClusterAlignment); in FatOpenDevice()
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/FatPkg/EnhancedFatDxe/
H A DInit.c209 UINT8 BlockAlignment; in FatOpenDevice() local
253 BlockAlignment = (UINT8) HighBitSet32 (FatBs.FatBsb.SectorSize); in FatOpenDevice()
254 if (BlockAlignment > MAX_BLOCK_ALIGNMENT || BlockAlignment < MIN_BLOCK_ALIGNMENT) { in FatOpenDevice()
312 Volume->VolumeSize = LShiftU64 (Sectors, BlockAlignment); in FatOpenDevice()
313 Volume->RootPos = LShiftU64 (RootLba, BlockAlignment); in FatOpenDevice()
314 Volume->FirstClusterPos = LShiftU64 (FirstClusterLba, BlockAlignment); in FatOpenDevice()
316 Volume->ClusterAlignment = (UINT8)(BlockAlignment + SectorsPerClusterAlignment); in FatOpenDevice()
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/FatPkg/EnhancedFatDxe/
H A DInit.c209 UINT8 BlockAlignment; in FatOpenDevice() local
253 BlockAlignment = (UINT8) HighBitSet32 (FatBs.FatBsb.SectorSize); in FatOpenDevice()
254 if (BlockAlignment > MAX_BLOCK_ALIGNMENT || BlockAlignment < MIN_BLOCK_ALIGNMENT) { in FatOpenDevice()
312 Volume->VolumeSize = LShiftU64 (Sectors, BlockAlignment); in FatOpenDevice()
313 Volume->RootPos = LShiftU64 (RootLba, BlockAlignment); in FatOpenDevice()
314 Volume->FirstClusterPos = LShiftU64 (FirstClusterLba, BlockAlignment); in FatOpenDevice()
316 Volume->ClusterAlignment = (UINT8)(BlockAlignment + SectorsPerClusterAlignment); in FatOpenDevice()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/FatPkg/EnhancedFatDxe/
H A DInit.c209 UINT8 BlockAlignment; in FatOpenDevice() local
253 BlockAlignment = (UINT8) HighBitSet32 (FatBs.FatBsb.SectorSize); in FatOpenDevice()
254 if (BlockAlignment > MAX_BLOCK_ALIGNMENT || BlockAlignment < MIN_BLOCK_ALIGNMENT) { in FatOpenDevice()
312 Volume->VolumeSize = LShiftU64 (Sectors, BlockAlignment); in FatOpenDevice()
313 Volume->RootPos = LShiftU64 (RootLba, BlockAlignment); in FatOpenDevice()
314 Volume->FirstClusterPos = LShiftU64 (FirstClusterLba, BlockAlignment); in FatOpenDevice()
316 Volume->ClusterAlignment = (UINT8)(BlockAlignment + SectorsPerClusterAlignment); in FatOpenDevice()
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/FatPkg/EnhancedFatDxe/
H A DInit.c209 UINT8 BlockAlignment; in FatOpenDevice() local
253 BlockAlignment = (UINT8) HighBitSet32 (FatBs.FatBsb.SectorSize); in FatOpenDevice()
254 if (BlockAlignment > MAX_BLOCK_ALIGNMENT || BlockAlignment < MIN_BLOCK_ALIGNMENT) { in FatOpenDevice()
312 Volume->VolumeSize = LShiftU64 (Sectors, BlockAlignment); in FatOpenDevice()
313 Volume->RootPos = LShiftU64 (RootLba, BlockAlignment); in FatOpenDevice()
314 Volume->FirstClusterPos = LShiftU64 (FirstClusterLba, BlockAlignment); in FatOpenDevice()
316 Volume->ClusterAlignment = (UINT8)(BlockAlignment + SectorsPerClusterAlignment); in FatOpenDevice()
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/FatPkg/EnhancedFatDxe/
H A DInit.c209 UINT8 BlockAlignment; in FatOpenDevice() local
253 BlockAlignment = (UINT8) HighBitSet32 (FatBs.FatBsb.SectorSize); in FatOpenDevice()
254 if (BlockAlignment > MAX_BLOCK_ALIGNMENT || BlockAlignment < MIN_BLOCK_ALIGNMENT) { in FatOpenDevice()
312 Volume->VolumeSize = LShiftU64 (Sectors, BlockAlignment); in FatOpenDevice()
313 Volume->RootPos = LShiftU64 (RootLba, BlockAlignment); in FatOpenDevice()
314 Volume->FirstClusterPos = LShiftU64 (FirstClusterLba, BlockAlignment); in FatOpenDevice()
316 Volume->ClusterAlignment = (UINT8)(BlockAlignment + SectorsPerClusterAlignment); in FatOpenDevice()
/dports/sysutils/edk2/edk2-edk2-stable202102/FatPkg/EnhancedFatDxe/
H A DInit.c209 UINT8 BlockAlignment; in FatOpenDevice() local
253 BlockAlignment = (UINT8) HighBitSet32 (FatBs.FatBsb.SectorSize); in FatOpenDevice()
254 if (BlockAlignment > MAX_BLOCK_ALIGNMENT || BlockAlignment < MIN_BLOCK_ALIGNMENT) { in FatOpenDevice()
312 Volume->VolumeSize = LShiftU64 (Sectors, BlockAlignment); in FatOpenDevice()
313 Volume->RootPos = LShiftU64 (RootLba, BlockAlignment); in FatOpenDevice()
314 Volume->FirstClusterPos = LShiftU64 (FirstClusterLba, BlockAlignment); in FatOpenDevice()
316 Volume->ClusterAlignment = (UINT8)(BlockAlignment + SectorsPerClusterAlignment); in FatOpenDevice()
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/foxxll/foxxll/mng/
H A Dtyped_block.hpp297 assert(((long)this) % BlockAlignment == 0); in typed_block()
366 void* result = aligned_alloc<BlockAlignment>( in operator new()
383 void* result = aligned_alloc<BlockAlignment>( in operator new[]()
400 aligned_dealloc<BlockAlignment>(ptr); in operator delete()
405 aligned_dealloc<BlockAlignment>(ptr); in operator delete[]()
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/foxxll/tests/io/
H A Dtest_mmap.cpp31 char* buffer = static_cast<char*>(foxxll::aligned_alloc<foxxll::BlockAlignment>(size)); in testIO()
54 foxxll::aligned_dealloc<foxxll::BlockAlignment>(buffer); in testIO()
/dports/emulators/citra/citra-ac98458e0/src/core/hw/
H A Dy2r.cpp265 ASSERT(cvt.block_alignment != BlockAlignment::Block8x8 || cvt.input_lines % 8 == 0); in PerformConversion()
280 case BlockAlignment::Linear: in PerformConversion()
283 case BlockAlignment::Block8x8: in PerformConversion()
363 case BlockAlignment::Linear: in PerformConversion()
367 case BlockAlignment::Block8x8: in PerformConversion()
/dports/emulators/citra-qt5/citra-ac98458e0/src/core/hw/
H A Dy2r.cpp265 ASSERT(cvt.block_alignment != BlockAlignment::Block8x8 || cvt.input_lines % 8 == 0); in PerformConversion()
280 case BlockAlignment::Linear: in PerformConversion()
283 case BlockAlignment::Block8x8: in PerformConversion()
363 case BlockAlignment::Linear: in PerformConversion()
367 case BlockAlignment::Block8x8: in PerformConversion()
/dports/emulators/citra/citra-ac98458e0/src/core/hle/service/
H A Dy2r_u.h54 enum class BlockAlignment : u8 { enum
111 BlockAlignment block_alignment;
193 BlockAlignment block_alignment;
/dports/emulators/citra-qt5/citra-ac98458e0/src/core/hle/service/
H A Dy2r_u.h54 enum class BlockAlignment : u8 { enum
111 BlockAlignment block_alignment;
193 BlockAlignment block_alignment;
/dports/audio/wav2cdr/wav2cdr/
H A Dfileio.c285 SWAP2BYTES (header->BlockAlignment); in read_wav_header()
364 SWAP2BYTES (wh.BlockAlignment); in write_wav_header()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/gui/text/
H A Dqtextformat.h159 BlockAlignment = 0x1010, enumerator
562 { int a = intProperty(BlockAlignment); if (a == 0) a = Qt::AlignLeft; return QFlag(a); } in alignment()
620 { setProperty(BlockAlignment, int(aalignment)); } in setAlignment()
873 { return QFlag(intProperty(BlockAlignment)); } in alignment()
896 { setProperty(BlockAlignment, int(aalignment)); } in setAlignment()
/dports/graphics/krita/krita-4.4.8/plugins/flake/textshape/kotext/styles/
H A DKoTableStyle.cpp337 setProperty(QTextFormat::BlockAlignment, (int) alignment); in setAlignment()
342 return static_cast<Qt::Alignment>(propertyInt(QTextFormat::BlockAlignment)); in alignment()
612 } else if (key == QTextFormat::BlockAlignment) { in saveOdf()
614 int alignValue = value(QTextFormat::BlockAlignment).toInt(&ok); in saveOdf()
/dports/editors/calligra/calligra-3.2.1/libs/text/styles/
H A DKoTableStyle.cpp336 setProperty(QTextFormat::BlockAlignment, (int) alignment); in setAlignment()
341 return static_cast<Qt::Alignment>(propertyInt(QTextFormat::BlockAlignment)); in alignment()
613 } else if (key == QTextFormat::BlockAlignment) { in saveOdf()
615 int alignValue = value(QTextFormat::BlockAlignment).toInt(&ok); in saveOdf()
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/gui/text/
H A Dqtextformat.h166 BlockAlignment = 0x1010, enumerator
642 { int a = intProperty(BlockAlignment); if (a == 0) a = Qt::AlignLeft; return QFlag(a); } in alignment()
712 { setProperty(BlockAlignment, int(aalignment)); } in Q_DECLARE_SHARED()
978 { return QFlag(intProperty(BlockAlignment)); } in alignment()
1008 { setProperty(BlockAlignment, int(aalignment)); } in setAlignment()
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/gui/text/
H A Dqtextformat.h166 BlockAlignment = 0x1010, enumerator
642 { int a = intProperty(BlockAlignment); if (a == 0) a = Qt::AlignLeft; return QFlag(a); } in alignment()
712 { setProperty(BlockAlignment, int(aalignment)); } in Q_DECLARE_SHARED()
978 { return QFlag(intProperty(BlockAlignment)); } in alignment()
1008 { setProperty(BlockAlignment, int(aalignment)); } in setAlignment()

12345678