/external/icu/icu4c/source/samples/citer/ |
D | citer.cpp | 48 const UChar *testText = testString.getTerminatedBuffer(); in TestUChariter() local 50 UCharCharacterIterator iter(testText, u_strlen(testText)); in TestUChariter() 76 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestUChariter() 83 if (c == CharacterIterator::DONE && i != u_strlen(testText)) { in TestUChariter() 86 else if (c != testText[i]) { in TestUChariter() 115 const UChar *testText = testString.getTerminatedBuffer(); in TestStringiter() local 117 StringCharacterIterator iter(testText, u_strlen(testText)); in TestStringiter() 140 if (iter.startIndex() != 0 || iter.endIndex() != u_strlen(testText)) { in TestStringiter() 149 else if (c != testText[i]) { in TestStringiter()
|
/external/icu/icu4c/source/test/intltest/ |
D | citrtest.cpp | 162 … UnicodeString testText("Now is the time for all good men to come to the aid of their country."); in TestCoverage() local 165 SCharacterIterator* test = new SCharacterIterator(testText); in TestCoverage() 172 if(test->getLength()!=testText.length()){ in TestCoverage() 180 if(test->getIndex()!=testText.length()){ in TestCoverage() 195 … UnicodeString testText("Now is the time for all good men to come to the aid of their country."); in TestConstructionAndEquality() local 199 CharacterIterator* test1 = new StringCharacterIterator(testText); in TestConstructionAndEquality() 200 CharacterIterator* test1b= new StringCharacterIterator(testText, -1); in TestConstructionAndEquality() 201 CharacterIterator* test1c= new StringCharacterIterator(testText, 100); in TestConstructionAndEquality() 202 CharacterIterator* test1d= new StringCharacterIterator(testText, -2, 100, 5); in TestConstructionAndEquality() 203 CharacterIterator* test1e= new StringCharacterIterator(testText, 100, 20, 5); in TestConstructionAndEquality() [all …]
|
D | rbbitst.cpp | 4124 UnicodeString testText; in RunMonkey() local 4171 testText.truncate(0); in RunMonkey() 4181 testText.append(c); in RunMonkey() 4185 mk.setText(testText); in RunMonkey() 4195 if (breakPos > testText.length()) { in RunMonkey() 4199 U_ASSERT(expectedCount<testText.length()); in RunMonkey() 4209 UText *testUText = utext_openReplaceable(NULL, &testText, &status); in RunMonkey() 4217 bi->setText(testText); in RunMonkey() 4221 if (i < 0 || i > testText.length()) { in RunMonkey() 4231 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 | 2340 UText testText = UTEXT_INITIALIZER; in API_Match_UTF8() local 2343 regextst_openUTF8FromInvariant(&testText, "This is test data", -1, &status); in API_Match_UTF8() 2344 REGEX_VERBOSE_TEXT(&testText); in API_Match_UTF8() 2346 RegexMatcher m(&testPattern, &testText, 0, status); in API_Match_UTF8() 2364 regextst_openUTF8FromInvariant(&testText, "short", -1, &status); in API_Match_UTF8() 2365 REGEX_VERBOSE_TEXT(&testText); in API_Match_UTF8() 2366 m.reset(&testText); in API_Match_UTF8() 2392 utext_close(&testText); in API_Match_UTF8() 2402 UText testText = UTEXT_INITIALIZER; in API_Match_UTF8() local 2406 utext_openUTF8(&testText, str_aabb, -1, &status); in API_Match_UTF8() [all …]
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | SmsManagerTest.java | 23 private String testText = "testSmsBodyText"; field in SmsManagerTest 46 smsManager.sendTextMessage(testDestinationAddress, testScAddress, testText, null, null); in shouldStoreLastSentTextMessageParameters() 52 Assert.assertEquals(testText, lastParams.getText()); in shouldStoreLastSentTextMessageParameters() 57 smsManager.sendTextMessage(testDestinationAddress, testScAddress, testText, null, null); in shouldClearLastSentTestMessageParameters() 64 smsManager.sendTextMessage("", testScAddress, testText, null, null); in sendTextMessage_shouldThrowExceptionWithEmptyDestination()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | SimpleBITest.java | 48 public static final String testText = field in SimpleBITest 192 bi.setText(testText); in doTest() 201 fragment = testText.substring(lastP, p); in doTest() 203 fragment = testText.substring(lastP); in doTest()
|
D | RBBITestMonkey.java | 1656 StringBuffer testText = new StringBuffer(); in RunMonkey() local 1720 testText.setLength(0); in RunMonkey() 1733 UTF16.appendCodePoint(testText, c); in RunMonkey() 1751 mk.setText(testText); in RunMonkey() 1763 if (breakPos > testText.length()) { in RunMonkey() 1778 bi.setText(testText.toString()); in RunMonkey() 1780 if (i < 0 || i > testText.length()) { in RunMonkey() 1795 if (i < 0 || i > testText.length()) { in RunMonkey() 1803 for (i=0; i<=testText.length(); i++) { in RunMonkey() 1810 for (i=0; i<testText.length(); i++) { in RunMonkey() [all …]
|
D | RBBITest.java | 461 private void doMultipleSelectionTest(RuleBasedBreakIterator iterator, String testText) in doMultipleSelectionTest() argument
|
D | BreakIteratorTest.java | 242 private void doMultipleSelectionTest(BreakIterator iterator, String testText) in doMultipleSelectionTest() argument
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | SimpleBITest.java | 52 public static final String testText = field in SimpleBITest 196 bi.setText(testText); in doTest() 205 fragment = testText.substring(lastP, p); in doTest() 207 fragment = testText.substring(lastP); in doTest()
|
D | RBBITestMonkey.java | 1660 StringBuffer testText = new StringBuffer(); in RunMonkey() local 1724 testText.setLength(0); in RunMonkey() 1737 UTF16.appendCodePoint(testText, c); in RunMonkey() 1755 mk.setText(testText); in RunMonkey() 1767 if (breakPos > testText.length()) { in RunMonkey() 1782 bi.setText(testText.toString()); in RunMonkey() 1784 if (i < 0 || i > testText.length()) { in RunMonkey() 1799 if (i < 0 || i > testText.length()) { in RunMonkey() 1807 for (i=0; i<=testText.length(); i++) { in RunMonkey() 1814 for (i=0; i<testText.length(); i++) { in RunMonkey() [all …]
|
D | RBBITest.java | 465 private void doMultipleSelectionTest(RuleBasedBreakIterator iterator, String testText) in doMultipleSelectionTest() argument
|
D | BreakIteratorTest.java | 246 private void doMultipleSelectionTest(BreakIterator iterator, String testText) in doMultipleSelectionTest() argument
|
/external/skia/tests/ |
D | SurfaceTest.cpp | 555 SkString testText("Hello World"); in test_copy_on_write() local 591 EXPECT_COPY_ON_WRITE(drawText(testText.c_str(), testText.size(), 0, 1, testPaint)) in test_copy_on_write() 592 EXPECT_COPY_ON_WRITE(drawPosText(testText.c_str(), testText.size(), testPoints2, \ in test_copy_on_write() 594 EXPECT_COPY_ON_WRITE(drawTextOnPath(testText.c_str(), testText.size(), testPath, nullptr, \ in test_copy_on_write()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationRegressionTest.java | 910 String testText = "church church catcatcher runcrunchynchy"; in Test4179216() local 912 testText); in Test4179216() 979 nextElements[count++] = testText.substring(lastPos, iter.getOffset()); in Test4179216() 984 for (int i = 0; i < testText.length(); ) { in Test4179216() 988 setOffsetElements[count++] = testText.substring(lastPos, iter.getOffset()); in Test4179216()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationRegressionTest.java | 906 String testText = "church church catcatcher runcrunchynchy"; in Test4179216() local 908 testText); in Test4179216() 975 nextElements[count++] = testText.substring(lastPos, iter.getOffset()); in Test4179216() 980 for (int i = 0; i < testText.length(); ) { in Test4179216() 984 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 | 365 StringBuffer testText = new StringBuffer(); in TestDetection() local 377 testText.append(node.getNodeValue()); in TestDetection() 399 String testString = testText.toString(); in TestDetection()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/charsetdet/ |
D | TestCharsetDetector.java | 369 StringBuffer testText = new StringBuffer(); in TestDetection() local 381 testText.append(node.getNodeValue()); in TestDetection() 403 String testString = testText.toString(); in TestDetection()
|