/external/chromium_org/third_party/icu/source/test/testdata/ |
NumberFormatTestCases.txt | 17 pat: - "#0.####" 19 pat: - "#0.####" 22 pat: - "#0" 28 pat: - - 30 pat: - "#,@@@" 33 pat: - - 39 pat: - - 44 pat: - - 49 pat: - - 54 pat: - [all...] |
/external/icu/icu4c/source/test/testdata/ |
NumberFormatTestCases.txt | 17 pat: - "#0.####" 19 pat: - "#0.####" 22 pat: - "#0" 28 pat: - - 30 pat: - "#,@@@" 33 pat: - - 39 pat: - - 44 pat: - - 49 pat: - - 54 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 [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
string.c | 188 static bool __match_charclass(const char *pat, char c, const char **npat) 192 if (*pat == '!') { 194 pat++; 196 if (*pat++ == c) /* First character is special */ 199 while (*pat && *pat != ']') { /* Matching */ 200 if (*pat == '-' && *(pat + 1) != ']') { /* Range */ 201 if (*(pat - 1) <= c && c <= *(pat + 1) [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/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 abreviated %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/localization/locale.categories/category.time/locale.time.put.byname/ |
put1.pass.cpp | 57 std::string pat("Today is %A which is abreviated %a."); 59 pat.data(), pat.data() + pat.size()); 65 std::string pat("Today is %A which is abreviated %a."); 67 pat.data(), pat.data() + pat.size());
|
/ndk/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());
|
/ndk/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());
|
/external/chromium_org/third_party/icu/source/common/ |
uset_props.cpp | 34 UnicodeString pat(patternLength==-1, pattern, patternLength); 35 UnicodeSet* set = new UnicodeSet(pat, *ec); 54 UnicodeString pat(patternLength==-1, pattern, patternLength); 55 UnicodeSet* set = new UnicodeSet(pat, options, NULL, *ec); 90 UnicodeString pat(pattern, patternLength); 94 ((UnicodeSet*) set)->applyPattern(pat, pos, options, NULL, *status); 121 UnicodeString pat(pattern, patternLength); 123 return ((pos+1) < pat.length() && 124 pat.charAt(pos) == (UChar)91/*[*/) || 125 UnicodeSet::resemblesPattern(pat, pos) 133 UnicodeString pat; local [all...] |
/external/icu/icu4c/source/common/ |
uset_props.cpp | 34 UnicodeString pat(patternLength==-1, pattern, patternLength); 35 UnicodeSet* set = new UnicodeSet(pat, *ec); 54 UnicodeString pat(patternLength==-1, pattern, patternLength); 55 UnicodeSet* set = new UnicodeSet(pat, options, NULL, *ec); 90 UnicodeString pat(pattern, patternLength); 94 ((UnicodeSet*) set)->applyPattern(pat, pos, options, NULL, *status); 121 UnicodeString pat(pattern, patternLength); 123 return ((pos+1) < pat.length() && 124 pat.charAt(pos) == (UChar)91/*[*/) || 125 UnicodeSet::resemblesPattern(pat, pos) 133 UnicodeString pat; local [all...] |
/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/chromium_org/third_party/icu/source/test/cintltst/ |
cdtdptst.h | 53 void tryPat994(UDateFormat* format, const char* pat, const char* s, UDate expected);
|
/external/icu/icu4c/source/test/cintltst/ |
cdtdptst.h | 53 void tryPat994(UDateFormat* format, const char* pat, const char* s, UDate expected);
|
/external/libcxx/test/re/re.regex/re.regex.construct/ |
bad_escape.pass.cpp | 20 static bool error_escape_thrown(const char *pat) 24 std::regex re(pat);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.construct/ |
bad_escape.pass.cpp | 20 static bool error_escape_thrown(const char *pat) 24 std::regex re(pat);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
SearchEngine.py | 30 def setpat(self, pat): 31 self.patvar.set(pat) 51 pat = self.getpat() 53 pat = re.escape(pat) 55 pat = r"\b%s\b" % pat 56 return pat 59 pat = self.getpat() 60 if not pat [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
SearchEngine.py | 30 def setpat(self, pat): 31 self.patvar.set(pat) 51 pat = self.getpat() 53 pat = re.escape(pat) 55 pat = r"\b%s\b" % pat 56 return pat 59 pat = self.getpat() 60 if not pat [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
MatcherTest.java | 79 Pattern pat = Pattern.compile("XX"); local 80 Matcher m = pat.matcher("Today is XX-XX-XX ..."); 105 Pattern pat = Pattern.compile(pattern); local 106 Matcher mat = pat.matcher(input); 140 Pattern pat = Pattern.compile(pattern); local 141 Matcher mat = pat.matcher(input); 231 Pattern pat = Pattern.compile("((a)|(b))++c"); local 232 Matcher mat = pat.matcher("aac"); 257 Pattern pat = Pattern.compile(testPatterns[i]); local 259 Matcher mat = pat.matcher(posSeq[i][j]) 280 Pattern pat = Pattern.compile(testPatternsSingles[i]); local 292 Pattern pat = Pattern.compile(testPatternsMultiple[i]); local 310 Pattern pat = Pattern.compile(patternString); local 328 Pattern pat = Pattern.compile(testPattern); local 355 Pattern pat = Pattern.compile("^a\\\\(bb\\\\[$"); local 372 Pattern pat = Pattern.compile("(ab*)*b"); local 385 Pattern pat = Pattern.compile(pattern); local 436 Pattern pat; local 450 Pattern pat; local 464 Pattern pat = Pattern.compile("(aa|bb)*", Pattern.CASE_INSENSITIVE); local 492 Pattern pat = Pattern.compile("(1+)\\\\1*"); local 548 Pattern pat = Pattern.compile(""); local [all...] |
/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...] |
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
fastgrep.c | 58 fgrepcomp(fastgrep_t *fg, const char *pat) 63 fg->len = strlen(pat); 68 fg->pattern = (unsigned char *)grep_strdup(pat); 81 fastcomp(fastgrep_t *fg, const char *pat) 91 fg->len = strlen(pat); 98 if (fg->len > 0 && pat[fg->len - 1] == '$') { 104 if (pat[0] == '^') { 107 pat++; 111 memcmp(pat, "[[:<:]]", 7) == 0 && 112 memcmp(pat + fg->len - 7, "[[:>:]]", 7) == 0) [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
regextst.h | 54 virtual UBool doRegexLMTest(const char *pat, const char *text, UBool looking, UBool match, int32_t line); 55 virtual UBool doRegexLMTestUTF8(const char *pat, const char *text, UBool looking, UBool match, int32_t line); 56 virtual void regex_find(const UnicodeString &pat, const UnicodeString &flags, 58 virtual void regex_err(const char *pat, int32_t errline, int32_t errcol,
|
/external/icu/icu4c/source/test/intltest/ |
regextst.h | 55 virtual UBool doRegexLMTest(const char *pat, const char *text, UBool looking, UBool match, int32_t line); 56 virtual UBool doRegexLMTestUTF8(const char *pat, const char *text, UBool looking, UBool match, int32_t line); 57 virtual void regex_find(const UnicodeString &pat, const UnicodeString &flags, 59 virtual void regex_err(const char *pat, int32_t errline, int32_t errcol,
|