/third_party/icu/icu4c/source/samples/citer/ |
D | citer.cpp | 59 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/ |
D | citer.cpp | 59 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/ |
D | citer.cpp | 59 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/ |
D | citrtest.cpp | 164 … 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 …]
|
D | rbbitst.cpp | 4042 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 …]
|
D | regcoll.cpp | 994 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()
|
D | regextst.cpp | 2314 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/ |
D | RBBITestMonkey.java | 1930 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/ |
D | RBBITestMonkey.java | 1928 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/ |
D | CollationRegressionTest.java | 941 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/ |
D | CollationRegressionTest.java | 944 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/ |
D | TestCharsetDetector.java | 366 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/ |
D | TestCharsetDetector.java | 363 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/ |
D | editable_text_test.dart | 2176 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);
|
D | selectable_text_test.dart | 3545 const String testText = 'lorem ipsum'; 3549 child: SelectableText(testText), 3576 const String testText = 'lorem ipsum'; 3581 child: SelectableText(testText),
|
/third_party/skia/tests/ |
D | SurfaceTest.cpp | 444 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/ |
D | SurfaceTest.cpp | 417 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/ |
D | buttons_test.dart | 837 const String testText = 'Disabled'; 844 child: Text(testText), // button is disabled
|
D | text_field_test.dart | 6576 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/ |
D | text_field_test.dart | 2854 const String testText = 'lorem ipsum'; 2855 final TextEditingController controller = TextEditingController(text: testText);
|