Lines Matching refs:file
141 print_tga_info(BFile &file)
147 if (size > 0 && file.Read(buf, size) != size) {
152 // TGA file header
238 if (file.GetSize(&filesize) == B_OK) {
241 if (file.ReadAt(filesize - TGA_FTR_LEN, tgafooter, TGA_FTR_LEN) == TGA_FTR_LEN) {
260 if (file.ReadAt(extoffset, extbuf, TGA_EXT_LEN) == TGA_EXT_LEN) {
370 printf(B_TRANSLATE("\nError: Unable to get file size\n"));
379 printf(B_TRANSLATE("tgainfo - reports information about a TGA image file\n"));
384 BFile file;
387 if (file.SetTo(argv[i], B_READ_ONLY) != B_OK)
391 print_tga_info(file);