/external/icu/icu4c/source/test/perf/howExpensiveIs/ |
howExpensiveIs.cpp | 290 NumTest(const char *pat, const char *num, double expect, const char *FILE, int LINE) 294 fPat(pat, -1, US_INV), 300 fCPat(pat), 342 AttrNumTest(const char *pat, const char *num, double expect, const char *FILE, int LINE, UNumberFormatAttribute attr, int32_t newValue) 343 : NumTest(pat,num,expect,FILE,LINE), 370 NOXNumTest(const char *pat, const char *num, double expect, const char *FILE, int LINE /*, UNumberFormatAttribute attr, int32_t newValue */) 371 : NumTest(pat,num,expect,FILE,LINE) /* , 418 NumFmtTest(const char *pat, const char *num, double expect, const char *FILE, int LINE) 422 fPat(pat, -1, US_INV), 428 fCPat(pat), [all...] |
/external/icu/icu4c/source/test/perf/perldriver/ |
PerfFramework.pm | 258 #my $pat = shift; 261 #my $cmd = "java -cp c:\\dev\\myicu4j\\classes $TESTCLASS $method $n $pat"; 335 my $pat = shift; 338 out("<P>Measuring $method using $pat, "); 350 my @t = callJava($method, $pat, -$CALIBRATE); 367 my @t = callJava($method, $pat, "$iterCount " x $NUMPASSES);
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
DateFormatSymbolsTest.java | 228 String pat = dfs.getLocalPatternChars(); local 229 StringBuffer buf = new StringBuffer(pat); 230 buf.setCharAt(0, (char)(pat.charAt(0) + 1)); 234 assertNotEqual(pat, pat2);
|
/external/openssh/openbsd-compat/ |
glob.c | 900 match(Char *name, Char *pat, Char *patend, int recur) 908 while (pat < patend) { 909 c = *pat++; 912 while (pat < patend && (*pat & M_MASK) == M_ALL) 913 pat++; /* eat consecutive '*' */ 914 if (pat == patend) 917 if (match(name, pat, patend, recur)) 929 if ((negate_range = ((*pat & M_MASK) == M_NOT)) != EOS) 930 ++pat; [all...] |
/external/pcre/dist2/ |
perltest.sh | 135 $pat = $1; 170 $pattern = "$pat$mod";
|
/external/python/cpython2/Tools/scripts/ |
mailerdaemon.py | 160 pat = re.compile('^[0-9]*$') 167 files = filter(lambda fn, pat=pat: pat.match(fn) is not None, os.listdir('.'))
|
/external/v8/src/inspector/build/ |
generate_protocol_externs.py | 65 refined = re.sub(r'-(\w)', lambda pat: pat.group(1).upper(), name) 67 return prefix + re.sub(r'(?i)HTML|XML|WML|API', lambda pat: pat.group(0).upper(), refined)
|
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/ |
AKFS_Device.h | 102 const AKFS_PATNO pat,
|
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
Pattern2Test.java | 108 String pat = "\\p"+pa; local 110 Pattern p = Pattern.compile(pat); 119 "by pattern '"+pat, p.matcher(t).matches()); 124 "by pattern '"+pat, p.matcher(t).matches());
|
/external/icu/icu4c/source/test/cintltst/ |
cdtdptst.c | 162 UChar *str, *pat; local 169 pat=(UChar*)malloc(sizeof(UChar) * (strlen(pattern) + 1) ); 170 u_uastrcpy(pat, pattern); 171 log_verbose("Pattern : %s ; String : %s\n", austrdup(pat), austrdup(str)); 172 udat_applyPattern(format, FALSE, pat, u_strlen(pat)); 190 free(pat);
|
reapits.c | 206 UChar pat[200]; local 212 u_uastrncpy(pat, "abc*", UPRV_LENGTHOF(pat)); 213 re = uregex_open(pat, -1, 0, 0, &status); 222 re = uregex_open(pat, -1, 230 re = uregex_open(pat, -1, 0x40000000, 0, &status); 236 re = uregex_open(pat, -1, UREGEX_CANON_EQ, 0, &status); 264 u_uastrncpy(pat, "abc*", UPRV_LENGTHOF(pat)); 265 TEST_ASSERT(u_strcmp(pat, p) == 0) 1409 UChar pat[200]; local [all...] |
cdtrgtst.c | 55 UChar *pat=NULL; local 77 pat=(UChar*)malloc(sizeof(UChar) * resultlength); 78 udat_toPattern(df, TRUE, pat, resultlength, &status); 81 log_verbose("pattern: %s\n", austrdup(pat)); 117 if(pat != NULL) { 118 free(pat); 135 UChar pat[10]; local 164 u_uastrcpy(pat, "yyMMdd"); 165 def = udat_open(UDAT_PATTERN,UDAT_PATTERN,NULL, NULL, 0, pat, u_strlen(pat), &status) 246 UChar *pat=NULL; local [all...] |
/external/python/cpython2/Lib/lib-tk/ |
FileDialog.py | 142 dir, pat = self.get_filter() 145 self.set_filter(dir, pat) 161 dir, pat = self.get_filter() 168 self.set_filter(dir, pat) 176 elif fnmatch.fnmatch(name, pat): 203 def set_filter(self, dir, pat): 213 self.filter.insert(END, os.path.join(dir or os.curdir, pat or "*"))
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib-tk/ |
FileDialog.py | 142 dir, pat = self.get_filter() 145 self.set_filter(dir, pat) 161 dir, pat = self.get_filter() 168 self.set_filter(dir, pat) 176 elif fnmatch.fnmatch(name, pat): 203 def set_filter(self, dir, pat): 213 self.filter.insert(END, os.path.join(dir or os.curdir, pat or "*"))
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib-tk/ |
FileDialog.py | 142 dir, pat = self.get_filter() 145 self.set_filter(dir, pat) 161 dir, pat = self.get_filter() 168 self.set_filter(dir, pat) 176 elif fnmatch.fnmatch(name, pat): 203 def set_filter(self, dir, pat): 213 self.filter.insert(END, os.path.join(dir or os.curdir, pat or "*"))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/ |
FileDialog.py | 142 dir, pat = self.get_filter() 145 self.set_filter(dir, pat) 161 dir, pat = self.get_filter() 168 self.set_filter(dir, pat) 176 elif fnmatch.fnmatch(name, pat): 203 def set_filter(self, dir, pat): 213 self.filter.insert(END, os.path.join(dir or os.curdir, pat or "*"))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/ |
FileDialog.py | 142 dir, pat = self.get_filter() 145 self.set_filter(dir, pat) 161 dir, pat = self.get_filter() 168 self.set_filter(dir, pat) 176 elif fnmatch.fnmatch(name, pat): 203 def set_filter(self, dir, pat): 213 self.filter.insert(END, os.path.join(dir or os.curdir, pat or "*"))
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/ |
KeyTypeData.java | 46 private static final Pattern pat = Pattern.compile("[0-9a-fA-F]{4,6}(-[0-9a-fA-F]{4,6})*"); field in class:KeyTypeData.CodepointsTypeHandler 49 return pat.matcher(value).matches(); 54 private static final Pattern pat = Pattern.compile("[a-zA-Z]{3,8}(-[a-zA-Z]{3,8})*"); field in class:KeyTypeData.ReorderCodeTypeHandler 57 return pat.matcher(value).matches(); 62 private static final Pattern pat = Pattern.compile("([a-zA-Z]{2}|[0-9]{3})[zZ]{4}"); field in class:KeyTypeData.RgKeyValueTypeHandler 65 return pat.matcher(value).matches(); 70 private static final Pattern pat = Pattern.compile("([a-zA-Z]{2}|[0-9]{3})"); field in class:KeyTypeData.SubdivisionKeyValueTypeHandler 73 return pat.matcher(value).matches(); 78 private static final Pattern pat = Pattern.compile("[a-zA-Z0-9]{3,8}(-[a-zA-Z0-9]{3,8})*"); field in class:KeyTypeData.PrivateUseKeyValueTypeHandler 81 return pat.matcher(value).matches() [all...] |
/external/icu/icu4c/source/i18n/ |
plurfmt.cpp | 81 PluralFormat::PluralFormat(const UnicodeString& pat, 88 applyPattern(pat, status); 92 const UnicodeString& pat, 99 applyPattern(pat, status); 103 const UnicodeString& pat, 110 applyPattern(pat, status); 115 const UnicodeString& pat, 122 applyPattern(pat, status); 127 const UnicodeString& pat, 134 applyPattern(pat, status) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
KeyTypeData.java | 44 private static final Pattern pat = Pattern.compile("[0-9a-fA-F]{4,6}(-[0-9a-fA-F]{4,6})*"); field in class:KeyTypeData.CodepointsTypeHandler 47 return pat.matcher(value).matches(); 52 private static final Pattern pat = Pattern.compile("[a-zA-Z]{3,8}(-[a-zA-Z]{3,8})*"); field in class:KeyTypeData.ReorderCodeTypeHandler 55 return pat.matcher(value).matches(); 60 private static final Pattern pat = Pattern.compile("([a-zA-Z]{2}|[0-9]{3})[zZ]{4}"); field in class:KeyTypeData.RgKeyValueTypeHandler 63 return pat.matcher(value).matches(); 68 private static final Pattern pat = Pattern.compile("([a-zA-Z]{2}|[0-9]{3})"); field in class:KeyTypeData.SubdivisionKeyValueTypeHandler 71 return pat.matcher(value).matches(); 76 private static final Pattern pat = Pattern.compile("[a-zA-Z0-9]{3,8}(-[a-zA-Z0-9]{3,8})*"); field in class:KeyTypeData.PrivateUseKeyValueTypeHandler 79 return pat.matcher(value).matches() [all...] |
/external/python/cpython2/Mac/scripts/ |
buildpkg.py | 289 for pat in string.split("*.txt *.html *.rtf *.rtfd *.lproj", " "): 290 pattern = join(self.resourceFolder, pat) 298 for pat in ("*upgrade", "*install", "*flight"): 299 pattern = join(self.resourceFolder, packageName + pat) 300 pattern2 = join(self.resourceFolder, pat)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
NumberFormatTest.java | 612 final String pat[] = { "#.#", "#.", ".#", "#" }; local 613 int pat_length = pat.length; 618 DecimalFormat fmt = new DecimalFormat(pat[i], sym); 621 errln("FAIL: Pattern " + pat[i] + " should transmute to " + newpat[i] + 627 errln("FAIL: Pattern " + pat[i] + " should format zero as " + num[i] + 635 errln("FAIL: Pattern " + pat[i] + " should format BigInteger zero as " + num[i] + 647 final String pat[] = { "0.####E0", "00.000E00", "##0.######E000", "0.###E0;[0.###E0]" }; local 648 int pat_length = pat.length; 689 DecimalFormat fmt = new DecimalFormat(pat[p], sym); 690 logln("Pattern \"" + pat[p] + "\" -toPattern-> \"" + fmt.toPattern() + "\"") 738 StringBuffer pat; local 779 StringBuffer pat = new StringBuffer(""); local 871 String pat = DATA[i][1]; local 947 StringBuffer pat = new StringBuffer(""); local 1477 String pat = PAT[i]; local 2157 String pat=DATA[i]; local 2231 String pat = null, str = null, mloc = null; local 2774 String pat = ((DecimalFormat)fmt).toPattern(); local 2858 String pat = ((DecimalFormat)fmt).toPattern(); local 2946 String pat = fmt.toPattern(); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
NumberFormatTest.java | 611 final String pat[] = { "#.#", "#.", ".#", "#" }; local 612 int pat_length = pat.length; 617 DecimalFormat fmt = new DecimalFormat(pat[i], sym); 620 errln("FAIL: Pattern " + pat[i] + " should transmute to " + newpat[i] + 626 errln("FAIL: Pattern " + pat[i] + " should format zero as " + num[i] + 634 errln("FAIL: Pattern " + pat[i] + " should format BigInteger zero as " + num[i] + 646 final String pat[] = { "0.####E0", "00.000E00", "##0.######E000", "0.###E0;[0.###E0]" }; local 647 int pat_length = pat.length; 688 DecimalFormat fmt = new DecimalFormat(pat[p], sym); 689 logln("Pattern \"" + pat[p] + "\" -toPattern-> \"" + fmt.toPattern() + "\"") 737 StringBuffer pat; local 778 StringBuffer pat = new StringBuffer(""); local 870 String pat = DATA[i][1]; local 946 StringBuffer pat = new StringBuffer(""); local 1476 String pat = PAT[i]; local 2156 String pat=DATA[i]; local 2230 String pat = null, str = null, mloc = null; local 2773 String pat = ((DecimalFormat)fmt).toPattern(); local 2857 String pat = ((DecimalFormat)fmt).toPattern(); local 2945 String pat = fmt.toPattern(); local [all...] |
/external/libedit/src/ |
readline.c | 504 static char *last_search_pat; /* last !?pat[?] search pattern */ 505 static char *last_search_match; /* last !?pat[?] that matched */ 512 char *pat; local 570 pat = last_search_pat; 574 if ((pat = el_malloc((len + 1) * sizeof(*pat))) == NULL) 576 (void)strncpy(pat, cmd + begin, len); 577 pat[len] = '\0'; 581 if (pat != last_search_pat) 582 el_free(pat); [all...] |
/frameworks/minikin/tools/ |
mk_hyb_file.py | 18 Convert hyphen files in standard TeX format (a trio of pat, chr, and hyp) 21 Usage: mk_hyb_file.py [-v] hyph-foo.pat.txt hyph-foo.hyb 138 def add_pat(self, pat): 143 for c in pat: 273 # load the ".pat" file, which contains patterns such as a1b2c3 278 pat = l.strip() 279 hyph.add_pat(pat) 385 for pat in pats: 386 if pat is None: 388 pat_str = pat_to_binary(pat) [all...] |