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.cc292 ScratchFile tmp_file; in DexFileOutputExec() local
293 const std::string& tmp_name = tmp_file.GetFilename(); in DexFileOutputExec()
392 ScratchFile tmp_file; in DexFileLayoutExec() local
393 const std::string& tmp_name = tmp_file.GetFilename(); in DexFileLayoutExec()
421 ScratchFile tmp_file; in DexFileLayoutFixedPointExec() local
422 const std::string& tmp_name = tmp_file.GetFilename(); in DexFileLayoutFixedPointExec()
485 ScratchFile tmp_file; in UnreferencedCatchHandlerExec() local
486 const std::string& tmp_name = tmp_file.GetFilename(); in UnreferencedCatchHandlerExec()
721 ScratchFile tmp_file; in TEST_F() local
722 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.cc2457 std::unique_ptr<File> tmp_file(OS::CreateEmptyFile(tmp_file_name.c_str())); in SaveDexInput() local
2458 if (tmp_file.get() == nullptr) { in SaveDexInput()
2464 UNUSED(tmp_file->WriteFully(dex_file->Begin(), dex_file->Size())); in SaveDexInput()
2465 UNUSED(tmp_file->Flush()); in SaveDexInput()
2466 UNUSED(tmp_file->Close()); in SaveDexInput()