Searched refs:identify_magic (Results 1 – 8 of 8) sorted by relevance
54 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()
33 Type = sys::fs::identify_magic(Data); in createSymbolicFile()
41 sys::fs::file_magic Type = sys::fs::identify_magic(Buffer.getBuffer()); in createBinary()
66 Type = sys::fs::identify_magic(Data); in createObjectFile()
283 sys::fs::file_magic Type = sys::fs::identify_magic(Object.getBuffer()); in findBitcodeInMemBuffer()
628 file_magic identify_magic(StringRef magic);636 std::error_code identify_magic(const Twine &path, file_magic &result);
954 file_magic identify_magic(StringRef Magic) { in identify_magic() function1103 std::error_code identify_magic(const Twine &Path, file_magic &Result) { in identify_magic() function1113 Result = identify_magic(StringRef(Buffer, Length)); in identify_magic()
787 EXPECT_EQ(i->magic, fs::identify_magic(magic)); in TEST_F()