Lines Matching refs:file
54 uint32 fileSize; // file size in bytes
56 uint32 dataOffset; // file offset to actual image
82 print_bmp_info(BFile &file)
88 if (file.Read(buf, size) != size) {
89 printf(B_TRANSLATE("Error: unable to read BMP file header\n"));
105 printf(B_TRANSLATE(" file size: 0x%.8lx (%lu)\n"), fh.fileSize,
113 if (file.Read(&headersize, 4) != 4) {
123 if (file.Read(reinterpret_cast<uint8 *> (&msh) + 4, 36) != 36) {
165 if (file.Read(reinterpret_cast<uint8 *> (&os2) + 4, 8) != 8) {
196 "file\n"));
201 BFile file;
204 if (file.SetTo(argv[i], B_READ_ONLY) != B_OK)
209 print_bmp_info(file);