Home
last modified time | relevance | path

Searched refs:append (Results 1 – 25 of 384) sorted by relevance

12345678910>>...16

/libcore/ojluni/src/main/java/java/util/logging/
DXMLFormatter.java52 sb.append('0'); in a2()
54 sb.append(x); in a2()
61 sb.append(cal.get(Calendar.YEAR)); in appendISO8601()
62 sb.append('-'); in appendISO8601()
64 sb.append('-'); in appendISO8601()
66 sb.append('T'); in appendISO8601()
68 sb.append(':'); in appendISO8601()
70 sb.append(':'); in appendISO8601()
84 sb.append("<"); in escape()
86 sb.append(">"); in escape()
[all …]
/libcore/tools/docs/crypto/
Dformat_supported_algorithm_table.py65 output.append('<h2 id="SupportedAlgorithms">Supported Algorithms</h2>')
66 output.append('')
67 output.append('<ul>')
70 output.append(' <li><a href="#Supported{name}">'
72 output.append('</ul>')
92 tuples.append((
129 output.append('<h3 id="Supported{name}">{name}</h3>'.format(**category))
130 output.append('<table>')
131 output.append(' <thead>')
132 output.append(' <tr>')
[all …]
/libcore/luni/src/main/java/libcore/util/
DObjects.java34 sb.append(c.getSimpleName()).append('['); in toString()
45 sb.append(','); in toString()
48 sb.append(f.getName()); in toString()
49 sb.append('='); in toString()
53 sb.append(Arrays.toString((boolean[]) value)); in toString()
55 sb.append(Arrays.toString((byte[]) value)); in toString()
57 sb.append(Arrays.toString((char[]) value)); in toString()
59 sb.append(Arrays.toString((double[]) value)); in toString()
61 sb.append(Arrays.toString((float[]) value)); in toString()
63 sb.append(Arrays.toString((int[]) value)); in toString()
[all …]
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DVertex.java148 sb.append("Issuer: ").append in certToString()
149 (x509Cert.getIssuerX500Principal()).append("\n"); in certToString()
150 sb.append("Subject: ").append in certToString()
151 (x509Cert.getSubjectX500Principal()).append("\n"); in certToString()
152 sb.append("SerialNum: ").append in certToString()
153 (x509Cert.getSerialNumber().toString(16)).append("\n"); in certToString()
154 sb.append("Expires: ").append in certToString()
155 (x509Cert.getNotAfter().toString()).append("\n"); in certToString()
158 sb.append("IssuerUID: "); in certToString()
160 sb.append(b ? 1 : 0); in certToString()
[all …]
/libcore/xml/src/main/java/com/android/org/kxml2/io/
DKXmlSerializer.java51 private void append(char c) throws IOException { in append() method in KXmlSerializer
58 private void append(String str, int i, int length) throws IOException { in append() method in KXmlSerializer
74 private void append(String str) throws IOException { in append() method in KXmlSerializer
75 append(str, 0, str.length()); in append()
101 append(" xmlns"); in check()
103 append(':'); in check()
104 append(nspStack[i * 2]); in check()
108 append("=\""); in check()
110 append('"'); in check()
123 append(" />"); in check()
[all …]
/libcore/ojluni/src/main/java/sun/nio/fs/
DGlobs.java73 regex.append('\\'); in toRegexPattern()
75 regex.append(next); in toRegexPattern()
79 regex.append("\\\\"); in toRegexPattern()
81 regex.append(c); in toRegexPattern()
87 regex.append("[[^\\\\]&&["); in toRegexPattern()
89 regex.append("[[^/]&&["); in toRegexPattern()
93 regex.append("\\^"); in toRegexPattern()
98 regex.append('^'); in toRegexPattern()
103 regex.append('-'); in toRegexPattern()
122 regex.append('\\'); in toRegexPattern()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DStringBuilder.java114 append(str); in StringBuilder()
127 append(seq); in StringBuilder()
131 public StringBuilder append(Object obj) { in append() method in StringBuilder
132 return append(String.valueOf(obj)); in append()
136 public StringBuilder append(String str) { in append() method in StringBuilder
137 super.append(str); in append()
160 public StringBuilder append(StringBuffer sb) { in append() method in StringBuilder
161 super.append(sb); in append()
166 public StringBuilder append(CharSequence s) { in append() method in StringBuilder
167 super.append(s); in append()
[all …]
DStackTraceElement.java189 result.append(getClassName()).append(".").append(methodName); in toString()
191 result.append("(Native Method)"); in toString()
194 result.append("(").append(fileName).append(":").append(lineNumber).append(")"); in toString()
196 result.append("(").append(fileName).append(")"); in toString()
201 result.append("(Unknown Source:").append(lineNumber).append(")"); in toString()
203 result.append("(Unknown Source)"); in toString()
DStringBuffer.java140 append(str); in StringBuffer()
158 append(seq); in StringBuffer()
261 public synchronized StringBuffer append(Object obj) { in append() method in StringBuffer
263 super.append(String.valueOf(obj)); in append()
268 public synchronized StringBuffer append(String str) { in append() method in StringBuffer
270 super.append(str); in append()
298 public synchronized StringBuffer append(StringBuffer sb) { in append() method in StringBuffer
300 super.append(sb); in append()
308 synchronized StringBuffer append(AbstractStringBuilder asb) { in append() method in StringBuffer
310 super.append(asb); in append()
[all …]
/libcore/ojluni/src/main/java/java/text/
DPatternEntry.java121 toAddTo.append('\n'); in addToBuffer()
123 toAddTo.append(' '); in addToBuffer()
125 toAddTo.append('&'); in addToBuffer()
127 toAddTo.append(' '); in addToBuffer()
131 toAddTo.append(' '); in addToBuffer()
134 case Collator.IDENTICAL: toAddTo.append('='); break; in addToBuffer()
135 case Collator.TERTIARY: toAddTo.append(','); break; in addToBuffer()
136 case Collator.SECONDARY: toAddTo.append(';'); break; in addToBuffer()
137 case Collator.PRIMARY: toAddTo.append('<'); break; in addToBuffer()
138 case RESET: toAddTo.append('&'); break; in addToBuffer()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DSAXParserTestSupport.java113 str.append((char)c); in readFile()
217 data_text.append(str); in characters()
225 data_isEndDocument.append(true); in endDocument()
226 data_isEndDocument.append(SEPARATOR_ELEMENT); in endDocument()
232 sb.append(uri); in endElement()
233 sb.append(SEPARATOR_STRING); in endElement()
234 sb.append(localName); in endElement()
235 sb.append(SEPARATOR_STRING); in endElement()
236 sb.append(qName); in endElement()
237 data_endElement.append(sb); in endElement()
[all …]
/libcore/support/src/test/java/tests/util/
DSummaryStatistics.java74 sb.append("n="); in toString()
75 sb.append(numValues); in toString()
76 sb.append(",mean="); in toString()
77 sb.append(mean()); in toString()
78 sb.append(",var="); in toString()
79 sb.append(var()); in toString()
80 sb.append(",stddev="); in toString()
81 sb.append(stddev()); in toString()
82 sb.append(",coeffVar="); in toString()
83 sb.append(coeffVar()); in toString()
[all …]
/libcore/ojluni/src/main/java/java/beans/
DPropertyChangeEvent.java155 sb.append("[propertyName=").append(getPropertyName()); in toString()
157 sb.append("; oldValue=").append(getOldValue()); in toString()
158 sb.append("; newValue=").append(getNewValue()); in toString()
159 sb.append("; propagationId=").append(getPropagationId()); in toString()
160 sb.append("; source=").append(getSource()); in toString()
161 return sb.append("]").toString(); in toString()
/libcore/luni/src/test/java/libcore/xml/
DNamespacedAttributesLookupTest.java114 serialized.append(uri).append(","); in getStartElements()
115 serialized.append(localName); in getStartElements()
117 serialized.append(qName); in getStartElements()
120 serialized.append("\n "); in getStartElements()
122 serialized.append(attributes.getURI(i)).append(","); in getStartElements()
123 serialized.append(attributes.getLocalName(i)); in getStartElements()
125 serialized.append(attributes.getQName(i)); in getStartElements()
128 serialized.append("\n http://bar+c=") in getStartElements()
129 .append(attributes.getValue("http://bar", "c")).append(",") in getStartElements()
130 .append("\n bar:c=") in getStartElements()
[all …]
/libcore/json/src/main/java/org/json/
DJSONStringer.java186 out.append(openBracket); in open()
205 out.append(closeBracket); in close()
255 out.append(value); in value()
258 out.append(JSONObject.numberToString((Number) value)); in value()
277 out.append(value); in value()
293 out.append(JSONObject.numberToString(value)); in value()
307 out.append(value); in value()
313 out.append("\""); in string()
327 out.append('\\').append(c); in string()
331 out.append("\\t"); in string()
[all …]
/libcore/luni/src/main/java/libcore/reflect/
DTypes.java86 result.append(','); in toString()
105 out.append(c.getName()); in appendTypeName()
107 out.append("[]"); in appendTypeName()
120 out.append(','); in appendArrayGenericType()
127 out.append(((TypeVariable) type).getName()); in appendGenericType()
129 out.append(type.toString()); in appendGenericType()
133 out.append("[]"); in appendGenericType()
140 out.append(as[len].substring(1, as[len].length() - 1)); in appendGenericType()
144 out.append("int"); in appendGenericType()
146 out.append("byte"); in appendGenericType()
[all …]
/libcore/luni/src/main/java/javax/xml/transform/stream/
DFilePathToURI.java65 buffer.append("file://"); in filepath2URI()
70 buffer.append('/'); in filepath2URI()
82 buffer.append('%'); in filepath2URI()
83 buffer.append(gAfterEscaping1[ch]); in filepath2URI()
84 buffer.append(gAfterEscaping2[ch]); in filepath2URI()
88 buffer.append((char)ch); in filepath2URI()
111 buffer.append('%'); in filepath2URI()
112 buffer.append(gHexChs[ch >> 4]); in filepath2URI()
113 buffer.append(gHexChs[ch & 0xf]); in filepath2URI()
116 buffer.append('%'); in filepath2URI()
[all …]
/libcore/luni/src/main/java/javax/xml/parsers/
DFilePathToURI.java65 buffer.append("file://"); in filepath2URI()
70 buffer.append('/'); in filepath2URI()
82 buffer.append('%'); in filepath2URI()
83 buffer.append(gAfterEscaping1[ch]); in filepath2URI()
84 buffer.append(gAfterEscaping2[ch]); in filepath2URI()
88 buffer.append((char)ch); in filepath2URI()
111 buffer.append('%'); in filepath2URI()
112 buffer.append(gHexChs[ch >> 4]); in filepath2URI()
113 buffer.append(gHexChs[ch & 0xf]); in filepath2URI()
116 buffer.append('%'); in filepath2URI()
[all …]
/libcore/ojluni/src/main/java/java/time/zone/
DZoneOffsetTransitionRule.java553 buf.append("TransitionRule[") in toString()
554 .append(offsetBefore.compareTo(offsetAfter) > 0 ? "Gap " : "Overlap ") in toString()
555 .append(offsetBefore).append(" to ").append(offsetAfter).append(", "); in toString()
558 buf.append(dow.name()).append(" on or before last day of ").append(month.name()); in toString()
560 …buf.append(dow.name()).append(" on or before last day minus ").append(-dom - 1).append(" of ").app… in toString()
562 … buf.append(dow.name()).append(" on or after ").append(month.name()).append(' ').append(dom); in toString()
565 buf.append(month.name()).append(' ').append(dom); in toString()
567 buf.append(" at ").append(timeEndOfDay ? "24:00" : time.toString()) in toString()
568 .append(" ").append(timeDefinition) in toString()
569 .append(", standard offset ").append(standardOffset) in toString()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DFormatterBenchmark.java36 … sb.append("this is a reasonably short string that doesn't actually need any formatting"); in timeStringBuilder_NoFormatting()
60 sb.append("this is a reasonably short string that has an int "); in timeStringBuilder_OneInt()
61 sb.append(1024); in timeStringBuilder_OneInt()
62 sb.append(" in it"); in timeStringBuilder_OneInt()
77 sb.append("this is a reasonably short string that has an int "); in timeStringBuilder_OneHexInt()
78 sb.append(Integer.toHexString(1024)); in timeStringBuilder_OneHexInt()
79 sb.append(" in it"); in timeStringBuilder_OneHexInt()
110 sb.append("this is a reasonably short string that has a float "); in timeStringBuilder_OneFloat()
111 sb.append(10.24f); in timeStringBuilder_OneFloat()
112 sb.append(" in it"); in timeStringBuilder_OneFloat()
[all …]
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTestIncompatibleException.java54 buf.append(feature); in incompatibleFeature()
55 buf.append("\" version=\""); in incompatibleFeature()
56 buf.append(version); in incompatibleFeature()
57 buf.append("\"."); in incompatibleFeature()
65 buf.append(href); in incompatibleLoad()
66 buf.append("\" not available for =\""); in incompatibleLoad()
67 buf.append(contentType); in incompatibleLoad()
68 buf.append("\"."); in incompatibleLoad()
/libcore/ojluni/src/main/java/java/util/regex/
DPatternSyntaxException.java109 sb.append(desc); in getMessage()
111 sb.append(" near index "); in getMessage()
112 sb.append(index); in getMessage()
114 sb.append(nl); in getMessage()
115 sb.append(pattern); in getMessage()
117 sb.append(nl); in getMessage()
118 for (int i = 0; i < index; i++) sb.append(' '); in getMessage()
119 sb.append('^'); in getMessage()
/libcore/luni/src/main/java/javax/xml/transform/
DTransformerException.java213 sbuffer.append(message); in getMessageAndLocation()
222 sbuffer.append("; SystemID: "); in getMessageAndLocation()
223 sbuffer.append(systemID); in getMessageAndLocation()
227 sbuffer.append("; Line#: "); in getMessageAndLocation()
228 sbuffer.append(line); in getMessageAndLocation()
232 sbuffer.append("; Column#: "); in getMessageAndLocation()
233 sbuffer.append(column); in getMessageAndLocation()
255 sbuffer.append("; SystemID: "); in getLocationAsString()
256 sbuffer.append(systemID); in getLocationAsString()
260 sbuffer.append("; Line#: "); in getLocationAsString()
[all …]
/libcore/luni/src/test/java/libcore/java/io/
DOldWriterTest.java28 tobj.append('a'); in test_appendChar()
29 tobj.append('b'); in test_appendChar()
32 tobj.append('c'); in test_appendChar()
42 tobj.append(testString); in test_appendCharSequence()
45 tobj.append(testString); in test_appendCharSequence()
56 tobj.append(testString, 0, 5); in test_appendCharSequenceIntInt()
58 tobj.append(testString, 10, 15); in test_appendCharSequenceIntInt()
60 tobj.append(testString, 20, 30); in test_appendCharSequenceIntInt()
63 tobj.append(testString, 30, 31); in test_appendCharSequenceIntInt()
68 tobj.append(testString, 20, 21); // Just fill the writer to its limit! in test_appendCharSequenceIntInt()
[all …]
/libcore/luni/src/main/java/javax/xml/datatype/
DDuration.java888 buf.append('-'); in toString()
890 buf.append('P'); in toString()
894 buf.append(years).append('Y'); in toString()
899 buf.append(months).append('M'); in toString()
904 buf.append(days).append('D'); in toString()
911 buf.append('T'); in toString()
913 buf.append(hours).append('H'); in toString()
916 buf.append(minutes).append('M'); in toString()
919 buf.append(toString(seconds)).append('S'); in toString()
956 buf.append("0."); in toString()
[all …]

12345678910>>...16