/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
H A D | hexadecimal.js | 42 var testPattern = '\\x41\\x42\\x43\\x44\\x45\\x46\\x47\\x48\\x49\\x4A\\x4B\\x4C\\x4D\\x4E\\x4F\\x50\\x51\\x52\\x53\\x54\\x55\\x56\\x57\\x58\\x59\\x5A'; 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\\x71\\x72\\x73\\x74\\x75\\x76\\x77\\x78\\x79\\x7A'; 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\\x30\\x31\\x32\\x33'; 63 "'" + testString + "'.match(new RegExp('" + testPattern + "'))", 64 String([" !\"#$%&'()*+,-./0123"]), String(testString.match(new RegExp(testPattern)))); 66 testPattern [all...] |
H A D | octal.js | 42 var testPattern = '\\101\\102\\103\\104\\105\\106\\107\\110\\111\\112\\113\\114\\115\\116\\117\\120\\121\\122\\123\\124\\125\\126\\127\\130\\131\\132'; 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\\161\\162\\163\\164\\165\\166\\167\\170\\171\\172'; 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 [all...] |
/external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/ |
H A D | MatcherTest.java | 150 public void testPattern() { method in class:MatcherTest 357 String testPattern = "(abb)"; 359 Pattern pat = Pattern.compile(testPattern); 371 testPattern = "(\\d{1,3})"; 374 Pattern pat2 = Pattern.compile(testPattern);
|
H A D | PatternTest.java | 153 public void testPattern() { method in class:PatternTest
|
/external/icu4c/test/cintltst/ |
H A 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); 168 length = udatpg_getBaseSkeleton(dtpg, testPattern, 5, result, 20, &errorCode);
|
/external/icu4c/test/intltest/ |
H A D | dtptngts.cpp | 385 UnicodeString testPattern=gen->getBestPattern(UnicodeString("MMMMdd"), status); local 386 testPattern=gen->getBestPattern(UnicodeString("MMMddHmm"), status); 685 testPattern=test->getBestPattern(UnicodeString("MMMMdd"), status);
|
H A D | plurfmts.cpp | 319 UnicodeString testPattern = UNICODE_STRING_SIMPLE("other{other}"); local 322 helperTestRusults(oneRuleLocales, 4, testPattern, pluralResults); 330 testPattern = UNICODE_STRING_SIMPLE("one{one} other{other}"); 335 helperTestRusults(singular1Locales, 52, testPattern, pluralResults); 340 testPattern = UNICODE_STRING_SIMPLE("one{one} other{other}"); 344 helperTestRusults(singular01Locales, 3, testPattern, pluralResults); 349 testPattern = UNICODE_STRING_SIMPLE("zero{zero} one{one} other{other}"); 359 helperTestRusults(zeroSingularLocales, 1, testPattern, pluralResults); 364 testPattern = UNICODE_STRING_SIMPLE("one{one} two{two} other{other}"); 370 helperTestRusults(singularDualLocales, 1, testPattern, pluralResult 637 helperTestRusults(const char** localeArray, int32_t capacityOfArray, UnicodeString& testPattern, int8_t *expResults) argument [all...] |
H A D | tchcfmt.cpp | 339 const char* testPattern = "0#none|1#one|2#many"; local 340 ChoiceFormat form_pat( testPattern, status );
|
H A D | regextst.cpp | 2276 UText testPattern = UTEXT_INITIALIZER; local 2278 regextst_openUTF8FromInvariant(&testPattern, ".*", -1, &status); 2279 REGEX_VERBOSE_TEXT(&testPattern); 2283 RegexMatcher m(&testPattern, &testText, 0, status); 2330 utext_close(&testPattern); 2338 UText testPattern = UTEXT_INITIALIZER; local 2342 utext_openUTF8(&testPattern, str_, -1, &status); 2345 RegexMatcher m1(&testPattern, &testText, 0, status); 2353 utext_openUTF8(&testPattern, str_a, -1, &status); 2354 RegexMatcher m2(&testPattern, 3123 UnicodeString testPattern; // The pattern for test from the test file. local [all...] |