/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 | 66 String pat = ",##0.0000"; local 67 DecimalFormat dec = new DecimalFormat(pat); 72 errln("Fail: " + number + " x \"" + pat + "\" = \"" + 76 pat = ",##0.0001"; 77 dec = new DecimalFormat(pat); 81 errln("Fail: " + number + " x \"" + pat + "\" = \"" + 86 pat = ",##0.00000000000000000001"; 87 dec = new DecimalFormat(pat); 94 errln("Fail: " + bignumber + " x \"" + pat + "\" = \"" + 117 DecimalFormat pat = null local 339 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 | 63 String pat = ",##0.0000"; local 64 DecimalFormat dec = new DecimalFormat(pat); 69 errln("Fail: " + number + " x \"" + pat + "\" = \"" + 73 pat = ",##0.0001"; 74 dec = new DecimalFormat(pat); 78 errln("Fail: " + number + " x \"" + pat + "\" = \"" + 83 pat = ",##0.00000000000000000001"; 84 dec = new DecimalFormat(pat); 91 errln("Fail: " + bignumber + " x \"" + pat + "\" = \"" + 114 DecimalFormat pat = null local 336 DecimalFormat pat = new DecimalFormat("#,##0.00"); local [all...] |
/external/python/cpython3/Lib/ |
fnmatch.py | 19 def fnmatch(name, pat): 35 pat = os.path.normcase(pat) 36 return fnmatchcase(name, pat) 39 def _compile_pattern(pat): 40 if isinstance(pat, bytes): 41 pat_str = str(pat, 'ISO-8859-1') 45 res = translate(pat) 48 def filter(names, pat): 49 """Return the subset of the list NAMES that match PAT."" [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...] |
/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/curl/src/ |
tool_urlglob.c | 39 URLPattern *pat = &glob->pattern[glob->size]; local 40 pat->type = UPTSet; 41 pat->content.Set.size = 1; 42 pat->content.Set.ptr_s = 0; 43 pat->globindex = -1; 45 pat->content.Set.elements = malloc(sizeof(char *)); 47 if(!pat->content.Set.elements) 50 pat->content.Set.elements[0] = malloc(len + 1); 51 if(!pat->content.Set.elements[0]) 54 memcpy(pat->content.Set.elements[0], fixed, len) 84 URLPattern *pat; local 181 URLPattern *pat; local 508 URLPattern *pat; local 626 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 | 66 std::string pat("Today is %A which is abbreviated %a."); 68 pat.data(), pat.data() + pat.size()); 74 std::string pat("Today is %A which is abbreviated %a."); 76 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);
|
bad_ctype.pass.cpp | 22 static bool error_ctype_thrown(const char *pat) 26 std::regex re(pat);
|
bad_escape.pass.cpp | 22 static bool error_escape_thrown(const char *pat) 26 std::regex re(pat);
|
bad_repeat.pass.cpp | 22 static bool error_badrepeat_thrown(const char *pat) 26 std::regex re(pat);
|
/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...] |
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/ |
AternativeApproach.java | 46 Pattern pat = cr2.getPattern(); local 47 Matcher m = pat.matcher(s); 62 Pattern pat = Pattern.compile("(Log)"); local 64 Matcher m = pat.matcher(s); 70 m = pat.matcher(s1); 76 m = pat.matcher(s2); 80 m = pat.matcher(s3); 90 Pattern pat = Pattern.compile("LogFactory.getFactory\\(\\).getInstance\\("); local 92 Matcher m = pat.matcher(s); 98 pat.matcher(nonMatching) 107 Pattern pat = Pattern.compile("(\\\\sLog\\\\b)"); local 141 Pattern pat = Pattern.compile("(\\\\sLog\\\\b)"); local [all...] |
/external/python/cpython2/Lib/idlelib/idle_test/ |
test_grep.py | 51 def report(self, pat): 52 grep.engine._pat = pat 54 grep.grep_it(re.compile(pat), __file__) 60 pat = 'xyz*'*7 61 lines = self.report(pat) 63 self.assertIn(pat, lines[0]) 68 pat = '""" !Changing this line will break Test_findfile.test_found!' 69 lines = self.report(pat) 71 self.assertIn(pat, lines[0])
|
/external/python/cpython3/Lib/idlelib/idle_test/ |
test_grep.py | 53 def report(self, pat): 54 grep.engine._pat = pat 56 grep.grep_it(re.compile(pat), __file__) 62 pat = 'xyz*'*7 63 lines = self.report(pat) 65 self.assertIn(pat, lines[0]) 70 pat = '""" !Changing this line will break Test_findfile.test_found!' 71 lines = self.report(pat) 73 self.assertIn(pat, lines[0])
|
/external/ltp/testcases/network/tcp_cmds/ping/ |
ping02.sh | 35 local pat="000102030405060708090a0b0c0d0e0f" 37 tst_resm TINFO "flood $PING: ICMP packets filled with pattern '$pat'" 41 EXPECT_PASS $PING -c $COUNT -f -s $psize $ipaddr -p "$pat" \>/dev/null
|
/external/apache-xml/src/main/java/org/apache/xpath/compiler/ |
Lexer.java | 92 * @param pat XSLT Expression. 96 void tokenize(String pat) throws javax.xml.transform.TransformerException 98 tokenize(pat, null); 104 * @param pat XSLT Expression. 109 void tokenize(String pat, Vector targetStrings) 113 m_compiler.m_currentPattern = pat; 120 int initTokQueueSize = ((pat.length() < OpMap.MAXTOKENQUEUESIZE) 121 ? pat.length() : OpMap.MAXTOKENQUEUESIZE) * 5; 126 int nChars = pat.length(); 137 // char[] chars = pat.toCharArray() [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cdtdptst.h | 56 void tryPat994(UDateFormat* format, const char* pat, const char* s, UDate expected);
|