Searched refs:testText (Results 1 - 4 of 4) sorted by relevance

/external/icu4c/samples/citer/
H A Dciter.cpp48 const UChar *testText = testString.getTerminatedBuffer(); local
50 UCharCharacterIterator iter(testText, u_strlen(testText));
53 u_fprintf(out, "testText = %s", testChars);
76 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) {
83 if (c == CharacterIterator::DONE && i != u_strlen(testText)) {
86 else if (c != testText[i]) {
115 const UChar *testText = testString.getTerminatedBuffer(); local
117 StringCharacterIterator iter(testText, u_strlen(testText));
[all...]
/external/icu4c/test/intltest/
H A Dcitrtest.cpp162 UnicodeString testText("Now is the time for all good men to come to the aid of their country.");
165 SCharacterIterator* test = new SCharacterIterator(testText);
172 if(test->getLength()!=testText.length()){
180 if(test->getIndex()!=testText.length()){
195 UnicodeString testText("Now is the time for all good men to come to the aid of their country.");
199 CharacterIterator* test1 = new StringCharacterIterator(testText);
200 CharacterIterator* test1b= new StringCharacterIterator(testText, -1);
201 CharacterIterator* test1c= new StringCharacterIterator(testText, 100);
202 CharacterIterator* test1d= new StringCharacterIterator(testText, -2, 100, 5);
203 CharacterIterator* test1e= new StringCharacterIterator(testText, 10
[all...]
H A Drbbitst.cpp4450 UnicodeString testText; local
4497 testText.truncate(0);
4507 testText.append(c);
4511 mk.setText(testText);
4521 if (breakPos > testText.length()) {
4522 errln("breakPos > testText.length()");
4525 U_ASSERT(expectedCount<testText.length());
4533 UText *testUText = utext_openReplaceable(NULL, &testText, &status);
4534 // testUText = utext_openUnicodeString(testUText, &testText, &status);
4539 // testText strin
[all...]
H A Dregextst.cpp2146 UText testText = UTEXT_INITIALIZER; local
2149 regextst_openUTF8FromInvariant(&testText, "This is test data", -1, &status);
2150 REGEX_VERBOSE_TEXT(&testText);
2152 RegexMatcher m(&testPattern, &testText, 0, status);
2170 regextst_openUTF8FromInvariant(&testText, "short", -1, &status);
2171 REGEX_VERBOSE_TEXT(&testText);
2172 m.reset(&testText);
2198 utext_close(&testText);
2208 UText testText = UTEXT_INITIALIZER; local
2212 utext_openUTF8(&testText, str_aab
[all...]

Completed in 126 milliseconds