Searched refs:sourceLength (Results 1 – 2 of 2) sorted by relevance
86 StringIndexOutOfBoundsException(int sourceLength, int index) { in StringIndexOutOfBoundsException() argument87 super("length=" + sourceLength + "; index=" + index); in StringIndexOutOfBoundsException()102 StringIndexOutOfBoundsException(int sourceLength, int offset, in StringIndexOutOfBoundsException() argument104 super("length=" + sourceLength + "; regionStart=" + offset in StringIndexOutOfBoundsException()
1724 final int sourceLength = source.length(); in indexOf() local1726 if (fromIndex >= sourceLength) { in indexOf()1727 return (targetLength == 0 ? sourceLength : -1); in indexOf()1737 int max = (sourceLength - targetLength); in indexOf()1885 final int sourceLength = source.length(); in lastIndexOf() local1887 int rightIndex = sourceLength - targetLength; in lastIndexOf()