/external/cronet/tot/third_party/icu/source/samples/citer/ |
D | citer.cpp | 59 const char16_t *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 char16_t *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/cronet/stable/third_party/icu/source/samples/citer/ |
D | citer.cpp | 59 const char16_t *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 char16_t *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/cronet/stable/third_party/icu/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 | 4094 UnicodeString testText; in RunMonkey() local 4144 testText.truncate(0); in RunMonkey() 4156 …if (U16_IS_TRAIL(c) && testText.length() > 0 && U16_IS_LEAD(testText.charAt(testText.length()-1)))… in RunMonkey() 4160 testText.append(c); in RunMonkey() 4164 mk.setText(testText); in RunMonkey() 4175 if (breakPos > testText.length()) { in RunMonkey() 4180 U_ASSERT(expectedCount<testText.length()); in RunMonkey() 4187 UText *testUText = utext_openReplaceable(nullptr, &testText, &status); in RunMonkey() 4195 bi->setText(testText); in RunMonkey() 4199 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 …]
|
/external/icu/icu4c/source/test/intltest/ |
D | citrtest.cpp | 169 … UnicodeString testText("Now is the time for all good men to come to the aid of their country."); in TestCoverage() local 172 SCharacterIterator* test = new SCharacterIterator(testText); in TestCoverage() 179 if(test->getLength()!=testText.length()){ in TestCoverage() 187 if(test->getIndex()!=testText.length()){ in TestCoverage() 202 … UnicodeString testText("Now is the time for all good men to come to the aid of their country."); in TestConstructionAndEquality() local 206 StringCharacterIterator* test1 = new StringCharacterIterator(testText); in TestConstructionAndEquality() 207 CharacterIterator* test1b= new StringCharacterIterator(testText, -1); in TestConstructionAndEquality() 208 CharacterIterator* test1c= new StringCharacterIterator(testText, 100); in TestConstructionAndEquality() 209 CharacterIterator* test1d= new StringCharacterIterator(testText, -2, 100, 5); in TestConstructionAndEquality() 210 CharacterIterator* test1e= new StringCharacterIterator(testText, 100, 20, 5); in TestConstructionAndEquality() [all …]
|
D | rbbitst.cpp | 4301 UnicodeString testText; in RunMonkey() local 4359 testText.truncate(0); in RunMonkey() 4374 …if (U16_IS_TRAIL(c) && testText.length() > 0 && U16_IS_LEAD(testText.charAt(testText.length()-1)))… in RunMonkey() 4378 testText.append(c); in RunMonkey() 4382 mk.setText(testText); in RunMonkey() 4393 if (breakPos > testText.length()) { in RunMonkey() 4398 U_ASSERT(expectedCount<testText.length()); in RunMonkey() 4406 UText *testUText = utext_openReplaceable(nullptr, &testText, &status); in RunMonkey() 4414 bi->setText(testText); in RunMonkey() 4418 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 …]
|
/external/cronet/tot/third_party/icu/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 | 4094 UnicodeString testText; in RunMonkey() local 4144 testText.truncate(0); in RunMonkey() 4156 …if (U16_IS_TRAIL(c) && testText.length() > 0 && U16_IS_LEAD(testText.charAt(testText.length()-1)))… in RunMonkey() 4160 testText.append(c); in RunMonkey() 4164 mk.setText(testText); in RunMonkey() 4175 if (breakPos > testText.length()) { in RunMonkey() 4180 U_ASSERT(expectedCount<testText.length()); in RunMonkey() 4187 UText *testUText = utext_openReplaceable(nullptr, &testText, &status); in RunMonkey() 4195 bi->setText(testText); in RunMonkey() 4199 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 …]
|
/external/skia/gm/ |
D | fontations.cpp | 139 const char32_t testText[] = U"abc"; in onDraw() local 140 size_t testTextBytesize = std::char_traits<char32_t>::length(testText) * sizeof(char32_t); in onDraw() 154 testText, testTextBytesize, SkTextEncoding::kUTF32, x, y, font, paint); in onDraw()
|
/external/icu/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/rbbi/ |
D | RBBITestMonkey.java | 2205 StringBuffer testText = new StringBuffer(); in RunMonkey() local 2273 testText.setLength(0); in RunMonkey() 2288 if (c < 0x10000 && Character.isLowSurrogate((char)c) && testText.length() > 0 && in RunMonkey() 2289 Character.isHighSurrogate(testText.charAt(testText.length()-1))) { in RunMonkey() 2292 testText.appendCodePoint(c); in RunMonkey() 2309 mk.setText(testText); in RunMonkey() 2320 if (breakPos > testText.length()) { in RunMonkey() 2334 bi.setText(testText.toString()); in RunMonkey() 2336 if (i < 0 || i > testText.length()) { in RunMonkey() 2351 if (i < 0 || i > testText.length()) { in RunMonkey() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBITestMonkey.java | 2208 StringBuffer testText = new StringBuffer(); in RunMonkey() local 2276 testText.setLength(0); in RunMonkey() 2291 if (c < 0x10000 && Character.isLowSurrogate((char)c) && testText.length() > 0 && in RunMonkey() 2292 Character.isHighSurrogate(testText.charAt(testText.length()-1))) { in RunMonkey() 2295 testText.appendCodePoint(c); in RunMonkey() 2312 mk.setText(testText); in RunMonkey() 2323 if (breakPos > testText.length()) { in RunMonkey() 2337 bi.setText(testText.toString()); in RunMonkey() 2339 if (i < 0 || i > testText.length()) { in RunMonkey() 2354 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/icu4j/main/collate/src/test/java/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/icu/icu4j/main/core/src/test/java/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 | 261 def testText(self, case): member in DecodeProtoOpTestBase
|
/external/skia/tests/ |
D | SurfaceTest.cpp | 528 SkString testText("Hello World"); in test_copy_on_write() local 550 EXPECT_COPY_ON_WRITE(drawString(testText, 0, 1, ToolUtils::DefaultPortableFont(), testPaint)) in test_copy_on_write()
|