Home
last modified time | relevance | path

Searched refs:readBigEndian (Results 1 – 1 of 1) sorted by relevance

/external/llvm-project/lld/lib/ReaderWriter/MachO/
DMachONormalizedFileBinaryReader.cpp114 template <typename T> static T readBigEndian(T t) { in readBigEndian() function
179 if (readBigEndian(fh->magic) != llvm::MachO::FAT_MAGIC) in sliceFromFatFile()
181 uint32_t nfat_arch = readBigEndian(fh->nfat_arch); in sliceFromFatFile()
190 if ((readBigEndian(fa->cputype) == reqCpuType) && in sliceFromFatFile()
191 (readBigEndian(fa->cpusubtype) == reqCpuSubtype)) { in sliceFromFatFile()
192 offset = readBigEndian(fa->offset); in sliceFromFatFile()
193 size = readBigEndian(fa->size); in sliceFromFatFile()