Home
last modified time | relevance | path

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

12

/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java34 protected static String indent = " "; field in JniCodeEmitter
178 out.println(iii + indent + "get" + typeName + "Array(" + argName + "),"); in emitFunctionCall()
179 out.print(iii + indent + "getOffset(" + argName + ")"); in emitFunctionCall()
181 out.print(iii + indent + argName); in emitFunctionCall()
186 out.println(iii + indent + argName + ".remaining()"); in emitFunctionCall()
212 out.println(iii + indent + "_exception = 1;"); in printIfcheckPostamble()
213 out.println(iii + indent + in printIfcheckPostamble()
215 out.println(iii + indent + in printIfcheckPostamble()
219 out.println(iii + indent + "goto exit;"); in printIfcheckPostamble()
372 out.println(iii + indent + "_exception = 1;"); in emitNativeBoundsChecks()
[all …]
/frameworks/compile/slang/
Dslang_rs_reflection.cpp355 mOut.indent() << "private static final String " RS_RESOURCE_NAME " = \"" in genScriptClassConstructor()
360 mOut.indent() << "// Constructor\n"; in genScriptClassConstructor()
366 mOut.indent() << "super(rs,\n"; in genScriptClassConstructor()
367 mOut.indent() << " " << RS_RESOURCE_NAME ",\n"; in genScriptClassConstructor()
368 mOut.indent() << " " << className << ".getBitCode32(),\n"; in genScriptClassConstructor()
369 mOut.indent() << " " << className << ".getBitCode64());\n"; in genScriptClassConstructor()
373 mOut.indent() << "this(rs,\n"; in genScriptClassConstructor()
374 mOut.indent() << " rs.getApplicationContext().getResources(),\n"; in genScriptClassConstructor()
375 mOut.indent() << " rs.getApplicationContext().getResources()." in genScriptClassConstructor()
377 mOut.indent() << " " RS_RESOURCE_NAME ", \"raw\",\n"; in genScriptClassConstructor()
[all …]
Dslang_rs_reflection_cpp.cpp143 mOut.indent() << "#include \"RenderScript.h\"\n\n"; in writeHeaderFile()
144 mOut.indent() << "using namespace android::RSC;\n\n"; in writeHeaderFile()
150 mOut.indent() << "class " << mClassName << " : public android::RSC::ScriptC"; in writeHeaderFile()
154 mOut.indent() << "private:\n"; in writeHeaderFile()
162 mOut.indent() << "public:\n"; in writeHeaderFile()
166 mOut.indent() << mClassName << "(android::RSC::sp<android::RSC::RS> rs);\n"; in writeHeaderFile()
167 mOut.indent() << "virtual ~" << mClassName << "();\n\n"; in writeHeaderFile()
210 mOut.indent() << "android::RSC::sp<const android::RSC::Element> " in genFieldsForAllocationTypeVerification()
235 mOut.indent() << GetTypeName(ev->getType()) << " " RS_EXPORT_VAR_PREFIX in genFieldsToStoreExportVariableValues()
249 mOut.indent() << "// No forEach_root(...)\n"; in genForEachDeclarations()
[all …]
Dslang_rs_reflect_utils.cpp121 out.indent() << "// return byte array representation of the " << bitwidth in GenerateAccessorMethod()
123 out.indent() << "public static byte[] getBitCode" << bitwidth << "()"; in GenerateAccessorMethod()
125 out.indent() << "return getBitCode" << bitwidth << "Internal();\n"; in GenerateAccessorMethod()
134 out.indent() << "private static byte[] getSegment" << bitwidth << "_" in GenerateSegmentMethod()
137 out.indent() << "byte[] data = {"; in GenerateSegmentMethod()
145 out.indent(); in GenerateSegmentMethod()
155 out.indent() << "};\n"; in GenerateSegmentMethod()
156 out.indent() << "return data;\n"; in GenerateSegmentMethod()
197 out.indent() << "private static int bitCode" << bitwidth << "Length = " in GenerateJavaCodeAccessorMethodForBitwidth()
199 out.indent() << "private static byte[] getBitCode" << bitwidth in GenerateJavaCodeAccessorMethodForBitwidth()
[all …]
Dslang_rs_reflect_utils.h134 indent() << "}" << (addSemicolon ? ";" : "") << "\n\n";
140 std::ofstream &indent() { in indent() function
/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/services/core/java/com/android/server/notification/
DNotificationUsageStats.java182 public synchronized void dump(PrintWriter pw, String indent, DumpFilter filter) { in dump() argument
187 as.dump(pw, indent); in dump()
191 mSQLiteLog.dump(pw, indent, filter); in dump()
250 public void dump(PrintWriter pw, String indent) { in dump() argument
251 pw.println(toStringWithIndent(indent)); in dump()
259 private String toStringWithIndent(String indent) { in toStringWithIndent() argument
260 return indent + "AggregatedStats{\n" + in toStringWithIndent()
261 indent + " key='" + key + "',\n" + in toStringWithIndent()
262 indent + " numPostedByApp=" + numPostedByApp + ",\n" + in toStringWithIndent()
263 indent + " numUpdatedByApp=" + numUpdatedByApp + ",\n" + in toStringWithIndent()
[all …]
/frameworks/rs/api/
Dgen_runtime.cpp326 void writeJavaInputAllocationDefinition(ofstream& file, const string& indent,
328 void writeJavaOutputAllocationDefinition(ofstream& file, const string& indent,
341 void writeJavaTestAndSetValid(ofstream& file, int indent, const ParameterDefinition& p,
343 void writeJavaTestOneValue(ofstream& file, int indent, const ParameterDefinition& p,
345 void writeJavaAppendOutputToMessage(ofstream& file, int indent, const ParameterDefinition& p,
348 void writeJavaAppendInputToMessage(ofstream& file, int indent, const ParameterDefinition& p,
350 void writeJavaAppendNewLineToMessage(ofstream& file, int indent) const;
351 void writeJavaAppendVariableToMessage(ofstream& file, int indent, const ParameterDefinition& p,
353 void writeJavaAppendFloatVariableToMessage(ofstream& file, int indent, const string& value,
355 void writeJavaVectorComparison(ofstream& file, int indent, const ParameterDefinition& p) const;
[all …]
/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()
DAMessage.cpp407 static void appendIndent(AString *s, int32_t indent) { in appendIndent() argument
412 CHECK_LT((size_t)indent, sizeof(kWhitespace)); in appendIndent()
414 s->append(kWhitespace, indent); in appendIndent()
424 AString AMessage::debugString(int32_t indent) const { in debugString()
490 hexdump(buffer->data(), buffer->size(), indent + 4, &tmp); in debugString()
491 appendIndent(&tmp, indent + 2); in debugString()
505 indent + strlen(item.mName) + 14).c_str()); in debugString()
520 appendIndent(&s, indent); in debugString()
526 appendIndent(&s, indent); in debugString()
/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/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationData.java282 public void dump(PrintWriter pw, String indent) { in dump() argument
284 pw.print(indent); in dump()
289 dumpEntry(pw, indent, active, e); in dump()
293 pw.print(indent); in dump()
299 dumpEntry(pw, indent, inactiveCount, entry); in dump()
305 private void dumpEntry(PrintWriter pw, String indent, int i, Entry e) { in dumpEntry() argument
306 pw.print(indent); in dumpEntry()
309 pw.print(indent); in dumpEntry()
312 pw.print(indent); in dumpEntry()
314 pw.print(indent); in dumpEntry()
/frameworks/native/libs/binder/
DBufferedTextOutput.cpp43 , indent(0) in BufferState()
78 int32_t indent; member
176 if (b->indent > 0) { in print()
178 const char* prefix = stringForIndent(b->indent); in print()
227 b->indent += delta; in moveIndent()
228 if (b->indent < 0) b->indent = 0; in moveIndent()
DDebug.cpp157 void printHexData(int32_t indent, const void *buf, size_t length, in printHexData() argument
201 indent++; in printHexData()
288 if (newLine && indent) func(cookie, stringForIndent(indent)); in printHexData()
298 if (indent > 0) func(cookie, stringForIndent(indent-1)); in printHexData()
DIPCThreadState.cpp174 out << ": " << indent; in printReturnCommand()
233 out << ": " << indent; in printCommand()
557 << indent << data << dedent << endl; in transact()
597 if (reply) alog << indent << *reply << dedent << endl; in transact()
831 alog << "Sending commands to driver: " << indent; in talkWithDriver()
888 alog << "Received commands from driver: " << indent; in talkWithDriver()
1075 << TypeCode(tr.code) << ": " << indent << buffer in executeCommand()
1109 << tr.target.ptr << ": " << indent << reply << dedent << endl; in executeCommand()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouterService.java531 final String indent = prefix + " "; in dump() local
532 pw.println(indent + "mTrusted=" + mTrusted); in dump()
533 pw.println(indent + "mRouteTypes=0x" + Integer.toHexString(mRouteTypes)); in dump()
534 pw.println(indent + "mActiveScan=" + mActiveScan); in dump()
535 pw.println(indent + "mSelectedRouteId=" + mSelectedRouteId); in dump()
563 final String indent = prefix + " "; in dump() local
567 mClientRecords.get(i).dump(pw, indent); in dump()
570 pw.println(indent + "<no clients>"); in dump()
573 pw.println(indent + "State"); in dump()
574 pw.println(indent + "mTrustedState=" + mTrustedState); in dump()
[all …]
DMediaSessionRecord.java493 final String indent = prefix + " "; in dump() local
494 pw.println(indent + "ownerPid=" + mOwnerPid + ", ownerUid=" + mOwnerUid in dump()
496 pw.println(indent + "package=" + mPackageName); in dump()
497 pw.println(indent + "launchIntent=" + mLaunchIntent); in dump()
498 pw.println(indent + "mediaButtonReceiver=" + mMediaButtonReceiver); in dump()
499 pw.println(indent + "active=" + mIsActive); in dump()
500 pw.println(indent + "flags=" + mFlags); in dump()
501 pw.println(indent + "rating type=" + mRatingType); in dump()
502 pw.println(indent + "controllers: " + mControllerCallbacks.size()); in dump()
503 pw.println(indent + "state=" + (mPlaybackState == null ? null : mPlaybackState.toString())); in dump()
[all …]
/frameworks/native/services/surfaceflinger/RenderEngine/
DProgramCache.cpp36 static Formatter& indent(Formatter& f);
43 friend Formatter& indent(Formatter& f);
67 Formatter& indent(Formatter& f) { in indent() function
145 << "void main(void) {" << indent in generateVertexShader()
178 fs << "void main(void) {" << indent; in generateFragmentShader()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DConsole.java142 String indent = ""; in logStackTrace() local
145 tinyStackTrace += indent + " -> " + el.getClassName() + in logStackTrace()
149 indent += " "; in logStackTrace()
/frameworks/base/tools/aapt/
DResource.cpp1992 static const char* getIndentSpace(int indent) in getIndentSpace() argument
1997 return whitespace + sizeof(whitespace) - 1 - indent*4; in getIndentSpace()
2055 const sp<AaptSymbols>& symbols, int indent, bool includePrivate) in writeResourceLoadedCallbackForLayoutClasses() argument
2060 const char* indentStr = getIndentSpace(indent); in writeResourceLoadedCallbackForLayoutClasses()
2075 getIndentSpace(indent+1), nclassName.string(), nclassName.string(), in writeResourceLoadedCallbackForLayoutClasses()
2084 const sp<AaptSymbols>& symbols, const String8& className, int indent) in writeResourceLoadedCallback() argument
2101 getIndentSpace(indent), className.string(), flat_name.string(), in writeResourceLoadedCallback()
2111 fp, assets, nsymbols, indent, includePrivate); in writeResourceLoadedCallback()
2114 nclassName, indent); in writeResourceLoadedCallback()
2126 const sp<AaptSymbols>& symbols, int indent, bool includePrivate, bool nonConstantId) in writeLayoutClasses() argument
[all …]
/frameworks/base/core/java/com/android/internal/util/
DFastXmlSerializer.java122 private void appendIndent(int indent) throws IOException { in appendIndent() argument
123 indent *= 4; in appendIndent()
124 if (indent > sSpace.length()) { in appendIndent()
125 indent = sSpace.length(); in appendIndent()
127 append(sSpace, 0, indent); in appendIndent()
/frameworks/av/include/media/stagefright/foundation/
Dhexdump.h29 size_t indent = 0, AString *appendTo = NULL);
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp305 void printFormatHeadings(size_t indent);
306 void printOverlapLine(size_t indent, const string formatStr,
590 size_t indent = 2; in main() local
592 printFormatHeadings(indent); in main()
595 printOverlapLine(indent, *it, measurements[it in main()
601 printFormatHeadings(indent); in main()
604 printOverlapLine(indent, *it, measurements[it in main()
610 printFormatHeadings(indent); in main()
613 printOverlapLine(indent, *it, measurements[it in main()
1509 void printFormatHeadings(size_t indent) in printFormatHeadings() argument
[all …]
/frameworks/native/include/binder/
DDebug.h37 void printHexData(int32_t indent, const void *buf, size_t length,
DTextOutput.h66 TextOutput& indent(TextOutput& to);
137 inline TextOutput& indent(TextOutput& to) in indent() function

12