Lines Matching refs:is64Bit
138 Write32(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in WriteHeader()
147 if (is64Bit()) in WriteHeader()
151 (is64Bit()?sizeof(MachO::mach_header_64): sizeof(MachO::mach_header))); in WriteHeader()
169 is64Bit() ? sizeof(MachO::segment_command_64): in WriteSegmentLoadCommand()
171 Write32(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in WriteSegmentLoadCommand()
173 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in WriteSegmentLoadCommand()
177 if (is64Bit()) { in WriteSegmentLoadCommand()
221 if (is64Bit()) { in WriteSection()
241 if (is64Bit()) in WriteSection()
244 assert(OS.tell() - Start == (is64Bit() ? sizeof(MachO::section_64) : in WriteSection()
361 if (is64Bit()) in WriteNlist()
382 const std::vector<std::string> &Options, bool is64Bit) in ComputeLinkerOptionsLoadCommandSize() argument
387 return RoundUpToAlignment(Size, is64Bit ? 8 : 4); in ComputeLinkerOptionsLoadCommandSize()
393 unsigned Size = ComputeLinkerOptionsLoadCommandSize(Options, is64Bit()); in WriteLinkerOptionsLoadCommand()
409 WriteBytes("", OffsetToAlignment(BytesWritten, is64Bit() ? 8 : 4)); in WriteLinkerOptionsLoadCommand()
743 uint64_t LoadCommandsSize = is64Bit() ? in WriteObject()
769 is64Bit()); in WriteObject()
774 uint64_t SectionDataStart = (is64Bit() ? sizeof(MachO::mach_header_64) : in WriteObject()
851 SymbolTableOffset + NumSymTabSymbols * (is64Bit() ? in WriteObject()