Lines Matching defs:fh
85 BMPFileHeader fh;
94 memcpy(&fh.magic, buf, 2);
95 memcpy(&fh.fileSize, buf + 2, 4);
96 memcpy(&fh.reserved, buf + 6, 4);
97 memcpy(&fh.dataOffset, buf + 10, 4);
98 swap_data(B_UINT16_TYPE, &fh.magic, sizeof(uint16),
100 swap_data(B_UINT32_TYPE, (reinterpret_cast<uint8 *> (&fh)) + 2,
104 printf(B_TRANSLATE(" magic: 0x%.4x (should be: 0x424d)\n"), fh.magic);
105 printf(B_TRANSLATE(" file size: 0x%.8lx (%lu)\n"), fh.fileSize,
106 fh.fileSize);
108 fh.reserved, 0);
110 "format and >= 26 for OS/2 format)\n"), fh.dataOffset, fh.dataOffset);