Lines Matching refs:is64Bit
147 W.write<uint32_t>(is64Bit() ? MachO::MH_MAGIC_64 : MachO::MH_MAGIC); in writeHeader()
156 if (is64Bit()) in writeHeader()
159 assert(W.OS.tell() - Start == (is64Bit() ? sizeof(MachO::mach_header_64) in writeHeader()
184 is64Bit() ? sizeof(MachO::segment_command_64): in writeSegmentLoadCommand()
186 W.write<uint32_t>(is64Bit() ? MachO::LC_SEGMENT_64 : MachO::LC_SEGMENT); in writeSegmentLoadCommand()
188 NumSections * (is64Bit() ? sizeof(MachO::section_64) : in writeSegmentLoadCommand()
192 if (is64Bit()) { in writeSegmentLoadCommand()
235 if (is64Bit()) { in writeSection()
251 if (is64Bit()) in writeSection()
255 (is64Bit() ? sizeof(MachO::section_64) : sizeof(MachO::section))); in writeSection()
400 if (is64Bit()) in writeNlist()
421 const std::vector<std::string> &Options, bool is64Bit) in ComputeLinkerOptionsLoadCommandSize() argument
426 return alignTo(Size, is64Bit ? 8 : 4); in ComputeLinkerOptionsLoadCommandSize()
432 unsigned Size = ComputeLinkerOptionsLoadCommandSize(Options, is64Bit()); in writeLinkerOptionsLoadCommand()
447 W.OS.write_zeros(OffsetToAlignment(BytesWritten, is64Bit() ? 8 : 4)); in writeLinkerOptionsLoadCommand()
753 uint64_t LoadCommandsSize = is64Bit() ? in writeObject()
775 uint64_t LOHSize = alignTo(LOHRawSize, is64Bit() ? 8 : 4); in writeObject()
793 LoadCommandsSize += ComputeLinkerOptionsLoadCommandSize(Option, is64Bit()); in writeObject()
798 uint64_t SectionDataStart = (is64Bit() ? sizeof(MachO::mach_header_64) : in writeObject()
919 SymbolTableOffset + NumSymTabSymbols * (is64Bit() ? in writeObject()
986 W.OS.write_zeros(OffsetToAlignment(LOHRawSize, is64Bit() ? 8 : 4)); in writeObject()