/libcore/ojluni/src/main/java/java/util/logging/ |
D | XMLFormatter.java | 52 sb.append('0'); in a2() 54 sb.append(x); in a2() 60 sb.append(date.getYear() + 1900); in appendISO8601() 61 sb.append('-'); in appendISO8601() 63 sb.append('-'); in appendISO8601() 65 sb.append('T'); in appendISO8601() 67 sb.append(':'); in appendISO8601() 69 sb.append(':'); in appendISO8601() 83 sb.append("<"); in escape() 85 sb.append(">"); in escape() [all …]
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | Vertex.java | 148 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 …]
|
D | ReverseState.java | 131 sb.append("State ["); in toString() 132 sb.append("\n subjectDN of last cert: ").append(subjectDN); in toString() 133 sb.append("\n subjectKeyIdentifier: ").append in toString() 135 sb.append("\n nameConstraints: ").append(String.valueOf(nc)); in toString() 136 sb.append("\n certIndex: ").append(certIndex); in toString() 137 sb.append("\n explicitPolicy: ").append(explicitPolicy); in toString() 138 sb.append("\n policyMapping: ").append(policyMapping); in toString() 139 sb.append("\n inhibitAnyPolicy: ").append(inhibitAnyPolicy); in toString() 140 sb.append("\n rootNode: ").append(rootNode); in toString() 141 sb.append("\n remainingCACerts: ").append(remainingCACerts); in toString() [all …]
|
/libcore/luni/src/main/java/libcore/util/ |
D | Objects.java | 45 sb.append(c.getSimpleName()).append('['); in toString() 56 sb.append(','); in toString() 59 sb.append(f.getName()); in toString() 60 sb.append('='); in toString() 64 sb.append(Arrays.toString((boolean[]) value)); in toString() 66 sb.append(Arrays.toString((byte[]) value)); in toString() 68 sb.append(Arrays.toString((char[]) value)); in toString() 70 sb.append(Arrays.toString((double[]) value)); in toString() 72 sb.append(Arrays.toString((float[]) value)); in toString() 74 sb.append(Arrays.toString((int[]) value)); in toString() [all …]
|
/libcore/xml/src/main/java/org/kxml2/io/ |
D | KXmlSerializer.java | 51 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/java/lang/ |
D | StringBuilder.java | 111 append(str); in StringBuilder() 125 append(seq); in StringBuilder() 128 public StringBuilder append(Object obj) { in append() method in StringBuilder 129 return append(String.valueOf(obj)); in append() 132 public StringBuilder append(String str) { in append() method in StringBuilder 133 super.append(str); in append() 138 private StringBuilder append(StringBuilder sb) { in append() method in StringBuilder 140 return append("null"); in append() 169 public StringBuilder append(StringBuffer sb) { in append() method in StringBuilder 170 super.append(sb); in append() [all …]
|
D | StringBuffer.java | 121 append(str); in StringBuffer() 140 append(seq); in StringBuffer() 231 public synchronized StringBuffer append(Object obj) { in append() method in StringBuffer 232 super.append(String.valueOf(obj)); in append() 236 public synchronized StringBuffer append(String str) { in append() method in StringBuffer 237 super.append(str); in append() 265 public synchronized StringBuffer append(StringBuffer sb) { in append() method in StringBuffer 266 super.append(sb); in append() 292 public StringBuffer append(CharSequence s) { in append() method in StringBuffer 297 return this.append((String)s); in append() [all …]
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Method.java | 329 sb.append(Modifier.toString(mod)).append(' '); in toString() 331 sb.append(Field.getTypeName(getReturnType())).append(' '); in toString() 332 sb.append(Field.getTypeName(getDeclaringClass())).append('.'); in toString() 333 sb.append(getName()).append('('); in toString() 336 sb.append(Field.getTypeName(params[j])); in toString() 338 sb.append(','); in toString() 340 sb.append(')'); in toString() 343 sb.append(" throws "); in toString() 345 sb.append(exceptions[k].getName()); in toString() 347 sb.append(','); in toString() [all …]
|
D | Constructor.java | 267 sb.append(Modifier.toString(mod) + " "); in toString() 269 sb.append(Field.getTypeName(getDeclaringClass())); in toString() 270 sb.append("("); in toString() 273 sb.append(Field.getTypeName(params[j])); in toString() 275 sb.append(","); in toString() 277 sb.append(")"); in toString() 280 sb.append(" throws "); in toString() 282 sb.append(exceptions[k].getName()); in toString() 284 sb.append(","); in toString() 331 sb.append(Modifier.toString(mod) + " "); in toGenericString() [all …]
|
D | Modifier.java | 233 if ((mod & PUBLIC) != 0) sb.append("public "); in toString() 234 if ((mod & PROTECTED) != 0) sb.append("protected "); in toString() 235 if ((mod & PRIVATE) != 0) sb.append("private "); in toString() 238 if ((mod & ABSTRACT) != 0) sb.append("abstract "); in toString() 239 if ((mod & STATIC) != 0) sb.append("static "); in toString() 240 if ((mod & FINAL) != 0) sb.append("final "); in toString() 241 if ((mod & TRANSIENT) != 0) sb.append("transient "); in toString() 242 if ((mod & VOLATILE) != 0) sb.append("volatile "); in toString() 243 if ((mod & SYNCHRONIZED) != 0) sb.append("synchronized "); in toString() 244 if ((mod & NATIVE) != 0) sb.append("native "); in toString() [all …]
|
/libcore/ojluni/src/main/java/java/text/ |
D | PatternEntry.java | 121 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/support/src/test/java/tests/util/ |
D | SummaryStatistics.java | 69 sb.append("n="); in toString() 70 sb.append(numValues); in toString() 71 sb.append(",mean="); in toString() 72 sb.append(mean()); in toString() 73 sb.append(",var="); in toString() 74 sb.append(var()); in toString() 75 sb.append(",stddev="); in toString() 76 sb.append(stddev()); in toString() 77 sb.append(",coeffVar="); in toString() 78 sb.append(coeffVar()); in toString() [all …]
|
/libcore/ojluni/src/main/java/java/beans/ |
D | PropertyChangeEvent.java | 153 sb.append("[propertyName=").append(getPropertyName()); in toString() 155 sb.append("; oldValue=").append(getOldValue()); in toString() 156 sb.append("; newValue=").append(getNewValue()); in toString() 157 sb.append("; propagationId=").append(getPropagationId()); in toString() 158 sb.append("; source=").append(getSource()); in toString() 159 return sb.append("]").toString(); in toString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | SAXParserTestSupport.java | 113 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/json/src/main/java/org/json/ |
D | JSONStringer.java | 180 out.append(openBracket); in open() 198 out.append(closeBracket); in close() 246 out.append(value); in value() 249 out.append(JSONObject.numberToString((Number) value)); in value() 268 out.append(value); in value() 284 out.append(JSONObject.numberToString(value)); in value() 298 out.append(value); in value() 303 out.append("\""); in string() 317 out.append('\\').append(c); in string() 321 out.append("\\t"); in string() [all …]
|
/libcore/luni/src/test/java/libcore/xml/ |
D | NamespacedAttributesLookupTest.java | 114 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/luni/src/main/java/libcore/reflect/ |
D | Types.java | 86 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/parsers/ |
D | FilePathToURI.java | 65 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/transform/stream/ |
D | FilePathToURI.java | 65 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/dom/src/test/java/org/w3c/domts/ |
D | DOMTestIncompatibleException.java | 54 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/ |
D | PatternSyntaxException.java | 109 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/benchmarks/src/benchmarks/regression/ |
D | FormatterBenchmark.java | 36 … 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/luni/src/main/java/javax/xml/transform/ |
D | TransformerException.java | 213 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/ |
D | OldWriterTest.java | 28 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/ |
D | Duration.java | 888 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 …]
|