Searched refs:tmp_file (Results 1 - 2 of 2) sorted by relevance

/art/compiler/utils/
H A Dassembler_test_base.h495 std::string tmp_file = GetTmpnam(); local
497 args.push_back(tmp_file);
511 std::ifstream in(tmp_file.c_str());
515 std::remove(tmp_file.c_str());
519 std::remove(tmp_file.c_str());
525 static void FindToolDumpPrintout(std::string name_predicate, std::string tmp_file) { argument
537 args.push_back(tmp_file);
553 std::ifstream in(tmp_file.c_str());
561 std::remove(tmp_file.c_str());
/art/dex2oat/
H A Ddex2oat.cc2156 std::unique_ptr<File> tmp_file(OS::CreateEmptyFile(tmp_file_name.c_str()));
2157 if (tmp_file.get() == nullptr) {
2163 UNUSED(tmp_file->WriteFully(dex_file->Begin(), dex_file->Size()));
2164 UNUSED(tmp_file->Flush());
2165 UNUSED(tmp_file->Close());

Completed in 9 milliseconds