Home
last modified time | relevance | path

Searched refs:toffset (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/test/java/lang/String/CompactString/
DRegionMatches.java90 public void testRegionMatches(String str, boolean ignoreCase, int toffset, in testRegionMatches() argument
96 data.regionMatches(ignoreCase, toffset, in testRegionMatches()
102 toffset, escapeNonASCIIs(other), in testRegionMatches()
DStartsWith.java95 public void testStartsWith(String str, String prefix, int toffset, in testStartsWith() argument
101 data.startsWith(prefix, toffset), in testStartsWith()
106 escapeNonASCIIs(prefix), toffset, in testStartsWith()
/libcore/ojluni/src/main/java/java/lang/
DString.java1619 public boolean regionMatches(int toffset, String other, int ooffset, int len) { in regionMatches() argument
1626 if ((ooffset < 0) || (toffset < 0) || in regionMatches()
1627 (toffset > (long)length() - len) || in regionMatches()
1661 if (charAt(toffset++) != other.charAt(ooffset++)) { in regionMatches()
1719 public boolean regionMatches(boolean ignoreCase, int toffset, in regionMatches() argument
1722 return regionMatches(toffset, other, ooffset, len); in regionMatches()
1725 if ((ooffset < 0) || (toffset < 0) in regionMatches()
1726 || (toffset > (long)length() - len) in regionMatches()
1744 char c1 = charAt(toffset++); in regionMatches()
1790 public boolean startsWith(String prefix, int toffset) { in startsWith() argument
[all …]
/libcore/ojluni/annotations/hiddenapi/java/lang/
DString.java188 public boolean regionMatches(int toffset, java.lang.String other, int ooffset, int len) { in regionMatches() argument
193 boolean ignoreCase, int toffset, java.lang.String other, int ooffset, int len) { in regionMatches() argument
197 public boolean startsWith(java.lang.String prefix, int toffset) { in startsWith() argument
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DString.annotated.java110 public boolean regionMatches(int toffset, @libcore.util.NonNull java.lang.String other, int ooffset… in regionMatches() argument
112 public boolean regionMatches(boolean ignoreCase, int toffset, @libcore.util.NonNull java.lang.Strin… in regionMatches() argument
114 public boolean startsWith(@libcore.util.NonNull java.lang.String prefix, int toffset) { throw new R… in startsWith() argument