Home
last modified time | relevance | path

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

12345678

/libcore/tools/expected_upstream/
Dojluni_modify_expectation.py54 def error_and_exit(msg: str) -> None:
59 def get_commit_or_exit(git_ref: str) -> Commit:
66 def autocomplete_tag_or_commit(str_tag_or_commit: str) -> List[str]:
77 def autocomplete_action(partial_str: str) -> None:
84 def main(argv: Sequence[str]) -> None:
188 def source_not_exists(src_path_or_class: str) -> bool:
Dcommon_util.py178 def parse_line(line: str, comment_lines: str) -> ExpectedUpstreamEntry:
191 def __init__(self, existing_paths: List[str]):
195 def translate_ojluni_path_to_class_name(path: str) -> str:
219 def translate_from_class_name_to_ojluni_path(class_or_path: str) -> str:
231 def match_path_prefix(self, input_path: str) -> Set[str]:
261 def match_classname_prefix(self, input_class_name: str) -> List[str]:
287 def translate_src_path_to_ojluni_path(src_path: str) -> str:
310 def find_src_path_from_classname(self, class_or_path: str) -> str:
332 def find_src_path_from_ojluni_path(self, ojluni_path: str) -> str:
355 def match_path_prefix(self, input_path: str) -> List[str]:
[all …]
Dojluni_upgrade_identicals.py35 def error_and_exit(msg: str) -> None:
40 def get_commit_or_exit(git_ref: str) -> Commit:
47 def main(argv: Sequence[str]) -> None:
Dojluni_merge_to_main.py202 removed_paths: Set[str], bug_id: str,
203 last_expected_change_id: str, discard_working_tree: bool) -> Head:
379 ExpectedUpstreamEntry], removed_paths: Set[
409 repo: Repo, expected_upstream_base: str,
410 bug_id: str, use_rerere: bool, is_absorbed: bool,
536 def insert_package_name_to_tests(test_dst_paths: Dict[str, str]): argument
562 def main(argv: Sequence[str]) -> None:
/libcore/tools/expected_upstream/tests/
Dcommon_util_test.py72 def assert_class_to_path(self, classname: str, expected_path: str):
110 def assert_match_ojluni_path(self, path_prefix: str, expected: List[str]):
145 def assert_match_ojluni_classname(self, path_prefix: str,
146 expected: List[str]):
234 def assert_match_path_prefix(self, expected: List[str], prefix: str):
287 def assert_match_classname_prefix(self, expected: List[str], prefix: str):
/libcore/ojluni/src/main/java/java/lang/
DStringBuilder.java131 public StringBuilder(String str) { in StringBuilder()
185 public StringBuilder append(String str) { in append()
232 public StringBuilder append(char[] str) { in append()
241 public StringBuilder append(char[] str, int offset, int len) { in append()
321 public StringBuilder replace(int start, int end, String str) { in replace()
330 public StringBuilder insert(int index, char[] str, int offset, in insert()
350 public StringBuilder insert(int offset, String str) { in insert()
359 public StringBuilder insert(int offset, char[] str) { in insert()
439 public int indexOf(String str) { in indexOf()
444 public int indexOf(String str, int fromIndex) { in indexOf()
[all …]
DProcessEnvironment.java153 protected final String str; field in ProcessEnvironment.ExternalData
156 protected ExternalData(String str, byte[] bytes) { in ExternalData()
182 protected Variable(String str, byte[] bytes) { in Variable()
186 public static Variable valueOfQueryOnly(Object str) { in valueOfQueryOnly()
190 public static Variable valueOfQueryOnly(String str) { in valueOfQueryOnly()
194 public static Variable valueOf(String str) { in valueOf()
215 protected Value(String str, byte[] bytes) { in Value()
219 public static Value valueOfQueryOnly(Object str) { in valueOfQueryOnly()
223 public static Value valueOfQueryOnly(String str) { in valueOfQueryOnly()
227 public static Value valueOf(String str) { in valueOf()
DStringBuffer.java151 public StringBuffer(String str) { in StringBuffer()
317 public synchronized StringBuffer append(String str) { in append()
404 public synchronized StringBuffer append(char[] str) { in append()
414 public synchronized StringBuffer append(char[] str, int offset, int len) { in append()
501 public synchronized StringBuffer replace(int start, int end, String str) { in replace()
539 public synchronized StringBuffer insert(int index, char[] str, int offset, in insert()
561 public synchronized StringBuffer insert(int offset, String str) { in insert()
571 public synchronized StringBuffer insert(int offset, char[] str) { in insert()
677 public int indexOf(String str) { in indexOf()
686 public synchronized int indexOf(String str, int fromIndex) { in indexOf()
[all …]
DAbstractStringBuilder.java538 public AbstractStringBuilder append(String str) { in append()
659 public AbstractStringBuilder append(char[] str) { in append()
688 public AbstractStringBuilder append(char str[], int offset, int len) { in append()
946 public AbstractStringBuilder replace(int start, int end, String str) { in replace()
1055 public AbstractStringBuilder insert(int index, char[] str, int offset, in insert()
1121 public AbstractStringBuilder insert(int offset, String str) { in insert()
1158 public AbstractStringBuilder insert(int offset, char[] str) { in insert()
1423 public int indexOf(String str) { in indexOf()
1444 public int indexOf(String str, int fromIndex) { in indexOf()
1463 public int lastIndexOf(String str) { in lastIndexOf()
[all …]
/libcore/ojluni/src/test/java/lang/String/CompactString/
DLastIndexOf.java67 public void testLastIndexOf(String str, int ch, int expected) { in testLastIndexOf()
113 public void testLastIndexOf(String str, int ch, int fromIndex, int expected) { in testLastIndexOf()
154 public void testLastIndexOf(String str, String anotherString, int expected) { in testLastIndexOf()
211 public void testLastIndexOf(String str, String anotherString, in testLastIndexOf()
DIndexOf.java72 public void testIndexOf(String str, int ch, int expected) { in testIndexOf()
111 public void testIndexOf(String str, int ch, int fromIndex, int expected) { in testIndexOf()
166 public void testIndexOf(String str, String anotherString, int expected) { in testIndexOf()
235 public void testIndexOf(String str, String anotherString, int fromIndex, in testIndexOf()
DReplace.java65 public void testReplace(String str, char oldChar, char newChar, in testReplace()
103 public void testReplace(String str, CharSequence target, in testReplace()
/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
/libcore/ojluni/annotations/sdk/nullability/java/lang/
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 …]
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 …]
/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/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/test/java/lang/StringBuilder/
DEnsureCapacity.java63 char[] str = {'a', 'b', 'c', 'd'}; in testStringBuilder() local
80 char[] str = {'a', 'b', 'c', 'd'}; in testStringBuffer() local
/libcore/ojluni/src/main/java/java/util/
DStringTokenizer.java105 private String str; field in StringTokenizer
192 public StringTokenizer(String str, String delim, boolean returnDelims) { in StringTokenizer()
218 public StringTokenizer(String str, String delim) { in StringTokenizer()
233 public StringTokenizer(String str) { in StringTokenizer()
/libcore/ojluni/src/test/java/lang/String/
DChars.java81 String str = new String(cc); in testChars() local
88 String str = new String(cc); in testCPs() 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/ojluni/src/main/java/java/io/
DWriter.java125 public void write(String str) throws IOException { in nullWriter()
131 public void write(String str, int off, int len) throws IOException { in nullWriter()
248 public void write(String str) throws IOException { in write()
278 public void write(String str, int off, int len) throws IOException { in write()
/libcore/ojluni/src/main/java/java/net/
DURLEncoder.java159 String str = null; in encode() local
276 String str = new String(charArrayWriter.toCharArray()); in encode() local

12345678