Home
last modified time | relevance | path

Searched refs:pat (Results 1 – 25 of 251) sorted by relevance

1234567891011

/external/icu/icu4j/perf-tests/
Ducharacterperf_r.pl37 my $pat = '0 ffff';
40 …"Digit ($pat)", ["$jvm1 Digit $pat" , "$jvm2 Digit $pat" …
41 …"GetNumericValue ($pat)", ["$jvm1 GetNumericValue $pat" , "$jvm2 GetNumericVa…
42 …"GetType ($pat)", ["$jvm1 GetType $pat" , "$jvm2 GetType $pat
43 …"IsDefined ($pat)", ["$jvm1 IsDefined $pat" , "$jvm2 IsDefined $p…
44 …"IsDigit ($pat)", ["$jvm1 IsDigit $pat" , "$jvm2 IsDigit $pat
45 …"IsIdentifierIgnorable ($pat)", ["$jvm1 IsIdentifierIgnorable $pat" , "$jvm2 IsIdentifier…
46 …"IsISOControl ($pat)", ["$jvm1 IsISOControl $pat" , "$jvm2 IsISOControl…
47 …"IsLetter ($pat)", ["$jvm1 IsLetter $pat" , "$jvm2 IsLetter $pa…
48 …"IsLetterOrDigit ($pat)", ["$jvm1 IsLetterOrDigit $pat" , "$jvm2 IsLetterOrDi…
[all …]
Ddecimalformatperf.pl98 for my $pat (@OPTIONS) {
99 print HTML "<TR><TD>@$pat[0], \"@$pat[1]\", \"@$pat[2]\"</TD>\n";
105 print "\n$testMethod [@$pat]\n";
106 my $t = measure2($testMethod, $pat, -$DURATION);
113 print "\n$baselineMethod [@$pat]\n";
114 my $b = measure2($baselineMethod, $pat, -$DURATION);
195 my $pat = shift;
198 out("<P>Measuring $method for input file @$pat[0] for encoding @$pat[2] , ");
210 my @t = callJava($method, $pat, -$CALIBRATE, 1);
229 my @t = callJava($method, $pat, $iterCount, $NUMPASSES);
[all …]
Ddateformatperf.pl103 for my $pat (@OPTIONS) {
104 print HTML "<TR><TD>@$pat[0], \"@$pat[1]\", \"@$pat[2]\"</TD>\n";
110 print "\n$testMethod [@$pat]\n";
111 my $t = measure2($testMethod, $pat, -$DURATION);
118 print "\n$baselineMethod [@$pat]\n";
119 my $b = measure2($baselineMethod, $pat, -$DURATION);
200 my $pat = shift;
203 out("<P>Measuring $method for input file @$pat[0] for encoding @$pat[2] , ");
215 my @t = callJava($method, $pat, -$CALIBRATE, 1);
234 my @t = callJava($method, $pat, $iterCount, $NUMPASSES);
[all …]
Dconverterperf.pl116 for my $pat (@OPTIONS) {
117 print HTML "<TR><TD>@$pat[0], @$pat[2]</TD>\n";
123 print "\n$testMethod [@$pat]\n";
124 my $t = measure2($testMethod, $pat, -$DURATION);
131 print "\n$baselineMethod [@$pat]\n";
132 my $b = measure2($baselineMethod, $pat, -$DURATION);
213 my $pat = shift;
216 out("<P>Measuring $method for input file @$pat[0] for encoding @$pat[2] , ");
228 my @t = callJava($method, $pat, -$CALIBRATE, 1);
247 my @t = callJava($method, $pat, $iterCount, $NUMPASSES);
[all …]
Dnormperf.pl152 for my $pat (@OPTIONS) {
153 print HTML "<TR><TD>@$pat[0], @$pat[2]</TD>\n";
159 print "\n$testMethod [@$pat]\n";
160 my $t = measure2($testMethod, $pat, -$DURATION);
167 print "\n$baselineMethod [@$pat]\n";
168 my $b = measure2($baselineMethod, $pat, -$DURATION);
249 my $pat = shift;
252 out("<P>Measuring $method for input file @$pat[0] in @$pat[2] , ");
264 my @t = callJava($method, $pat, -$CALIBRATE, 1);
283 my @t = callJava($method, $pat, $iterCount, $NUMPASSES);
[all …]
/external/curl/src/
Dtool_urlglob.c39 URLPattern *pat = &glob->pattern[glob->size]; in glob_fixed() local
40 pat->type = UPTSet; in glob_fixed()
41 pat->content.Set.size = 1; in glob_fixed()
42 pat->content.Set.ptr_s = 0; in glob_fixed()
43 pat->globindex = -1; in glob_fixed()
45 pat->content.Set.elements = malloc(sizeof(char*)); in glob_fixed()
47 if(!pat->content.Set.elements) in glob_fixed()
50 pat->content.Set.elements[0] = malloc(len+1); in glob_fixed()
51 if(!pat->content.Set.elements[0]) in glob_fixed()
54 memcpy(pat->content.Set.elements[0], fixed, len); in glob_fixed()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java62 String pat = ",##0.0000"; in testJB1871() local
63 DecimalFormat dec = new DecimalFormat(pat); in testJB1871()
69 errln("Fail: " + number + " x \"" + pat + "\" = \"" + in testJB1871()
73 pat = ",##0.0001"; in testJB1871()
74 dec = new DecimalFormat(pat); in testJB1871()
78 errln("Fail: " + number + " x \"" + pat + "\" = \"" + in testJB1871()
83 pat = ",##0.00000000000000000001"; in testJB1871()
84 dec = new DecimalFormat(pat); in testJB1871()
91 errln("Fail: " + bignumber + " x \"" + pat + "\" = \"" + in testJB1871()
113 DecimalFormat pat = null; in TestAPI() local
[all …]
DNumberFormatTestCases.txt17 pat: - "#0.####"
19 pat: - "#0.####"
22 pat: - "#0"
28 pat: - -
30 pat: - "#,@@@"
33 pat: - -
39 pat: - -
44 pat: - -
49 pat: - -
54 pat: - -
[all …]
DIntlTestDecimalFormatAPIC.java60 DecimalFormat pat = null; in TestAPI() local
62 pat = new DecimalFormat(pattern); in TestAPI()
113 res2 = pat.format(l, res2, pos2); in TestAPI()
129 pat.applyPattern(patt); in TestAPI()
130 double d2 = pat.parse(text, pos).doubleValue(); in TestAPI()
141 final DecimalFormatSymbols syms = pat.getDecimalFormatSymbols(); in TestAPI()
143 if (!pat.getDecimalFormatSymbols().equals(def.getDecimalFormatSymbols())) { in TestAPI()
148 pat.setPositivePrefix("+"); in TestAPI()
149 posPrefix = pat.getPositivePrefix(); in TestAPI()
156 pat.setNegativePrefix("-"); in TestAPI()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPI.java58 String pat = ",##0.0000"; in testJB1871() local
59 DecimalFormat dec = new DecimalFormat(pat); in testJB1871()
65 errln("Fail: " + number + " x \"" + pat + "\" = \"" + in testJB1871()
69 pat = ",##0.0001"; in testJB1871()
70 dec = new DecimalFormat(pat); in testJB1871()
74 errln("Fail: " + number + " x \"" + pat + "\" = \"" + in testJB1871()
79 pat = ",##0.00000000000000000001"; in testJB1871()
80 dec = new DecimalFormat(pat); in testJB1871()
87 errln("Fail: " + bignumber + " x \"" + pat + "\" = \"" + in testJB1871()
109 DecimalFormat pat = null; in TestAPI() local
[all …]
DNumberFormatTestCases.txt17 pat: - "#0.####"
19 pat: - "#0.####"
22 pat: - "#0"
28 pat: - -
30 pat: - "#,@@@"
33 pat: - -
39 pat: - -
44 pat: - -
49 pat: - -
54 pat: - -
[all …]
DIntlTestDecimalFormatAPIC.java56 DecimalFormat pat = null; in TestAPI() local
58 pat = new DecimalFormat(pattern); in TestAPI()
109 res2 = pat.format(l, res2, pos2); in TestAPI()
125 pat.applyPattern(patt); in TestAPI()
126 double d2 = pat.parse(text, pos).doubleValue(); in TestAPI()
137 final DecimalFormatSymbols syms = pat.getDecimalFormatSymbols(); in TestAPI()
139 if (!pat.getDecimalFormatSymbols().equals(def.getDecimalFormatSymbols())) { in TestAPI()
144 pat.setPositivePrefix("+"); in TestAPI()
145 posPrefix = pat.getPositivePrefix(); in TestAPI()
152 pat.setNegativePrefix("-"); in TestAPI()
[all …]
/external/icu/icu4c/source/test/testdata/
DNumberFormatTestCases.txt17 pat: - "#0.####"
19 pat: - "#0.####"
22 pat: - "#0"
28 pat: - -
30 pat: - "#,@@@"
33 pat: - -
39 pat: - -
44 pat: - -
49 pat: - -
54 pat: - -
[all …]
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/
DAternativeApproach.java46 Pattern pat = cr2.getPattern(); in test() local
47 Matcher m = pat.matcher(s); in test()
62 Pattern pat = Pattern.compile("(Log)"); in test2() local
64 Matcher m = pat.matcher(s); in test2()
70 m = pat.matcher(s1); in test2()
76 m = pat.matcher(s2); in test2()
80 m = pat.matcher(s3); in test2()
90 Pattern pat = Pattern.compile("LogFactory.getFactory\\(\\).getInstance\\("); in test3() local
92 Matcher m = pat.matcher(s); in test3()
98 pat.matcher(nonMatching); in test3()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DLexer.java96 void tokenize(String pat) throws javax.xml.transform.TransformerException in tokenize() argument
98 tokenize(pat, null); in tokenize()
109 void tokenize(String pat, Vector targetStrings) in tokenize() argument
113 m_compiler.m_currentPattern = pat; in tokenize()
120 int initTokQueueSize = ((pat.length() < OpMap.MAXTOKENQUEUESIZE) in tokenize()
121 ? pat.length() : OpMap.MAXTOKENQUEUESIZE) * 5; in tokenize()
126 int nChars = pat.length(); in tokenize()
140 char c = pat.charAt(i); in tokenize()
154 posOfNSSep = mapNSTokens(pat, startSubstring, posOfNSSep, i); in tokenize()
158 addToTokenQueue(pat.substring(startSubstring, i)); in tokenize()
[all …]
/external/autotest/client/deps/fakemodem/src/
Dfakemodem.c118 Pattern *pat; in parse_pattern_files() local
119 pat = g_malloc (sizeof (*pat)); in parse_pattern_files()
121 pat->command = g_regex_new (command, in parse_pattern_files()
129 if (pat->command == NULL) { in parse_pattern_files()
139 pat->responsetext = responsetext; in parse_pattern_files()
140 pat->reply = g_match_info_fetch (info, 4); in parse_pattern_files()
141 while (pat->reply[strlen (pat->reply) - 1] == '\\') { in parse_pattern_files()
143 pat->reply[strlen (pat->reply) - 1] = '\0'; in parse_pattern_files()
148 origstr = pat->reply; in parse_pattern_files()
149 pat->reply = g_strjoin ("\r\n", origstr, line, NULL); in parse_pattern_files()
[all …]
/external/icu/icu4c/source/common/
Duset_props.cpp34 UnicodeString pat(patternLength==-1, pattern, patternLength); in uset_openPattern() local
35 UnicodeSet* set = new UnicodeSet(pat, *ec); in uset_openPattern()
54 UnicodeString pat(patternLength==-1, pattern, patternLength); in uset_openPatternOptions() local
55 UnicodeSet* set = new UnicodeSet(pat, options, NULL, *ec); in uset_openPatternOptions()
90 UnicodeString pat(pattern, patternLength); in uset_applyPattern() local
94 ((UnicodeSet*) set)->applyPattern(pat, pos, options, NULL, *status); in uset_applyPattern()
121 UnicodeString pat(pattern, patternLength); in uset_resemblesPattern() local
123 return ((pos+1) < pat.length() && in uset_resemblesPattern()
124 pat.charAt(pos) == (UChar)91/*[*/) || in uset_resemblesPattern()
125 UnicodeSet::resemblesPattern(pat, pos); in uset_resemblesPattern()
[all …]
/external/icu/icu4c/source/test/intltest/
Ddcfmapts.cpp124 DecimalFormat pat(pattern, status); in testAPI() local
149 DecimalFormat copy(pat); in testAPI()
155 if( ! (copy == pat) || copy != pat) { in testAPI()
185 res2 = pat.format(l, res2, pos2); in testAPI()
211 pat.applyPattern(patt, status); in testAPI()
215 pat.parse(text, result1, pos); in testAPI()
222 pat.parse(text, result2, status); in testAPI()
235 const DecimalFormatSymbols *syms = pat.getDecimalFormatSymbols(); in testAPI()
239 if( *(pat.getDecimalFormatSymbols()) != *(def.getDecimalFormatSymbols())) { in testAPI()
244 pat.setPositivePrefix("+"); in testAPI()
[all …]
/external/bzip2/
Dbzgrep17 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/chromium-trace/catapult/third_party/webtest/webtest/
Dutils.py79 def make_pattern(pat): argument
81 if pat is None:
83 if isinstance(pat, six.binary_type):
84 pat = pat.decode('utf8')
85 if isinstance(pat, six.text_type):
86 pat = re.compile(pat)
87 if hasattr(pat, 'search'):
88 return pat.search
89 if hasattr(pat, '__call__'):
90 return pat
[all …]
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/
Dput1.pass.cpp48 std::string pat("Today is %A which is abbreviated %a."); in main() local
50 pat.data(), pat.data() + pat.size()); in main()
55 std::string pat("The number of the month is %Om."); in main() local
57 pat.data(), pat.data() + pat.size()); in main()
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.put.byname/
Dput1.pass.cpp63 std::string pat("Today is %A which is abbreviated %a."); in main() local
65 pat.data(), pat.data() + pat.size()); in main()
71 std::string pat("Today is %A which is abbreviated %a."); in main() local
73 pat.data(), pat.data() + pat.size()); in main()
/external/llvm/test/Transforms/InstCombine/
Dstrstr-1.ll18 %pat = getelementptr inbounds [1 x i8], [1 x i8]* @.str, i32 0, i32 0
19 %ret = call i8* @strstr(i8* %str, i8* %pat)
28 %pat = getelementptr inbounds [2 x i8], [2 x i8]* @.str1, i32 0, i32 0
29 %ret = call i8* @strstr(i8* %str, i8* %pat)
39 %pat = getelementptr inbounds [4 x i8], [4 x i8]* @.str3, i32 0, i32 0
40 %ret = call i8* @strstr(i8* %str, i8* %pat)
54 ; Check strstr(str, pat) == str -> strncmp(str, pat, strlen(str)) == 0.
56 define i1 @test_simplify5(i8* %str, i8* %pat) {
58 %ret = call i8* @strstr(i8* %str, i8* %pat)
61 ; CHECK: [[LEN:%[a-z]+]] = call {{i[0-9]+}} @strlen(i8* %pat)
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/patterns/
DStepPattern.java792 for (StepPattern pat = this; pat != null; pat = pat.m_relativePathPattern) in toString()
794 if (pat != this) in toString()
797 buf.append(Axis.getNames(pat.m_axis)); in toString()
800 if (0x000005000 == pat.m_whatToShow) in toString()
804 else if (DTMFilter.SHOW_BYFUNCTION == pat.m_whatToShow) in toString()
808 else if (DTMFilter.SHOW_ALL == pat.m_whatToShow) in toString()
812 else if (DTMFilter.SHOW_TEXT == pat.m_whatToShow) in toString()
816 else if (DTMFilter.SHOW_PROCESSING_INSTRUCTION == pat.m_whatToShow) in toString()
820 if (null != pat.m_name) in toString()
822 buf.append(pat.m_name); in toString()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dusettest.c257 char *pat; in expectContainment() local
267 pat=aescstrdup(ustr, length); in expectContainment()
284 log_verbose("Ok: %s %s \"%s\"\n", pat, in expectContainment()
288 log_data_err("FAIL: %s %s \"%s\" (Are you missing data?)\n", pat, in expectContainment()
301 log_verbose("Ok: %s %s '%c'\n", pat, in expectContainment()
305 log_data_err("FAIL: %s %s '%c' (Are you missing data?)\n", pat, in expectContainment()
316 log_verbose("Ok: %s %s U+%04X-U+%04X\n", pat, in expectContainment()
320 log_data_err("FAIL: %s %s U+%04X-U+%04X (Are you missing data?)\n", pat, in expectContainment()
334 log_verbose("Ok: %s %s U+%04X-U+%04X\n", pat, in expectContainment()
338 log_data_err("FAIL: %s %s U+%04X-U+%04X (Are you missing data?)\n", pat, in expectContainment()
[all …]

1234567891011