Home
last modified time | relevance | path

Searched refs:kClusterSize (Results 1 – 2 of 2) sorted by relevance

/external/lzma/CPP/Windows/
DFileIO.cpp160 static const UInt32 kClusterSize = 1 << 14; in CorrectDeviceSize() local
161 UInt64 pos = Size & ~(UInt64)(kClusterSize - 1); in CorrectDeviceSize()
165 Byte *buf = (Byte *)MidAlloc(kClusterSize); in CorrectDeviceSize()
174 if (!Read1(buf, kClusterSize, processed)) in CorrectDeviceSize()
180 if (processed != kClusterSize) in CorrectDeviceSize()
182 pos += kClusterSize; in CorrectDeviceSize()
187 pos -= kClusterSize; in CorrectDeviceSize()
195 buf = (Byte *)MidAlloc(kClusterSize); in CorrectDeviceSize()
201 if (!Read1(buf, kClusterSize, processed)) in CorrectDeviceSize()
210 pos -= kClusterSize; in CorrectDeviceSize()
/external/lzma/CPP/7zip/Common/
DFileStreams.cpp33 static const UInt32 kClusterSize = 1 << 18; variable
78 const UInt32 mask = kClusterSize - 1; in Read()
121 UInt32 readSize = kClusterSize; in Read()
123 readSize = (UInt32)MyMin(File.Size - PhyPos, (UInt64)kClusterSize); in Read()
127 Buf = (Byte *)MidAlloc(kClusterSize); in Read()