Home
last modified time | relevance | path

Searched refs:text (Results 1 – 25 of 62) 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()
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.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 …]
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.txt19 "libcore.java.text.DecimalFormatTest#testWhitespaceError",
20 "libcore.java.text.DecimalFormatTest#testWhitespaceTolerated",
21 "libcore.java.text.DecimalFormatTest#test_exponentSeparator",
22 "libcore.java.text.DecimalFormatTest#test_setMaximumFractionDigitsAffectsRoundingMode",
29 "org.apache.harmony.tests.java.text.MessageFormatTest#test_parseLjava_lang_String",
Dlibcore_gcstress_failures.txt32 "libcore.java.text.DecimalFormatTest#testCurrencySymbolSpacing",
33 "libcore.java.text.SimpleDateFormatTest#testLocales",
37 "org.apache.harmony.tests.java.text.DateFormatTest#test_getAvailableLocales",
/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))
/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/runtime/interpreter/mterp/common/
Dgen_setup.py87 text = re.sub(r"(\n\n)(\n)+", r"\1", out.read())
89 output_file.write(text)
/art/dex2oat/linker/
Delf_writer_quick.cc106 void EndText(OutputStream* text) override;
218 auto* text = builder_->GetText(); in StartText() local
219 text->Start(); in StartText()
220 return text; in StartText()
224 void ElfWriterQuick<ElfTypes>::EndText(OutputStream* text) { in EndText() argument
225 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;

123