Home
last modified time | relevance | path

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

/hardware/google/gfxstream/scripts/print_gfx_logs/
Dvulkan_printer.py8 def OP_vkAcquireImageANDROID(printer, indent: int):
9 printer.write_int("seqno: ", 4, indent)
10 device = printer.write_int("device", 8, indent, signed=False, big_endian=False)
11 image = printer.write_int("image", 8, indent, signed=False, big_endian=False)
12 nativeFenceFd = printer.write_int("nativeFenceFd", 4, indent, signed=True, big_endian=False)
13 semaphore = printer.write_int("semaphore", 8, indent, signed=False, big_endian=False)
14 fence = printer.write_int("fence", 8, indent, signed=False, big_endian=False)
17 def OP_vkAllocateMemory(printer, indent: int):
18 printer.write_int("seqno: ", 4, indent)
19 device = printer.write_int("device", 8, indent, signed=False, big_endian=False)
[all …]
Dcommand_printer.py59 pretty_printer(self, indent=4)
84 indent = 8
88 lines = textwrap.wrap(hex, width=16 * 3 + indent, initial_indent=' ' * indent,
89 subsequent_indent=' ' * indent)
109 def write(self, msg: str, indent: int):
112 assert type(indent) == int and indent >= 0
113 print(" " * indent + msg, end='', file=self.out)
118 indent: int,
137 if optional and self.check_null(field_name, indent):
141 self.write("{name}: ".format(name=field_name), indent)
[all …]
Dcommand_printer_test.py44 cmd_printer.write_int("foobar", size=4, indent=0)
49 r = cmd_printer.write_int("foobar", size=4, indent=0)
56 r = cmd_printer.write_int("i", size=1, indent=0, optional=True)
63 r = cmd_printer.write_int("i", size=1, indent=0, optional=True)
70 cmd_printer.write_int("i", size=2, indent=0, optional=True, count=2)
76 cmd_printer.write_float("foo", indent=0)
82 cmd_printer.write_float("foo", indent=0, count=2)
88 cmd_printer.write_string("hello", indent=1, size=None)
94 cmd_printer.write_string("hello", indent=1, size=8)
101 cmd_printer.write_enum("foo", enum, indent=0)
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dcomment_convert.py68 def dump_converted_comment_lines(self, indent): argument
77 indent = indent + ' '
110 self.output_line(indent + line)
164 indent = def_match.group('indentation')
166 self.dump_converted_comment_lines(indent)
Ddoctransformer.py169 def addLine(self, line, indent): argument
174 self.leadIndent = indent
175 self.hangIndent = indent
180 self.hangIndent = indent
315 indent = len(line) - len(line.lstrip())
318 if self.state.para != [] and indent < self.state.hangIndent:
328 self.state.addLine(line, indent)
Dspirvcapgenerator.py81 indent = '{captableindent}'
194 body.append('{} {}{}'.format(indent, linktext, continuation))
Dextensionmetadocgenerator.py166 def conditionalLinkExt(self, extName, indent = ' '): argument
168 doc += indent + self.conventions.formatExtension(extName) + '\n'
171 doc += indent + '`' + extName + '`\n'
539 indent = ''
540 … write(' * {blank}\n+\n' + ext.conditionalLinkExt(extname, indent), file=promoted_extensions_fp)
Dgenerator.py1090 indent = ' '
1091 paramdecl = indent
1127 paramdecl = indent + ' '.join(paramdecl.split())
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/userhal/
DFakeUserHal.cpp318 std::string FakeUserHal::dump(std::string indent) { in dump() argument
321 info += fmt::format("{}InitialUserInfo response: {}\n", indent.c_str(), in dump()
324 info += fmt::format("{}No InitialUserInfo response\n", indent.c_str()); in dump()
327 info += fmt::format("{}SwitchUser response: {}\n", indent.c_str(), in dump()
330 info += fmt::format("{}No SwitchUser response\n", indent.c_str()); in dump()
333 info += fmt::format("{}CreateUser response: {}\n", indent.c_str(), in dump()
336 info += fmt::format("{}No CreateUser response\n", indent.c_str()); in dump()
339 info += fmt::format("{}SetUserIdentificationAssociation response: {}\n", indent.c_str(), in dump()
342 info += fmt::format("{}No SetUserIdentificationAssociation response\n", indent.c_str()); in dump()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/common/
Dcodegen.py230 def indent(self,extra=0): member in CodeGen
242 self.code += self.indent() + "{\n"
249 self.code += self.indent() + "}\n"
253 self.code += self.indent() + "if (" + cond + ")\n"
259 self.indent() + \
262 self.code += self.indent() + "else\n"
272 self.code += self.indent() + "switch (" + switchvar + ")\n"
276 self.code += self.indent() + "case %s:" % switchval
280 self.code += self.indent() + "case %s:" % switchval
284 self.code += self.indent() + "default:" % switchval
[all …]
/hardware/google/av/media/eco/
D.clang-format16 # "Don't indent the section label"
27 # more code that does not indent the case labels in frameworks/base.
/hardware/google/pixel/
DCPPLINT.cfg4 filter=-whitespace/indent
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_diagnostic_trace.cpp135 size_t indent = (depth * 2) * g_trace_indent; in add_attrib() local
146 out << std::string(indent, ' ') << "[ " in add_attrib()
/hardware/google/aemu/base/include/aemu/base/
DJsonWriter.h32 void setIndent(const std::string& indent);
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/userhal/include/
DFakeUserHal.h73 std::string dump(std::string indent);
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/spec_tools/
Dconsole_printer.py221 indent = ' ' * headingSize
243 print(colored(indent + line, attrs=['bold']))
Dentity_db.py299 return json.dumps(d, sort_keys=True, indent=4)
/hardware/google/camera/devices/EmulatedCamera/hwl/tools/
Dparse_bugreport.py37 json.dump(chars, jsonFile, sort_keys=True, indent=1)
/hardware/google/gfxstream/codegen/generic-apigen/
DApiGen.cpp806 const char* indent = "\t"; in genEncoderImpl() local
819 indent = "\t\t"; in genEncoderImpl()
823 fprintf(fp, "%s%s;\n", indent, evars[j].guestUnpackExpression().c_str()); in genEncoderImpl()
826 … fprintf(fp, "%s// Skip readback for var %s as it's DMA\n", indent, varname); in genEncoderImpl()
829 indent, varname, varname); in genEncoderImpl()
833 fprintf(fp, "%s// Skip checksum for var %s as it's DMA\n", indent, varname); in genEncoderImpl()
836 indent, varname, varname); in genEncoderImpl()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/contrib/
Dmhchem.mjs5 /* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/
Dkatex.min.css1 …font:normal 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:a…
Dkatex.css125 text-indent: 0;