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.cpp34 static const UInt32 kClusterSize = 1 << 18; variable
74 const UInt32 mask = kClusterSize - 1; in Read()
117 UInt32 readSize = kClusterSize; in Read()
119 readSize = (UInt32)MyMin(File.Size - PhyPos, (UInt64)kClusterSize); in Read()
123 Buf = (Byte *)MidAlloc(kClusterSize); in Read()