/external/icu/icu4j/perf-tests/ |
ucharacterperf_r.pl | 39 my $pat = '0 ffff'; 42 "Digit ($pat)", ["$jvm1 Digit $pat" , "$jvm2 Digit $pat" ], 43 "GetNumericValue ($pat)", ["$jvm1 GetNumericValue $pat" , "$jvm2 GetNumericValue $pat" ], 44 "GetType ($pat)", ["$jvm1 GetType $pat" , "$jvm2 GetType $pat" ], [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
NumberFormatTestCases.txt | 21 pat: - "#0.####" 23 pat: - "#0.####" 26 pat: - "#0" 32 pat: - - 34 pat: - "#,@@@" 37 pat: - - 43 pat: - - 48 pat: - - 53 pat: - - 58 pat: - [all...] |
IntlTestDecimalFormatAPI.java | 60 String pat = ",##0.0000"; local 61 DecimalFormat dec = new DecimalFormat(pat); 67 errln("Fail: " + number + " x \"" + pat + "\" = \"" + 71 pat = ",##0.0001"; 72 dec = new DecimalFormat(pat); 76 errln("Fail: " + number + " x \"" + pat + "\" = \"" + 81 pat = ",##0.00000000000000000001"; 82 dec = new DecimalFormat(pat); 89 errln("Fail: " + bignumber + " x \"" + pat + "\" = \"" + 112 DecimalFormat pat = null local 342 DecimalFormat pat = new DecimalFormat("#,##0.00"); local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
NumberFormatTestCases.txt | 21 pat: - "#0.####" 23 pat: - "#0.####" 26 pat: - "#0" 32 pat: - - 34 pat: - "#,@@@" 37 pat: - - 43 pat: - - 48 pat: - - 53 pat: - - 58 pat: - [all...] |
IntlTestDecimalFormatAPI.java | 59 String pat = ",##0.0000"; local 60 DecimalFormat dec = new DecimalFormat(pat); 66 errln("Fail: " + number + " x \"" + pat + "\" = \"" + 70 pat = ",##0.0001"; 71 dec = new DecimalFormat(pat); 75 errln("Fail: " + number + " x \"" + pat + "\" = \"" + 80 pat = ",##0.00000000000000000001"; 81 dec = new DecimalFormat(pat); 88 errln("Fail: " + bignumber + " x \"" + pat + "\" = \"" + 111 DecimalFormat pat = null local 341 DecimalFormat pat = new DecimalFormat("#,##0.00"); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
fnmatch.py | 24 def fnmatch(name, pat):
42 pat = os.path.normcase(pat)
43 return fnmatchcase(name, pat)
45 def filter(names, pat):
46 """Return the subset of the list NAMES that match PAT"""
49 pat=os.path.normcase(pat)
50 if not pat in _cache:
51 res = translate(pat)
[all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
fnmatch.py | 24 def fnmatch(name, pat): 42 pat = os.path.normcase(pat) 43 return fnmatchcase(name, pat) 45 def filter(names, pat): 46 """Return the subset of the list NAMES that match PAT""" 49 pat=os.path.normcase(pat) 50 if not pat in _cache: 51 res = translate(pat) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
fnmatch.py | 24 def fnmatch(name, pat): 42 pat = os.path.normcase(pat) 43 return fnmatchcase(name, pat) 45 def filter(names, pat): 46 """Return the subset of the list NAMES that match PAT""" 49 pat=os.path.normcase(pat) 50 if not pat in _cache: 51 res = translate(pat) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
fnmatch.py | 24 def fnmatch(name, pat): 42 pat = os.path.normcase(pat) 43 return fnmatchcase(name, pat) 45 def filter(names, pat): 46 """Return the subset of the list NAMES that match PAT""" 49 pat=os.path.normcase(pat) 50 if not pat in _cache: 51 res = translate(pat) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
fnmatch.py | 24 def fnmatch(name, pat): 42 pat = os.path.normcase(pat) 43 return fnmatchcase(name, pat) 45 def filter(names, pat): 46 """Return the subset of the list NAMES that match PAT""" 49 pat=os.path.normcase(pat) 50 if not pat in _cache: 51 res = translate(pat) [all...] |
/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 1872 Pattern pat = Pattern.compile("b"); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
fnmatch.py | 24 def fnmatch(name, pat):
42 pat = os.path.normcase(pat)
43 return fnmatchcase(name, pat)
45 def filter(names, pat):
46 """Return the subset of the list NAMES that match PAT"""
49 pat=os.path.normcase(pat)
51 re_pat = _cache[pat]
53 res = translate(pat)
[all...] |
/external/python/cpython2/Lib/ |
fnmatch.py | 24 def fnmatch(name, pat): 42 pat = os.path.normcase(pat) 43 return fnmatchcase(name, pat) 45 def filter(names, pat): 46 """Return the subset of the list NAMES that match PAT""" 49 pat=os.path.normcase(pat) 51 re_pat = _cache[pat] 53 res = translate(pat) [all...] |
/external/bzip2/ |
bzgrep | 17 pat="" 20 -e | -f) opt="$opt $1"; shift; pat="$1" 26 *) if test -z "$pat"; then 27 pat="$1" 35 if test -z "$pat"; then 52 bzip2 -cdfq | $grep $opt "$pat" 60 bzip2 -cdfq "$i" | $grep $opt "$pat" 2>&1 > /dev/null && echo $i 63 bzip2 -cdfq "$i" | $grep $opt "$pat" 70 bzip2 -cdfq "$i" | $grep $opt "$pat" | sed "s|^|${j}:|"
|
/external/ltp/testcases/network/tcp_cmds/ping/ |
ping02.sh | 34 local pat="000102030405060708090a0b0c0d0e0f" 36 tst_resm TINFO "flood $PING: ICMP packets filled with pattern '$pat'" 40 EXPECT_PASS $PING -c $COUNT -f -s $psize $ipaddr -p "$pat" \>/dev/null
|
/external/curl/src/ |
tool_urlglob.c | 41 URLPattern *pat = &glob->pattern[glob->size]; local 42 pat->type = UPTSet; 43 pat->content.Set.size = 1; 44 pat->content.Set.ptr_s = 0; 45 pat->globindex = -1; 47 pat->content.Set.elements = malloc(sizeof(char *)); 49 if(!pat->content.Set.elements) 52 pat->content.Set.elements[0] = malloc(len+1); 53 if(!pat->content.Set.elements[0]) 56 memcpy(pat->content.Set.elements[0], fixed, len) 82 URLPattern *pat; local 179 URLPattern *pat; local 501 URLPattern *pat; local 620 URLPattern *pat =NULL; local [all...] |
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/ |
put1.pass.cpp | 48 std::string pat("Today is %A which is abbreviated %a."); 50 pat.data(), pat.data() + pat.size()); 55 std::string pat("The number of the month is %Om."); 57 pat.data(), pat.data() + pat.size());
|
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put.byname/ |
put1.pass.cpp | 63 std::string pat("Today is %A which is abbreviated %a."); 65 pat.data(), pat.data() + pat.size()); 71 std::string pat("Today is %A which is abbreviated %a."); 73 pat.data(), pat.data() + pat.size());
|
/external/libcxx/test/std/re/re.regex/re.regex.construct/ |
bad_backref.pass.cpp | 22 static bool error_badbackref_thrown(const char *pat) 26 std::regex re(pat);
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/ |
put1.pass.cpp | 48 std::string pat("Today is %A which is abbreviated %a."); 50 pat.data(), pat.data() + pat.size()); 55 std::string pat("The number of the month is %Om."); 57 pat.data(), pat.data() + pat.size());
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.time/locale.time.put.byname/ |
put1.pass.cpp | 57 std::string pat("Today is %A which is abbreviated %a."); 59 pat.data(), pat.data() + pat.size()); 65 std::string pat("Today is %A which is abbreviated %a."); 67 pat.data(), pat.data() + pat.size());
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/ |
put1.pass.cpp | 48 std::string pat("Today is %A which is abbreviated %a."); 50 pat.data(), pat.data() + pat.size()); 55 std::string pat("The number of the month is %Om."); 57 pat.data(), pat.data() + pat.size());
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/localization/locale.categories/category.time/locale.time.put.byname/ |
put1.pass.cpp | 63 std::string pat("Today is %A which is abbreviated %a."); 65 pat.data(), pat.data() + pat.size()); 71 std::string pat("Today is %A which is abbreviated %a."); 73 pat.data(), pat.data() + pat.size());
|
/external/ltp/testcases/kernel/fs/doio/ |
pattern.c | 40 int pattern_check(char *buf, int buflen, char *pat, int patlen, int patshift) 60 return (memcmp(cp, pat + patshift, nleft) ? -1 : 0); 62 if (memcmp(cp, pat + patshift, nb)) 72 return (memcmp(cp, pat, nleft) ? -1 : 0); 74 if (memcmp(cp, pat, nb)) 101 int pattern_fill(char *buf, int buflen, char *pat, int patlen, int patshift) 121 memcpy(cp, pat + patshift, nleft); 124 memcpy(cp, pat + patshift, trans); 132 memcpy(cp, pat, nleft); 135 memcpy(cp, pat, trans) [all...] |
/external/icu/icu4c/source/common/ |
uset_props.cpp | 36 UnicodeString pat(patternLength==-1, pattern, patternLength); 37 UnicodeSet* set = new UnicodeSet(pat, *ec); 56 UnicodeString pat(patternLength==-1, pattern, patternLength); 57 UnicodeSet* set = new UnicodeSet(pat, options, NULL, *ec); 92 UnicodeString pat(pattern, patternLength); 96 ((UnicodeSet*) set)->applyPattern(pat, pos, options, NULL, *status); 123 UnicodeString pat(pattern, patternLength); 125 return ((pos+1) < pat.length() && 126 pat.charAt(pos) == (UChar)91/*[*/) || 127 UnicodeSet::resemblesPattern(pat, pos) 135 UnicodeString pat; local [all...] |