/libcore/luni/src/main/java/java/util/logging/ |
D | XMLFormatter.java | 57 sb.append("<record>").append(nl); in format() 58 append(sb, 1, "date", date); in format() 59 append(sb, 1, "millis", time); in format() 60 append(sb, 1, "sequence", r.getSequenceNumber()); in format() 62 append(sb, 1, "logger", r.getLoggerName()); in format() 64 append(sb, 1, "level", r.getLevel().getName()); in format() 66 append(sb, 1, "class", r.getSourceClassName()); in format() 69 append(sb, 1, "method", r.getSourceMethodName()); in format() 71 append(sb, 1, "thread", r.getThreadID()); in format() 76 append(sb, 1, "param", element); in format() [all …]
|
D | SimpleFormatter.java | 48 sb.append(MessageFormat.format("{0, date} {0, time} ", in format() 50 sb.append(r.getSourceClassName()).append(" "); in format() 51 sb.append(r.getSourceMethodName()).append(System.lineSeparator()); in format() 52 sb.append(r.getLevel().getName()).append(": "); in format() 53 sb.append(formatMessage(r)).append(System.lineSeparator()); in format() 55 sb.append("Throwable occurred: "); in format() 62 sb.append(sw.toString()); in format()
|
/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/luni/src/main/java/org/apache/harmony/security/utils/ |
D | Array.java | 39 result.append(Byte.toHexString(data[i], false)); in getBytesAsString() 40 result.append(' '); in getBytesAsString() 68 sb.append(prefix); in toString() 71 sb.append(offsetPrefix[offset.length()]); in toString() 72 sb.append(offset); in toString() 77 sb.append(' '); in toString() 79 sb.append(Byte.toHexString(array[i], false)); in toString() 84 charForm.append( in toString() 88 sb.append(' '); in toString() 92 sb.append(' '); in toString() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
D | GeneralSubtree.java | 87 sb.append(prefix).append("General Subtree: [\n"); in dumpValue() 88 sb.append(prefix).append(" base: ").append(base).append('\n'); in dumpValue() 89 sb.append(prefix).append(" minimum: ").append(minimum).append('\n'); in dumpValue() 91 sb.append(prefix).append(" maximum: ").append(maximum).append('\n'); in dumpValue() 93 sb.append(prefix).append("]\n"); in dumpValue()
|
D | ReasonCode.java | 84 sb.append(prefix).append("Reason Code: [ "); in dumpValue() 87 sb.append("unspecified"); in dumpValue() 90 sb.append("keyCompromise"); in dumpValue() 93 sb.append("cACompromise"); in dumpValue() 96 sb.append("affiliationChanged"); in dumpValue() 99 sb.append("superseded"); in dumpValue() 102 sb.append("cessationOfOperation"); in dumpValue() 105 sb.append("certificateHold"); in dumpValue() 108 sb.append("removeFromCRL"); in dumpValue() 111 sb.append("privilegeWithdrawn"); in dumpValue() [all …]
|
D | TBSCertList.java | 159 … sb.append(prefix).append("Certificate Serial Number: ").append(userCertificate).append('\n'); in dumpValue() 160 sb.append(prefix).append("Revocation Date: ").append(revocationDate); in dumpValue() 162 sb.append('\n').append(prefix).append("CRL Entry Extensions: ["); in dumpValue() 164 sb.append(prefix).append(']'); in dumpValue() 296 sb.append("X.509 CRL v").append(version); in dumpValue() 297 sb.append("\nSignature Algorithm: ["); in dumpValue() 299 sb.append(']'); in dumpValue() 300 sb.append("\nIssuer: ").append(issuer.getName(X500Principal.RFC2253)); in dumpValue() 301 sb.append("\n\nThis Update: ").append(thisUpdate); in dumpValue() 302 sb.append("\nNext Update: ").append(nextUpdate).append('\n'); in dumpValue() [all …]
|
D | TBSCertificate.java | 198 sb.append('['); in dumpValue() 199 sb.append("\n Version: V").append(version+1); in dumpValue() 200 sb.append("\n Subject: ").append(subject.getName(X500Principal.RFC2253)); in dumpValue() 201 sb.append("\n Signature Algorithm: "); in dumpValue() 203 sb.append("\n Key: ").append(subjectPublicKeyInfo.getPublicKey().toString()); in dumpValue() 204 sb.append("\n Validity: [From: ").append(validity.getNotBefore()); in dumpValue() 205 sb.append("\n To: ").append(validity.getNotAfter()).append(']'); in dumpValue() 206 sb.append("\n Issuer: ").append(issuer.getName(X500Principal.RFC2253)); in dumpValue() 207 sb.append("\n Serial Number: ").append(serialNumber); in dumpValue() 209 sb.append("\n Issuer Id: "); in dumpValue() [all …]
|
D | BasicConstraints.java | 80 sb.append(prefix).append("BasicConstraints [\n").append(prefix) in dumpValue() 81 .append(" CA: ").append(ca) in dumpValue() 82 .append("\n ").append(prefix).append("pathLenConstraint: ") in dumpValue() 83 .append(pathLenConstraint).append('\n').append(prefix) in dumpValue() 84 .append("]\n"); in dumpValue()
|
D | IssuingDistributionPoint.java | 111 sb.append(prefix).append("Issuing Distribution Point: [\n"); in dumpValue() 115 … sb.append(prefix).append(" onlyContainsUserCerts: ").append(onlyContainsUserCerts).append('\n'); in dumpValue() 116 … sb.append(prefix).append(" onlyContainsCACerts: ").append(onlyContainsCACerts).append('\n'); in dumpValue() 120 sb.append(prefix).append(" indirectCRL: ").append(indirectCRL).append('\n'); in dumpValue() 121 …sb.append(prefix).append(" onlyContainsAttributeCerts: ").append(onlyContainsAttributeCerts).appe… in dumpValue()
|
D | AuthorityKeyIdentifier.java | 109 sb.append(prefix).append("AuthorityKeyIdentifier [\n"); in dumpValue() 111 sb.append(prefix).append(" keyIdentifier:\n"); in dumpValue() 112 sb.append(Array.toString(keyIdentifier, prefix + " ")); in dumpValue() 115 sb.append(prefix).append(" authorityCertIssuer: [\n"); in dumpValue() 117 sb.append(prefix).append(" ]\n"); in dumpValue() 120 sb.append(prefix).append(" authorityCertSerialNumber: "); in dumpValue() 121 sb.append(authorityCertSerialNumber).append('\n'); in dumpValue() 123 sb.append(prefix).append("]\n"); in dumpValue()
|
D | KeyUsage.java | 84 sb.append(prefix).append("KeyUsage [\n"); in dumpValue() 87 sb.append(prefix).append(" ").append(USAGES[i]).append('\n'); in dumpValue() 90 sb.append(prefix).append("]\n"); in dumpValue()
|
/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/luni/src/main/java/java/util/regex/ |
D | PatternSyntaxException.java | 93 sb.append(desc); in getMessage() 98 sb.append(' '); in getMessage() 100 sb.append("near index "); in getMessage() 101 sb.append(index); in getMessage() 102 sb.append(':'); in getMessage() 106 sb.append('\n'); in getMessage() 107 sb.append(pattern); in getMessage() 112 sb.append('\n'); in getMessage() 113 sb.append(spaces); in getMessage() 114 sb.append('^'); in getMessage()
|
/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/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/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/luni/src/main/java/org/apache/harmony/security/x501/ |
D | AttributeValue.java | 157 buf.append('#'); in getHexString() 162 buf.append((char) (c + 48)); in getHexString() 164 buf.append((char) (c + 87)); in getHexString() 169 buf.append((char) (c + 48)); in getHexString() 171 buf.append((char) (c + 87)); in getHexString() 184 sb.append('"'); in appendQEString() 190 sb.append('\\'); in appendQEString() 192 sb.append(c); in appendQEString() 195 sb.append(rawString); in appendQEString() 197 sb.append('"'); in appendQEString() [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/luni/src/main/java/java/lang/reflect/ |
D | Modifier.java | 264 buf.append("public "); in toString() 267 buf.append("protected "); in toString() 270 buf.append("private "); in toString() 273 buf.append("abstract "); in toString() 276 buf.append("static "); in toString() 279 buf.append("final "); in toString() 282 buf.append("transient "); in toString() 285 buf.append("volatile "); in toString() 288 buf.append("synchronized "); in toString() 291 buf.append("native "); in toString() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/security/pkcs10/ |
D | CertificationRequestInfo.java | 88 res.append("-- CertificationRequestInfo:"); in toString() 89 res.append("\n version: "); in toString() 90 res.append(version); in toString() 91 res.append("\n subject: "); in toString() 92 res.append(subject.getName(X500Principal.CANONICAL)); in toString() 93 res.append("\n subjectPublicKeyInfo: "); in toString() 94 res.append("\n\t algorithm: "); in toString() 95 res.append(subjectPublicKeyInfo.getAlgorithmIdentifier().getAlgorithm()); in toString() 96 res.append("\n\t public key: ").append(subjectPublicKeyInfo.getPublicKey()); in toString() 97 res.append("\n attributes: "); in toString() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
D | TSTInfo.java | 104 res.append("-- TSTInfo:"); in toString() 105 res.append("\nversion: "); in toString() 106 res.append(version); in toString() 107 res.append("\npolicy: "); in toString() 108 res.append(policy); in toString() 109 res.append("\nmessageImprint: "); in toString() 110 res.append(messageImprint); in toString() 111 res.append("\nserialNumber: "); in toString() 112 res.append(serialNumber); in toString() 113 res.append("\ngenTime: "); in toString() [all …]
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | FormatterBenchmark.java | 38 … sb.append("this is a reasonably short string that doesn't actually need any formatting"); in timeStringBuilder_NoFormatting() 62 sb.append("this is a reasonably short string that has an int "); in timeStringBuilder_OneInt() 63 sb.append(1024); in timeStringBuilder_OneInt() 64 sb.append(" in it"); in timeStringBuilder_OneInt() 79 sb.append("this is a reasonably short string that has an int "); in timeStringBuilder_OneHexInt() 80 sb.append(Integer.toHexString(1024)); in timeStringBuilder_OneHexInt() 81 sb.append(" in it"); in timeStringBuilder_OneHexInt() 112 sb.append("this is a reasonably short string that has a float "); in timeStringBuilder_OneFloat() 113 sb.append(10.24f); in timeStringBuilder_OneFloat() 114 sb.append(" in it"); in timeStringBuilder_OneFloat() [all …]
|