Home
last modified time | relevance | path

Searched refs:testText (Results 1 – 20 of 20) sorted by relevance

/third_party/icu/icu4c/source/samples/citer/
Dciter.cpp59 const UChar *testText = testString.getTerminatedBuffer(); in TestUChariter() local
61 UCharCharacterIterator iter(testText, u_strlen(testText)); in TestUChariter()
87 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestUChariter()
94 if (c == CharacterIterator::DONE && i != u_strlen(testText)) { in TestUChariter()
97 else if (c != testText[i]) { in TestUChariter()
126 const UChar *testText = testString.getTerminatedBuffer(); in TestStringiter() local
128 StringCharacterIterator iter(testText, u_strlen(testText)); in TestStringiter()
151 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestStringiter()
160 else if (c != testText[i]) { in TestStringiter()
/third_party/flutter/skia/third_party/externals/icu/source/samples/citer/
Dciter.cpp59 const UChar *testText = testString.getTerminatedBuffer(); in TestUChariter() local
61 UCharCharacterIterator iter(testText, u_strlen(testText)); in TestUChariter()
87 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestUChariter()
94 if (c == CharacterIterator::DONE && i != u_strlen(testText)) { in TestUChariter()
97 else if (c != testText[i]) { in TestUChariter()
126 const UChar *testText = testString.getTerminatedBuffer(); in TestStringiter() local
128 StringCharacterIterator iter(testText, u_strlen(testText)); in TestStringiter()
151 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestStringiter()
160 else if (c != testText[i]) { in TestStringiter()
/third_party/skia/third_party/externals/icu/source/samples/citer/
Dciter.cpp59 const UChar *testText = testString.getTerminatedBuffer(); in TestUChariter() local
61 UCharCharacterIterator iter(testText, u_strlen(testText)); in TestUChariter()
87 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestUChariter()
94 if (c == CharacterIterator::DONE && i != u_strlen(testText)) { in TestUChariter()
97 else if (c != testText[i]) { in TestUChariter()
126 const UChar *testText = testString.getTerminatedBuffer(); in TestStringiter() local
128 StringCharacterIterator iter(testText, u_strlen(testText)); in TestStringiter()
151 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestStringiter()
160 else if (c != testText[i]) { in TestStringiter()
/third_party/icu/icu4c/source/test/intltest/
Dcitrtest.cpp164 … UnicodeString testText("Now is the time for all good men to come to the aid of their country."); in TestCoverage() local
167 SCharacterIterator* test = new SCharacterIterator(testText); in TestCoverage()
174 if(test->getLength()!=testText.length()){ in TestCoverage()
182 if(test->getIndex()!=testText.length()){ in TestCoverage()
197 … UnicodeString testText("Now is the time for all good men to come to the aid of their country."); in TestConstructionAndEquality() local
201 StringCharacterIterator* test1 = new StringCharacterIterator(testText); in TestConstructionAndEquality()
202 CharacterIterator* test1b= new StringCharacterIterator(testText, -1); in TestConstructionAndEquality()
203 CharacterIterator* test1c= new StringCharacterIterator(testText, 100); in TestConstructionAndEquality()
204 CharacterIterator* test1d= new StringCharacterIterator(testText, -2, 100, 5); in TestConstructionAndEquality()
205 CharacterIterator* test1e= new StringCharacterIterator(testText, 100, 20, 5); in TestConstructionAndEquality()
[all …]
Drbbitst.cpp4042 UnicodeString testText; in RunMonkey() local
4092 testText.truncate(0); in RunMonkey()
4104 …if (U16_IS_TRAIL(c) && testText.length() > 0 && U16_IS_LEAD(testText.charAt(testText.length()-1)))… in RunMonkey()
4108 testText.append(c); in RunMonkey()
4112 mk.setText(testText); in RunMonkey()
4123 if (breakPos > testText.length()) { in RunMonkey()
4127 U_ASSERT(expectedCount<testText.length()); in RunMonkey()
4134 UText *testUText = utext_openReplaceable(NULL, &testText, &status); in RunMonkey()
4142 bi->setText(testText); in RunMonkey()
4146 if (i < 0 || i > testText.length()) { in RunMonkey()
[all …]
Dregcoll.cpp994 UnicodeString testText = "church church catcatcher runcrunchynchy"; in Test4179216() local
995 CollationElementIterator *iter = coll.createCollationElementIterator(testText); in Test4179216()
1062 nextElements[count++] = testText.tempSubStringBetween(lastPos, iter->getOffset()); in Test4179216()
1068 for (int32_t i = 0; i < testText.length(); ) { in Test4179216()
1072 setOffsetElements[count++] = testText.tempSubStringBetween(lastPos, iter->getOffset()); in Test4179216()
Dregextst.cpp2314 UText testText = UTEXT_INITIALIZER; in API_Match_UTF8() local
2317 regextst_openUTF8FromInvariant(&testText, "This is test data", -1, &status); in API_Match_UTF8()
2318 REGEX_VERBOSE_TEXT(&testText); in API_Match_UTF8()
2320 RegexMatcher m(&testPattern, &testText, 0, status); in API_Match_UTF8()
2338 regextst_openUTF8FromInvariant(&testText, "short", -1, &status); in API_Match_UTF8()
2339 REGEX_VERBOSE_TEXT(&testText); in API_Match_UTF8()
2340 m.reset(&testText); in API_Match_UTF8()
2366 utext_close(&testText); in API_Match_UTF8()
2376 UText testText = UTEXT_INITIALIZER; in API_Match_UTF8() local
2380 utext_openUTF8(&testText, str_aabb, -1, &status); in API_Match_UTF8()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
DRBBITestMonkey.java1930 StringBuffer testText = new StringBuffer(); in RunMonkey() local
1997 testText.setLength(0); in RunMonkey()
2012 if (c < 0x10000 && Character.isLowSurrogate((char)c) && testText.length() > 0 && in RunMonkey()
2013 Character.isHighSurrogate(testText.charAt(testText.length()-1))) { in RunMonkey()
2016 testText.appendCodePoint(c); in RunMonkey()
2033 mk.setText(testText); in RunMonkey()
2044 if (breakPos > testText.length()) { in RunMonkey()
2058 bi.setText(testText.toString()); in RunMonkey()
2060 if (i < 0 || i > testText.length()) { in RunMonkey()
2075 if (i < 0 || i > testText.length()) { in RunMonkey()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestMonkey.java1928 StringBuffer testText = new StringBuffer(); in RunMonkey() local
1996 testText.setLength(0); in RunMonkey()
2011 if (c < 0x10000 && Character.isLowSurrogate((char)c) && testText.length() > 0 && in RunMonkey()
2012 Character.isHighSurrogate(testText.charAt(testText.length()-1))) { in RunMonkey()
2015 testText.appendCodePoint(c); in RunMonkey()
2032 mk.setText(testText); in RunMonkey()
2043 if (breakPos > testText.length()) { in RunMonkey()
2057 bi.setText(testText.toString()); in RunMonkey()
2059 if (i < 0 || i > testText.length()) { in RunMonkey()
2074 if (i < 0 || i > testText.length()) { in RunMonkey()
[all …]
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationRegressionTest.java941 String testText = "church church catcatcher runcrunchynchy"; in Test4179216() local
943 testText); in Test4179216()
1010 nextElements[count++] = testText.substring(lastPos, iter.getOffset()); in Test4179216()
1015 for (int i = 0; i < testText.length(); ) { in Test4179216()
1019 setOffsetElements[count++] = testText.substring(lastPos, iter.getOffset()); in Test4179216()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationRegressionTest.java944 String testText = "church church catcatcher runcrunchynchy"; in Test4179216() local
946 testText); in Test4179216()
1013 nextElements[count++] = testText.substring(lastPos, iter.getOffset()); in Test4179216()
1018 for (int i = 0; i < testText.length(); ) { in Test4179216()
1022 setOffsetElements[count++] = testText.substring(lastPos, iter.getOffset()); in Test4179216()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/charsetdet/
DTestCharsetDetector.java366 StringBuffer testText = new StringBuffer(); in TestDetection() local
378 testText.append(node.getNodeValue()); in TestDetection()
400 String testString = testText.toString(); in TestDetection()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/
DTestCharsetDetector.java363 StringBuffer testText = new StringBuffer(); in TestDetection() local
375 testText.append(node.getNodeValue()); in TestDetection()
397 String testString = testText.toString(); in TestDetection()
/third_party/flutter/flutter/packages/flutter/test/widgets/
Deditable_text_test.dart2176 const String testText = 'XXXXX XXXXX';
2177 final TextEditingController controller = TextEditingController(text: testText);
2343 const String testText = 'XXXXX XXXXX';
2344 final TextEditingController controller = TextEditingController(text: testText);
2405 const String testText = 'XXXXX XXXXX';
2406 final TextEditingController controller = TextEditingController(text: testText);
Dselectable_text_test.dart3545 const String testText = 'lorem ipsum';
3549 child: SelectableText(testText),
3576 const String testText = 'lorem ipsum';
3581 child: SelectableText(testText),
/third_party/skia/tests/
DSurfaceTest.cpp444 SkString testText("Hello World"); in test_copy_on_write() local
466 EXPECT_COPY_ON_WRITE(drawString(testText, 0, 1, SkFont(), testPaint)) in test_copy_on_write()
/third_party/flutter/skia/tests/
DSurfaceTest.cpp417 SkString testText("Hello World"); in test_copy_on_write() local
440 EXPECT_COPY_ON_WRITE(drawString(testText, 0, 1, SkFont(), testPaint)) in test_copy_on_write()
/third_party/flutter/flutter/packages/flutter/test/material/
Dbuttons_test.dart837 const String testText = 'Disabled';
844 child: Text(testText), // button is disabled
Dtext_field_test.dart6576 const String testText = 'lorem ipsum';
6577 final TextEditingController controller = TextEditingController(text: testText);
6611 const String testText = 'lorem ipsum';
6612 final TextEditingController controller = TextEditingController(text: testText);
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Dtext_field_test.dart2854 const String testText = 'lorem ipsum';
2855 final TextEditingController controller = TextEditingController(text: testText);