Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/BinaryFormat/
DTestFileMagic.cpp124 SmallString<128> file_pathname(TestDirectory); in TEST_F() local
125 llvm::sys::path::append(file_pathname, i->filename); in TEST_F()
127 raw_fd_ostream file(file_pathname, EC, sys::fs::F_None); in TEST_F()
133 ASSERT_NO_ERROR(fs::remove(Twine(file_pathname))); in TEST_F()
/external/llvm/unittests/Support/
DProgramTest.cpp328 SmallString<128> file_pathname(TestDirectory); in TEST() local
329 path::append(file_pathname, "international-file.txt"); in TEST()
331 ASSERT_NO_ERROR(sys::writeFileWithEncoding(file_pathname.c_str(), utf8_text, in TEST()
334 ASSERT_NO_ERROR(fs::openFileForRead(file_pathname.c_str(), fd)); in TEST()
351 ASSERT_NO_ERROR(fs::remove(file_pathname.str())); in TEST()
DPath.cpp802 SmallString<128> file_pathname(TestDirectory); in TEST_F() local
803 path::append(file_pathname, i->filename); in TEST_F()
805 raw_fd_ostream file(file_pathname, EC, sys::fs::F_None); in TEST_F()
811 ASSERT_NO_ERROR(fs::remove(Twine(file_pathname))); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DProgramTest.cpp313 SmallString<128> file_pathname(TestDirectory); in TEST() local
314 path::append(file_pathname, "international-file.txt"); in TEST()
316 ASSERT_NO_ERROR(sys::writeFileWithEncoding(file_pathname.c_str(), utf8_text, in TEST()
319 ASSERT_NO_ERROR(fs::openFileForRead(file_pathname.c_str(), fd)); in TEST()
336 ASSERT_NO_ERROR(fs::remove(file_pathname.str())); in TEST()
/external/swiftshader/third_party/LLVM/unittests/Support/
DPath.cpp238 SmallString<128> file_pathname(TestDirectory); in TEST_F() local
239 path::append(file_pathname, i->filename); in TEST_F()
241 raw_fd_ostream file(file_pathname.c_str(), ErrMsg, in TEST_F()
248 ASSERT_NO_ERROR(fs::has_magic(file_pathname.c_str(), magic, res)); in TEST_F()
/external/google-breakpad/src/client/solaris/handler/
Dminidump_generator.h62 bool WriteMinidumpToFile(const char *file_pathname,
Dminidump_generator.cc753 bool MinidumpGenerator::WriteMinidumpToFile(const char *file_pathname, in WriteMinidumpToFile() argument
760 assert(file_pathname != NULL); in WriteMinidumpToFile()
762 if (file_pathname == NULL) in WriteMinidumpToFile()
766 if (minidump_writer.Open(file_pathname)) { in WriteMinidumpToFile()