Home
last modified time | relevance | path

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

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