Home | History | Annotate | Download | only in GenCrc32

Lines Matching defs:FileSize

132   UINT32                  FileSize;

286 FileSize = ftell (InFile);
289 FileBuffer = (UINT8 *) malloc (FileSize);
296 fread (FileBuffer, 1, FileSize, InFile);
298 VerboseMsg ("the size of the input file is %u bytes", (unsigned) FileSize);
313 Status = CalculateCrc32 (FileBuffer, FileSize, &Crc32Value);
323 fwrite (FileBuffer, 1, FileSize, OutFile);
324 VerboseMsg ("the size of the encoded file is %u bytes", (unsigned) FileSize + sizeof (UINT32));
329 Status = CalculateCrc32 (FileBuffer + sizeof (UINT32), FileSize - sizeof (UINT32), &Crc32Value);
343 fwrite (FileBuffer + sizeof (UINT32), 1, FileSize - sizeof (UINT32), OutFile);
344 VerboseMsg ("the size of the decoded file is %u bytes", (unsigned) FileSize - sizeof (UINT32));