Home
last modified time | relevance | path

Searched refs:output_filename (Results 1 – 7 of 7) sorted by relevance

/system/extras/simpleperf/scripts/purgatorio/
Dpurgatorio.py289 output_filename = args.output
291 if not output_filename:
292 output_filename = os.path.splitext(os.path.basename(args.input_file))[0] + '.html'
294 title = os.path.splitext(os.path.basename(output_filename))[0]
298 with io.open(output_filename, mode='w', encoding='utf-8') as fout:
302 view(output_filename)
/system/extras/simpleperf/app_api/cpp/
Dsimpleperf.cpp44 std::string output_filename; member in simpleperf::RecordOptionsImpl
61 impl_->output_filename = filename; in SetOutputFilename()
118 std::string output_filename = impl_->output_filename; in ToRecordArgs() local
119 if (output_filename.empty()) { in ToRecordArgs()
120 output_filename = GetDefaultOutputFilename(); in ToRecordArgs()
122 args.insert(args.end(), {"-o", output_filename}); in ToRecordArgs()
/system/extras/simpleperf/
Dcmd_debug_unwind.cpp119 RecordFileProcessor(const std::string& output_filename, bool output_binary_mode) in RecordFileProcessor() argument
120 : output_filename_(output_filename), in RecordFileProcessor()
220 SampleUnwinder(const std::string& output_filename, in SampleUnwinder() argument
222 : RecordFileProcessor(output_filename, false), in SampleUnwinder()
361 TestFileGenerator(const std::string& output_filename, in TestFileGenerator() argument
364 : RecordFileProcessor(output_filename, true), in TestFileGenerator()
506 ReportGenerator(const std::string& output_filename) in ReportGenerator() argument
507 : RecordFileProcessor(output_filename, false) {} in ReportGenerator()
Dcmd_inject.cpp662 bool Write(const std::string& output_filename) { in Write() argument
663 std::unique_ptr<FILE, decltype(&fclose)> output_fp(fopen(output_filename.c_str(), "w"), fclose); in Write()
665 PLOG(ERROR) << "failed to write to " << output_filename; in Write()
798 static bool WriteBranchListFile(const std::string& output_filename, const ETMBinaryMap& etm_data, in WriteBranchListFile() argument
812 unlink(output_filename.c_str()); in WriteBranchListFile()
815 if (!android::base::WriteStringToFile(s, output_filename)) { in WriteBranchListFile()
816 PLOG(ERROR) << "failed to write to " << output_filename; in WriteBranchListFile()
/system/chre/api_parser/
Dchpp_code_generator.py63 def _dump_to_file(self, output_filename, contents, dry_run, skip_clang_fomat): argument
67 print('---- {} ----'.format(output_filename))
69 print('---- end of {} ----\n'.format(output_filename))
71 with open(output_filename, 'w') as f:
77 args = [clang_format_path, '-i', output_filename]
/system/unwinding/libunwindstack/tools/
Dunwind_for_offline.cpp370 const std::string& output_filename = optarg != nullptr ? optarg : "output.txt"; in main() local
375 output_fp.reset(fopen(output_filename.c_str(), "ae")); in main()
/system/security/keystore/
Dkeystore_cli_v2.cpp947 const std::string& output_filename, keymint::SecurityLevel securityLevel) { in Encrypt() argument
954 WriteFile(output_filename, std::get<std::vector<uint8_t>>(result)); in Encrypt()
959 const std::string& output_filename) { in Decrypt() argument
966 WriteFile(output_filename, std::get<std::vector<uint8_t>>(result)); in Decrypt()