Home
last modified time | relevance | path

Searched refs:lastIndex (Results 1 – 3 of 3) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThrowableTest.java102 int lastIndex = 0; in fixStacktrace() local
103 while (lastIndex < trace.length()) { in fixStacktrace()
104 int index = trace.indexOf('\n', lastIndex); in fixStacktrace()
107 String line = trace.substring(lastIndex, index); in fixStacktrace()
108 lastIndex = index + 1; in fixStacktrace()
/libcore/ojluni/src/main/java/java/text/
DCalendarBuilder.java156 int lastIndex = sb.length() - 1; in toString() local
157 if (sb.charAt(lastIndex) == ',') { in toString()
158 sb.setLength(lastIndex); in toString()
DMergeCollation.java281 int lastIndex = findLastEntry(lastEntry, excess); in fixEntry() local
285 if (lastIndex != patterns.size()) { in fixEntry()
290 if (lastIndex == patterns.size()) { in fixEntry()
294 patterns.add(lastIndex, newEntry); in fixEntry()