/external/chromium/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/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...] |
/libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
PatternTest.java | 121 Pattern pat = Pattern.compile("x"); local 122 s = pat.split("zxx:zzz:zxx", 10); 124 s = pat.split("zxx:zzz:zxx", 3); 126 s = pat.split("zxx:zzz:zxx", -1); 128 s = pat.split("zxx:zzz:zxx", 0); 132 pat = Pattern.compile("b"); 133 s = pat.split("abccbadfebb", -1); 135 s = pat.split("", -1); 137 pat = Pattern.compile(""); 138 s = pat.split("", -1) 195 Pattern pat = Pattern.compile("b"); local 277 Pattern pat; local 530 Pattern pat = Pattern.compile(pattern); local 539 Pattern pat = Pattern.compile(pattern); local 611 java.util.regex.Pattern pat = java.util.regex.Pattern.compile(pattern); local 707 Pattern pat; local 750 String pat = pos_patterns[i++]; local 775 Pattern pat = Pattern.compile("\\\\Q{]()*?"); local 813 Pattern pat = Pattern.compile("\\\\d+*"); local 891 Pattern pat = Pattern.compile(".*\\n"); local 905 Pattern pat = Pattern.compile(".*A"); local 919 Pattern pat = Pattern.compile(".*A"); local 933 Pattern pat = Pattern.compile("A.*"); local 947 Pattern pat = Pattern.compile(".*A.*"); local 965 Pattern pat = Pattern.compile(".*"); local 989 Pattern pat = Pattern.compile("(\\\\((\\\\w*):(.*):(\\\\2)\\\\))"); local 1020 Pattern pat = Pattern.compile("(^$)*\\n", Pattern.MULTILINE); local 1044 Pattern pat = Pattern.compile(".*aaa", Pattern.DOTALL); local 1064 Pattern pat = Pattern.compile("a*bc"); local 1091 Pattern pat = Pattern.compile("$*", Pattern.MULTILINE); local 1142 Pattern pat = Pattern.compile("(?i)b*(?-i)a*"); local 1216 Pattern pat = Pattern.compile("ab(a)*\\\\1"); local 1248 Pattern pat = Pattern.compile("a\\u0000\\u0000cd"); local 1269 Pattern pat = Pattern.compile(baseString); local 1419 Pattern pat = Pattern.compile("ab(?>)cda"); local 1452 Pattern pat = Pattern.compile("(?:)"); local 1481 Pattern pat = Pattern.compile(baseString); local 1520 Pattern pat = Pattern.compile("|(?i-xi)|()"); local 1545 Pattern pat = Pattern.compile(baseString); local 1899 Pattern pat = Pattern.compile(patString); local 1979 Pattern pat = Pattern.compile(patString); local 2035 Pattern pat = Pattern.compile(patString); local 2156 Pattern pat = Pattern.compile(patString); local 2278 Pattern pat = Pattern.compile(patString); local 2304 Pattern pat = Pattern.compile(patString); local 2346 Pattern pat = Pattern.compile(patString); local 2388 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/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/chromium/third_party/icu/source/test/intltest/ |
dcfmapts.cpp | 74 DecimalFormat pat(pattern, status); 99 DecimalFormat copy(pat); 105 if( ! (copy == pat) || copy != pat) { 135 res2 = pat.format(l, res2, pos2); 161 pat.applyPattern(patt, status); 165 pat.parse(text, result1, pos); 172 pat.parse(text, result2, status); 185 const DecimalFormatSymbols *syms = pat.getDecimalFormatSymbols(); 189 if( *(pat.getDecimalFormatSymbols()) != *(def.getDecimalFormatSymbols())) [all...] |
regextst.h | 37 virtual UBool doRegexLMTest(const char *pat, const char *text, UBool looking, UBool match, int32_t line); 38 virtual void regex_find(const UnicodeString &pat, const UnicodeString &flags, 40 virtual void regex_err(const char *pat, int32_t errline, int32_t errcol,
|
numfmtst.h | 189 void expectPad(DecimalFormat& fmt, const UnicodeString& pat, 192 void expectPad(DecimalFormat& fmt, const char *pat, 194 expectPad(fmt, UnicodeString(pat, ""), pos, width, pad); 197 void expectPad(DecimalFormat& fmt, const UnicodeString& pat, 200 void expectPad(DecimalFormat& fmt, const char *pat, 202 expectPad(fmt, UnicodeString(pat, ""), pos, width, pad); 211 void expectPad(DecimalFormat& fmt, const UnicodeString& pat, 214 void expectPad(DecimalFormat& fmt, const char *pat, 216 expectPad(fmt, pat, pos, 0, (UChar)0);
|
sdtfmtts.cpp | 65 SimpleDateFormat pat(pattern, status); 114 SimpleDateFormat copy(pat); 120 if( ! (copy == pat) || copy != pat) { 176 const DateFormatSymbols *syms = pat.getDateFormatSymbols(); 187 if( *(pat.getDateFormatSymbols()) != *(def.getDateFormatSymbols())) { 192 UDate startDate = pat.get2DigitYearStart(status); 217 pat.applyPattern(p1); 220 s2 = pat.toPattern(s2); 228 pat.applyLocalizedPattern(p1, status) [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 | 47 virtual UBool doRegexLMTest(const char *pat, const char *text, UBool looking, UBool match, int32_t line); 48 virtual UBool doRegexLMTestUTF8(const char *pat, const char *text, UBool looking, UBool match, int32_t line); 49 virtual void regex_find(const UnicodeString &pat, const UnicodeString &flags, 51 virtual void regex_err(const char *pat, int32_t errline, int32_t errcol,
|
sdtfmtts.cpp | 65 SimpleDateFormat pat(pattern, status); 114 SimpleDateFormat copy(pat); 120 if( ! (copy == pat) || copy != pat) { 176 const DateFormatSymbols *syms = pat.getDateFormatSymbols(); 187 if( *(pat.getDateFormatSymbols()) != *(def.getDateFormatSymbols())) { 192 UDate startDate = pat.get2DigitYearStart(status); 217 pat.applyPattern(p1); 220 s2 = pat.toPattern(s2); 228 pat.applyLocalizedPattern(p1, status) [all...] |
/external/chromium/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/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...] |
/libcore/luni/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/third_party/icu/source/test/cintltst/ |
cdtdptst.h | 53 void tryPat994(UDateFormat* format, const char* pat, const char* s, UDate expected);
|
/external/icu4c/test/cintltst/ |
cdtdptst.h | 53 void tryPat994(UDateFormat* format, const char* pat, const char* s, UDate expected);
|
/external/webkit/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/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...] |
/libcore/luni/src/test/java/libcore/java/util/regex/ |
OldMatcherTest.java | 50 Pattern pat = Pattern.compile("XX"); local 51 Matcher m = pat.matcher("Today is XX-XX-XX ..."); 60 pat = Pattern.compile("cat"); 61 m = pat.matcher("one-cat-two-cats-in-the-yard"); 95 Pattern pat = Pattern.compile(testPattern); local 96 Matcher mat = pat.matcher(testString1); 159 Pattern pat = Pattern.compile(testPattern); local 160 Matcher mat = pat.matcher(testString); 180 Pattern pat = Pattern.compile(testPattern); local 181 Matcher mat = pat.matcher(testString) 208 Pattern pat = Pattern.compile(testPattern); local 236 Pattern pat = Pattern.compile(testPattern); local 268 Pattern pat = Pattern.compile(testPattern); local 302 Pattern pat = Pattern.compile(testPattern); local 325 Pattern pat = Pattern.compile(testPattern); local 378 Pattern pat = Pattern.compile("^a\\\\(bb\\\\[$"); local 397 Pattern pat = Pattern.compile(testPattern); local 426 Pattern pat = Pattern.compile(testPattern); local 505 Pattern pat = Pattern. local 630 Pattern pat = Pattern.compile(testPattern); local 653 Pattern pat = Pattern.compile(testPattern); local 676 Pattern pat = Pattern.compile(testPattern); local 705 Pattern pat = Pattern.compile(testPattern1); local 729 Pattern pat = Pattern.compile(testPattern); local 754 Pattern pat = Pattern.compile(testPattern); local 790 Pattern pat = Pattern.compile(testPattern); local 812 Pattern pat = Pattern.compile(testPattern); local [all...] |