/external/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()
|
/external/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 CharacterIterator* 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 | 3823 UnicodeString testText; in RunMonkey() local 3870 testText.truncate(0); in RunMonkey() 3882 …if (U16_IS_TRAIL(c) && testText.length() > 0 && U16_IS_LEAD(testText.charAt(testText.length()-1)))… in RunMonkey() 3886 testText.append(c); in RunMonkey() 3890 mk.setText(testText); in RunMonkey() 3900 if (breakPos > testText.length()) { in RunMonkey() 3904 U_ASSERT(expectedCount<testText.length()); in RunMonkey() 3914 UText *testUText = utext_openReplaceable(NULL, &testText, &status); in RunMonkey() 3922 bi->setText(testText); in RunMonkey() 3926 if (i < 0 || i > testText.length()) { in RunMonkey() [all …]
|
D | regcoll.cpp | 1084 UnicodeString testText = "church church catcatcher runcrunchynchy"; in Test4179216() local 1085 CollationElementIterator *iter = coll.createCollationElementIterator(testText); in Test4179216() 1152 nextElements[count++] = testText.tempSubStringBetween(lastPos, iter->getOffset()); in Test4179216() 1158 for (int32_t i = 0; i < testText.length(); ) { in Test4179216() 1162 setOffsetElements[count++] = testText.tempSubStringBetween(lastPos, iter->getOffset()); in Test4179216()
|
D | regextst.cpp | 2281 UText testText = UTEXT_INITIALIZER; in API_Match_UTF8() local 2284 regextst_openUTF8FromInvariant(&testText, "This is test data", -1, &status); in API_Match_UTF8() 2285 REGEX_VERBOSE_TEXT(&testText); in API_Match_UTF8() 2287 RegexMatcher m(&testPattern, &testText, 0, status); in API_Match_UTF8() 2305 regextst_openUTF8FromInvariant(&testText, "short", -1, &status); in API_Match_UTF8() 2306 REGEX_VERBOSE_TEXT(&testText); in API_Match_UTF8() 2307 m.reset(&testText); in API_Match_UTF8() 2333 utext_close(&testText); in API_Match_UTF8() 2343 UText testText = UTEXT_INITIALIZER; in API_Match_UTF8() local 2347 utext_openUTF8(&testText, str_aabb, -1, &status); in API_Match_UTF8() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | RBBITestMonkey.java | 1814 StringBuffer testText = new StringBuffer(); in RunMonkey() local 1879 testText.setLength(0); in RunMonkey() 1892 UTF16.appendCodePoint(testText, c); in RunMonkey() 1910 mk.setText(testText); in RunMonkey() 1922 if (breakPos > testText.length()) { in RunMonkey() 1937 bi.setText(testText.toString()); in RunMonkey() 1939 if (i < 0 || i > testText.length()) { in RunMonkey() 1954 if (i < 0 || i > testText.length()) { in RunMonkey() 1962 for (i=0; i<=testText.length(); i++) { in RunMonkey() 1969 for (i=0; i<testText.length(); i++) { in RunMonkey() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBITestMonkey.java | 1817 StringBuffer testText = new StringBuffer(); in RunMonkey() local 1882 testText.setLength(0); in RunMonkey() 1895 UTF16.appendCodePoint(testText, c); in RunMonkey() 1913 mk.setText(testText); in RunMonkey() 1925 if (breakPos > testText.length()) { in RunMonkey() 1940 bi.setText(testText.toString()); in RunMonkey() 1942 if (i < 0 || i > testText.length()) { in RunMonkey() 1957 if (i < 0 || i > testText.length()) { in RunMonkey() 1965 for (i=0; i<=testText.length(); i++) { in RunMonkey() 1972 for (i=0; i<testText.length(); i++) { in RunMonkey() [all …]
|
/external/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()
|
/external/icu/android_icu4j/src/main/tests/android/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()
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/xml/ |
D | XMLElementTest.java | 80 public void testText() throws IOException { in testText() method in XMLElementTest
|
/external/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()
|
/external/icu/android_icu4j/src/main/tests/android/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()
|
/external/tensorflow/tensorflow/contrib/proto/python/kernel_tests/ |
D | decode_proto_op_test_base.py | 260 def testText(self, case): member in DecodeProtoOpTestBase
|
/external/skqp/tests/ |
D | SurfaceTest.cpp | 411 SkString testText("Hello World"); in test_copy_on_write() local 434 EXPECT_COPY_ON_WRITE(drawString(testText, 0, 1, SkFont(), testPaint)) in test_copy_on_write()
|
/external/skia/tests/ |
D | SurfaceTest.cpp | 411 SkString testText("Hello World"); in test_copy_on_write() local 434 EXPECT_COPY_ON_WRITE(drawString(testText, 0, 1, SkFont(), testPaint)) in test_copy_on_write()
|