/external/chromium_org/third_party/icu/source/test/intltest/ |
dtfmtrtts.cpp | 280 UnicodeString pat; local 295 pat = ((SimpleDateFormat*)fmt)->toPattern(pat); 302 UBool hasEra = (pat.indexOf(UnicodeString("G")) != -1); 303 UBool hasZoneDisplayName = (pat.indexOf(UnicodeString("z")) != -1) || (pat.indexOf(UnicodeString("v")) != -1) 304 || (pat.indexOf(UnicodeString("V")) != -1); 348 errln("FAIL: fmt->format gave 0-length string in " + pat + " with number " + d[loop] + " in locale " + origLocale.getName()); 409 pat.indexOf(UnicodeString("yyyy")) == -1) 417 else if (pat.indexOf(UnicodeString("y")) != - [all...] |
msfmrgts.cpp | 159 UnicodeString pat; local 160 pat = fmt->toPattern(pat); 162 if (pat != exp) { 165 errln("Got: " + pat); 534 UnicodeString pat; local 536 logln("pattern: \"" + mf->toPattern(pat) + "\""); 564 UnicodeString pat; local 565 logln("pattern before: \"" + mf->toPattern(pat) + "\""); 587 UnicodeString pat; local 644 UnicodeString pat; local 711 UnicodeString pat; local 743 UnicodeString pat; local 833 UnicodeString pat; local 861 UnicodeString pat = CharsToUnicodeString("''Vous'' {0,choice,0#n''|1#}avez s\\\\u00E9lectionn\\\\u00E9 " local 934 UnicodeString pat; local [all...] |
/external/icu/icu4c/source/i18n/ |
repattrn.cpp | 483 RegexPattern *pat = NULL; local 486 pat = RegexPattern::compile(regex, 0, pe, status); 487 matcher = pat->matcher(input, status); 491 delete pat; 507 RegexPattern *pat = NULL; local 510 pat = RegexPattern::compile(regex, 0, pe, status); 511 matcher = pat->matcher(status); 518 delete pat;
|
region.cpp | 459 UnicodeString pat = UNICODE_STRING_SIMPLE("00#"); local 460 DecimalFormat *df = new DecimalFormat(pat,fs);
|
/external/icu/icu4c/source/samples/cal/ |
cal.c | 430 const UChar *pat = (useLongNames ? sLongPat : sShortPat); local 439 dfmt = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,NULL,0,pat, len,status); 547 const UChar pat [] = { 0x0079, 0x0079, 0x0079, 0x0079 }; local 562 dfmt = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL,NULL,0,pat, len, status);
|
/external/icu/icu4c/source/test/cintltst/ |
usettest.c | 63 static const UChar PAT[] = {91,97,45,99,123,97,98,125,93,0}; /* "[a-c{ab}]" */ 64 static const int32_t PAT_LEN = (sizeof(PAT) / sizeof(PAT[0])) - 1; 107 set = uset_openPattern(PAT, PAT_LEN, &ec); 112 if(!uset_resemblesPattern(PAT, PAT_LEN, 0)) { 113 log_err("uset_resemblesPattern of PAT failed\n"); 258 char *pat; local 268 pat=aescstrdup(ustr, length); 285 log_verbose("Ok: %s %s \"%s\"\n", pat, 289 log_data_err("FAIL: %s %s \"%s\" (Are you missing data?)\n", pat, 360 char *pat; local 535 USet *pat; local [all...] |
cdtrgtst.c | 53 UChar *pat=NULL; local 75 pat=(UChar*)malloc(sizeof(UChar) * resultlength); 76 udat_toPattern(df, TRUE, pat, resultlength, &status); 79 log_verbose("pattern: %s\n", austrdup(pat)); 115 if(pat != NULL) { 116 free(pat); 133 UChar pat[10]; local 162 u_uastrcpy(pat, "yyMMdd"); 163 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL, NULL, 0, pat, u_strlen(pat), &status) 244 UChar *pat=NULL; local [all...] |
cnmdptst.c | 68 const char* pat[] = { "#.#", "#.", ".#", "#" }; local 73 pat_length = sizeof(pat) / sizeof(pat[0]); 77 u_uastrcpy(upat, pat[i]); 80 log_err_status(status, "FAIL: Number format constructor failed for pattern %s -> %s\n", pat[i], u_errorName(status)); 91 log_err("FAIL: Number format extracting the pattern failed for %s\n", pat[i]); 95 log_err("FAIL: Pattern %s should be transmute to %s; %s seen instead\n", pat[i], newpat[i], austrdup(unewp) ); 110 log_err("FAIL: Pattern %s should format zero as %s; %s Seen instead\n", pat[i], num[i], austrdup(str) ); 124 UChar pat[15]; local 130 u_uastrcpy(pat, "a'fo''o'b#") 204 static const char* pat[] = { "0.####E0", "00.000E00", "##0.######E000", "0.###E0;[0.###E0]" }; local 343 UChar *pat=NULL; local [all...] |
/external/icu/icu4c/source/test/intltest/ |
dtfmtrtts.cpp | 278 UnicodeString pat; local 293 pat = ((SimpleDateFormat*)fmt)->toPattern(pat); 300 UBool hasEra = (pat.indexOf(UnicodeString("G")) != -1); 301 UBool hasZoneDisplayName = (pat.indexOf(UnicodeString("z")) != -1) || (pat.indexOf(UnicodeString("v")) != -1) 302 || (pat.indexOf(UnicodeString("V")) != -1); 336 failure(status, "fmt->parse", s[loop-1]+" in locale: " + origLocale.getName() + " with pattern: " + pat); 346 errln("FAIL: fmt->format gave 0-length string in " + pat + " with number " + d[loop] + " in locale " + origLocale.getName()); 407 pat.indexOf(UnicodeString("yyyy")) == -1 [all...] |
msfmrgts.cpp | 161 UnicodeString pat; 162 pat = fmt->toPattern(pat); 164 if (pat != exp) { 167 errln("Got: " + pat); 536 UnicodeString pat; local 538 logln("pattern: \"" + mf->toPattern(pat) + "\""); 566 UnicodeString pat; local 567 logln("pattern before: \"" + mf->toPattern(pat) + "\""); 589 UnicodeString pat; local 646 UnicodeString pat; local 713 UnicodeString pat; local 745 UnicodeString pat; local 835 UnicodeString pat; local 863 UnicodeString pat = CharsToUnicodeString("''Vous'' {0,choice,0#n''|1#}avez s\\\\u00E9lectionn\\\\u00E9 " local 945 UnicodeString pat; local [all...] |
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
grep.h | 98 char *pat; member in struct:epat
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
PatternTest.java | 90 Pattern pat = Pattern.compile("x"); local 91 s = pat.split("zxx:zzz:zxx", 10); 93 s = pat.split("zxx:zzz:zxx", 3); 95 s = pat.split("zxx:zzz:zxx", -1); 97 s = pat.split("zxx:zzz:zxx", 0); 101 pat = Pattern.compile("b"); 102 s = pat.split("abccbadfebb", -1); 104 s = pat.split("", -1); 106 pat = Pattern.compile(""); 107 s = pat.split("", -1) 155 Pattern pat = Pattern.compile("b"); local 219 Pattern pat; local 440 Pattern pat = Pattern.compile(pattern); local 449 Pattern pat = Pattern.compile(pattern); local 504 java.util.regex.Pattern pat = java.util.regex.Pattern.compile(pattern); local 576 Pattern pat; local 613 String pat = pos_patterns[i++]; local 626 Pattern pat = Pattern.compile("\\\\Q{]()*?"); local 664 Pattern pat = Pattern.compile("\\\\d+*"); local 714 Pattern pat = Pattern.compile(".*\\n"); local 722 Pattern pat = Pattern.compile(".*A"); local 730 Pattern pat = Pattern.compile(".*A"); local 738 Pattern pat = Pattern.compile("A.*"); local 746 Pattern pat = Pattern.compile(".*A.*"); local 758 Pattern pat = Pattern.compile(".*"); local 768 Pattern pat = Pattern.compile("(\\\\((\\\\w*):(.*):(\\\\2)\\\\))"); local 784 Pattern pat = Pattern.compile("(^$)*\\n", Pattern.MULTILINE); local 794 Pattern pat = Pattern.compile(".*aaa", Pattern.DOTALL); local 801 Pattern pat = Pattern.compile("a*bc"); local 814 Pattern pat = Pattern.compile("$*", Pattern.MULTILINE); local 838 Pattern pat = Pattern.compile("(?i)b*(?-i)a*"); local 924 Pattern pat = Pattern.compile("a\\u0000\\u0000cd"); local 931 Pattern pat = Pattern.compile(baseString); local 1027 Pattern pat = Pattern.compile("ab(?>)cda"); local 1043 Pattern pat = Pattern.compile(baseString); local 1079 Pattern pat = Pattern.compile(baseString); local 1143 Pattern pat = Pattern.compile(patString); local 1209 Pattern pat = Pattern.compile(patString); local 1248 Pattern pat = Pattern.compile(patString); local 1349 Pattern pat = Pattern.compile(patString); local 1429 Pattern pat = Pattern.compile(patString); local 1441 Pattern pat = Pattern.compile(patString); local 1463 Pattern pat = Pattern.compile(patString); local 1485 Pattern pat = Pattern.compile(""); local 1528 Pattern pat; local 1574 Pattern pat; local 1769 Pattern pat; local 1808 Pattern pat = Pattern.compile(patString, Pattern.CANON_EQ); local [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
CookieManagerTest.java | 117 final Pattern pat = Pattern.compile("count=(\\d+)"); local 118 Matcher m = pat.matcher(cookie); 128 m = pat.matcher(cookie); 139 m = pat.matcher(cookie);
|
/external/valgrind/main/callgrind/ |
fn.c | 52 UChar code[], struct pattern* pat) 60 CLG_ASSERT((pat->chunk[0].start == 0) && (pat->chunk[0].len >2)); 63 obj->name, pat->name, pat->chunk[0].len, code[0], code[1], code[2]); 65 end = obj->start + obj->size - pat->len; 68 found = (VG_(memcmp)( (void*)addr, code, pat->chunk[0].len) == 0); 73 start = pat->chunk[chunk].start; 74 len = pat->chunk[chunk].len; 95 pat->name, obj->name + obj->last_slash_pos 130 static struct pattern pat = { local 167 static struct pattern pat = { local 188 static struct pattern pat = { local [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
cdtrgtst.c | 53 UChar *pat=NULL; local 75 pat=(UChar*)malloc(sizeof(UChar) * resultlength); 76 udat_toPattern(df, TRUE, pat, resultlength, &status); 79 log_verbose("pattern: %s\n", austrdup(pat)); 115 if(pat != NULL) { 116 free(pat); 133 UChar pat[10]; local 162 u_uastrcpy(pat, "yyMMdd"); 163 def = udat_open(UDAT_IGNORE,UDAT_IGNORE,NULL, NULL, 0, pat, u_strlen(pat), &status) 244 UChar *pat=NULL; local [all...] |
cnmdptst.c | 68 const char* pat[] = { "#.#", "#.", ".#", "#" }; local 73 pat_length = sizeof(pat) / sizeof(pat[0]); 77 u_uastrcpy(upat, pat[i]); 80 log_err_status(status, "FAIL: Number format constructor failed for pattern %s -> %s\n", pat[i], u_errorName(status)); 91 log_err("FAIL: Number format extracting the pattern failed for %s\n", pat[i]); 95 log_err("FAIL: Pattern %s should be transmute to %s; %s seen instead\n", pat[i], newpat[i], austrdup(unewp) ); 110 log_err("FAIL: Pattern %s should format zero as %s; %s Seen instead\n", pat[i], num[i], austrdup(str) ); 124 UChar pat[15]; local 130 u_uastrcpy(pat, "a'fo''o'b#") 204 static const char* pat[] = { "0.####E0", "00.000E00", "##0.######E000", "0.###E0;[0.###E0]" }; local 343 UChar *pat=NULL; local [all...] |
reapits.c | 160 UChar pat[200]; local 166 u_uastrncpy(pat, "abc*", sizeof(pat)/2); 167 re = uregex_open(pat, -1, 0, 0, &status); 176 re = uregex_open(pat, -1, 184 re = uregex_open(pat, -1, 0x40000000, 0, &status); 190 re = uregex_open(pat, -1, UREGEX_LITERAL, 0, &status); 218 u_uastrncpy(pat, "abc*", sizeof(pat)/2); 219 TEST_ASSERT(u_strcmp(pat, p) == 0) 1362 UChar pat[200]; local [all...] |
/external/chromium_org/third_party/skia/src/ports/ |
SkFontConfigInterface_direct.cpp | 568 FcPattern* pat = FcPatternCreate(); local 569 SkAutoTCallVProc<FcPattern, FcPatternDestroy> autoDestroyPat(pat); 570 if (NULL == pat) { 580 FcFontSet* fs = FcFontList(NULL, pat, os);
|
/external/skia/src/ports/ |
SkFontConfigInterface_direct.cpp | 568 FcPattern* pat = FcPatternCreate(); local 569 SkAutoTCallVProc<FcPattern, FcPatternDestroy> autoDestroyPat(pat); 570 if (NULL == pat) { 580 FcFontSet* fs = FcFontList(NULL, pat, os);
|
/libcore/luni/src/test/java/libcore/java/util/regex/ |
OldMatcherTest.java | 30 Pattern pat = Pattern.compile("XX"); local 31 Matcher m = pat.matcher("Today is XX-XX-XX ..."); 40 pat = Pattern.compile("cat"); 41 m = pat.matcher("one-cat-two-cats-in-the-yard"); 65 Pattern pat = Pattern.compile(testPattern); local 66 Matcher mat = pat.matcher(testString1); 113 Pattern pat = Pattern.compile(testPattern); local 114 Matcher mat = pat.matcher(testString); 124 Pattern pat = Pattern.compile(testPattern); local 125 Matcher mat = pat.matcher(testString) 142 Pattern pat = Pattern.compile(testPattern); local 160 Pattern pat = Pattern.compile(testPattern); local 182 Pattern pat = Pattern.compile(testPattern); local 206 Pattern pat = Pattern.compile(testPattern); local 219 Pattern pat = Pattern.compile(testPattern); local 284 Pattern pat = Pattern.compile("^a\\\\(bb\\\\[$"); local 293 Pattern pat = Pattern.compile(testPattern); local 312 Pattern pat = Pattern.compile(testPattern); local 374 Pattern pat = Pattern. local 427 Pattern pat = Pattern.compile(testPattern); local 440 Pattern pat = Pattern.compile(testPattern); local 453 Pattern pat = Pattern.compile(testPattern); local 472 Pattern pat = Pattern.compile(testPattern1); local 486 Pattern pat = Pattern.compile(testPattern); local 501 Pattern pat = Pattern.compile(testPattern); local 527 Pattern pat = Pattern.compile(testPattern); local 539 Pattern pat = Pattern.compile(testPattern); local [all...] |
/pdk/apps/CameraITS/service/src/com/android/camera2/its/ |
ItsSerializer.java | 225 private static Object serializeBlackLevelPattern(BlackLevelPattern pat) 228 pat.copyTo(patVals, 0); [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
WalkerFactory.java | 860 for (StepPattern pat = step; null != pat; 861 pat = pat.getRelativePathPattern()) 863 int nextAxis = pat.getAxis(); 864 //int nextPaxis = pat.getPredicateAxis(); 865 pat.setAxis(axis); 868 // pat.setPredicateAxis(paxis); 890 int whatToShow = pat.getWhatToShow(); 899 pat.getNamespace() [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
dtitvfmt.cpp | 84 UnicodeString pat; local 85 ((SimpleDateFormat*)dtfmt)->toPattern(pat); 86 pat.extract(0, pat.length(), result_1, "UTF-8"); [all...] |
msgfmt.cpp | 1456 const UChar* pat = pattern.getBuffer(); local [all...] |
rematch.cpp | 77 RegexMatcher::RegexMatcher(const RegexPattern *pat) { 83 if (pat==NULL) { 87 fPattern = pat; 2749 int64_t *pat = fPattern->fCompiledPat->getBuffer(); local [all...] |