HomeSort by relevance Sort by last modified time
    Searched refs:dataToBreak (Results 1 - 5 of 5) sorted by null

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
RBBITestExtended.java 48 StringBuilder dataToBreak = new StringBuilder();
207 tp.dataToBreak.setLength(0);
250 int breakIdx = tp.dataToBreak.length();
261 int idx = tp.dataToBreak.length();
289 tp.dataToBreak.appendCodePoint(c);
290 for (i = tp.dataToBreak.length()-1; i>=0 && tp.srcLine[i]==0; i--) {
304 int breakIdx = tp.dataToBreak.length();
348 tp.dataToBreak.appendCodePoint(cp);
349 for (i=tp.dataToBreak.length()-1; i>=0 && tp.srcLine[i]==0; i--) {
366 tp.dataToBreak.appendCodePoint(c)
    [all...]
RBBITest.java 388 final String dataToBreak = "\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDDE6";
397 localBI.setText(dataToBreak);
404 assertEquals("", dataToBreak.length()+4, nextExpectedBreak);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
RBBITestExtended.java 45 StringBuilder dataToBreak = new StringBuilder();
204 tp.dataToBreak.setLength(0);
247 int breakIdx = tp.dataToBreak.length();
258 int idx = tp.dataToBreak.length();
286 tp.dataToBreak.appendCodePoint(c);
287 for (i = tp.dataToBreak.length()-1; i>=0 && tp.srcLine[i]==0; i--) {
301 int breakIdx = tp.dataToBreak.length();
345 tp.dataToBreak.appendCodePoint(cp);
346 for (i=tp.dataToBreak.length()-1; i>=0 && tp.srcLine[i]==0; i--) {
363 tp.dataToBreak.appendCodePoint(c)
    [all...]
RBBITest.java 385 final String dataToBreak = "\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDDE6\uD83C\uDDE6";
394 localBI.setText(dataToBreak);
401 assertEquals("", dataToBreak.length()+4, nextExpectedBreak);
  /external/icu/icu4c/source/test/intltest/
rbbitst.cpp 355 UnicodeString dataToBreak; // Data that is built up while parsing the test.
356 UVector32 *expectedBreaks; // Expected break positions, matches dataToBreak UnicodeString.
357 UVector32 *srcLine; // Positions in source file, indexed same as dataToBreak.
361 UVector32 *textMap; // Map from UTF-16 dataToBreak offsets to UText offsets.
364 TestParams(UErrorCode &status) : dataToBreak() {
416 textToBreak = utext_openUnicodeString(textToBreak, &dataToBreak, &status);
418 for (int32_t i=0; i<dataToBreak.length(); i++) {
419 if (i == dataToBreak.getChar32Start(i)) {
425 textMap->addElement(dataToBreak.length(), status);
426 U_ASSERT(dataToBreak.length() + 1 == textMap->size())
    [all...]

Completed in 709 milliseconds