/aosp_15_r20/external/icu/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/format/ |
H A D | PluralFormatTest.java | 32 private void helperTestRules(String localeIDs, String testPattern, Map<Integer,String> changes) { in helperTestRules() argument 54 log("test pattern: '" + testPattern + "'"); in helperTestRules() 57 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern); in helperTestRules() 69 …errln(e.getMessage() + " locale: " + locales[i] + " pattern: '" + testPattern + "' " + System.curr… in helperTestRules() 77 String testPattern = "other{other}"; in TestOneFormLocales() local 80 helperTestRules(localeIDs, testPattern, changes); in TestOneFormLocales() 87 String testPattern = "one{one} other{other}"; in TestSingular1Locales() local 92 helperTestRules(localeIDs, testPattern, changes); in TestSingular1Locales() 98 String testPattern = "one{one} other{other}"; in TestSingular01Locales() local 102 helperTestRules(localeIDs, testPattern, changes); in TestSingular01Locales() [all …]
|
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
H A D | PluralFormatTest.java | 35 private void helperTestRules(String localeIDs, String testPattern, Map<Integer,String> changes) { in helperTestRules() argument 57 log("test pattern: '" + testPattern + "'"); in helperTestRules() 60 PluralFormat plf = new PluralFormat(new ULocale(locales[i]), testPattern); in helperTestRules() 72 …errln(e.getMessage() + " locale: " + locales[i] + " pattern: '" + testPattern + "' " + System.curr… in helperTestRules() 80 String testPattern = "other{other}"; in TestOneFormLocales() local 83 helperTestRules(localeIDs, testPattern, changes); in TestOneFormLocales() 90 String testPattern = "one{one} other{other}"; in TestSingular1Locales() local 95 helperTestRules(localeIDs, testPattern, changes); in TestSingular1Locales() 101 String testPattern = "one{one} other{other}"; in TestSingular01Locales() local 105 helperTestRules(localeIDs, testPattern, changes); in TestSingular01Locales() [all …]
|
H A D | DateFormatTest.java | 3693 final String testPattern = "GGGG y MMMM d EEEE"; in TestCalendarType() local 3727 formatters[0].applyPattern(testPattern); in TestCalendarType() 3736 formatters[1].applyPattern(testPattern); in TestCalendarType() 3745 formatters[2].applyPattern(testPattern); in TestCalendarType() 3751 formatters[3] = new SimpleDateFormat(testPattern, testLocales[i]); in TestCalendarType() 3755 formatters[4] = new SimpleDateFormat(testPattern, dfs, testLocales[i]); in TestCalendarType()
|
H A D | NumberFormatTest.java | 4613 String[] testPattern = { "00.####", "00.0", "00" }; 4622 for (int i = 0; i < testPattern.length; i++) { 4623 parser.applyPattern(testPattern[i]); 4624 hasDecimalPoint = testPattern[i].contains("."); 4631 errln("Parsing " + value2Parse + " should have succeeded with " + testPattern[i] + 4638 … errln("Parsing " + value2ParseWithDecimal + " should have succeeded with " + testPattern[i] + 4646 … errln("Parsing " + value2Parse + " should NOT have succeeded with " + testPattern[i] + 4655 … errln("Parsing " + value2ParseWithDecimal + " should NOT have succeeded with " + testPattern[i] +
|
/aosp_15_r20/libcore/luni/src/test/java/libcore/java/util/regex/ |
H A D | OldMatcherTest.java | 63 String testPattern = "(abb)"; in test_resetLjava_lang_String() local 66 Pattern pat = Pattern.compile(testPattern); in test_resetLjava_lang_String() 112 String testPattern = "(abb)"; in test_reset() local 114 Pattern pat = Pattern.compile(testPattern); in test_reset() 123 String testPattern = "abb"; in test_hasAnchoringBounds() local 125 Pattern pat = Pattern.compile(testPattern); in test_hasAnchoringBounds() 141 String testPattern = "abb"; in test_hasTransparentBounds() local 143 Pattern pat = Pattern.compile(testPattern); in test_hasTransparentBounds() 159 String testPattern = "(((abb)a)(bb))"; in test_startI() local 161 Pattern pat = Pattern.compile(testPattern); in test_startI() [all …]
|
/aosp_15_r20/external/icu/icu4c/source/test/intltest/ |
H A D | plurfmts.cpp | 318 UnicodeString testPattern = UNICODE_STRING_SIMPLE("other{other}"); in pluralFormatLocaleTest() local 321 helperTestResults(oneRuleLocales, 8, testPattern, pluralResults); in pluralFormatLocaleTest() 332 testPattern = UNICODE_STRING_SIMPLE("one{one} other{other}"); in pluralFormatLocaleTest() 337 helperTestResults(singular1Locales, 56, testPattern, pluralResults); in pluralFormatLocaleTest() 343 testPattern = UNICODE_STRING_SIMPLE("one{one} other{other}"); in pluralFormatLocaleTest() 347 helperTestResults(singular01Locales, 4, testPattern, pluralResults); in pluralFormatLocaleTest() 352 testPattern = UNICODE_STRING_SIMPLE("zero{zero} one{one} other{other}"); in pluralFormatLocaleTest() 364 helperTestResults(zeroSingularLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest() 369 testPattern = UNICODE_STRING_SIMPLE("one{one} two{two} other{other}"); in pluralFormatLocaleTest() 375 helperTestResults(singularDualLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest() [all …]
|
H A D | regextst.cpp | 2313 UText testPattern = UTEXT_INITIALIZER; in API_Match_UTF8() local 2315 regextst_openUTF8FromInvariant(&testPattern, ".*", -1, &status); in API_Match_UTF8() 2316 REGEX_VERBOSE_TEXT(&testPattern); in API_Match_UTF8() 2320 RegexMatcher m(&testPattern, &testText, 0, status); in API_Match_UTF8() 2367 utext_close(&testPattern); in API_Match_UTF8() 2375 UText testPattern = UTEXT_INITIALIZER; in API_Match_UTF8() local 2379 utext_openUTF8(&testPattern, str_, -1, &status); in API_Match_UTF8() 2382 RegexMatcher m1(&testPattern, &testText, 0, status); in API_Match_UTF8() 2390 utext_openUTF8(&testPattern, str_a, -1, &status); in API_Match_UTF8() 2391 RegexMatcher m2(&testPattern, &testText, 0, status); in API_Match_UTF8() [all …]
|
H A D | plurfmts.h | 48 UnicodeString& testPattern,
|
H A D | tchcfmt.cpp | 340 const char* testPattern = "0#none|1#one|2#many"; in TestComplexExample() local 341 ChoiceFormat form_pat( testPattern, status ); in TestComplexExample()
|
H A D | dtptngts.cpp | 530 UnicodeString testPattern=gen->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI() local 531 testPattern=gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI() 824 testPattern=test->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI()
|
/aosp_15_r20/external/cronet/third_party/icu/source/test/intltest/ |
H A D | plurfmts.cpp | 318 UnicodeString testPattern = UNICODE_STRING_SIMPLE("other{other}"); in pluralFormatLocaleTest() local 321 helperTestResults(oneRuleLocales, 8, testPattern, pluralResults); in pluralFormatLocaleTest() 332 testPattern = UNICODE_STRING_SIMPLE("one{one} other{other}"); in pluralFormatLocaleTest() 337 helperTestResults(singular1Locales, 56, testPattern, pluralResults); in pluralFormatLocaleTest() 343 testPattern = UNICODE_STRING_SIMPLE("one{one} other{other}"); in pluralFormatLocaleTest() 347 helperTestResults(singular01Locales, 4, testPattern, pluralResults); in pluralFormatLocaleTest() 352 testPattern = UNICODE_STRING_SIMPLE("zero{zero} one{one} other{other}"); in pluralFormatLocaleTest() 364 helperTestResults(zeroSingularLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest() 369 testPattern = UNICODE_STRING_SIMPLE("one{one} two{two} other{other}"); in pluralFormatLocaleTest() 375 helperTestResults(singularDualLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest() [all …]
|
H A D | regextst.cpp | 2313 UText testPattern = UTEXT_INITIALIZER; in API_Match_UTF8() local 2315 regextst_openUTF8FromInvariant(&testPattern, ".*", -1, &status); in API_Match_UTF8() 2316 REGEX_VERBOSE_TEXT(&testPattern); in API_Match_UTF8() 2320 RegexMatcher m(&testPattern, &testText, 0, status); in API_Match_UTF8() 2367 utext_close(&testPattern); in API_Match_UTF8() 2375 UText testPattern = UTEXT_INITIALIZER; in API_Match_UTF8() local 2379 utext_openUTF8(&testPattern, str_, -1, &status); in API_Match_UTF8() 2382 RegexMatcher m1(&testPattern, &testText, 0, status); in API_Match_UTF8() 2390 utext_openUTF8(&testPattern, str_a, -1, &status); in API_Match_UTF8() 2391 RegexMatcher m2(&testPattern, &testText, 0, status); in API_Match_UTF8() [all …]
|
H A D | plurfmts.h | 48 UnicodeString& testPattern,
|
H A D | tchcfmt.cpp | 340 const char* testPattern = "0#none|1#one|2#many"; in TestComplexExample() local 341 ChoiceFormat form_pat( testPattern, status ); in TestComplexExample()
|
H A D | dtptngts.cpp | 530 UnicodeString testPattern=gen->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI() local 531 testPattern=gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI() 824 testPattern=test->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI()
|
/aosp_15_r20/external/icu/android_icu4j/testing/src/com/android/icu/test/util/regex/ |
H A D | MatcherNativeTest.java | 257 public void testPattern() { in testPattern() method in MatcherNativeTest 423 String testPattern = "(abb)"; in testFind() local 425 Pattern pat = Pattern.compile(testPattern); in testFind() 437 testPattern = "(\\d{1,3})"; in testFind() 440 Pattern pat2 = Pattern.compile(testPattern); in testFind() 806 String testPattern = "^ro$"; in test_anchoringBounds() local 808 Pattern pat = Pattern.compile(testPattern); in test_anchoringBounds() 822 String testPattern = "and(?=roid)"; in test_transparentBounds() local 824 Pattern pat = Pattern.compile(testPattern); in test_transparentBounds() 834 testPattern = "and(?!roid)"; in test_transparentBounds() [all …]
|
/aosp_15_r20/hardware/google/aemu/base/ |
D | FileUtils_unittest.cpp | 67 std::vector<uint8_t> testPattern; in TEST() local 70 testPattern.push_back(i % 3 == 0 ? 0x0 : 0x1a); in TEST() 78 HANDLE_EINTR(write(fd.get(), testPattern.data(), bytesToTest)); in TEST() 88 EXPECT_EQ((char)testPattern[i], (char)testOutput->at(i)); in TEST()
|
/aosp_15_r20/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
H A D | MethodHandlesTest.java | 1038 final String testPattern = "The system as we know it is broken"; in testStringConstructors() local 1049 s = (String) mh.invokeExact(testPattern); in testStringConstructors() 1050 assertEquals(testPattern, s); in testStringConstructors() 1056 s = (String) mh.invokeExact(testPattern.toCharArray()); in testStringConstructors() 1057 assertEquals(testPattern, s); in testStringConstructors() 1066 StringBuffer sb = new StringBuffer(testPattern); in testStringConstructors() 1074 assertEquals(testPattern, s); in testStringConstructors() 1077 byte [] ascii = testPattern.getBytes(StandardCharsets.US_ASCII); in testStringConstructors() 1081 assertEquals(testPattern, s); in testStringConstructors() 1088 assertEquals(testPattern.substring(0, 5), s); in testStringConstructors() [all …]
|
/aosp_15_r20/art/test/956-methodhandles/src/ |
H A D | Main.java | 827 final String testPattern = "The system as we know it is broken"; in testStringConstructors() local 840 s = (String) mh.invokeExact(testPattern); in testStringConstructors() 841 if (!s.equals(testPattern)) { in testStringConstructors() 848 s = (String) mh.invokeExact(testPattern.toCharArray()); in testStringConstructors() 849 if (!s.equals(testPattern)) { in testStringConstructors() 862 StringBuffer sb = new StringBuffer(testPattern); in testStringConstructors() 870 if (!s.equals(testPattern)) { in testStringConstructors() 875 byte [] ascii = testPattern.getBytes(StandardCharsets.US_ASCII); in testStringConstructors() 879 if (!s.equals(testPattern)) { in testStringConstructors() 888 if (!s.equals(testPattern.substring(0, 5))) { in testStringConstructors() [all …]
|
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/ |
H A D | vktTestPackage.cpp | 152 std::string testPattern; member 326 std::string testPattern, testNumber; in TestCaseExecutor() local 327 std::copy(line.begin(), line.begin() + pos, std::back_inserter(testPattern)); in TestCaseExecutor() 328 testPattern = trim(testPattern); in TestCaseExecutor() 331 if (testPattern.empty() || testNumber.empty()) in TestCaseExecutor() 337 … m_detailedSubprocessTestCount.push_back(DetailedSubprocessTestCount{testPattern, testCount}); in TestCaseExecutor() 794 …if (tcu::matchWildcards(detailed.testPattern.begin(), detailed.testPattern.end(), casePath.begin(), in getCurrentSubprocessCount()
|
/aosp_15_r20/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
H A D | MatcherTest.java | 164 public void testPattern() { in testPattern() method in MatcherTest 385 String testPattern = "(abb)"; in testFind() local 387 Pattern pat = Pattern.compile(testPattern); in testFind() 399 testPattern = "(\\d{1,3})"; in testFind() 402 Pattern pat2 = Pattern.compile(testPattern); in testFind()
|
/aosp_15_r20/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | NoSystemFunctionPermissionTest.java | 152 long[] testPattern = {1, 1, 1, 1, 1}; in testVibrator() local 155 vibrator.vibrate(testPattern, 1); in testVibrator()
|
/aosp_15_r20/external/icu/icu4c/source/test/cintltst/ |
H A D | udatpg_test.c | 76 static const UChar testPattern[]={ 0x48, 0x48, 0x3a, 0x6d, 0x6d, 0 }; /* HH:mm */ variable 182 length = udatpg_getSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage() 201 length = udatpg_getBaseSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage()
|
/aosp_15_r20/external/cronet/third_party/icu/source/test/cintltst/ |
H A D | udatpg_test.c | 76 static const UChar testPattern[]={ 0x48, 0x48, 0x3a, 0x6d, 0x6d, 0 }; /* HH:mm */ variable 182 length = udatpg_getSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage() 201 length = udatpg_getBaseSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage()
|
/aosp_15_r20/external/icu/icu4j/main/common_tests/src/test/java/com/ibm/icu/dev/test/format/ |
H A D | DateFormatTest.java | 3690 final String testPattern = "GGGG y MMMM d EEEE"; in TestCalendarType() local 3724 formatters[0].applyPattern(testPattern); in TestCalendarType() 3733 formatters[1].applyPattern(testPattern); in TestCalendarType() 3742 formatters[2].applyPattern(testPattern); in TestCalendarType() 3748 formatters[3] = new SimpleDateFormat(testPattern, testLocales[i]); in TestCalendarType() 3752 formatters[4] = new SimpleDateFormat(testPattern, dfs, testLocales[i]); in TestCalendarType()
|