HomeSort by relevance Sort by last modified time
    Searched refs:pat (Results 1 - 25 of 158) sorted by null

1 2 3 4 5 6 7

  /external/icu4c/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/linux-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/hyphenation/
substrings.pl 26 $pat =~ s/%.*$//g;
31 $pat = $1;
35 $pat =~ s/\d//g;
36 if ($origpat eq $pat) {
40 push @patlist, $pat;
41 $pattab{$pat} = $origpat;
42 $repltab{$pat} = $repl;
43 $replbeg{$pat} = $beg - 1;
44 $repllen{$pat} = $len;
47 $pat = $1
    [all...]
substrings.c 25 const char *pat
30 int v = strcmp(pat,tab[mid]);
123 const char *pat,
130 char c = pat[i];
194 char *pat = (char*) malloc(l+1); local
197 // remove hyphenation encoders (digits) from pat
201 if (c<'0' || c>'9') pat[j++]=c;
203 pat[j]=0;
205 pattab_key[patterns] = pat;
215 char *pat = pattab_key[p]; local
    [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
503 java.util.regex.Pattern pat = java.util.regex.Pattern.compile(pattern); local
575 Pattern pat; local
612 String pat = pos_patterns[i++]; local
625 Pattern pat = Pattern.compile("\\\\Q{]()*?"); local
645 Pattern pat = Pattern.compile("\\\\d+*"); local
695 Pattern pat = Pattern.compile(".*\\n"); local
703 Pattern pat = Pattern.compile(".*A"); local
711 Pattern pat = Pattern.compile(".*A"); local
719 Pattern pat = Pattern.compile("A.*"); local
727 Pattern pat = Pattern.compile(".*A.*"); local
739 Pattern pat = Pattern.compile(".*"); local
749 Pattern pat = Pattern.compile("(\\\\((\\\\w*):(.*):(\\\\2)\\\\))"); local
766 Pattern pat = Pattern.compile("(^$)*\\n", Pattern.MULTILINE); local
776 Pattern pat = Pattern.compile(".*aaa", Pattern.DOTALL); local
783 Pattern pat = Pattern.compile("a*bc"); local
796 Pattern pat = Pattern.compile("$*", Pattern.MULTILINE); local
821 Pattern pat = Pattern.compile("(?i)b*(?-i)a*"); local
889 Pattern pat = Pattern.compile("ab(a)*\\\\1"); local
907 Pattern pat = Pattern.compile("a\\u0000\\u0000cd"); local
914 Pattern pat = Pattern.compile(baseString); local
1010 Pattern pat = Pattern.compile("ab(?>)cda"); local
1029 Pattern pat = Pattern.compile("(?:)"); local
1044 Pattern pat = Pattern.compile(baseString); local
1077 Pattern pat = Pattern.compile("|(?i-xi)|()"); local
1088 Pattern pat = Pattern.compile(baseString); local
1422 Pattern pat = Pattern.compile(patString); local
1488 Pattern pat = Pattern.compile(patString); local
1526 Pattern pat = Pattern.compile(patString); local
1627 Pattern pat = Pattern.compile(patString); local
1707 Pattern pat = Pattern.compile(patString); local
1719 Pattern pat = Pattern.compile(patString); local
1741 Pattern pat = Pattern.compile(patString); local
1763 Pattern pat = Pattern.compile(""); local
    [all...]
  /external/apache-harmony/regex/src/test/java/org/apache/harmony/tests/java/util/regex/
PatternTest.java 68 Pattern pat = Pattern.compile("x"); local
69 s = pat.split("zxx:zzz:zxx", 10);
71 s = pat.split("zxx:zzz:zxx", 3);
73 s = pat.split("zxx:zzz:zxx", -1);
75 s = pat.split("zxx:zzz:zxx", 0);
79 pat = Pattern.compile("b");
80 s = pat.split("abccbadfebb", -1);
82 s = pat.split("", -1);
84 pat = Pattern.compile("");
85 s = pat.split("", -1)
136 Pattern pat = Pattern.compile("b"); local
159 Pattern pat; local
281 Pattern pat; local
401 java.util.regex.Pattern pat = java.util.regex.Pattern.compile(pattern); local
492 String pat = pos_patterns[i++]; local
504 Pattern pat = Pattern.compile("\\\\Q{]()*?"); local
584 Pattern pat = Pattern.compile(".*\\n"); local
593 Pattern pat = Pattern.compile(".*A"); local
602 Pattern pat = Pattern.compile(".*A"); local
611 Pattern pat = Pattern.compile("A.*"); local
620 Pattern pat = Pattern.compile(".*A.*"); local
632 Pattern pat = Pattern.compile(".*"); local
642 Pattern pat = Pattern.compile(".*"); local
653 Pattern pat = Pattern.compile("(\\\\((\\\\w*):(.*):(\\\\2)\\\\))"); local
671 Pattern pat = Pattern.compile("(\\\\((\\\\w*):(.*):(\\\\2)\\\\))"); local
686 Pattern pat = Pattern.compile("(^$)*\\n", Pattern.MULTILINE); local
696 Pattern pat = Pattern.compile(".*aaa", Pattern.DOTALL); local
703 Pattern pat = Pattern.compile("a*bc"); local
716 Pattern pat = Pattern.compile("$*", Pattern.MULTILINE); local
740 Pattern pat = Pattern.compile("(?i)b*(?-i)a*"); local
823 Pattern pat = Pattern.compile("a\\u0000\\u0000cd"); local
830 Pattern pat = Pattern.compile(baseString); local
926 Pattern pat = Pattern.compile("ab(?>)cda"); local
960 Pattern pat = Pattern.compile(baseString); local
996 Pattern pat = Pattern.compile(baseString); local
1066 Pattern pat; local
1256 Pattern pat; local
1291 Pattern pat = Pattern.compile(patString, Pattern.CANON_EQ); local
1332 Pattern pat = Pattern.compile(patString); local
1398 Pattern pat = Pattern.compile(patString); local
1432 Pattern pat = Pattern.compile(patString); local
1534 Pattern pat = Pattern.compile(patString); local
1570 Pattern pat = Pattern.compile(patString); local
1582 Pattern pat = Pattern.compile(patString); local
1604 Pattern pat = Pattern.compile(patString); local
    [all...]
MatcherTest.java 80 Pattern pat = Pattern.compile("XX"); local
81 Matcher m = pat.matcher("Today is XX-XX-XX ...");
106 Pattern pat = Pattern.compile(pattern); local
107 Matcher mat = pat.matcher(input);
144 Pattern pat = Pattern.compile(pattern); local
145 Matcher mat = pat.matcher(input);
241 Pattern pat = Pattern.compile("((a)|(b))++c"); local
242 Matcher mat = pat.matcher("aac");
285 Pattern pat = Pattern.compile(testPatterns[i]); local
287 Matcher mat = pat.matcher(posSeq[i][j])
308 Pattern pat = Pattern.compile(testPatternsSingles[i]); local
320 Pattern pat = Pattern.compile(testPatternsMultiple[i]); local
338 Pattern pat = Pattern.compile(patternString); local
359 Pattern pat = Pattern.compile(testPattern); local
386 Pattern pat = Pattern.compile("^a\\\\(bb\\\\[$"); local
409 Pattern pat = Pattern.compile("(ab*)*b"); local
422 Pattern pat = Pattern.compile(pattern); local
473 Pattern pat; local
487 Pattern pat; local
501 Pattern pat = Pattern.compile("(aa|bb)*", Pattern.CASE_INSENSITIVE); local
529 Pattern pat = Pattern.compile("(1+)\\\\1*"); local
585 Pattern pat = Pattern.compile(""); local
    [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/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Expressions/
instanceof-002.js 73 var pat = new Engineer()
76 "pat.__proto__ == Engineer.prototype",
78 pat.__proto__ == Engineer.prototype );
81 "pat.__proto__.__proto__ == WorkerBee.prototype",
83 pat.__proto__.__proto__ == WorkerBee.prototype );
86 "pat.__proto__.__proto__.__proto__ == Employee.prototype",
88 pat.__proto__.__proto__.__proto__ == Employee.prototype );
91 "pat.__proto__.__proto__.__proto__.__proto__ == Object.prototype",
93 pat.__proto__.__proto__.__proto__.__proto__ == Object.prototype );
96 "pat.__proto__.__proto__.__proto__.__proto__.__proto__ == null"
    [all...]
  /external/icu4c/test/intltest/
dcfmapts.cpp 81 DecimalFormat pat(pattern, status);
106 DecimalFormat copy(pat);
112 if( ! (copy == pat) || copy != pat) {
142 res2 = pat.format(l, res2, pos2);
168 pat.applyPattern(patt, status);
172 pat.parse(text, result1, pos);
179 pat.parse(text, result2, status);
192 const DecimalFormatSymbols *syms = pat.getDecimalFormatSymbols();
196 if( *(pat.getDecimalFormatSymbols()) != *(def.getDecimalFormatSymbols()))
    [all...]
regextst.h 53 virtual UBool doRegexLMTest(const char *pat, const char *text, UBool looking, UBool match, int32_t line);
54 virtual UBool doRegexLMTestUTF8(const char *pat, const char *text, UBool looking, UBool match, int32_t line);
55 virtual void regex_find(const UnicodeString &pat, const UnicodeString &flags,
57 virtual void regex_err(const char *pat, int32_t errline, int32_t errcol,
sdtfmtts.cpp 65 SimpleDateFormat pat(pattern, status);
116 SimpleDateFormat copy(pat);
122 if( ! (copy == pat) || copy != pat) {
178 const DateFormatSymbols *syms = pat.getDateFormatSymbols();
189 if( *(pat.getDateFormatSymbols()) != *(def.getDateFormatSymbols())) {
194 UDate startDate = pat.get2DigitYearStart(status);
219 pat.applyPattern(p1);
222 s2 = pat.toPattern(s2);
230 pat.applyLocalizedPattern(p1, status)
    [all...]
  /external/icu4c/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/icu4c/test/cintltst/
cdtdptst.h 53 void tryPat994(UDateFormat* format, const char* pat, const char* s, UDate expected);
  /external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/inherit/
proto_10.js 100 var pat = new Engineer()
103 "pat.__proto__ == Engineer.prototype",
105 pat.__proto__ == Engineer.prototype );
108 "pat.__proto__.__proto__ == WorkerBee.prototype",
110 pat.__proto__.__proto__ == WorkerBee.prototype );
113 "pat.__proto__.__proto__.__proto__ == Employee.prototype",
115 pat.__proto__.__proto__.__proto__ == Employee.prototype );
118 "pat.__proto__.__proto__.__proto__.__proto__ == Object.prototype",
120 pat.__proto__.__proto__.__proto__.__proto__ == Object.prototype );
123 "pat.__proto__.__proto__.__proto__.__proto__.__proto__ == null"
    [all...]
proto_7.js 81 var pat = new Engineer( "Toonces, Pat",
88 // Pat, the Engineer
91 "pat.name",
92 "Toonces, Pat",
93 pat.name );
96 "pat.dept",
98 pat.dept );
101 "pat.projects.length",
103 pat.projects.length )
    [all...]
proto_8.js 79 var pat = new Engineer( "Toonces, Pat",
86 // Pat, the Engineer
89 "pat.name",
90 "Toonces, Pat",
91 pat.name );
94 "pat.dept",
96 pat.dept );
99 "pat.projects.length",
101 pat.projects.length )
    [all...]
proto_9.js 72 var pat = new WorkerBee()
79 // Pat, the WorkerBee
82 "pat.name",
84 pat.name );
87 "pat.dept",
89 pat.dept );
92 "pat.projects.getClass",
94 pat.projects.getClass() );
97 "pat.projects.length",
99 pat.projects.length )
    [all...]
proto_5.js 91 var pat = new Engineer( "indy" );
96 "var pat = new Engineer(\"indy\"); pat.name",
98 pat.name );
101 "pat.dept",
103 pat.dept );
106 "pat.projects.length",
108 pat.projects.length );
111 "pat.machine",
113 pat.machine )
    [all...]
proto_6.js 94 var pat = new Engineer( "Toonces, Pat",
105 // Pat, the Engineer
108 "pat.name",
109 "Toonces, Pat",
110 pat.name );
113 "pat.dept",
115 pat.dept );
118 "pat.projects.length",
120 pat.projects.length )
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/regex/
OldMatcherTest.java 29 Pattern pat = Pattern.compile("XX"); local
30 Matcher m = pat.matcher("Today is XX-XX-XX ...");
39 pat = Pattern.compile("cat");
40 m = pat.matcher("one-cat-two-cats-in-the-yard");
64 Pattern pat = Pattern.compile(testPattern); local
65 Matcher mat = pat.matcher(testString1);
112 Pattern pat = Pattern.compile(testPattern); local
113 Matcher mat = pat.matcher(testString);
123 Pattern pat = Pattern.compile(testPattern); local
124 Matcher mat = pat.matcher(testString)
141 Pattern pat = Pattern.compile(testPattern); local
159 Pattern pat = Pattern.compile(testPattern); local
181 Pattern pat = Pattern.compile(testPattern); local
205 Pattern pat = Pattern.compile(testPattern); local
218 Pattern pat = Pattern.compile(testPattern); local
283 Pattern pat = Pattern.compile("^a\\\\(bb\\\\[$"); local
292 Pattern pat = Pattern.compile(testPattern); local
311 Pattern pat = Pattern.compile(testPattern); local
373 Pattern pat = Pattern. local
464 Pattern pat = Pattern.compile(testPattern); local
477 Pattern pat = Pattern.compile(testPattern); local
490 Pattern pat = Pattern.compile(testPattern); local
509 Pattern pat = Pattern.compile(testPattern1); local
523 Pattern pat = Pattern.compile(testPattern); local
538 Pattern pat = Pattern.compile(testPattern); local
564 Pattern pat = Pattern.compile(testPattern); local
576 Pattern pat = Pattern.compile(testPattern); local
    [all...]
  /system/core/toolbox/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/apache-xml/src/main/java/org/apache/xpath/patterns/
StepPattern.java 792 for (StepPattern pat = this; pat != null; pat = pat.m_relativePathPattern)
794 if (pat != this)
797 buf.append(Axis.getNames(pat.m_axis));
800 if (0x000005000 == pat.m_whatToShow)
804 else if (DTMFilter.SHOW_BYFUNCTION == pat.m_whatToShow)
808 else if (DTMFilter.SHOW_ALL == pat.m_whatToShow)
812 else if (DTMFilter.SHOW_TEXT == pat.m_whatToShow
    [all...]
  /external/valgrind/main/include/
pub_tool_seqmatch.h 82 /* Mini-regexp function. Searches for 'pat' in 'str'. Supports
85 Bool VG_(string_match) ( const Char* pat, const Char* str );

Completed in 764 milliseconds

1 2 3 4 5 6 7