Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITest.java310 int lastP = p; in _testFirstAndNext() local
320 if (p <= lastP) { in _testFirstAndNext()
322 + lastP + " yielded " + p); in _testFirstAndNext()
324 result.add(text.substring(lastP, p)); in _testFirstAndNext()
327 if (lastP != text.length()) { in _testFirstAndNext()
329 + lastP + " instead of " + text.length()); in _testFirstAndNext()
332 lastP = p; in _testFirstAndNext()
339 int lastP = p; in _testLastAndPrevious() local
349 if (p >= lastP) { in _testLastAndPrevious()
351 + lastP + " yielded " + p); in _testLastAndPrevious()
[all …]
DBreakIteratorTest.java96 int lastP = p; in _testFirstAndNext() local
104 if (p <= lastP) in _testFirstAndNext()
106 + lastP + " yielded " + p); in _testFirstAndNext()
108 result.add(text.substring(lastP, p)); in _testFirstAndNext()
111 if (lastP != text.length()) in _testFirstAndNext()
113 + lastP + " instead of " + text.length()); in _testFirstAndNext()
115 lastP = p; in _testFirstAndNext()
122 int lastP = p; in _testLastAndPrevious() local
130 if (p >= lastP) in _testLastAndPrevious()
132 + lastP + " yielded " + p); in _testLastAndPrevious()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITest.java311 int lastP = p; in _testFirstAndNext() local
321 if (p <= lastP) { in _testFirstAndNext()
323 + lastP + " yielded " + p); in _testFirstAndNext()
325 result.add(text.substring(lastP, p)); in _testFirstAndNext()
328 if (lastP != text.length()) { in _testFirstAndNext()
330 + lastP + " instead of " + text.length()); in _testFirstAndNext()
333 lastP = p; in _testFirstAndNext()
340 int lastP = p; in _testLastAndPrevious() local
350 if (p >= lastP) { in _testLastAndPrevious()
352 + lastP + " yielded " + p); in _testLastAndPrevious()
[all …]
DBreakIteratorTest.java97 int lastP = p; in _testFirstAndNext() local
105 if (p <= lastP) in _testFirstAndNext()
107 + lastP + " yielded " + p); in _testFirstAndNext()
109 result.add(text.substring(lastP, p)); in _testFirstAndNext()
112 if (lastP != text.length()) in _testFirstAndNext()
114 + lastP + " instead of " + text.length()); in _testFirstAndNext()
116 lastP = p; in _testFirstAndNext()
123 int lastP = p; in _testLastAndPrevious() local
131 if (p >= lastP) in _testLastAndPrevious()
133 + lastP + " yielded " + p); in _testLastAndPrevious()
[all …]
/external/icu/icu4c/source/test/intltest/
Drbbitst.cpp421 int32_t lastP = -1; in testFirstAndNext() local
432 if (p <= lastP) { in testFirstAndNext()
437 lastP = p; in testFirstAndNext()
450 int32_t lastP = 0x7ffffffe; in testLastAndPrevious() local
465 if (p >= lastP) { in testLastAndPrevious()
470 lastP = p; in testLastAndPrevious()
481 int32_t lastP = -2; // A value that will never be returned as a break position. in testFollowing() local
497 if (p != lastP) { in testFollowing()
505 lastP = p; in testFollowing()
525 int32_t lastP = 0x7ffffffe; in testPreceding() local
[all …]