Lines Matching refs:Size
104 length = Size;
123 distanceToMove += Size;
159 // maybe we must decrease kClusterSize to 1 << 12, if we want correct size at tail
161 UInt64 pos = Size & ~(UInt64)(kClusterSize - 1);
173 // processed size for latest block for "PhysicalDrive0" is 0.
179 Size = pos + processed;
205 Size = pos + processed;
220 Size = 0;
226 Size = 128 << 20;
237 GetPartitionInfo == GeometryEx : corrrect size? (includes tail)
240 Size correction is slow and block size (kClusterSize) must be small?
243 MyGetDiskFreeSpace : Size of NTFS clusters. Same size can be calculated after correction
244 GetPartitionInfo : size of partition data: NTFS clusters + TAIL; TAIL contains extra empty sectors and copy of first sector of NTFS
245 Geometry / CdRomGeometry / GeometryEx : size of HDD (not that partition)
248 MyGetDiskFreeSpace : correct size. Same size can be calculated after correction
249 Geometry == CdRomGeometry : smaller than corrrect size
250 GetPartitionInfo == GeometryEx : larger than corrrect size
253 Geometry : correct size.
261 Size = partInfo.PartitionLength.QuadPart;
269 Size = totalSize;
280 Size = geomEx.DiskSize.QuadPart;
288 Size = geom.Cylinders.QuadPart * geom.TracksPerCylinder * geom.SectorsPerTrack * geom.BytesPerSector;
292 if (needCorrectSize && SizeDefined && Size != 0)
335 bool CInFile::Read1(void *data, UInt32 size, UInt32 &processedSize) throw()
338 bool res = BOOLToBool(::ReadFile(_handle, data, size, &processedLoc, NULL));
343 bool CInFile::ReadPart(void *data, UInt32 size, UInt32 &processedSize) throw()
345 if (size > kChunkSizeMax)
346 size = kChunkSizeMax;
347 return Read1(data, size, processedSize);
350 bool CInFile::Read(void *data, UInt32 size, UInt32 &processedSize) throw()
356 bool res = ReadPart(data, size, processedLoc);
363 size -= processedLoc;
365 while (size > 0);
391 bool COutFile::WritePart(const void *data, UInt32 size, UInt32 &processedSize) throw()
393 if (size > kChunkSizeMax)
394 size = kChunkSizeMax;
396 bool res = BOOLToBool(::WriteFile(_handle, data, size, &processedLoc, NULL));
401 bool COutFile::Write(const void *data, UInt32 size, UInt32 &processedSize) throw()
407 bool res = WritePart(data, size, processedLoc);
414 size -= processedLoc;
416 while (size > 0);