Home
last modified time | relevance | path

Searched refs:text (Results 1 – 25 of 69) 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()
DObjectsHandler.java83 doc.description(DocString.text("Site"), Summarizer.summarize(site)); in handle()
84 doc.description(DocString.text("Class"), DocString.text(className)); in handle()
86 DocString subclassChoice = DocString.text(subclass ? "included" : "excluded"); in handle()
89 DocString.text(subclass ? "excluded" : "included")); in handle()
91 doc.description(DocString.text("Subclasses"), subclassChoice); in handle()
93 DocString heapChoice = DocString.text(heapName == null ? "any" : heapName); in handle()
101 DocString.text(heap.getName())); in handle()
109 DocString.text("any")); in handle()
112 doc.description(DocString.text("Heap"), heapChoice); in handle()
114 doc.description(DocString.text("Count"), DocString.format("%,14d", insts.size())); in handle()
[all …]
DOverviewHandler.java47 DocString.text("ahat version"), in handle()
50 DocString.text("--retained"), in handle()
51 DocString.text(mRetained.toString())); in handle()
52 doc.description(DocString.text("hprof file"), DocString.text(mHprof.toString())); in handle()
54 doc.description(DocString.text("baseline hprof file"), DocString.text(mBaseHprof.toString())); in handle()
72 SizeTable.row(doc, DocString.text(heap.getName()), size, base); in printHeapSizes()
77 SizeTable.row(doc, DocString.text("Total"), totalSize, totalBase); in printHeapSizes()
DSummarizer.java66 DocString linkText = DocString.text(inst.toString()); in summarize()
141 return DocString.text("null"); in summarize()
146 return DocString.text(value.toString()); in summarize()
153 DocString text = DocString.text(site.getMethodName()); in summarize() local
154 text.append(site.getSignature()); in summarize()
155 text.append(" - "); in summarize()
156 text.append(site.getFilename()); in summarize()
158 text.append(":").append(Integer.toString(site.getLineNumber())); in summarize()
161 return DocString.link(uri, text); in summarize()
DObjectHandler.java77 doc.description(DocString.text("Class"), Summarizer.summarize(cls)); in handle()
79 doc.description(DocString.text("Heap"), DocString.text(inst.getHeap().getName())); in handle()
90 doc.description(DocString.text("Root Types"), types); in handle()
97 SizeTable.row(doc, DocString.text("Shallow"), inst.getSize(), base.getSize()); in handle()
98 SizeTable.row(doc, DocString.text("Retained"), in handle()
178 DocString was = DocString.text("was "); in printFields()
182 doc.row(DocString.text(field.type.name), in printFields()
183 DocString.text(field.name), in printFields()
189 doc.row(DocString.text(field.type.name), in printFields()
190 DocString.text(field.name), in printFields()
[all …]
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"));
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/libartbase/base/
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()
Dlibcore_gcstress_debug_failures.txt16 "libcore.java.text.DecimalFormatTest#testWhitespaceError",
17 "libcore.java.text.DecimalFormatTest#testWhitespaceTolerated",
18 "libcore.java.text.DecimalFormatTest#test_exponentSeparator",
19 "libcore.java.text.DecimalFormatTest#test_setMaximumFractionDigitsAffectsRoundingMode",
26 "org.apache.harmony.tests.java.text.MessageFormatTest#test_parseLjava_lang_String",
/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.py118 regex = regex + "(" + expression.text + ")"
147 def __init__(self, variant, name, text): argument
150 self.text = text
156 and self.text == other.text)
163 def create_plain_text(text): argument
164 return TestExpression(TestExpression.Variant.PLAIN_TEXT, None, text)
167 def create_pattern_from_plain_text(text): argument
168 return TestExpression(TestExpression.Variant.PATTERN, None, re.escape(text))
Dtest.py95 def assertEqualsText(self, string, text): argument
97 TestExpression.create_pattern_from_plain_text(text))
394 def assertParsesToPlainText(self, text): argument
395 test_case = self.parse_test_case("/// CHECK-EVAL: " + text)
399 self.assertEqual(statement.original_text, text)
403 self.assertEqual(expression.text, text)
/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/compiler/debug/
Delf_symtab_writer.h92 const auto* text = builder->GetText(); in WriteDebugSymbols() local
109 address += info.is_code_address_text_relative ? text->GetAddress() : 0; in WriteDebugSymbols()
131 symtab->Add(strtab->Write("$t"), text, mapping_symbol_address, 0, STB_GLOBAL, STT_NOTYPE); in WriteDebugSymbols()
154 address += info.is_code_address_text_relative ? text->GetAddress() : 0; in WriteDebugSymbols()
157 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
/art/dex2oat/linker/
Delf_writer_quick.cc104 void EndText(OutputStream* text) override;
216 auto* text = builder_->GetText(); in StartText() local
217 text->Start(); in StartText()
218 return text; in StartText()
222 void ElfWriterQuick<ElfTypes>::EndText(OutputStream* text) { in EndText() argument
223 CHECK_EQ(builder_->GetText(), text); in EndText()
/art/runtime/interpreter/mterp/common/
Dgen_setup.py87 text = re.sub(r"(\n\n)(\n)+", r"\1", out.read())
89 output_file.write(text)
/art/compiler/utils/
Dassembler_test_base.h204 const typename ElfTypes::Shdr* text = reader.GetSection(".text"); in ReadElf() local
205 CHECK(text != nullptr); in ReadElf()
206 *code = std::vector<uint8_t>(&data[text->sh_offset], &data[text->sh_offset + text->sh_size]); in ReadElf()
/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")]

123