Home
last modified time | relevance | path

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

/external/llvm/lib/Object/
DFunctionIndexObjectFile.cpp54 sys::fs::file_magic Type = sys::fs::identify_magic(Object.getBuffer()); in findBitcodeInMemBuffer()
113 sys::fs::file_magic Type = sys::fs::identify_magic(Object.getBuffer()); in findFunctionSummaryInMemBuffer()
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()
DObjectFile.cpp66 Type = sys::fs::identify_magic(Data); in createObjectFile()
DIRObjectFile.cpp283 sys::fs::file_magic Type = sys::fs::identify_magic(Object.getBuffer()); in findBitcodeInMemBuffer()
/external/llvm/include/llvm/Support/
DFileSystem.h628 file_magic identify_magic(StringRef magic);
636 std::error_code identify_magic(const Twine &path, file_magic &result);
/external/llvm/lib/Support/
DPath.cpp954 file_magic identify_magic(StringRef Magic) { in identify_magic() function
1103 std::error_code identify_magic(const Twine &Path, file_magic &Result) { in identify_magic() function
1113 Result = identify_magic(StringRef(Buffer, Length)); in identify_magic()
/external/llvm/unittests/Support/
DPath.cpp787 EXPECT_EQ(i->magic, fs::identify_magic(magic)); in TEST_F()