Searched refs:tmp_file (Results 1 – 2 of 2) sorted by relevance
495 std::string tmp_file = GetTmpnam(); in FindTool() local497 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() argument537 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()
2149 std::unique_ptr<File> tmp_file(OS::CreateEmptyFile(tmp_file_name.c_str())); in SaveDexInput() local2150 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()