/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
D | hexadecimal.js | 42 …var testPattern = '\\x41\\x42\\x43\\x44\\x45\\x46\\x47\\x48\\x49\\x4A\\x4B\\x4C\\x4D\\x4E\\x4F\\x5… variable 47 … "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 48 … String(["ABCDEFGHIJKLMNOPQRSTUVWXYZ"]), String(testString.match(new RegExp(testPattern)))); 50 …testPattern = '\\x61\\x62\\x63\\x64\\x65\\x66\\x67\\x68\\x69\\x6A\\x6B\\x6C\\x6D\\x6E\\x6F\\x70\\x… 55 … "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 56 … String(["abcdefghijklmnopqrstuvwxyz"]), String(testString.match(new RegExp(testPattern)))); 58 …testPattern = '\\x20\\x21\\x22\\x23\\x24\\x25\\x26\\x27\\x28\\x29\\x2A\\x2B\\x2C\\x2D\\x2E\\x2F\\x… 63 … "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 64 … String([" !\"#$%&'()*+,-./0123"]), String(testString.match(new RegExp(testPattern)))); 66 testPattern = '\\x34\\x35\\x36\\x37\\x38\\x39\\x3A\\x3B\\x3C\\x3D\\x3E\\x3F\\x40'; [all …]
|
D | octal.js | 42 …var testPattern = '\\101\\102\\103\\104\\105\\106\\107\\110\\111\\112\\113\\114\\115\\116\\117\\12… variable 47 … "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 48 … String(["ABCDEFGHIJKLMNOPQRSTUVWXYZ"]), String(testString.match(new RegExp(testPattern)))); 50 …testPattern = '\\141\\142\\143\\144\\145\\146\\147\\150\\151\\152\\153\\154\\155\\156\\157\\160\\1… 55 … "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 56 … String(["abcdefghijklmnopqrstuvwxyz"]), String(testString.match(new RegExp(testPattern)))); 58 … testPattern = '\\40\\41\\42\\43\\44\\45\\46\\47\\50\\51\\52\\53\\54\\55\\56\\57\\60\\61\\62\\63'; 63 … "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 64 … String([" !\"#$%&'()*+,-./0123"]), String(testString.match(new RegExp(testPattern)))); 66 testPattern = '\\64\\65\\66\\67\\70\\71\\72\\73\\74\\75\\76\\77\\100'; [all …]
|
D | RegExp_object.js | 72 var testPattern = new RegExp("(\\d+)45(\\d+)90"); variable
|
/external/icu4c/test/intltest/ |
D | plurfmts.cpp | 319 UnicodeString testPattern = UNICODE_STRING_SIMPLE("other{other}"); in pluralFormatLocaleTest() local 322 helperTestRusults(oneRuleLocales, 4, testPattern, pluralResults); in pluralFormatLocaleTest() 330 testPattern = UNICODE_STRING_SIMPLE("one{one} other{other}"); in pluralFormatLocaleTest() 335 helperTestRusults(singular1Locales, 52, testPattern, pluralResults); in pluralFormatLocaleTest() 340 testPattern = UNICODE_STRING_SIMPLE("one{one} other{other}"); in pluralFormatLocaleTest() 344 helperTestRusults(singular01Locales, 3, testPattern, pluralResults); in pluralFormatLocaleTest() 349 testPattern = UNICODE_STRING_SIMPLE("zero{zero} one{one} other{other}"); in pluralFormatLocaleTest() 359 helperTestRusults(zeroSingularLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest() 364 testPattern = UNICODE_STRING_SIMPLE("one{one} two{two} other{other}"); in pluralFormatLocaleTest() 370 helperTestRusults(singularDualLocales, 1, testPattern, pluralResults); in pluralFormatLocaleTest() [all …]
|
D | plurfmts.h | 44 UnicodeString& testPattern,
|
D | dtptngts.cpp | 385 UnicodeString testPattern=gen->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI() local 386 testPattern=gen->getBestPattern(UnicodeString("MMMddHmm"), status); in testAPI() 685 testPattern=test->getBestPattern(UnicodeString("MMMMdd"), status); in testAPI()
|
D | regextst.cpp | 2276 UText testPattern = UTEXT_INITIALIZER; in API_Match_UTF8() local 2278 regextst_openUTF8FromInvariant(&testPattern, ".*", -1, &status); in API_Match_UTF8() 2279 REGEX_VERBOSE_TEXT(&testPattern); in API_Match_UTF8() 2283 RegexMatcher m(&testPattern, &testText, 0, status); in API_Match_UTF8() 2330 utext_close(&testPattern); in API_Match_UTF8() 2338 UText testPattern = UTEXT_INITIALIZER; in API_Match_UTF8() local 2342 utext_openUTF8(&testPattern, str_, -1, &status); in API_Match_UTF8() 2345 RegexMatcher m1(&testPattern, &testText, 0, status); in API_Match_UTF8() 2353 utext_openUTF8(&testPattern, str_a, -1, &status); in API_Match_UTF8() 2354 RegexMatcher m2(&testPattern, &testText, 0, status); in API_Match_UTF8() [all …]
|
D | tchcfmt.cpp | 339 const char* testPattern = "0#none|1#one|2#many"; in TestComplexExample() local 340 ChoiceFormat form_pat( testPattern, status ); in TestComplexExample()
|
/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/ |
D | MatcherTest.java | 150 public void testPattern() { in testPattern() method in MatcherTest 357 String testPattern = "(abb)"; in testFind() local 359 Pattern pat = Pattern.compile(testPattern); in testFind() 371 testPattern = "(\\d{1,3})"; in testFind() 374 Pattern pat2 = Pattern.compile(testPattern); in testFind()
|
D | PatternTest.java | 153 public void testPattern() { in testPattern() method in PatternTest
|
/external/icu4c/test/cintltst/ |
D | udatpg_test.c | 58 static const UChar testPattern[]={ 0x48, 0x48, 0x3a, 0x6d, 0x6d, 0 }; /* HH:mm */ variable 149 length = udatpg_getSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage() 168 length = udatpg_getBaseSkeleton(dtpg, testPattern, 5, result, 20, &errorCode); in TestUsage()
|