Home
last modified time | relevance | path

Searched refs:anotherString (Results 1 – 10 of 10) sorted by relevance

/libcore/ojluni/src/test/java/lang/String/CompactString/
DLastIndexOf.java154 public void testLastIndexOf(String str, String anotherString, int expected) { in testLastIndexOf() argument
159 data.lastIndexOf(anotherString), in testLastIndexOf()
164 escapeNonASCIIs(anotherString), in testLastIndexOf()
211 public void testLastIndexOf(String str, String anotherString, in testLastIndexOf() argument
217 data.lastIndexOf(anotherString, fromIndex), in testLastIndexOf()
222 escapeNonASCIIs(anotherString), in testLastIndexOf()
DEqualsIgnoreCase.java63 public void testEqualsIgnoreCase(String str, String anotherString, in testEqualsIgnoreCase() argument
69 data.equalsIgnoreCase(anotherString), in testEqualsIgnoreCase()
74 escapeNonASCIIs(anotherString), in testEqualsIgnoreCase()
DIndexOf.java166 public void testIndexOf(String str, String anotherString, int expected) { in testIndexOf() argument
171 data.indexOf(anotherString), in testIndexOf()
176 escapeNonASCIIs(anotherString), in testIndexOf()
235 public void testIndexOf(String str, String anotherString, int fromIndex, in testIndexOf() argument
241 data.indexOf(anotherString, fromIndex), in testIndexOf()
246 escapeNonASCIIs(anotherString), in testIndexOf()
DCompareToIgnoreCase.java75 public void testCompareToIgnoreCase(String str, String anotherString, in testCompareToIgnoreCase() argument
81 data.compareToIgnoreCase(anotherString), in testCompareToIgnoreCase()
86 escapeNonASCIIs(anotherString), in testCompareToIgnoreCase()
DContains.java78 public void testContains(String str, String anotherString, boolean expected) { in testContains() argument
83 data.contains(anotherString), in testContains()
88 escapeNonASCIIs(anotherString), in testContains()
DCompareTo.java82 public void testCompareTo(String str, String anotherString, int expected) { in testCompareTo() argument
87 data.compareTo(anotherString), in testCompareTo()
92 escapeNonASCIIs(anotherString), in testCompareTo()
DConcat.java119 public void testConcat(String str, String anotherString, String expected) { in testConcat() argument
124 data.concat(anotherString), in testConcat()
129 escapeNonASCIIs(anotherString), in testConcat()
/libcore/ojluni/src/main/java/java/lang/
DString.java1282 String anotherString = (String)anObject; in equals() local
1284 if (n == anotherString.length()) { in equals()
1287 if (charAt(i) != anotherString.charAt(i)) in equals()
1440 public boolean equalsIgnoreCase(String anotherString) { in equalsIgnoreCase() argument
1443 return (this == anotherString) ? true in equalsIgnoreCase()
1444 : (anotherString != null) in equalsIgnoreCase()
1445 && (anotherString.length() == len) in equalsIgnoreCase()
1446 && regionMatches(true, 0, anotherString, 0, len); in equalsIgnoreCase()
1507 public native int compareTo(String anotherString); in compareTo() argument
/libcore/ojluni/annotations/hiddenapi/java/lang/
DString.java178 public boolean equalsIgnoreCase(java.lang.String anotherString) { in equalsIgnoreCase() argument
182 public native int compareTo(java.lang.String anotherString); in compareTo() argument
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DString.annotated.java104 public boolean equalsIgnoreCase(@libcore.util.Nullable java.lang.String anotherString) { throw new … in equalsIgnoreCase() argument
106 public native int compareTo(@libcore.util.NonNull java.lang.String anotherString); in compareTo() argument