Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestExtended.java45 StringBuilder dataToBreak = new StringBuilder(); field in RBBITestExtended.TestParams
204 tp.dataToBreak.setLength(0); in TestExtended()
247 int breakIdx = tp.dataToBreak.length(); in TestExtended()
263 int idx = tp.dataToBreak.length(); in TestExtended()
291 tp.dataToBreak.appendCodePoint(c); in TestExtended()
292 for (i = tp.dataToBreak.length()-1; i>=0 && tp.srcLine[i]==0; i--) { in TestExtended()
306 int breakIdx = tp.dataToBreak.length(); in TestExtended()
350 tp.dataToBreak.appendCodePoint(cp); in TestExtended()
351 for (i=tp.dataToBreak.length()-1; i>=0 && tp.srcLine[i]==0; i--) { in TestExtended()
368 tp.dataToBreak.appendCodePoint(c); in TestExtended()
[all …]
DRBBITest.java387 …final String dataToBreak = "\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDD… in TestBug12873() local
396 localBI.setText(dataToBreak); in TestBug12873()
403 assertEquals("", dataToBreak.length()+4, nextExpectedBreak); in TestBug12873()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITestExtended.java48 StringBuilder dataToBreak = new StringBuilder(); field in RBBITestExtended.TestParams
207 tp.dataToBreak.setLength(0); in TestExtended()
250 int breakIdx = tp.dataToBreak.length(); in TestExtended()
266 int idx = tp.dataToBreak.length(); in TestExtended()
294 tp.dataToBreak.appendCodePoint(c); in TestExtended()
295 for (i = tp.dataToBreak.length()-1; i>=0 && tp.srcLine[i]==0; i--) { in TestExtended()
309 int breakIdx = tp.dataToBreak.length(); in TestExtended()
353 tp.dataToBreak.appendCodePoint(cp); in TestExtended()
354 for (i=tp.dataToBreak.length()-1; i>=0 && tp.srcLine[i]==0; i--) { in TestExtended()
371 tp.dataToBreak.appendCodePoint(c); in TestExtended()
[all …]
DRBBITest.java390 …final String dataToBreak = "\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDD… in TestBug12873() local
399 localBI.setText(dataToBreak); in TestBug12873()
406 assertEquals("", dataToBreak.length()+4, nextExpectedBreak); in TestBug12873()
/external/icu/icu4c/source/test/intltest/
Drbbitst.cpp388 UnicodeString dataToBreak; // Data that is built up while parsing the test. member
397 TestParams(UErrorCode &status) : dataToBreak() { in TestParams()
449 textToBreak = utext_openUnicodeString(textToBreak, &dataToBreak, &status); in setUTF16()
451 for (int32_t i=0; i<dataToBreak.length(); i++) { in setUTF16()
452 if (i == dataToBreak.getChar32Start(i)) { in setUTF16()
458 textMap->addElement(dataToBreak.length(), status); in setUTF16()
459 U_ASSERT(dataToBreak.length() + 1 == textMap->size()); in setUTF16()
468 CharStringAppend(utf8String, dataToBreak, status); in setUTF8()
569 printStringBreaks(t->dataToBreak, expected, 2); in executeTest()
864 tp.dataToBreak = ""; in TestExtended()
[all …]