Home
last modified time | relevance | path

Searched refs:text (Results 1 – 25 of 63) sorted by relevance

123

/art/tools/ahat/src/main/com/android/ahat/
DHtmlEscaper.java23 public static String escape(String text) { in escape() argument
28 for (int i = 0; i < text.length(); ++i) { in escape()
29 int s = specials.indexOf(text.charAt(i)); in escape()
34 sb.append(text.substring(low, i)); in escape()
40 return text; in escape()
43 sb.append(text.substring(low)); in escape()
DSummarizer.java65 DocString linkText = DocString.text(inst.toString()); in summarize()
116 return DocString.text("null"); in summarize()
121 return DocString.text(value.toString()); in summarize()
128 DocString text = DocString.text(site.getMethodName()); in summarize() local
129 text.append(site.getSignature()); in summarize()
130 text.append(" - "); in summarize()
131 text.append(site.getFilename()); in summarize()
133 text.append(":").append(Integer.toString(site.getLineNumber())); in summarize()
136 return DocString.link(uri, text); in summarize()
DOverviewHandler.java44 DocString.text("ahat version"), in handle()
46 doc.description(DocString.text("hprof file"), DocString.text(mHprof.toString())); in handle()
48 doc.description(DocString.text("baseline hprof file"), DocString.text(mBaseHprof.toString())); in handle()
66 SizeTable.row(doc, DocString.text(heap.getName()), size, base); in printHeapSizes()
71 SizeTable.row(doc, DocString.text("Total"), totalSize, totalBase); in printHeapSizes()
DMenu.java24 DocString.link(DocString.uri("/"), DocString.text("overview"))
26 .appendLink(DocString.uri("rooted"), DocString.text("rooted"))
28 .appendLink(DocString.uri("sites"), DocString.text("allocations"));
DObjectHandler.java78 doc.description(DocString.text("Class"), Summarizer.summarize(cls)); in handle()
80 doc.description(DocString.text("Heap"), DocString.text(inst.getHeap().getName())); in handle()
91 doc.description(DocString.text("Root Types"), types); in handle()
98 SizeTable.row(doc, DocString.text("Shallow"), inst.getSize(), base.getSize()); in handle()
99 SizeTable.row(doc, DocString.text("Retained"), in handle()
179 DocString was = DocString.text("was "); in printFields()
183 doc.row(DocString.text(field.type.name), in printFields()
184 DocString.text(field.name), in printFields()
190 doc.row(DocString.text(field.type.name), in printFields()
191 DocString.text(field.name), in printFields()
[all …]
DColumn.java38 this(DocString.text(heading), align, visible); in Column()
49 this(DocString.text(heading), Align.LEFT); in Column()
56 this(DocString.text(heading), align); in Column()
DSubsetSelector.java90 menu.appendLink(mQuery.with(mId, 0), DocString.text("show none")); in render()
92 menu.appendLink(mQuery.with(mId, less), DocString.text("show less")); in render()
99 menu.appendLink(mQuery.with(mId, more), DocString.text("show more")); in render()
101 menu.appendLink(mQuery.with(mId, all), DocString.text("show all")); in render()
DDocString.java36 public static DocString text(String str) { in text() method in DocString
68 public DocString append(String text) { in append() argument
69 mStringBuilder.append(HtmlEscaper.escape(text)); in append()
104 return added(text(str)); in added()
124 return removed(text(str)); in removed()
DStaticHandler.java44 HtmlDoc doc = new HtmlDoc(ps, DocString.text("ahat"), DocString.uri("style.css")); in handle()
45 doc.big(DocString.text("Resource not found.")); in handle()
DBitmapHandler.java57 HtmlDoc doc = new HtmlDoc(ps, DocString.text("ahat"), DocString.uri("style.css")); in handle()
58 doc.big(DocString.text("No bitmap found for the given request.")); in handle()
/art/test/715-clinit-implicit-parameter-annotations/src/
DMain.java38 private final String text; field in Main.Inner
41 Inner(@AnnotationA int number, String text) { in Inner() argument
43 this.text = text; in Inner()
47 Inner(@AnnotationA int number, String text, @AnnotationB("x") boolean flag) { in Inner() argument
49 this.text = text; in Inner()
58 private final String text; field in Main.StaticInner
61 StaticInner(@AnnotationA int number, String text) { in StaticInner() argument
63 this.text = text; in StaticInner()
67 StaticInner(@AnnotationB("foo") int number, String text, @AnnotationA boolean flag) { in StaticInner() argument
69 this.text = text; in StaticInner()
/art/runtime/
Dindenter.h34 Indenter(std::streambuf* out, char text, size_t count) in Indenter() argument
36 text_{text, text, text, text, text, text, text, text}, in Indenter()
116 explicit VariableIndentationOutputStream(std::ostream* os, char text = kIndentChar)
117 : indenter_(os->rdbuf(), text, 0u),
/art/tools/
Dfindbuildbotwarnings.py40 print r.text
42 builders = json.loads(r.text)
55 print r.text
57 builder = json.loads(r.text)
67 print r.text
69 stdio = r.text.splitlines()
/art/test/094-pattern/src/
DMain.java86 static String getStringAsHex(String text) { in getStringAsHex() argument
87 StringBuilder sb = new StringBuilder(text.length() * 4); in getStringAsHex()
89 for (int i = 0; i < text.length(); i++) { in getStringAsHex()
90 sb.append(Integer.toHexString((int) text.charAt(i))); in getStringAsHex()
/art/tools/checker/file_format/checker/
Dstruct.py109 regex = regex + "(" + expression.text + ")"
138 def __init__(self, variant, name, text): argument
141 self.text = text
147 and self.text == other.text
154 def createPlainText(text): argument
155 return TestExpression(TestExpression.Variant.PlainText, None, text)
158 def createPatternFromPlainText(text): argument
159 return TestExpression(TestExpression.Variant.Pattern, None, re.escape(text))
Dtest.py95 def assertEqualsText(self, string, text): argument
96 self.assertEqual(self.parseExpression(string), TestExpression.createPatternFromPlainText(text))
384 def assertParsesToPlainText(self, text): argument
385 testCase = self.parseTestCase("/// CHECK-EVAL: " + text)
389 self.assertEqual(assertion.originalText, text)
393 self.assertEqual(expression.text, text)
Dparser.py186 text = line[0:firstMatch]
189 assertion.addExpression(TestExpression.createPlainText(text))
191 assertion.addExpression(TestExpression.createPatternFromPlainText(text))
/art/compiler/debug/
Delf_symtab_writer.h52 const auto* text = builder->GetText(); in WriteDebugSymbols() local
69 address += info.is_code_address_text_relative ? text->GetAddress() : 0; in WriteDebugSymbols()
78 symtab->Add(strtab->Write("$t"), text, mapping_symbol_address, 0, STB_LOCAL, STT_NOTYPE); in WriteDebugSymbols()
98 address += info.is_code_address_text_relative ? text->GetAddress() : 0; in WriteDebugSymbols()
101 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
/art/test/701-easy-div-rem/
DgenMain.py41 def subst_vars(variables, text): argument
44 text = text.replace(str(key), str(value))
45 return text
/art/tools/checker/common/
Dlogger.py47 def log(text, level=Level.Info, color=Color.Default, newLine=True, out=sys.stdout): argument
49 text = Logger.Color.terminalCode(color, out) + text + \
52 print(text, file=out)
54 print(text, end="", file=out)
/art/dex2oat/linker/
Delf_writer_quick.cc116 void EndText(OutputStream* text) OVERRIDE;
231 auto* text = builder_->GetText(); in StartText() local
232 text->Start(); in StartText()
233 return text; in StartText()
237 void ElfWriterQuick<ElfTypes>::EndText(OutputStream* text) { in EndText() argument
238 CHECK_EQ(builder_->GetText(), text); in EndText()
/art/runtime/arch/arm/
Dinstruction_set_features_assembly_tests.S19 .section .text
/art/test/092-locale/src/
DMain.java17 import java.text.DateFormat;
18 import java.text.DateFormatSymbols;
19 import java.text.Normalizer;
/art/test/utils/python/
Dgenerate_java_main.py288 implements = [a.text for a in iface.find("implements")]
289 methods = [a.text for a in iface.find("methods")]
296 implements = [a.text for a in clazz.find("implements")]
297 methods = [a.text for a in clazz.find("methods")]
/art/tools/ahat/src/test/com/android/ahat/
DTestHandler.java37 HtmlDoc doc = new HtmlDoc(ps, DocString.text("noCrash test"), DocString.uri("style.css")); in testNoCrash()

123