Home
last modified time | relevance | path

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

1234

/frameworks/native/vulkan/tools/
Dvkinfo.cpp339 size_t indent) { in PrintExtensions() argument
341 printf("%s%s (v%u)\n", Indent(indent), e.extensionName, e.specVersion); in PrintExtensions()
348 size_t indent) { in PrintLayers() argument
350 printf("%s%s %u.%u.%u/%u\n", Indent(indent), layers[i].layerName, in PrintLayers()
356 printf("%s%s\n", Indent(indent + 1), layers[i].description); in PrintLayers()
359 printf("%sExtensions [%zu]:\n", Indent(indent + 1), in PrintLayers()
361 PrintExtensions(extensions[i], options, indent + 2); in PrintLayers()
367 void PrintAllFeatures(const char* indent, in PrintAllFeatures() argument
370 printf("%srobustBufferAccess: %s\n", indent, features.robustBufferAccess ? "YES" : "NO"); in PrintAllFeatures()
371 printf("%sfullDrawIndexUint32: %s\n", indent, features.fullDrawIndexUint32 ? "YES" : "NO"); in PrintAllFeatures()
[all …]
/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java34 protected static String indent = " "; field in JniCodeEmitter
184 out.println(iii + indent + "get" + typeName + "Array(" + argName + "),"); in emitFunctionCall()
185 out.print(iii + indent + "getOffset(" + argName + ")"); in emitFunctionCall()
187 out.print(iii + indent + argName); in emitFunctionCall()
192 out.println(iii + indent + argName + ".remaining()"); in emitFunctionCall()
218 out.println(iii + indent + "_exception = 1;"); in printIfcheckPostamble()
219 out.println(iii + indent + in printIfcheckPostamble()
221 out.println(iii + indent + in printIfcheckPostamble()
225 out.println(iii + indent + "goto exit;"); in printIfcheckPostamble()
395 out.println(iii + indent + "_exception = 1;"); in emitNativeBoundsChecks()
[all …]
/frameworks/rs/script_api/
DGenerateTestFiles.cpp250 mJava->indent() << "public class " << name; in writeJavaArgumentClass()
257 mJava->indent() << "public "; in writeJavaArgumentClass()
271 mJava->indent() << "public double"; in writeJavaArgumentClass()
284 mJava->indent() << "private void " << mJavaCheckMethodName << "()"; in writeJavaCheckMethod()
297 mJava->indent() << "enforceOrdering(" << smallerAlloc << ", " << p->javaAllocName in writeJavaCheckMethod()
309 mJava->indent() << p->javaAllocName << ".destroy();\n"; in writeJavaCheckMethod()
323 mJava->indent() << "Allocation " << param.javaAllocName << " = "; in writeJavaInputAllocationDefinition()
404 mJava->indent() << "Allocation " << param.javaAllocName << " = Allocation.createSized(mRS, " in writeJavaOutputAllocationDefinition()
425 mJava->indent() << "StringBuilder message = new StringBuilder();\n"; in writeJavaVerifyScalarMethod()
426 mJava->indent() << "boolean errorFound = false;\n"; in writeJavaVerifyScalarMethod()
[all …]
/frameworks/compile/slang/
Dslang_rs_reflection.cpp459 mOut.indent() << "private static boolean sIs64Bit;\n\n"; in genCompute64Bit()
460 mOut.indent() << "static"; in genCompute64Bit()
462 mOut.indent() << "if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)"; in genCompute64Bit()
464 mOut.indent() << "sIs64Bit = Process.is64Bit();\n"; in genCompute64Bit()
466 mOut.indent() << "else"; in genCompute64Bit()
468 mOut.indent() << "try"; in genCompute64Bit()
470 mOut.indent() << "Field f = RenderScript.class.getDeclaredField(\"sPointerSize\");\n"; in genCompute64Bit()
471 mOut.indent() << "f.setAccessible(true);\n"; in genCompute64Bit()
472 mOut.indent() << "sIs64Bit = (f.getInt(null) == 8);\n"; in genCompute64Bit()
483 mOut.indent() << "catch (Throwable e)"; in genCompute64Bit()
[all …]
Dslang_rs_reflection_cpp.cpp149 mOut.indent() << "#include \"RenderScript.h\"\n\n"; in writeHeaderFile()
152 mOut.indent() << "using namespace android::RSC; // NOLINT\n\n"; in writeHeaderFile()
158 mOut.indent() << "class " << mClassName << " : public android::RSC::ScriptC"; in writeHeaderFile()
162 mOut.indent() << "private:\n"; in writeHeaderFile()
170 mOut.indent() << "public:\n"; in writeHeaderFile()
174 mOut.indent() << mClassName << "(android::RSC::sp<android::RSC::RS> rs);\n"; in writeHeaderFile()
175 mOut.indent() << "virtual ~" << mClassName << "();\n\n"; in writeHeaderFile()
217 mOut.indent() << "android::RSC::sp<const android::RSC::Element> " in genFieldsForAllocationTypeVerification()
242 mOut.indent() << GetTypeName(ev->getType()) << " " RS_EXPORT_VAR_PREFIX in genFieldsToStoreExportVariableValues()
256 mOut.indent() << "// No forEach_root(...)\n"; in genForEachDeclarations()
[all …]
Dslang_rs_reflect_utils.cpp122 out.indent() << "// return byte array representation of the " << bitwidth in GenerateAccessorMethod()
124 out.indent() << "public static byte[] getBitCode" << bitwidth << "()"; in GenerateAccessorMethod()
126 out.indent() << "return getBitCode" << bitwidth << "Internal();\n"; in GenerateAccessorMethod()
135 out.indent() << "private static byte[] getSegment" << bitwidth << "_" in GenerateSegmentMethod()
138 out.indent() << "byte[] data = {"; in GenerateSegmentMethod()
146 out.indent(); in GenerateSegmentMethod()
156 out.indent() << "};\n"; in GenerateSegmentMethod()
157 out.indent() << "return data;\n"; in GenerateSegmentMethod()
198 out.indent() << "private static int bitCode" << bitwidth << "Length = " in GenerateJavaCodeAccessorMethodForBitwidth()
200 out.indent() << "private static byte[] getBitCode" << bitwidth in GenerateJavaCodeAccessorMethodForBitwidth()
[all …]
/frameworks/base/tools/split-select/
DRule.cpp25 inline static void indentStr(String8& str, int indent) { in indentStr() argument
26 while (indent > 0) { in indentStr()
28 indent--; in indentStr()
42 String8 Rule::toJson(int indent) const { in toJson()
44 indentStr(str, indent); in toJson()
46 indent++; in toJson()
47 indentStr(str, indent); in toJson()
79 indentStr(str, indent); in toJson()
95 indentStr(str, indent); in toJson()
122 indentStr(str, indent); in toJson()
[all …]
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DVolumeDialogController.java140 public String toString(int indent) { in toString() argument
142 if (indent > 0) sep(sb, indent); in toString()
145 sep(sb, indent); in toString()
155 sep(sb, indent); sb.append("ringerModeExternal:").append(ringerModeExternal); in toString()
156 sep(sb, indent); sb.append("ringerModeInternal:").append(ringerModeInternal); in toString()
157 sep(sb, indent); sb.append("zenMode:").append(zenMode); in toString()
158 sep(sb, indent); sb.append("effectsSuppressor:").append(effectsSuppressor); in toString()
159 sep(sb, indent); sb.append("effectsSuppressorName:").append(effectsSuppressorName); in toString()
160 sep(sb, indent); sb.append("activeStream:").append(activeStream); in toString()
161 sep(sb, indent); sb.append("disallowAlarms:").append(disallowAlarms); in toString()
[all …]
/frameworks/base/tools/streaming_proto/cpp/
Dmain.cpp22 write_enum(stringstream& text, const EnumDescriptorProto& enu, const string& indent) in write_enum() argument
25 text << indent << "// enum " << enu.name() << endl; in write_enum()
28 text << indent << "const int " in write_enum()
36 text << indent << "const int _ENUM_" << name << "_COUNT = " << N << ";" << endl; in write_enum()
37 text << indent << "const char* _ENUM_" << name << "_NAMES[" << N << "] = {" << endl; in write_enum()
39 … text << indent << INDENT << "\"" << stripPrefix(enu.value(i).name(), prefix) << "\"," << endl; in write_enum()
41 text << indent << "};" << endl; in write_enum()
42 text << indent << "const int _ENUM_" << name << "_VALUES[" << N << "] = {" << endl; in write_enum()
44 text << indent << INDENT << make_constant_name(enu.value(i).name()) << "," << endl; in write_enum()
46 text << indent << "};" << endl; in write_enum()
[all …]
/frameworks/av/media/codec2/docs/
Ddoxyfilter.sh4 global in_comment, current, indent, hold
5 in_comment, current, indent, hold = False, None, '', []
29 global current, indent, hold
30 if t != current or ind not in (indent, indent + ' '):
32 current, indent = t, ind
36 global current, indent
37 if ind in (indent, ''):
41 current, indent = None, None
/frameworks/base/libs/hwui/
DRenderProperties.cpp97 static void dumpMatrix(std::ostream& output, std::string& indent, const char* label, in dumpMatrix() argument
100 output << indent << "(" << label << " " << matrix << ": "; in dumpMatrix()
110 auto indent = std::string(level * 2, ' '); in debugOutputProperties() local
112 output << indent << "(Translate (left, top) " << mPrimitiveFields.mLeft << ", " in debugOutputProperties()
115 dumpMatrix(output, indent, "ConcatMatrix (static)", mStaticMatrix); in debugOutputProperties()
116 dumpMatrix(output, indent, "ConcatMatrix (animation)", mAnimationMatrix); in debugOutputProperties()
121 output << indent << "(Translate " << getTranslationX() << ", " << getTranslationY() in debugOutputProperties()
124 dumpMatrix(output, indent, "ConcatMatrix ", mComputedFields.mTransformMatrix); in debugOutputProperties()
137 output << indent << "(ScaleAlpha " << mPrimitiveFields.mAlpha << ")" << std::endl; in debugOutputProperties()
145 output << indent << "(SaveLayerAlpha " << (int)layerBounds.left << ", " in debugOutputProperties()
[all …]
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySavingStats.java367 public void dump(PrintWriter pw, String indent) { in dump() argument
369 pw.print(indent); in dump()
372 indent = indent + " "; in dump()
378 pw.print(indent); in dump()
382 pw.print(indent); in dump()
392 pw.print(indent); in dump()
401 pw.print(indent); in dump()
408 pw.print(indent); in dump()
411 pw.print(indent); in dump()
413 dumpLineLocked(pw, indent, InteractiveState.NON_INTERACTIVE, "NonIntr", in dump()
[all …]
DBatterySaverPolicy.java996 private void dumpPolicyLocked(PrintWriter pw, String indent, String label, Policy p) { in dumpPolicyLocked() argument
998 pw.print(indent); in dumpPolicyLocked()
1000 pw.print(indent); in dumpPolicyLocked()
1002 pw.print(indent); in dumpPolicyLocked()
1005 pw.print(indent); in dumpPolicyLocked()
1008 pw.print(indent); in dumpPolicyLocked()
1010 pw.print(indent); in dumpPolicyLocked()
1012 pw.print(indent); in dumpPolicyLocked()
1014 pw.print(indent); in dumpPolicyLocked()
1016 pw.print(indent); in dumpPolicyLocked()
[all …]
/frameworks/base/tools/streaming_proto/java/
Dmain.cpp67 indent_more(const string& indent) in indent_more() argument
69 return indent + INDENT; in indent_more()
76 write_enum(stringstream& text, const EnumDescriptorProto& enu, const string& indent) in write_enum() argument
79 text << indent << "// enum " << enu.name() << endl; in write_enum()
82 text << indent << "public static final int " in write_enum()
93 write_field(stringstream& text, const FieldDescriptorProto& field, const string& indent) in write_field() argument
102 text << indent << "// " << optional_comment << repeated_comment << proto_type << ' ' in write_field()
105 text << indent << "public static final long " << make_constant_name(field.name()) << " = 0x"; in write_field()
120 write_message(stringstream& text, const DescriptorProto& message, const string& indent) in write_message() argument
123 const string indented = indent_more(indent); in write_message()
[all …]
/frameworks/av/media/codec2/hidl/1.0/utils/
DComponentStore.cpp323 constexpr const char indent[] = " "; in dump() local
325 out << indent << "name: " << comp->name << std::endl; in dump()
326 out << indent << "domain: " << comp->domain << std::endl; in dump()
327 out << indent << "kind: " << comp->kind << std::endl; in dump()
328 out << indent << "rank: " << comp->rank << std::endl; in dump()
329 out << indent << "mediaType: " << comp->mediaType << std::endl; in dump()
330 out << indent << "aliases:"; in dump()
344 constexpr const char indent[] = " "; in dump() local
353 out << indent << "Creation time: " in dump()
361 out << indent << "Unknown component -- null interface" << std::endl; in dump()
[all …]
/frameworks/base/tools/incident_report/
Dprinter.cpp102 Out::indent() in indent() function in Out
122 int indent = mIndent; in print_indent() local
123 while (indent > SPACE_COUNT) { in print_indent()
125 indent -= SPACE_COUNT; in print_indent()
127 fwrite(SPACES + SPACE_COUNT - indent, indent, 1, mOut); in print_indent()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DMessageLiteToString.java73 MessageLite messageLite, StringBuilder buffer, int indent) { in reflectivePrintWithIndent() argument
101 indent, in reflectivePrintWithIndent()
135 indent, in reflectivePrintWithIndent()
148 printField(buffer, indent, "[" + entry.getKey().getNumber() + "]", entry.getValue()); in reflectivePrintWithIndent()
153 ((GeneratedMessageLite<?, ?>) messageLite).unknownFields.printWithIndent(buffer, indent); in reflectivePrintWithIndent()
196 static final void printField(StringBuilder buffer, int indent, String name, Object object) { in printField() argument
200 printField(buffer, indent, name, entry); in printField()
206 for (int i = 0; i < indent; i++) { in printField()
217 reflectivePrintWithIndent((GeneratedMessageLite<?, ?>) object, buffer, indent + 2); in printField() local
219 for (int i = 0; i < indent; i++) { in printField()
/frameworks/av/media/libstagefright/foundation/
Dhexdump.cpp32 static void appendIndent(AString *s, int32_t indent) { in appendIndent() argument
37 CHECK_LT((size_t)indent, sizeof(kWhitespace)); in appendIndent()
39 s->append(kWhitespace, indent); in appendIndent()
42 void hexdump(const void *_data, size_t size, size_t indent, AString *appendTo) { in hexdump() argument
49 appendIndent(&line, indent); in hexdump()
/frameworks/base/core/java/android/util/
DJsonWriter.java134 private String indent; field in JsonWriter
163 public void setIndent(String indent) { in setIndent() argument
164 if (indent.isEmpty()) { in setIndent()
165 this.indent = null; in setIndent()
168 this.indent = indent; in setIndent()
462 if (indent == null) { in newline()
468 out.write(indent); in newline()
/frameworks/base/tools/aapt2/
DDominatorTree_test.cpp34 explicit PrettyPrinter(const int indent = 2) : indent_(indent) {} in PrettyPrinter() argument
51 void VisitConfig(const DominatorTree::Node* node, const int indent) { in VisitConfig() argument
53 buffer_ << std::string(indent, ' ') in VisitConfig()
58 void VisitNode(const DominatorTree::Node* node, const int indent) { in VisitNode() argument
59 VisitConfig(node, indent); in VisitNode()
61 VisitNode(child.get(), indent + indent_); in VisitNode()
/frameworks/native/libs/binder/
DBufferedTextOutput.cpp44 , indent(0) in BufferState()
82 int32_t indent; member
180 if (b->indent > 0) { in print()
182 const char* prefix = stringForIndent(b->indent); in print()
231 b->indent += delta; in moveIndent()
232 if (b->indent < 0) b->indent = 0; in moveIndent()
DDebug.cpp158 void printHexData(int32_t indent, const void *buf, size_t length, in printHexData() argument
202 indent++; in printHexData()
287 if (newLine && indent) func(cookie, stringForIndent(indent)); in printHexData()
297 if (indent > 0) func(cookie, stringForIndent(indent-1)); in printHexData()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java770 final String indent = prefix + " "; in dump() local
771 pw.println(indent + "mTrusted=" + mTrusted); in dump()
772 pw.println(indent + "mRouteTypes=0x" + Integer.toHexString(mRouteTypes)); in dump()
773 pw.println(indent + "mActiveScan=" + mActiveScan); in dump()
774 pw.println(indent + "mSelectedRouteId=" + mSelectedRouteId); in dump()
807 final String indent = prefix + " "; in dump() local
811 mClientRecords.get(i).dump(pw, indent); in dump()
814 pw.println(indent + "<no clients>"); in dump()
817 pw.println(indent + "State"); in dump()
818 pw.println(indent + "mRouterState=" + mRouterState); in dump()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DIndentingPrintWriter.java62 public IndentingPrintWriter setIndent(String indent) { in setIndent() argument
64 mIndentBuilder.append(indent); in setIndent()
69 public IndentingPrintWriter setIndent(int indent) { in setIndent() argument
71 for (int i = 0; i < indent; i++) { in setIndent()
/frameworks/av/include/media/nblog/
DPerformanceAnalysis.h118 std::string asciiArtString(size_t indent = 0) const;
207 friend void dump(int fd, int indent,
281 void dump(int fd, int indent, PerformanceAnalysisMap &threadPerformanceAnalysis);
282 void dumpLine(int fd, int indent, const String8 &body);

1234