Home
last modified time | relevance | path

Searched refs:indent (Results 1 - 25 of 25) sorted by relevance

/developtools/hiperf/src/
H A Dsubcommand_dump.cpp222 void SubCommandDump::PrintHeaderInfo(const int &indent) in PrintHeaderInfo() argument
226 PRINT_INDENT(indent, "magic: "); in PrintHeaderInfo()
228 PRINT_INDENT(indent, "%c", header.magic[i]); in PrintHeaderInfo()
230 PRINT_INDENT(indent, "\n"); in PrintHeaderInfo()
231 PRINT_INDENT(indent, "header_size: %" PRId64 "\n", header.size); in PrintHeaderInfo()
235 PRINT_INDENT(indent, "attr_size: %" PRId64 "\n", header.attrSize); in PrintHeaderInfo()
240 PRINT_INDENT(indent, "attrs[file section]: offset %" PRId64 ", size %" PRId64 "\n", in PrintHeaderInfo()
243 PRINT_INDENT(indent, "data[file section]: offset %" PRId64 ", size %" PRId64 "\n", in PrintHeaderInfo()
245 PRINT_INDENT(indent, "event_types[file section]: offset %" PRId64 ", size %" PRId64 "\n", in PrintHeaderInfo()
248 PRINT_INDENT(indent, in PrintHeaderInfo()
256 DumpPrintFileHeader(int indent) DumpPrintFileHeader() argument
310 DumpSampleType(uint64_t sampleType, int indent) DumpSampleType() argument
324 DumpPrintEventAttr(const perf_event_attr &attr, int indent) DumpPrintEventAttr() argument
365 DumpAttrPortion(int indent) DumpAttrPortion() argument
426 DumpCallChain(int indent, std::unique_ptr<PerfRecordSample> &sample) DumpCallChain() argument
439 DumpDataPortion(int indent) DumpDataPortion() argument
470 PrintSymbolFile(const int &indent, const SymbolFileStruct &symbolFileStruct) PrintSymbolFile() argument
489 PrintFeatureEventdesc(int indent, const PerfFileSectionEventDesc &sectionEventdesc) PrintFeatureEventdesc() argument
503 DumpFeaturePortion(int indent) DumpFeaturePortion() argument
563 DumpUniqueStackTableNode(int indent, const PerfFileSectionUniStackTable &uniStackTable) DumpUniqueStackTableNode() argument
[all...]
H A Dreport_protobuf_file.cpp297 bool ReportProtobufFileReader::Dump(const CallStackSample &message, int indent) in Dump() argument
299 PRINT_INDENT(indent, "%s:\n", message.GetTypeName().c_str()); in Dump()
301 PRINT_INDENT(indent + 1, "time:%" PRId64 "\n", message.time()); in Dump()
304 PRINT_INDENT(indent + 1, "tid:%u\n", message.tid()); in Dump()
307 PRINT_INDENT(indent + 1, "%d:\n", i); in Dump()
310 PRINT_INDENT(indent + INDENT_TWO, "symbols_vaddr: 0x%" PRIx64 " \n", in Dump()
314 PRINT_INDENT(indent + INDENT_TWO, "symbols_file_id: %u\n", callframe.symbols_file_id()); in Dump()
317 PRINT_INDENT(indent + INDENT_TWO, "function_name_id: %d\n", callframe.function_name_id()); in Dump()
321 PRINT_INDENT(indent + 1, "event_count:%" PRIu64 "\n", message.event_count()); in Dump()
324 PRINT_INDENT(indent in Dump()
329 Dump(const SampleStatistic &message, int indent) Dump() argument
341 Dump(const SymbolTableFile &message, int indent) Dump() argument
355 Dump(const VirtualThreadInfo &message, int indent) Dump() argument
369 Dump(const ReportInfo &message, int indent) Dump() argument
380 Dump(const HiperfRecord &record, int indent) Dump() argument
[all...]
H A Dspe_decoder.cpp828 bool SpeDumpRawData(unsigned char *buf, size_t len, int indent, FILE *outputDump) in SpeDumpRawData() argument
840 PRINT_INDENT(indent, ". ... ARM SPE data: size %#zx bytes\n", len); in SpeDumpRawData()
848 PRINT_INDENT(indent, "."); in SpeDumpRawData()
849 PRINT_INDENT(indent, " %08zx: ", pos); in SpeDumpRawData()
851 PRINT_INDENT(indent, " %02x", buf[i]); in SpeDumpRawData()
854 PRINT_INDENT(indent, " "); in SpeDumpRawData()
860 PRINT_INDENT(indent, " %s\n", desc); in SpeDumpRawData()
863 PRINT_INDENT(indent, " Bad packet!\n"); in SpeDumpRawData()
975 void DumpSpeReportHead(int indent, uint32_t type, uint64_t count) in DumpSpeReportHead() argument
979 PRINT_INDENT(indent, "\nEven in DumpSpeReportHead()
1000 DumpSpeReportData(int indent, FILE *outputDump) DumpSpeReportData() argument
[all...]
H A Dperf_event_record.cpp194 void PerfEventRecord::Dump(int indent, std::string outputFilename, FILE *outputDump) const in Dump() argument
206 PRINT_INDENT(indent, "\n"); in Dump()
207 PRINT_INDENT(indent, "record %s: type %u, misc %u, size %zu\n", GetName().c_str(), GetType(), in Dump()
209 DumpData(indent + 1); in Dump()
288 void PerfRecordAuxtrace::DumpData(int indent) const in DumpData()
290 PRINT_INDENT(indent, "size 0x%llx, offset 0x%llx, reference 0x%llx, idx %u, tid %u, cpu %u, pid %u\n", in DumpData()
293 if (!SpeDumpRawData(rawData_, data_.size, indent, g_outputDump)) { in DumpData()
512 void PerfRecordSample::DumpData(int indent) const in DumpData()
514 PRINT_INDENT(indent, "sample_type: 0x%" PRIx64 "\n", sampleType_); in DumpData()
518 PRINT_INDENT(indent, "I in DumpData()
[all...]
H A Dreport.cpp395 bool Report::OutputStdCallFrame(int indent, const std::string_view &funcName, uint64_t eventCount, in OutputStdCallFrame() argument
400 HLOGV("frame %f indent %d at %s", heat, indent, funcName.data()); in OutputStdCallFrame()
405 fprintf(output_, "%*s", indent, " "); in OutputStdCallFrame()
408 fprintf(output_, "%*s", indent, "|- "); in OutputStdCallFrame()
442 void Report::OutputStdCallFrames(int indent, const ReportItemCallFrame &callFrame, uint64_t totalEventCount)
455 CHECK_TRUE(!OutputStdCallFrame(indent, callFrame.func_, callFrame.eventCount_, totalEventCount),
460 OutputStdCallFrame(indent + CALLSTACK_INDENT, "[run in self function]",
468 HLOGV("childCallFream %*c %s", indent, ' ', callFrame.childs[0].func_.data());
469 // don't indent i
[all...]
/developtools/hiperf/include/
H A Dsubcommand_dump.h76 static void DumpPrintEventAttr(const perf_event_attr &attr, int indent = 0);
80 static void DumpSampleType(uint64_t sampleType, int indent);
107 void DumpPrintFileHeader(int indent = 0);
108 void DumpAttrPortion(int indent = 0);
109 void DumpDataPortion(int indent = 0);
110 void DumpCallChain(int indent, std::unique_ptr<PerfRecordSample> &sample);
111 void DumpFeaturePortion(int indent = 0);
112 void DumpUniqueStackTableNode(int indent, const PerfFileSectionUniStackTable &uniStackTable);
115 void PrintHeaderInfo(const int &indent);
116 void PrintSymbolFile(const int &indent, cons
[all...]
H A Dperf_event_record.h158 void Dump(int indent = 0, std::string outputFilename = "", FILE *outputDump = nullptr) const;
159 virtual void DumpData(int indent) const = 0;
183 void DumpData(int indent) const override;
199 void DumpData(int indent) const override;
215 void DumpData(int indent) const override;
227 void DumpData(int indent) const override;
248 void DumpData(int indent) const override;
271 void DumpData(int indent = 0) const override;
304 void DumpData(int indent) const override;
314 void DumpData(int indent) cons
[all...]
H A Dreport_protobuf_file.h90 bool Dump(const Proto::HiperfRecord &record, int indent = 0);
91 bool Dump(const Proto::CallStackSample &message, int indent = 0);
92 bool Dump(const Proto::SampleStatistic &message, int indent = 0);
93 bool Dump(const Proto::SymbolTableFile &message, int indent = 0);
94 bool Dump(const Proto::VirtualThreadInfo &message, int indent = 0);
95 bool Dump(const Proto::ReportInfo &message, int indent = 0);
H A Dreport.h67 static void OrderCallFrames(std::vector<ReportItemCallFrame> &callframes, int indent = 2) in OrderCallFrames()
75 HLOGDUMMY("%*s%s", indent, "", callframe.ToDebugString().c_str()); in OrderCallFrames()
77 OrderCallFrames(callframe.childs, indent + i); in OrderCallFrames()
84 static void DumpCallFrames(std::vector<ReportItemCallFrame> &callframes, int indent = 2) in DumpCallFrames()
89 HLOGV("%*s%s", indent, "", callframe.ToDebugString().c_str()); in DumpCallFrames()
91 DumpCallFrames(callframe.childs, indent + y); in DumpCallFrames()
553 void OutputStdCallFrames(int indent, const ReportItemCallFrame &callFrame, uint64_t totalEventCount);
554 bool OutputStdCallFrame(int indent, const std::string_view &funcName, uint64_t eventCount,
H A Dspe_decoder.h294 bool SpeDumpRawData(unsigned char *buf, size_t len, int indent, FILE *outputDump);
309 void DumpSpeReportData(int indent, FILE *outputDump);
310 void DumpSpeReportHead(int indent, uint32_t type, uint64_t count);
H A Dutilities.h316 #define PRINT_INDENT(indent, format, ...) \
317 if (indent >= 0) { \
319 printf("%*s" format, (indent)*2, "", ##__VA_ARGS__); \
321 fprintf(g_outputDump, "%*s" format, (indent)*2, "", ##__VA_ARGS__); \
/developtools/profiler/device/plugins/native_daemon/include/
H A Dutilities.h302 #define INDENT_ONE_LEVEL (indent + 1)
303 #define INDENT_TWO_LEVEL (indent + 2)
305 #define PrintIndent(indent, format, ...) \
306 if (indent >= 0) { \
307 printf("%*s" format, (indent)*2, "", ##__VA_ARGS__); \
/developtools/profiler/hiebpf/scripts/
H A Dfstrace_code_generator.py344 indent = " "
354 var_decl_str = "{}{}* args = &fs_se->{};\n".format(indent, args_type, args_var_name)
363 assignment_str = "{}args->{} = {};\n".format(indent, member_name, member_name)
366 assignment_str, indent)
/developtools/integration_verification/tools/opensource_tools/src/
H A Dgenerate_readme_opensource.py39 json.dump(components, f, indent=2, ensure_ascii=False)
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/src/
H A Drom_analysis.py68 json.dump(rom_ram_baseline, f, indent=4)
86 json.dump(rom_size_dict, f, indent=4)
101 json.dump(result_dict, f, indent=4)
108 json.dump(product_dict, f, indent=4)
H A Dget_subsystem_component.py83 subsystem_item, indent=4, separators=(', ', ': '))
/developtools/ace_js2bundle/ace-loader/plugin/codegen/
H A Dindex.js1 (()=>{"use strict";var e={904:(e,t)=>{var n;let o;Object.defineProperty(t,"__esModule",{value:!0}),t.setDomain=t.getDomain=t.Domain=void 0,function(e){e[e.FA=0]="FA",e[e.FORM=1]="FORM",e[e.ETS=2]="ETS"}(n||(n={})),t.Domain=n,t.setDomain=e=>{o=e},t.getDomain=()=>null!=o?o:n.FA},784:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.errorMap=void 0,t.errorMap=new Map([["fileError","Visual file is damaged"],["versionError","Version number of visual file does not match"],["modelError","Visual model in visual file is damaged"],["codegenError","Codegen hml and css failed"]])},117:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ASTNode=void 0,t.ASTNode=class{accept(e){return e.visit(this)}}},862:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Cache=void 0,t.Cache=class{constructor(e,t=0){this.value="",this.indent=t,this.flag=!0,this.INDENT=e}indentOn(){this.flag=!0}indentOff(){this.flag=!1}incIndent(){this.indent++}decIndent(){this.indent--}checkIndent(){return this.indent<0}getIndents(){if(this.flag){let e="";for(let t=0;t<this.indent;t++)e+=this.INDENT;return e}return""}concat(...e){return this.value+=this.getIndents(),this.value= (…)
/developtools/integration_verification/tools/rom_ram_analyzer/standard/
H A Drom_analyzer.py94 json.dump(rom_baseline_dict, f, indent=4)
126 f.write(json.dumps(result_dict, indent=4))
H A Dram_analyzer.py111 json.dump(result_dict, f, indent=4)
118 json.dump(refactored_result, f, indent=4)
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/module_info/
H A Dcompile_info_loader.py78 json.dump(unknown_items, f, indent=4)
/developtools/integration_verification/tools/deps_guard/rules_checker/
H A Dchipsetsdk.py145 json.dump(headers, f, indent=4)
/developtools/hapsigner/tools/
H A Dauto_test.py349 tr.write(json.dumps(test_result_dict, indent=4))
/developtools/integration_verification/tools/components_deps/
H A Dcomponents_deps_analyzer.py59 json.dump(result, fd, indent=4, ensure_ascii=False)
/developtools/integration_verification/tools/startup_guard/config_parser_mgr/cfg/
H A Dconfig_parser.py399 pp = pprint.PrettyPrinter(indent=0, compact=True)
/developtools/syscap_codec/tools/
H A Dsyscap_collector.py54 json.dump({'SysCaps': syscaps_list}, f, indent=4)

Completed in 21 milliseconds