Searched refs:append (Results 1 - 25 of 343) sorted by relevance

1234567891011>>

/libcore/support/src/test/java/tests/util/
H A DSummaryStatistics.java69 sb.append("n=");
70 sb.append(numValues);
71 sb.append(",mean=");
72 sb.append(mean());
73 sb.append(",var=");
74 sb.append(var());
75 sb.append(",stddev=");
76 sb.append(stddev());
77 sb.append(",coeffVar=");
78 sb.append(coeffVa
[all...]
/libcore/ojluni/src/main/java/java/util/logging/
H A DXMLFormatter.java52 sb.append('0');
54 sb.append(x);
60 sb.append(date.getYear() + 1900);
61 sb.append('-');
63 sb.append('-');
65 sb.append('T');
67 sb.append(':');
69 sb.append(':');
75 // For a null string we append "<null>"
83 sb.append("
[all...]
/libcore/luni/src/main/java/libcore/util/
H A DObjects.java45 sb.append(c.getSimpleName()).append('[');
56 sb.append(',');
59 sb.append(f.getName());
60 sb.append('=');
64 sb.append(Arrays.toString((boolean[]) value));
66 sb.append(Arrays.toString((byte[]) value));
68 sb.append(Arrays.toString((char[]) value));
70 sb.append(Arrays.toString((double[]) value));
72 sb.append(Array
[all...]
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DVertex.java148 sb.append("Issuer: ").append
149 (x509Cert.getIssuerX500Principal()).append("\n");
150 sb.append("Subject: ").append
151 (x509Cert.getSubjectX500Principal()).append("\n");
152 sb.append("SerialNum: ").append
153 (x509Cert.getSerialNumber().toString(16)).append("\n");
154 sb.append("Expire
[all...]
/libcore/dom/src/test/java/org/w3c/domts/
H A DDOMTestIncompatibleException.java54 buf.append(feature);
55 buf.append("\" version=\"");
56 buf.append(version);
57 buf.append("\".");
65 buf.append(href);
66 buf.append("\" not available for =\"");
67 buf.append(contentType);
68 buf.append("\".");
/libcore/ojluni/src/main/java/java/util/regex/
H A DPatternSyntaxException.java109 sb.append(desc);
111 sb.append(" near index ");
112 sb.append(index);
114 sb.append(nl);
115 sb.append(pattern);
117 sb.append(nl);
118 for (int i = 0; i < index; i++) sb.append(' ');
119 sb.append('^');
/libcore/ojluni/src/main/java/java/io/
H A DFileWriter.java68 * indicating whether or not to append the data written.
71 * @param append boolean if <code>true</code>, then data will be written
77 public FileWriter(String fileName, boolean append) throws IOException { argument
78 super(new FileOutputStream(fileName, append));
99 * @param append if <code>true</code>, then bytes will be written
106 public FileWriter(File file, boolean append) throws IOException { argument
107 super(new FileOutputStream(file, append));
/libcore/ojluni/src/main/java/java/lang/
H A DAppendable.java59 * the subsequence to append is defined by the buffer's position and limit.
62 * The character sequence to append. If <tt>csq</tt> is
71 Appendable append(CharSequence csq) throws IOException; method in interface:Appendable
77 * <p> An invocation of this method of the form <tt>out.append(csq, start,
82 * out.append(csq.subSequence(start, end)) </pre>
107 Appendable append(CharSequence csq, int start, int end) throws IOException; method in interface:Appendable
113 * The character to append
120 Appendable append(char c) throws IOException; method in interface:Appendable
H A DStringBuilder.java40 * <code>append</code> and <code>insert</code> methods, which are
44 * <code>append</code> method always adds these characters at the end
50 * the method call <code>z.append("le")</code> would cause the string
56 * then <code>sb.append(x)</code> has the same effect as
111 append(str);
125 append(seq);
128 public StringBuilder append(Object obj) { method in class:StringBuilder
129 return append(String.valueOf(obj));
132 public StringBuilder append(String str) { method in class:StringBuilder
133 super.append(st
138 private StringBuilder append(StringBuilder sb) { method in class:StringBuilder
169 public StringBuilder append(StringBuffer sb) { method in class:StringBuilder
176 public StringBuilder append(CharSequence s) { method in class:StringBuilder
191 public StringBuilder append(CharSequence s, int start, int end) { method in class:StringBuilder
196 public StringBuilder append(char[] str) { method in class:StringBuilder
204 public StringBuilder append(char[] str, int offset, int len) { method in class:StringBuilder
209 public StringBuilder append(boolean b) { method in class:StringBuilder
214 public StringBuilder append(char c) { method in class:StringBuilder
219 public StringBuilder append(int i) { method in class:StringBuilder
224 public StringBuilder append(long lng) { method in class:StringBuilder
229 public StringBuilder append(float f) { method in class:StringBuilder
234 public StringBuilder append(double d) { method in class:StringBuilder
[all...]
H A DStringBuffer.java43 * <code>append</code> and <code>insert</code> methods, which are
47 * <code>append</code> method always adds these characters at the end
53 * the method call <code>z.append("le")</code> would cause the string
59 * then <code>sb.append(x)</code> has the same effect as
121 append(str);
140 append(seq);
231 public synchronized StringBuffer append(Object obj) { method in class:StringBuffer
232 super.append(String.valueOf(obj));
236 public synchronized StringBuffer append(String str) { method in class:StringBuffer
237 super.append(st
265 public synchronized StringBuffer append(StringBuffer sb) { method in class:StringBuffer
292 public StringBuffer append(CharSequence s) { method in class:StringBuffer
307 public synchronized StringBuffer append(CharSequence s, int start, int end) method in class:StringBuffer
313 public synchronized StringBuffer append(char[] str) { method in class:StringBuffer
321 public synchronized StringBuffer append(char[] str, int offset, int len) { method in class:StringBuffer
326 public synchronized StringBuffer append(boolean b) { method in class:StringBuffer
331 public synchronized StringBuffer append(char c) { method in class:StringBuffer
336 public synchronized StringBuffer append(int i) { method in class:StringBuffer
349 public synchronized StringBuffer append(long lng) { method in class:StringBuffer
354 public synchronized StringBuffer append(float f) { method in class:StringBuffer
359 public synchronized StringBuffer append(double d) { method in class:StringBuffer
[all...]
/libcore/ojluni/src/main/java/java/text/
H A DPatternEntry.java121 toAddTo.append('\n');
123 toAddTo.append(' ');
125 toAddTo.append('&');
127 toAddTo.append(' ');
131 toAddTo.append(' ');
134 case Collator.IDENTICAL: toAddTo.append('='); break;
135 case Collator.TERTIARY: toAddTo.append(','); break;
136 case Collator.SECONDARY: toAddTo.append(';'); break;
137 case Collator.PRIMARY: toAddTo.append('<'); break;
138 case RESET: toAddTo.append('
[all...]
/libcore/ojluni/src/main/java/java/beans/
H A DPropertyChangeEvent.java153 sb.append("[propertyName=").append(getPropertyName());
155 sb.append("; oldValue=").append(getOldValue());
156 sb.append("; newValue=").append(getNewValue());
157 sb.append("; propagationId=").append(getPropagationId());
158 sb.append("; source=").append(getSourc
[all...]
H A DIndexedPropertyChangeEvent.java76 sb.append("; index=").append(getIndex());
/libcore/xml/src/main/java/org/kxml2/io/
H A DKXmlSerializer.java51 private void append(char c) throws IOException { method in class:KXmlSerializer
58 private void append(String str, int i, int length) throws IOException { method in class:KXmlSerializer
74 private void append(String str) throws IOException { method in class:KXmlSerializer
75 append(str, 0, str.length());
101 append(" xmlns");
103 append(':');
104 append(nspStack[i * 2]);
108 append("=\"");
110 append('"');
123 append(" />");
[all...]
/libcore/luni/src/test/java/libcore/java/util/function/
H A DBiConsumerTest.java26 BiConsumer<String, StringBuilder> one = (s, t) -> t.append("one").append(s);
27 BiConsumer<String, StringBuilder> two = (s, t) -> t.append("two").append(s);
39 BiConsumer<String, StringBuilder> one = (s, t) -> t.append("one").append(s);
/libcore/ojluni/src/main/java/java/security/cert/
H A DPKIXCertPathBuilderResult.java111 sb.append("PKIXCertPathBuilderResult: [\n");
112 sb.append(" Certification Path: " + certPath + "\n");
113 sb.append(" Trust Anchor: " + getTrustAnchor().toString() + "\n");
114 sb.append(" Policy Tree: " + String.valueOf(getPolicyTree()) + "\n");
115 sb.append(" Subject Public Key: " + getPublicKey() + "\n");
116 sb.append("]");
H A DPKIXCertPathValidatorResult.java152 sb.append("PKIXCertPathValidatorResult: [\n");
153 sb.append(" Trust Anchor: " + trustAnchor.toString() + "\n");
154 sb.append(" Policy Tree: " + String.valueOf(policyTree) + "\n");
155 sb.append(" Subject Public Key: " + subjectPublicKey + "\n");
156 sb.append("]");
/libcore/ojluni/src/main/java/sun/net/util/
H A DURLUtil.java51 strForm.append(protocol);
52 strForm.append("://");
59 strForm.append(host);
68 strForm.append(":").append(port);
74 strForm.append(file);
/libcore/ojluni/src/main/java/java/lang/reflect/
H A DMethod.java329 sb.append(Modifier.toString(mod)).append(' ');
331 sb.append(Field.getTypeName(getReturnType())).append(' ');
332 sb.append(Field.getTypeName(getDeclaringClass())).append('.');
333 sb.append(getName()).append('(');
336 sb.append(Field.getTypeName(params[j]));
338 sb.append(',');
[all...]
/libcore/luni/src/test/java/libcore/xml/
H A DNamespacedAttributesLookupTest.java114 serialized.append(uri).append(",");
115 serialized.append(localName);
117 serialized.append(qName);
120 serialized.append("\n ");
122 serialized.append(attributes.getURI(i)).append(",");
123 serialized.append(attributes.getLocalName(i));
125 serialized.append(attributes.getQName(i));
128 serialized.append("\
[all...]
/libcore/ojluni/src/main/java/java/net/
H A DURISyntaxException.java125 sb.append(getReason());
127 sb.append(" at index ");
128 sb.append(index);
130 sb.append(": ");
131 sb.append(input);
/libcore/ojluni/src/main/java/java/util/prefs/
H A DBase64.java69 result.append(intToAlpha[byte0 >> 2]);
70 result.append(intToAlpha[(byte0 << 4)&0x3f | (byte1 >> 4)]);
71 result.append(intToAlpha[(byte1 << 2)&0x3f | (byte2 >> 6)]);
72 result.append(intToAlpha[byte2 & 0x3f]);
78 result.append(intToAlpha[byte0 >> 2]);
80 result.append(intToAlpha[(byte0 << 4) & 0x3f]);
81 result.append("==");
85 result.append(intToAlpha[(byte0 << 4)&0x3f | (byte1 >> 4)]);
86 result.append(intToAlpha[(byte1 << 2)&0x3f]);
87 result.append('
[all...]
/libcore/luni/src/main/java/libcore/reflect/
H A DTypes.java86 result.append(',');
105 out.append(c.getName());
107 out.append("[]");
120 out.append(',');
127 out.append(((TypeVariable) type).getName());
129 out.append(type.toString());
133 out.append("[]");
140 out.append(as[len].substring(1, as[len].length() - 1));
144 out.append("int");
146 out.append("byt
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DFormatterBenchmark.java36 sb.append("this is a reasonably short string that doesn't actually need any formatting");
60 sb.append("this is a reasonably short string that has an int ");
61 sb.append(1024);
62 sb.append(" in it");
77 sb.append("this is a reasonably short string that has an int ");
78 sb.append(Integer.toHexString(1024));
79 sb.append(" in it");
110 sb.append("this is a reasonably short string that has a float ");
111 sb.append(10.24f);
112 sb.append(" i
[all...]
/libcore/luni/src/main/java/javax/xml/parsers/
H A DFilePathToURI.java65 buffer.append("file://");
70 buffer.append('/');
82 buffer.append('%');
83 buffer.append(gAfterEscaping1[ch]);
84 buffer.append(gAfterEscaping2[ch]);
88 buffer.append((char)ch);
111 buffer.append('%');
112 buffer.append(gHexChs[ch >> 4]);
113 buffer.append(gHexChs[ch & 0xf]);
116 buffer.append('
[all...]

Completed in 340 milliseconds

1234567891011>>