Home
last modified time | relevance | path

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

123

/system/tools/hidl/
DgenerateJava.cpp161 out.indent(); in generateJava()
176 out.indent(); in generateJava()
179 out.indent(); in generateJava()
185 out.indent(); in generateJava()
186 out.indent(); in generateJava()
195 out.indent(); in generateJava()
202 out.indent(); in generateJava()
204 out.indent(); in generateJava()
206 out.indent(); in generateJava()
214 out.indent(); in generateJava()
[all …]
DgenerateCpp.cpp153 out.indent(2, [&] { in declareServiceManagerInteractions()
194 out.indent(2, [&] { in implementServiceManagerInteractions()
201 out.indent(2, [&] { in implementServiceManagerInteractions()
208 out.indent(2, [&] { in implementServiceManagerInteractions()
210 out.indent(2, [&] { in implementServiceManagerInteractions()
272 out.indent(); in generateInterfaceHeader()
462 out.indent(); in generatePassthroughMethod()
485 out.indent(2, [&] { in generatePassthroughMethod()
507 out.indent(); in generatePassthroughMethod()
520 out.indent(2, [&] { in generatePassthroughMethod()
[all …]
DVectorType.cpp211 out.indent(); in emitReaderWriterForVectorOfBinders()
235 out.indent(); in emitReaderWriterForVectorOfBinders()
269 out.indent(); in emitReaderWriterForVectorOfBinders()
335 out.indent(); in emitReaderWriterEmbedded()
390 out.indent(); in emitJavaReaderWriter()
488 out.indent(); in EmitJavaFieldReaderWriterForElementType()
500 out.indent(); in EmitJavaFieldReaderWriterForElementType()
501 out.indent(); in EmitJavaFieldReaderWriterForElementType()
526 out.indent(); in EmitJavaFieldReaderWriterForElementType()
553 out.indent(); in EmitJavaFieldReaderWriterForElementType()
[all …]
DgenerateJavaImpl.cpp39 out.indent([&] { in generateJavaImpl()
58 out.indent([&] { in generateJavaImpl()
59 out.indent(); in generateJavaImpl()
DMemoryType.cpp83 out.indent(); in emitJavaFieldReaderWriter()
95 out.indent(); in emitJavaFieldReaderWriter()
120 out.indent(); in emitJavaReaderWriter()
122 out.indent(); in emitJavaReaderWriter()
126 out.indent(); in emitJavaReaderWriter()
DCompoundType.cpp228 out.indent(2, [&] { in emitSafeUnionUnknownDiscriminatorError()
497 out.indent(); in emitSafeUnionTypeDeclarations()
572 out.indent(); in emitSafeUnionTypeDeclarations()
583 out.indent(); in emitSafeUnionTypeDeclarations()
659 out.indent([&] { in emitInlineHidlDefinition()
698 out.indent(); in emitTypeDeclarations()
810 out.indent(); in emitPackageTypeHeaderDefinitions()
868 out.indent(); in emitPackageTypeHeaderDefinitions()
923 out.indent(2); in emitPackageHwDeclarations()
934 out.indent(2); in emitPackageHwDeclarations()
[all …]
DInterface.cpp156 out.indent([&] { in fillUnlinkToDeathMethod()
257 out.indent(); out.indent(); in fillDescriptorChainMethod()
313 out.indent(2, [&] { in fillHashChainMethod()
756 out.indent(); in emitReaderWriter()
786 out.indent(); in emitReaderWriter()
792 out.indent(); in emitReaderWriter()
796 out.indent([&] { in emitReaderWriter()
802 out.indent([&] { in emitReaderWriter()
824 out.indent([&] { in emitHidlDefinition()
893 out.indent(); in emitVtsAttributeDeclaration()
[all …]
DgenerateCppImpl.cpp52 out.indent(); in generateStubImplMethod()
111 out.indent(); in generateCppImplHeader()
158 out.indent(); in generateCppImplSource()
DgenerateVts.cpp44 out.indent(); in emitVtsTypeDeclarations()
77 out.indent(); in generateVts()
/system/tools/aidl/build/
Daidl_rust_glue.py30 def emit(self, output_file, indent=""): argument
32 output_file.write(indent)
37 output_file.write(indent)
41 output_file.write(indent)
45 output_file.write(indent)
47 mod.emit(output_file, indent + " ")
48 output_file.write(indent)
51 def emit_mangled(self, output_file, indent="", prefix=""): argument
53 output_file.write(indent)
57 mod.emit_mangled(output_file, indent, prefix=new_prefix)
[all …]
/system/extras/simpleperf/
Devent_attr.cpp103 void DumpPerfEventAttr(const perf_event_attr& attr, size_t indent) { in DumpPerfEventAttr() argument
105 PrintIndented(indent, "event_attr: for event type %s\n", event_name.c_str()); in DumpPerfEventAttr()
107 PrintIndented(indent + 1, "type %u, size %u, config %llu\n", attr.type, attr.size, attr.config); in DumpPerfEventAttr()
110 PrintIndented(indent + 1, "sample_freq %llu\n", attr.sample_freq); in DumpPerfEventAttr()
112 PrintIndented(indent + 1, "sample_period %llu\n", attr.sample_period); in DumpPerfEventAttr()
115 PrintIndented(indent + 1, "sample_type (0x%llx) %s\n", attr.sample_type, in DumpPerfEventAttr()
118 PrintIndented(indent + 1, "read_format (0x%llx) %s\n", attr.read_format, in DumpPerfEventAttr()
121 PrintIndented(indent + 1, "disabled %u, inherit %u, pinned %u, exclusive %u\n", attr.disabled, in DumpPerfEventAttr()
124 PrintIndented(indent + 1, "exclude_user %u, exclude_kernel %u, exclude_hv %u\n", in DumpPerfEventAttr()
127 PrintIndented(indent + 1, "exclude_idle %u, mmap %u, mmap2 %u, comm %u, freq %u\n", in DumpPerfEventAttr()
[all …]
Drecord.cpp134 void SampleId::Dump(size_t indent) const { in Dump()
137 PrintIndented(indent, "sample_id: pid %u, tid %u\n", tid_data.pid, tid_data.tid); in Dump()
140 PrintIndented(indent, "sample_id: time %" PRId64 "\n", time_data.time); in Dump()
143 PrintIndented(indent, "sample_id: id %" PRId64 "\n", id_data.id); in Dump()
146 PrintIndented(indent, "sample_id: stream_id %" PRId64 "\n", stream_id_data.stream_id); in Dump()
149 PrintIndented(indent, "sample_id: cpu %u, res %u\n", cpu_data.cpu, cpu_data.res); in Dump()
188 void Record::Dump(size_t indent) const { in Dump()
189 PrintIndented(indent, "record %s: type %u, misc %u, size %u\n", in Dump()
191 DumpData(indent + 1); in Dump()
192 sample_id.Dump(indent + 1); in Dump()
[all …]
Drecord.h204 void Dump(size_t indent) const;
251 void Dump(size_t indent = 0) const;
289 void DumpData(size_t indent) const override;
315 void DumpData(size_t indent) const override;
333 void DumpData(size_t indent) const override;
349 void DumpData(size_t indent) const override;
370 void DumpData(size_t indent) const override;
418 void DumpData(size_t indent) const override;
431 void DumpData(size_t indent) const override;
446 void DumpData(size_t indent) const override;
[all …]
Dtracing.cpp123 void Dump(size_t indent) const;
250 void TracingFile::Dump(size_t indent) const { in Dump()
251 PrintIndented(indent, "tracing data:\n"); in Dump()
252 PrintIndented(indent + 1, "magic: "); in Dump()
260 PrintIndented(indent + 1, "version: %s\n", version.c_str()); in Dump()
261 PrintIndented(indent + 1, "endian: %d\n", endian); in Dump()
262 PrintIndented(indent + 1, "header_page:\n%s\n\n", header_page_file.c_str()); in Dump()
263 PrintIndented(indent + 1, "header_event:\n%s\n\n", header_event_file.c_str()); in Dump()
265 PrintIndented(indent + 1, "ftrace format file %zu/%zu:\n%s\n\n", i + 1, in Dump()
269 PrintIndented(indent + 1, "event format file %zu/%zu %s:\n%s\n\n", i + 1, in Dump()
[all …]
/system/tools/xsdc/src/com/android/xsdc/
DCodeWriter.java24 private int indent; field in CodeWriter
33 indent = 0; in CodeWriter()
39 for (int i = 0; i < indent; ++i) { in printIndent()
62 --indent; in print()
69 ++indent; in print()
/system/unwinding/libunwindstack/
DLog.cpp42 void log(uint8_t indent, const char* format, ...) { in log() argument
44 if (indent > 0) { in log()
45 real_format = android::base::StringPrintf("%*s%s", 2 * indent, " ", format); in log()
DDwarfCfa.cpp183 bool DwarfCfa<AddressType>::LogOffsetRegisterString(uint32_t indent, uint64_t cfa_offset, in LogOffsetRegisterString() argument
200 log(indent, "DW_CFA_offset register(%d) %" PRId64, reg, offset); in LogOffsetRegisterString()
201 log(indent, "%s", raw_data.c_str()); in LogOffsetRegisterString()
206 bool DwarfCfa<AddressType>::LogInstruction(uint32_t indent, uint64_t cfa_offset, uint8_t op, in LogInstruction() argument
211 log(indent, "Illegal (Only valid on aarch64)"); in LogInstruction()
213 log(indent, "Illegal"); in LogInstruction()
215 log(indent, "Raw Data: 0x%02x", op); in LogInstruction()
242 log(indent, "%s", log_string.c_str()); in LogInstruction()
256 log(indent, "%s", raw_data.c_str()); in LogInstruction()
265 log(indent, "%s", raw_data.c_str()); in LogInstruction()
[all …]
/system/libhwbinder/
DBufferedTextOutput.cpp46 , indent(0) in BufferState()
85 int32_t indent; member
163 if (b->indent > 0) { in print()
165 const char* prefix = stringForIndent(b->indent); in print()
213 b->indent += delta; in moveIndent()
214 if (b->indent < 0) b->indent = 0; in moveIndent()
DDebug.cpp159 void printHexData(int32_t indent, const void *buf, size_t length, in printHexData() argument
203 indent++; in printHexData()
288 if (newLine && indent) func(cookie, stringForIndent(indent)); in printHexData()
298 if (indent > 0) func(cookie, stringForIndent(indent-1)); in printHexData()
/system/tools/hidl/lint/
Dmain.cpp42 out.indent(); in usage()
43 out.indent(); in usage()
48 out.indent([&] { in usage()
50 out.indent([&] { in usage()
/system/tools/hidl/host_utils/
DFormatter.cpp43 void Formatter::indent(size_t level) { in indent() function in android::Formatter
52 Formatter& Formatter::indent(size_t level, const std::function<void(void)>& func) { in indent() function in android::Formatter
53 this->indent(level); in indent()
59 Formatter& Formatter::indent(const std::function<void(void)>& func) { in indent() function in android::Formatter
60 return this->indent(1, func); in indent()
65 this->indent(func); in block()
179 indent(); in printBlock()
191 indent(); in printBlock()
/system/update_engine/scripts/update_payload/
Dchecker.py127 def _Indent(indent, line): argument
137 return '%*s%s' % (indent, '', line)
156 def __init__(self, name, value, linebreak, indent): argument
161 self.indent = indent
171 ['%*s%s' % (self.indent, '', line) for line in value_lines])
175 report_output += '%*s' % (self.indent, '')
256 def AddField(self, name, value, linebreak=False, indent=0): argument
268 self.report.append(self.FieldNode(name, value, linebreak, indent))
342 msg_name=None, linebreak=False, indent=0): argument
384 indent=indent)
[all …]
/system/media/camera/docs/
Dmetadata-parser-validity-check51 tidy -indent -xml -quiet $thisdir/metadata_definitions.xml > $tmp_tidy1
52 tidy -indent -xml -quiet $tmp_out > $tmp_tidy2
/system/tools/hidl/hidl2aidl/
DAidlTranslate.cpp188 out.indent([&] { in h2aScalarChecks()
194 out.indent([&] { out << "return false;\n"; }); in h2aScalarChecks()
274 out.indent([&] { in containerTranslation()
278 out.indent([&] { in containerTranslation()
289 out.indent([&] { in containerTranslation()
292 out.indent([&] { in containerTranslation()
473 out.indent([&] { in emitTranslateSource()
479 out.indent([&] { in emitTranslateSource()
489 out.indent([&] { in emitTranslateSource()
496 out.indent([&] { in emitTranslateSource()
[all …]
/system/tools/sysprop/
DCodeWriter.cpp30 CodeWriter::CodeWriter(std::string indent) : indent_(std::move(indent)) { in CodeWriter() argument

123