Searched refs:kClusterSize (Results 1 – 2 of 2) sorted by relevance
160 static const UInt32 kClusterSize = 1 << 14; in CorrectDeviceSize() local161 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()
34 static const UInt32 kClusterSize = 1 << 18; variable74 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()