Home
last modified time | relevance | path

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

/art/test/661-oat-writer-layout/
Dparse_oatdump_offsets.sh26 tmp_file="$(mktemp)"
34 echo $line $found_method >> "$tmp_file"
38 sort "$tmp_file"
/art/tools/
Dtest_presubmit.py112 tmp_file = tempfile.mktemp()
116 success = run_tool(tool_dict, tmp_file)
120 print("$> %s" %(" ".join(command_line_for_tool(tool_dict, tmp_file))), file=sys.stderr)
122 if run_diff(f, tool_dict, tmp_file):
/art/dexlayout/
Ddexlayout_test.cc291 ScratchFile tmp_file; in DexFileOutputExec() local
292 const std::string& tmp_name = tmp_file.GetFilename(); in DexFileOutputExec()
384 ScratchFile tmp_file; in DexFileLayoutExec() local
385 const std::string& tmp_name = tmp_file.GetFilename(); in DexFileLayoutExec()
413 ScratchFile tmp_file; in DexFileLayoutFixedPointExec() local
414 const std::string& tmp_name = tmp_file.GetFilename(); in DexFileLayoutFixedPointExec()
482 ScratchFile tmp_file; in UnreferencedCatchHandlerExec() local
483 const std::string& tmp_name = tmp_file.GetFilename(); in UnreferencedCatchHandlerExec()
718 ScratchFile tmp_file; in TEST_F() local
719 const std::string& tmp_name = tmp_file.GetFilename(); in TEST_F()
[all …]
/art/compiler/utils/
Dassembler_test_base.h503 std::string tmp_file = GetTmpnam(); in FindTool() local
505 args.push_back(tmp_file); in FindTool()
519 std::ifstream in(tmp_file.c_str()); in FindTool()
523 std::remove(tmp_file.c_str()); in FindTool()
527 std::remove(tmp_file.c_str()); in FindTool()
534 const std::string& tmp_file) { in FindToolDumpPrintout() argument
546 args.push_back(tmp_file); in FindToolDumpPrintout()
562 std::ifstream in(tmp_file.c_str()); in FindToolDumpPrintout()
570 std::remove(tmp_file.c_str()); in FindToolDumpPrintout()
/art/test/etc/
Ddefault-build228 local tmp_file="$(mktemp)"
229 "$ZIPALIGN" -f "$ZIP_ALIGN_BYTES" "$zip_target" "$tmp_file"
231 mv "$tmp_file" "$zip_target"
/art/dex2oat/
Ddex2oat.cc2752 std::unique_ptr<File> tmp_file(OS::CreateEmptyFile(tmp_file_name.c_str())); in SaveDexInput() local
2753 if (tmp_file.get() == nullptr) { in SaveDexInput()
2759 UNUSED(tmp_file->WriteFully(dex_file->Begin(), dex_file->Size())); in SaveDexInput()
2760 UNUSED(tmp_file->Flush()); in SaveDexInput()
2761 UNUSED(tmp_file->Close()); in SaveDexInput()