Home
last modified time | relevance | path

Searched refs:lastP (Results 1 – 7 of 7) sorted by relevance

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITest.java308 int lastP = p; in _testFirstAndNext() local
318 if (p <= lastP) { in _testFirstAndNext()
320 + lastP + " yielded " + p); in _testFirstAndNext()
322 result.add(text.substring(lastP, p)); in _testFirstAndNext()
325 if (lastP != text.length()) { in _testFirstAndNext()
327 + lastP + " instead of " + text.length()); in _testFirstAndNext()
330 lastP = p; in _testFirstAndNext()
337 int lastP = p; in _testLastAndPrevious() local
347 if (p >= lastP) { in _testLastAndPrevious()
349 + lastP + " yielded " + p); in _testLastAndPrevious()
[all …]
DSimpleBITest.java198 int lastP = p; in doTest() local
205 fragment = testText.substring(lastP, p); in doTest()
207 fragment = testText.substring(lastP); in doTest()
211 lastP = p; in doTest()
DBreakIteratorTest.java92 int lastP = p; in _testFirstAndNext() local
100 if (p <= lastP) in _testFirstAndNext()
102 + lastP + " yielded " + p); in _testFirstAndNext()
104 result.add(text.substring(lastP, p)); in _testFirstAndNext()
107 if (lastP != text.length()) in _testFirstAndNext()
109 + lastP + " instead of " + text.length()); in _testFirstAndNext()
111 lastP = p; in _testFirstAndNext()
118 int lastP = p; in _testLastAndPrevious() local
126 if (p >= lastP) in _testLastAndPrevious()
128 + lastP + " yielded " + p); in _testLastAndPrevious()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITest.java304 int lastP = p; in _testFirstAndNext() local
314 if (p <= lastP) { in _testFirstAndNext()
316 + lastP + " yielded " + p); in _testFirstAndNext()
318 result.add(text.substring(lastP, p)); in _testFirstAndNext()
321 if (lastP != text.length()) { in _testFirstAndNext()
323 + lastP + " instead of " + text.length()); in _testFirstAndNext()
326 lastP = p; in _testFirstAndNext()
333 int lastP = p; in _testLastAndPrevious() local
343 if (p >= lastP) { in _testLastAndPrevious()
345 + lastP + " yielded " + p); in _testLastAndPrevious()
[all …]
DSimpleBITest.java194 int lastP = p; in doTest() local
201 fragment = testText.substring(lastP, p); in doTest()
203 fragment = testText.substring(lastP); in doTest()
207 lastP = p; in doTest()
DBreakIteratorTest.java88 int lastP = p; in _testFirstAndNext() local
96 if (p <= lastP) in _testFirstAndNext()
98 + lastP + " yielded " + p); in _testFirstAndNext()
100 result.add(text.substring(lastP, p)); in _testFirstAndNext()
103 if (lastP != text.length()) in _testFirstAndNext()
105 + lastP + " instead of " + text.length()); in _testFirstAndNext()
107 lastP = p; in _testFirstAndNext()
114 int lastP = p; in _testLastAndPrevious() local
122 if (p >= lastP) in _testLastAndPrevious()
124 + lastP + " yielded " + p); in _testLastAndPrevious()
[all …]
/external/icu/icu4c/source/test/intltest/
Drbbitst.cpp471 int32_t lastP = -1; in testFirstAndNext() local
482 if (p <= lastP) { in testFirstAndNext()
487 lastP = p; in testFirstAndNext()
500 int32_t lastP = 0x7ffffffe; in testLastAndPrevious() local
515 if (p >= lastP) { in testLastAndPrevious()
520 lastP = p; in testLastAndPrevious()
531 int32_t lastP = -2; // A value that will never be returned as a break position. in testFollowing() local
547 if (p != lastP) { in testFollowing()
555 lastP = p; in testFollowing()
575 int32_t lastP = 0x7ffffffe; in testPreceding() local
[all …]