/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/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/statsd/ |
D | GenerateLinksLoggerTest.java | 88 String testText = "The number is " + phoneText; in logGenerateLinks_allFieldsAreSet() local 89 int phoneOffset = testText.indexOf(phoneText); in logGenerateLinks_allFieldsAreSet() 92 new TextLinks.Builder(testText) in logGenerateLinks_allFieldsAreSet() 100 testText, in logGenerateLinks_allFieldsAreSet() local 123 .setTextLength(testText.length()) in logGenerateLinks_allFieldsAreSet() 138 .setTextLength(testText.length()) in logGenerateLinks_allFieldsAreSet() 150 String testText = "The number is " + phoneText + ", the address is " + addressText; in logGenerateLinks_multipleLinks() local 151 int phoneOffset = testText.indexOf(phoneText); in logGenerateLinks_multipleLinks() 152 int addressOffset = testText.indexOf(addressText); in logGenerateLinks_multipleLinks() 156 new TextLinks.Builder(testText) in logGenerateLinks_multipleLinks() [all …]
|
/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 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 | 4041 UnicodeString testText; in RunMonkey() local 4091 testText.truncate(0); in RunMonkey() 4103 …if (U16_IS_TRAIL(c) && testText.length() > 0 && U16_IS_LEAD(testText.charAt(testText.length()-1)))… in RunMonkey() 4107 testText.append(c); in RunMonkey() 4111 mk.setText(testText); in RunMonkey() 4122 if (breakPos > testText.length()) { in RunMonkey() 4126 U_ASSERT(expectedCount<testText.length()); in RunMonkey() 4133 UText *testUText = utext_openReplaceable(NULL, &testText, &status); in RunMonkey() 4141 bi->setText(testText); in RunMonkey() 4145 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 | 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 …]
|
/external/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 …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBITestMonkey.java | 1931 StringBuffer testText = new StringBuffer(); in RunMonkey() local 1999 testText.setLength(0); in RunMonkey() 2014 if (c < 0x10000 && Character.isLowSurrogate((char)c) && testText.length() > 0 && in RunMonkey() 2015 Character.isHighSurrogate(testText.charAt(testText.length()-1))) { in RunMonkey() 2018 testText.appendCodePoint(c); in RunMonkey() 2035 mk.setText(testText); in RunMonkey() 2046 if (breakPos > testText.length()) { in RunMonkey() 2060 bi.setText(testText.toString()); in RunMonkey() 2062 if (i < 0 || i > testText.length()) { in RunMonkey() 2077 if (i < 0 || i > testText.length()) { in RunMonkey() [all …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/ |
D | TextNodeTest.java | 5 public void testText() in testText() method in TextNodeTest
|
/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/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/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/python/kernel_tests/proto/ |
D | decode_proto_op_test_base.py | 265 def testText(self, case): member in DecodeProtoOpTestBase
|
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/ |
D | LottieTest.kt | 108 testText() in <lambda>() 806 private suspend fun testText() { in <lambda>() method in com.airbnb.lottie.samples.LottieTest
|
/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 | 446 SkString testText("Hello World"); in test_copy_on_write() local 468 EXPECT_COPY_ON_WRITE(drawString(testText, 0, 1, SkFont(), testPaint)) in test_copy_on_write()
|