Home
last modified time | relevance | path

Searched defs:str (Results 1 – 25 of 137) sorted by relevance

123456

/libcore/ojluni/src/main/java/java/lang/
DStringBuilder.java112 public StringBuilder(String str) { in StringBuilder()
136 public StringBuilder append(String str) { in append()
181 public StringBuilder append(char[] str) { in append()
190 public StringBuilder append(char[] str, int offset, int len) { in append()
262 public StringBuilder replace(int start, int end, String str) { in replace()
271 public StringBuilder insert(int index, char[] str, int offset, in insert()
291 public StringBuilder insert(int offset, String str) { in insert()
300 public StringBuilder insert(int offset, char[] str) { in insert()
380 public int indexOf(String str) { in indexOf()
385 public int indexOf(String str, int fromIndex) { in indexOf()
[all …]
DStringBuffer.java138 public StringBuffer(String str) { in StringBuffer()
268 public synchronized StringBuffer append(String str) { in append()
355 public synchronized StringBuffer append(char[] str) { in append()
365 public synchronized StringBuffer append(char[] str, int offset, int len) { in append()
450 public synchronized StringBuffer replace(int start, int end, String str) { in replace()
488 public synchronized StringBuffer insert(int index, char[] str, int offset, in insert()
510 public synchronized StringBuffer insert(int offset, String str) { in insert()
520 public synchronized StringBuffer insert(int offset, char[] str) { in insert()
626 public int indexOf(String str) { in indexOf()
635 public synchronized int indexOf(String str, int fromIndex) { in indexOf()
[all …]
DProcessEnvironment.java128 protected final String str; field in ProcessEnvironment.ExternalData
131 protected ExternalData(String str, byte[] bytes) { in ExternalData()
157 protected Variable(String str, byte[] bytes) { in Variable()
161 public static Variable valueOfQueryOnly(Object str) { in valueOfQueryOnly()
165 public static Variable valueOfQueryOnly(String str) { in valueOfQueryOnly()
169 public static Variable valueOf(String str) { in valueOf()
190 protected Value(String str, byte[] bytes) { in Value()
194 public static Value valueOfQueryOnly(Object str) { in valueOfQueryOnly()
198 public static Value valueOfQueryOnly(String str) { in valueOfQueryOnly()
202 public static Value valueOf(String str) { in valueOf()
DAbstractStringBuilder.java444 public AbstractStringBuilder append(String str) { in append()
564 public AbstractStringBuilder append(char[] str) { in append()
594 public AbstractStringBuilder append(char str[], int offset, int len) { in append()
849 public AbstractStringBuilder replace(int start, int end, String str) { in replace()
960 public AbstractStringBuilder insert(int index, char[] str, int offset, in insert()
1030 public AbstractStringBuilder insert(int offset, String str) { in insert()
1067 public AbstractStringBuilder insert(int offset, char[] str) { in insert()
1328 public int indexOf(String str) { in indexOf()
1347 public int indexOf(String str, int fromIndex) { in indexOf()
1367 public int lastIndexOf(String str) { in lastIndexOf()
[all …]
/libcore/luni/src/test/java/libcore/java/io/
DOldAndroidBufferedOutputStreamTest.java29 String str = "AbCdEfGhIjKlMnOpQrStUvWxYz"; in testBufferedOutputStream() local
37 assertEquals(aa.toString(), str); in testBufferedOutputStream() local
DOldAndroidInputStreamReaderTest.java32 String str = "AbCdEfGhIjKlMnOpQrStUvWxYzX"; in testAscii() local
53 String str = "AbCdEfGhIjKlMnOpQrStUvWxYzX" + in testUtf8() local
DOldAndroidStringWriterTest.java25 String str = "AbCdEfGhIjKlMnOpQrStUvWxYz"; in testStringWriter() local
DOldAndroidBufferedWriterTest.java29 String str = "AbCdEfGhIjKlMnOpQrStUvWxYz"; in testBufferedWriter() local
DOldAndroidByteArrayOutputStreamTest.java28 String str = "AbCdEfGhIjKlMnOpQrStUvWxYz"; in testByteArrayOutputStream() local
DOldAndroidOutputStreamWriterTest.java29 String str = "AbCdEfGhIjKlMnOpQrStUvWxYz"; in testOutputStreamWriter() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLEngineResultHandshakeStatusTest.java33 String[] str = {"NOT_HANDSHAKING", "FINISHED", "NEED_TASK", "NEED_WRAP", "NEED_UNWRAP"}; in test_SSLEngineResultHandshakeStatus_values() local
49 String[] str = {"FINISHED", "NEED_TASK", "NEED_UNWRAP", "NEED_WRAP", "NOT_HANDSHAKING"}; in test_SSLEngineResultStatus_valueOf() local
DSSLEngineResultStatusTest.java34 String[] str = {"BUFFER_OVERFLOW", "BUFFER_UNDERFLOW", "CLOSED", "OK"}; in test_SSLEngineResultStatus_values() local
56 String[] str = {"BUFFER_OVERFLOW", "BUFFER_UNDERFLOW", "CLOSED", "OK"}; in test_SSLEngineResultStatus_valueOf() local
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DStringBuilder.annotated.java38 … StringBuilder(@libcore.util.NonNull java.lang.String str) { throw new RuntimeException("Stub!"); } in StringBuilder()
44 …uilder append(@libcore.util.Nullable java.lang.String str) { throw new RuntimeException("Stub!"); } in append()
52 @libcore.util.NonNull public java.lang.StringBuilder append(char[] str) { throw new RuntimeExceptio… in append()
54 @libcore.util.NonNull public java.lang.StringBuilder append(char[] str, int offset, int len) { thro… in append()
74 …ic java.lang.StringBuilder replace(int start, int end, @libcore.util.NonNull java.lang.String str)… in replace()
76 @libcore.util.NonNull public java.lang.StringBuilder insert(int index, char[] str, int offset, int … in insert()
80 …Null public java.lang.StringBuilder insert(int offset, @libcore.util.Nullable java.lang.String str in insert()
82 @libcore.util.NonNull public java.lang.StringBuilder insert(int offset, char[] str) { throw new Run… in insert()
100 …ic int indexOf(@libcore.util.NonNull java.lang.String str) { throw new RuntimeException("Stub!"); } in indexOf()
102 …@libcore.util.NonNull java.lang.String str, int fromIndex) { throw new RuntimeException("Stub!"); } in indexOf()
[all …]
DStringBuffer.annotated.java37 …c StringBuffer(@libcore.util.NonNull java.lang.String str) { throw new RuntimeException("Stub!"); } in StringBuffer()
67 …Buffer append(@libcore.util.Nullable java.lang.String str) { throw new RuntimeException("Stub!"); } in append()
75 @libcore.util.NonNull public synchronized java.lang.StringBuffer append(char[] str) { throw new Run… in append()
77 @libcore.util.NonNull public synchronized java.lang.StringBuffer append(char[] str, int offset, int… in append()
97 …zed java.lang.StringBuffer replace(int start, int end, @libcore.util.NonNull java.lang.String str)… in replace()
105 @libcore.util.NonNull public synchronized java.lang.StringBuffer insert(int index, char[] str, int … in insert()
109 …synchronized java.lang.StringBuffer insert(int offset, @libcore.util.Nullable java.lang.String str in insert()
111 @libcore.util.NonNull public synchronized java.lang.StringBuffer insert(int offset, char[] str) { t… in insert()
129 …ic int indexOf(@libcore.util.NonNull java.lang.String str) { throw new RuntimeException("Stub!"); } in indexOf()
131 …@libcore.util.NonNull java.lang.String str, int fromIndex) { throw new RuntimeException("Stub!"); } in indexOf()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/lang/
DAbstractStringBuilder.java105 public java.lang.AbstractStringBuilder append(java.lang.String str) { in append()
129 public java.lang.AbstractStringBuilder append(char[] str) { in append()
133 public java.lang.AbstractStringBuilder append(char[] str, int offset, int len) { in append()
173 public java.lang.AbstractStringBuilder replace(int start, int end, java.lang.String str) { in replace()
189 public java.lang.AbstractStringBuilder insert(int index, char[] str, int offset, int len) { in insert()
197 public java.lang.AbstractStringBuilder insert(int offset, java.lang.String str) { in insert()
201 public java.lang.AbstractStringBuilder insert(int offset, char[] str) { in insert()
238 public int indexOf(java.lang.String str) { in indexOf()
242 public int indexOf(java.lang.String str, int fromIndex) { in indexOf()
246 public int lastIndexOf(java.lang.String str) { in lastIndexOf()
[all …]
/libcore/ojluni/src/main/java/java/util/
DStringTokenizer.java107 private String str; field in StringTokenizer
194 public StringTokenizer(String str, String delim, boolean returnDelims) { in StringTokenizer()
220 public StringTokenizer(String str, String delim) { in StringTokenizer()
235 public StringTokenizer(String str) { in StringTokenizer()
/libcore/ojluni/src/main/java/java/net/
DURLEncoder.java167 String str = null; in encode() local
268 String str = new String(charArrayWriter.toCharArray()); in encode() local
/libcore/luni/src/test/java/libcore/java/lang/
DOldStringTest.java171 String str = "!'123123.123HelloWorld!123123helloworld#"; in test_replaceAll() local
194 String str = "!'123123.123HelloWorld!123123helloworld#"; in test_replaceFirst() local
217 String str = "!'123123.123HelloWorld!123123helloworld#"; in test_splitLString() local
238 String str = "!'123123.123HelloWorld!123123helloworld#"; in test_splitLStringLint() local
/libcore/support/src/test/java/tests/support/
DSupport_StringWriter.java150 public void write(String str) { in write()
172 public void write(String str, int offset, int count) { in write()
DSupport_StringReader.java24 private String str; field in Support_StringReader
40 public Support_StringReader(String str) { in Support_StringReader()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DReadOnlyCharBufferTest.java166 String str = String.valueOf(new char[buf.capacity()]); in testPutStringintint() local
195 String str = " "; in testPutString() local
/libcore/ojluni/src/main/java/sun/invoke/util/
DBytecodeDescriptor.java48 String str = bytecodeSignature; in parseMethod() local
70 static private void parseError(String str, String msg) { in parseError()
74 static private Class<?> parseSig(String str, int[] i, int end, ClassLoader loader) { in parseSig()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPushbackInputStreamTest.java57 PushbackInputStream str = new PushbackInputStream(null); in test_ConstructorLjava_io_InputStream() local
98 PushbackInputStream str = new PushbackInputStream(null, 1); in test_ConstructorLjava_io_InputStreamL() local
/libcore/ojluni/src/test/java/time/tck/java/time/
DTCKZoneOffset.java197 String str = (i < 0 ? "-" : "+") + Math.abs(i); in test_factory_string_singleDigitHours() local
206 String str = (i < 0 ? "-" : "+") + Integer.toString(Math.abs(i) + 100).substring(1); in test_factory_string_hours() local
217 String str = (i < 0 || j < 0 ? "-" : "+") + in test_factory_string_hours_minutes_noColon() local
236 String str = (i < 0 || j < 0 ? "-" : "+") + in test_factory_string_hours_minutes_colon() local
257 String str = (i < 0 || j < 0 || k < 0 ? "-" : "+") + in test_factory_string_hours_minutes_seconds_noColon() local
280 String str = (i < 0 || j < 0 || k < 0 ? "-" : "+") + in test_factory_string_hours_minutes_seconds_colon() local
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKWeekFields.java390 String str = date.getYear() + ":" + date.getMonthValue() + ":" + in test_parse_resolve_localizedWom() local
414 String str = date.getYear() + ":" + date.getMonthValue() + ":" + j + ":" + dow; in test_parse_resolve_localizedWom_lenient() local
432 String str = "2012:1:0:1"; in test_parse_resolve_localizedWom_strict() local
458 String str = date.getYear() + ":" + date.getMonthValue() + ":" + in test_parse_resolve_localizedWomDow() local
483 String str = date.getYear() + ":" + date.getMonthValue() + ":" + j + ":" + dow; in test_parse_resolve_localizedWomDow_lenient() local
504 String str = date.getYear() + ":" + in test_parse_resolve_localizedWoy() local
527 String str = date.getYear() + ":" + j + ":" + dow; in test_parse_resolve_localizedWoy_lenient() local
544 String str = "2012:0:1"; in test_parse_resolve_localizedWoy_strict() local
569 String str = date.getYear() + ":" + date.getMonthValue() + ":" + in test_parse_resolve_localizedWoyDow() local
593 String str = date.getYear() + ":" + j + ":" + dow; in test_parse_resolve_localizedWoyDow_lenient() local
[all …]

123456