Lines Matching defs:file
205 // here, start, and Mark are file offsets in 'fat'.
284 .Mark(&arch_data) // file data begins here
302 // First object file list entry
304 // First object file data
322 // Three object file list entries.
327 // First object file data
330 // Second object file data
333 // Third object file data
341 // First object file.
348 // Second object file.
355 // Third object file.
366 .D32(0xfeedface) // Mach-O file magic number
369 .D32(0x009df67e) // file type
376 // FatReader should treat a Mach-O file as if it were a fat binary file
377 // containing one object file --- the whole thing.
388 .D32(0xfeedfacf) // Mach-O 64-bit file magic number
391 .D32(0x4392d2c8) // file type
398 // FatReader should treat a Mach-O file as if it were a fat binary file
399 // containing one object file --- the whole thing.
410 .D32(0xfeedface) // Mach-O file magic number
413 .D32(0x009df67e) // file type
420 // FatReader should treat a Mach-O file as if it were a fat binary file
421 // containing one object file --- the whole thing.
432 .D32(0xfeedfacf) // Mach-O 64-bit file magic number
435 .D32(0x4392d2c8) // file type
442 // FatReader should treat a Mach-O file as if it were a fat binary file
443 // containing one object file --- the whole thing.
454 .D32(0xfeedfacf) // Mach-O 64-bit file magic number
502 // offsets within the overall file.
583 // file separately, at the desired position. Return a reference to this
608 // segment, it defaults to the final size of the segment's in-file
654 // The size of the contents for this segment present in the file.
658 // larger than the size of its file contents, the difference being
694 // The number of load commands we have added to this file so far.
701 // A SizedSection holding the contents of a Mach-O file. Within a
702 // MachOFile, the start, Here, and Mark members refer to file offsets.
709 // Create a Mach-O file header using the given characteristics and load
722 D32(file_type); // file type
754 void ReadFile(MachOFile *file,
758 ASSERT_TRUE(file->GetContents(&file_contents));
787 MachOFile file;
788 file
792 .D32(0x149fc717) // file type
798 ReadFile(&file, false, CPU_TYPE_ANY, kCPUSubType);
805 MachOFile file;
806 file
811 .D32(0x149fc717) // file type
817 ReadFile(&file, false, kCPUType, kCPUSubType);
822 MachOFile file;
823 file
827 ReadFile(&file, false, CPU_TYPE_ANY, 0);
834 MachOFile file;
835 file
839 .D32(0x149fc717) // file type
843 ReadFile(&file, false, CPU_TYPE_ANY, kCPUSubType);
850 MachOFile file;
851 file
855 .D32(0x149fc717) // file type
864 ReadFile(&file, false, CPU_TYPE_POWERPC, CPU_SUBTYPE_POWERPC_ALL);
871 MachOFile file;
872 file
876 .D32(0x149fc717) // file type
881 ReadFile(&file, true, CPU_TYPE_ANY, kCPUSubType);
894 MachOFile file;
895 file
899 .D32(0x149fc717) // file type
904 ReadFile(&file, true, CPU_TYPE_ANY, kCPUSubType);
917 MachOFile file;
918 file
922 .D32(0x149fc717) // file type
927 ReadFile(&file, true, CPU_TYPE_ANY, kCPUSubType);
940 MachOFile file;
941 file
945 .D32(0x149fc717) // file type
950 ReadFile(&file, true, CPU_TYPE_ANY, kCPUSubType);
969 MachOFile file;
970 file
974 .D32(0x149fc717) // file type
984 ReadFile(&file, false, CPU_TYPE_ANY, kCPUSubType);
990 MachOFile file;
991 file.Header(&load_commands);
993 ReadFile(&file, true, CPU_TYPE_X86, CPU_SUBTYPE_I386_ALL);
1016 MachOFile file;
1017 file.Header(&load_commands);
1019 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1048 MachOFile file;
1049 file.Header(&load_commands);
1051 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1065 MachOFile file;
1066 file.Header(&load_commands);
1068 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1083 MachOFile file;
1084 file.Header(&load_commands);
1086 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1104 MachOFile file;
1105 file
1109 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1141 MachOFile file;
1142 file
1146 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1177 MachOFile file;
1178 file
1182 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1214 MachOFile file;
1215 file
1219 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1250 .D32(segment_contents.start()) // file offset
1251 .D32(segment_contents.final_size()) // file size
1258 MachOFile file;
1259 file
1263 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1273 // Instead of letting a Place call set the segment's file offset and size,
1278 segment.start() = 0x7e189e76; // beyond end of file
1285 MachOFile file;
1286 file.Header(&load_commands);
1288 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1325 MachOFile file;
1326 file.Header(&load_commands).Place(&seg1).Place(&seg2).Place(&seg3);
1328 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1396 MachOFile file;
1397 file.Header(&commands).Place(&segment);
1399 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1465 MachOFile file;
1466 file.Header(&commands).Place(&segment);
1468 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1506 MachOFile file;
1507 file.Header(&commands).Place(&segment);
1509 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1547 MachOFile file;
1548 file.Header(&commands).Place(&segment);
1550 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1561 // The segments in a .dSYM bundle's Mach-O file have their file offset
1587 MachOFile file;
1588 file.Header(&commands);
1590 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1640 MachOFile file;
1641 file.Header(&commands).Place(&segment1).Place(&segment2);
1643 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1697 MachOFile file;
1698 file.Header(&commands).Place(&segment1).Place(&segment2).Place(&segment3);
1700 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1781 .D32(symbols.start()) // file offset of symbols
1783 .D32(strings.start()) // file offset of strings
1789 MachOFile file;
1790 file.Header(&load_commands).Place(&symbols).Place(&strings);
1792 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1818 .D32(symbols.start()) // file offset of symbols
1820 file offset of strings
1826 MachOFile file;
1827 file.Header(&load_commands).Place(&symbols).Place(&strings);
1829 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1855 .D32(symbols.start()) // file offset of symbols
1857 .D32(strings.start()) // file offset of strings
1863 MachOFile file;
1865 file.Header(&load_commands).Place(&strings).Place(&symbols);
1867 ReadFile(&file, true, CPU_TYPE_ANY, 0);
1886 .D32(symbols.start()) // file offset of symbols
1888 .D32(strings.start()) // file offset of strings
1894 MachOFile file;
1896 file.Header(&load_commands).Place(&symbols).Place(&strings);
1898 ReadFile(&file, true, CPU_TYPE_ANY, 0);