Searched refs:testText (Results 1 – 4 of 4) sorted by relevance
/external/icu4c/samples/citer/ |
D | citer.cpp | 48 const UChar *testText = testString.getTerminatedBuffer(); in TestUChariter() local 50 UCharCharacterIterator iter(testText, u_strlen(testText)); in TestUChariter() 76 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestUChariter() 83 if (c == CharacterIterator::DONE && i != u_strlen(testText)) { in TestUChariter() 86 else if (c != testText[i]) { in TestUChariter() 115 const UChar *testText = testString.getTerminatedBuffer(); in TestStringiter() local 117 StringCharacterIterator iter(testText, u_strlen(testText)); in TestStringiter() 140 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestStringiter() 149 else if (c != testText[i]) { in TestStringiter()
|
/external/icu4c/test/intltest/ |
D | citrtest.cpp | 162 … UnicodeString testText("Now is the time for all good men to come to the aid of their country."); in TestCoverage() local 165 SCharacterIterator* test = new SCharacterIterator(testText); in TestCoverage() 172 if(test->getLength()!=testText.length()){ in TestCoverage() 180 if(test->getIndex()!=testText.length()){ in TestCoverage() 195 … UnicodeString testText("Now is the time for all good men to come to the aid of their country."); in TestConstructionAndEquality() local 199 CharacterIterator* test1 = new StringCharacterIterator(testText); in TestConstructionAndEquality() 200 CharacterIterator* test1b= new StringCharacterIterator(testText, -1); in TestConstructionAndEquality() 201 CharacterIterator* test1c= new StringCharacterIterator(testText, 100); in TestConstructionAndEquality() 202 CharacterIterator* test1d= new StringCharacterIterator(testText, -2, 100, 5); in TestConstructionAndEquality() 203 CharacterIterator* test1e= new StringCharacterIterator(testText, 100, 20, 5); in TestConstructionAndEquality() [all …]
|
D | rbbitst.cpp | 4398 UnicodeString testText; in RunMonkey() local 4445 testText.truncate(0); in RunMonkey() 4455 testText.append(c); in RunMonkey() 4459 mk.setText(testText); in RunMonkey() 4469 if (breakPos > testText.length()) { in RunMonkey() 4473 U_ASSERT(expectedCount<testText.length()); in RunMonkey() 4481 UText *testUText = utext_openReplaceable(NULL, &testText, &status); in RunMonkey() 4489 bi->setText(testText); in RunMonkey() 4493 if (i < 0 || i > testText.length()) { in RunMonkey() 4503 if (i < 0 || i > testText.length()) { in RunMonkey() [all …]
|
D | regextst.cpp | 2277 UText testText = UTEXT_INITIALIZER; in API_Match_UTF8() local 2280 regextst_openUTF8FromInvariant(&testText, "This is test data", -1, &status); in API_Match_UTF8() 2281 REGEX_VERBOSE_TEXT(&testText); in API_Match_UTF8() 2283 RegexMatcher m(&testPattern, &testText, 0, status); in API_Match_UTF8() 2301 regextst_openUTF8FromInvariant(&testText, "short", -1, &status); in API_Match_UTF8() 2302 REGEX_VERBOSE_TEXT(&testText); in API_Match_UTF8() 2303 m.reset(&testText); in API_Match_UTF8() 2329 utext_close(&testText); in API_Match_UTF8() 2339 UText testText = UTEXT_INITIALIZER; in API_Match_UTF8() local 2343 utext_openUTF8(&testText, str_aabb, -1, &status); in API_Match_UTF8() [all …]
|