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

/macosx-10.9.5/ICU-511.35/icuSources/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...]
/macosx-10.9.5/ICU-511.35/icuSources/test/intltest/
H A Dcitrtest.cpp163 UnicodeString testText("Now is the time for all good men to come to the aid of their country.");
166 SCharacterIterator* test = new SCharacterIterator(testText);
173 if(test->getLength()!=testText.length()){
181 if(test->getIndex()!=testText.length()){
196 UnicodeString testText("Now is the time for all good men to come to the aid of their country.");
200 CharacterIterator* test1 = new StringCharacterIterator(testText);
201 CharacterIterator* test1b= new StringCharacterIterator(testText, -1);
202 CharacterIterator* test1c= new StringCharacterIterator(testText, 100);
203 CharacterIterator* test1d= new StringCharacterIterator(testText, -2, 100, 5);
204 CharacterIterator* test1e= new StringCharacterIterator(testText, 10
[all...]
H A Drbbitst.cpp3914 UnicodeString testText; local
3961 testText.truncate(0);
3971 testText.append(c);
3975 mk.setText(testText);
3985 if (breakPos > testText.length()) {
3986 errln("breakPos > testText.length()");
3989 U_ASSERT(expectedCount<testText.length());
3997 UText *testUText = utext_openReplaceable(NULL, &testText, &status);
3998 // testUText = utext_openUnicodeString(testUText, &testText, &status);
4003 // testText strin
[all...]
H A Dregextst.cpp2283 UText testText = UTEXT_INITIALIZER; local
2286 regextst_openUTF8FromInvariant(&testText, "This is test data", -1, &status);
2287 REGEX_VERBOSE_TEXT(&testText);
2289 RegexMatcher m(&testPattern, &testText, 0, status);
2307 regextst_openUTF8FromInvariant(&testText, "short", -1, &status);
2308 REGEX_VERBOSE_TEXT(&testText);
2309 m.reset(&testText);
2335 utext_close(&testText);
2345 UText testText = UTEXT_INITIALIZER; local
2349 utext_openUTF8(&testText, str_aab
[all...]

Completed in 106 milliseconds