Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Support/
DPath.cpp166 if (fs::identify_magic(str(), type)) in isArchive()
174 if (fs::identify_magic(str(), type)) in isDynamicLibrary()
189 if (fs::identify_magic(str(), type) || type == Unknown_FileType) in isObjectFile()
226 if (fs::identify_magic(str(), type)) in isBitcodeFile()
DPathV2.cpp741 error_code identify_magic(const Twine &path, LLVMFileType &result) { in identify_magic() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/
DMagic.h63 file_magic identify_magic(StringRef magic);
71 std::error_code identify_magic(const Twine &path, file_magic &result);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/BinaryFormat/
DMagic.cpp35 file_magic llvm::identify_magic(StringRef Magic) { in identify_magic() function in llvm
208 std::error_code llvm::identify_magic(const Twine &Path, file_magic &Result) { in identify_magic() function in llvm
214 Result = identify_magic(FileBuffer->getBuffer()); in identify_magic()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DSymbolicFile.cpp43 Type = identify_magic(Data); in createSymbolicFile()
DBinary.cpp47 file_magic Type = identify_magic(Buffer.getBuffer()); in createBinary()
DObjectFile.cpp113 Type = identify_magic(Data); in createObjectFile()
DIRObjectFile.cpp91 file_magic Type = identify_magic(Object.getBuffer()); in findBitcodeInMemBuffer()
/external/llvm/lib/Object/
DSymbolicFile.cpp33 Type = sys::fs::identify_magic(Data); in createSymbolicFile()
DBinary.cpp41 sys::fs::file_magic Type = sys::fs::identify_magic(Buffer.getBuffer()); in createBinary()
DModuleSummaryIndexObjectFile.cpp52 sys::fs::file_magic Type = sys::fs::identify_magic(Object.getBuffer()); in findBitcodeInMemBuffer()
DObjectFile.cpp76 Type = sys::fs::identify_magic(Data); in createObjectFile()
DIRObjectFile.cpp292 sys::fs::file_magic Type = sys::fs::identify_magic(Object.getBuffer()); in findBitcodeInMemBuffer()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/BinaryFormat/
DTestFileMagic.cpp132 EXPECT_EQ(i->magic, identify_magic(magic)); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ToolDrivers/llvm-lib/
DLibDriver.cpp154 file_magic Magic = identify_magic(MOrErr->Buf->getBuffer()); in libDriverMain()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DFileSystem.h406 error_code identify_magic(const Twine &path, LLVMFileType &result);
/external/llvm/include/llvm/Support/
DFileSystem.h649 file_magic identify_magic(StringRef magic);
657 std::error_code identify_magic(const Twine &path, file_magic &result);
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFileSystem.h660 file_magic identify_magic(StringRef magic);
668 std::error_code identify_magic(const Twine &path, file_magic &result);
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp989 file_magic identify_magic(StringRef Magic) { in identify_magic() function
1140 std::error_code identify_magic(const Twine &Path, file_magic &Result) { in identify_magic() function
1150 Result = identify_magic(StringRef(Buffer, Length)); in identify_magic()
/external/llvm/lib/Support/
DPath.cpp982 file_magic identify_magic(StringRef Magic) { in identify_magic() function
1143 std::error_code identify_magic(const Twine &Path, file_magic &Result) { in identify_magic() function
1153 Result = identify_magic(StringRef(Buffer, Length)); in identify_magic()
/external/swiftshader/third_party/LLVM/lib/Archive/
DArchiveWriter.cpp186 if (sys::fs::identify_magic(mbr->path.str(), type)) in addFileBefore()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DInputFile.cpp253 if (auto EC = identify_magic(Path, Magic)) in open()
/external/llvm/unittests/Support/
DPath.cpp810 EXPECT_EQ(i->magic, fs::identify_magic(magic)); in TEST_F()