Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/BinaryFormat/
DMagic.cpp199 StringRef(COFF::PEMagic, sizeof(COFF::PEMagic)))) in identify_magic()
/external/llvm-project/llvm/lib/BinaryFormat/
DMagic.cpp200 StringRef(COFF::PEMagic, sizeof(COFF::PEMagic)))) in identify_magic()
/external/llvm-project/llvm/tools/llvm-objcopy/COFF/
DWriter.cpp182 SizeOfHeaders += Obj.DosHeader.AddressOfNewExeHeader + sizeof(PEMagic); in finalize()
249 memcpy(Ptr, PEMagic, sizeof(PEMagic)); in writeHeaders()
250 Ptr += sizeof(PEMagic); in writeHeaders()
/external/llvm/tools/yaml2obj/
Dyaml2coff.cpp176 CP.SectionTableStart += DOSStubSize + sizeof(COFF::PEMagic); in layoutCOFF()
374 OS.write(COFF::PEMagic, sizeof(COFF::PEMagic)); in writeCOFF()
/external/llvm-project/llvm/lib/ObjectYAML/
DCOFFEmitter.cpp213 CP.SectionTableStart += DOSStubSize + sizeof(COFF::PEMagic); in layoutCOFF()
427 OS.write(COFF::PEMagic, sizeof(COFF::PEMagic)); in writeCOFF()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCOFFEmitter.cpp213 CP.SectionTableStart += DOSStubSize + sizeof(COFF::PEMagic); in layoutCOFF()
427 OS.write(COFF::PEMagic, sizeof(COFF::PEMagic)); in writeCOFF()
/external/llvm-project/lld/COFF/
DWriter.cpp1270 sizeOfHeaders = dosStubSize + sizeof(PEMagic) + sizeof(coff_file_header) + in assignAddresses()
1344 memcpy(buf, PEMagic, sizeof(PEMagic)); in writeHeader()
1345 buf += sizeof(PEMagic); in writeHeader()
1905 buf += dosStubSize + sizeof(PEMagic); in writeBuildId()
/external/llvm/include/llvm/Support/
DCOFF.h37 static const char PEMagic[] = { 'P', 'E', '\0', '\0' }; variable
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCOFF.h37 static const char PEMagic[] = { 'P', 'E', '\0', '\0' }; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DCOFF.h36 static const char PEMagic[] = {'P', 'E', '\0', '\0'}; variable
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DCOFF.h36 static const char PEMagic[] = {'P', 'E', '\0', '\0'}; variable
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DCOFFObjectFile.cpp685 if (checkSize(Data, EC, sizeof(dos_header) + sizeof(COFF::PEMagic))) { in COFFObjectFile()
692 if (memcmp(base() + CurPtr, COFF::PEMagic, sizeof(COFF::PEMagic)) != 0) { in COFFObjectFile()
696 CurPtr += sizeof(COFF::PEMagic); // Skip the PE magic bytes. in COFFObjectFile()
/external/llvm-project/llvm/lib/Object/
DCOFFObjectFile.cpp734 if (checkSize(Data, EC, sizeof(dos_header) + sizeof(COFF::PEMagic))) { in initialize()
741 if (memcmp(base() + CurPtr, COFF::PEMagic, sizeof(COFF::PEMagic)) != 0) { in initialize()
744 CurPtr += sizeof(COFF::PEMagic); // Skip the PE magic bytes. in initialize()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp1124 memcmp(Magic.data()+off, COFF::PEMagic, sizeof(COFF::PEMagic)) == 0) in identify_magic()
/external/llvm/lib/Support/
DPath.cpp1127 memcmp(Magic.data()+off, COFF::PEMagic, sizeof(COFF::PEMagic)) == 0) in identify_magic()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DPath.inc881 static const char PEMagic[] = {'P', 'E', '\0', '\0'};
885 if (Magic.substr(off).startswith(StringRef(PEMagic, sizeof(PEMagic))))
/external/llvm-project/llvm/lib/Support/Windows/
DPath.inc901 static const char PEMagic[] = {'P', 'E', '\0', '\0'};
905 if (Magic.substr(off).startswith(StringRef(PEMagic, sizeof(PEMagic))))