Searched refs:pat (Results 1 - 25 of 232) sorted by relevance

12345678910

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DNumberFormatTestCases.txt21 pat: - "#0.####"
23 pat: - "#0.####"
26 pat: - "#0"
32 pat: - -
34 pat: - "#,@@@"
37 pat: - -
43 pat: - -
48 pat: - -
53 pat: - -
58 pat
[all...]
H A DIntlTestDecimalFormatAPI.java60 String pat = ",##0.0000";
61 DecimalFormat dec = new DecimalFormat(pat);
67 errln("Fail: " + number + " x \"" + pat + "\" = \"" +
71 pat = ",##0.0001";
72 dec = new DecimalFormat(pat);
76 errln("Fail: " + number + " x \"" + pat + "\" = \"" +
81 pat = ",##0.00000000000000000001";
82 dec = new DecimalFormat(pat);
89 errln("Fail: " + bignumber + " x \"" + pat + "\" = \"" +
112 DecimalFormat pat
[all...]
H A DIntlTestDecimalFormatAPIC.java58 DecimalFormat pat = null;
60 pat = new DecimalFormat(pattern);
112 res2 = pat.format(l, res2, pos2);
128 pat.applyPattern(patt);
129 double d2 = pat.parse(text, pos).doubleValue();
140 final DecimalFormatSymbols syms = pat.getDecimalFormatSymbols();
142 if (!pat.getDecimalFormatSymbols().equals(def.getDecimalFormatSymbols())) {
147 pat.setPositivePrefix("+");
148 posPrefix = pat.getPositivePrefix();
155 pat
[all...]
H A DIntlTestSimpleDateFormatAPI.java56 SimpleDateFormat pat = new SimpleDateFormat(pattern);
113 final DateFormatSymbols syms = pat.getDateFormatSymbols();
116 if( ! pat.getDateFormatSymbols().equals(def.getDateFormatSymbols()) ) {
124 // startDate = pat.getTwoDigitStartDate();
143 pat.applyPattern(p1);
145 String s2 = pat.toPattern();
152 pat.applyLocalizedPattern(p1);
153 String s3 = pat.toLocalizedPattern();
164 pat.applyPattern(p2);
165 Date dt = pat
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DNumberFormatTestCases.txt21 pat: - "#0.####"
23 pat: - "#0.####"
26 pat: - "#0"
32 pat: - -
34 pat: - "#,@@@"
37 pat: - -
43 pat: - -
48 pat: - -
53 pat: - -
58 pat
[all...]
H A DIntlTestDecimalFormatAPI.java59 String pat = ",##0.0000";
60 DecimalFormat dec = new DecimalFormat(pat);
66 errln("Fail: " + number + " x \"" + pat + "\" = \"" +
70 pat = ",##0.0001";
71 dec = new DecimalFormat(pat);
75 errln("Fail: " + number + " x \"" + pat + "\" = \"" +
80 pat = ",##0.00000000000000000001";
81 dec = new DecimalFormat(pat);
88 errln("Fail: " + bignumber + " x \"" + pat + "\" = \"" +
111 DecimalFormat pat
[all...]
H A DIntlTestDecimalFormatAPIC.java57 DecimalFormat pat = null;
59 pat = new DecimalFormat(pattern);
111 res2 = pat.format(l, res2, pos2);
127 pat.applyPattern(patt);
128 double d2 = pat.parse(text, pos).doubleValue();
139 final DecimalFormatSymbols syms = pat.getDecimalFormatSymbols();
141 if (!pat.getDecimalFormatSymbols().equals(def.getDecimalFormatSymbols())) {
146 pat.setPositivePrefix("+");
147 posPrefix = pat.getPositivePrefix();
154 pat
[all...]
H A DIntlTestSimpleDateFormatAPI.java55 SimpleDateFormat pat = new SimpleDateFormat(pattern);
112 final DateFormatSymbols syms = pat.getDateFormatSymbols();
115 if( ! pat.getDateFormatSymbols().equals(def.getDateFormatSymbols()) ) {
123 // startDate = pat.getTwoDigitStartDate();
142 pat.applyPattern(p1);
144 String s2 = pat.toPattern();
151 pat.applyLocalizedPattern(p1);
152 String s3 = pat.toLocalizedPattern();
163 pat.applyPattern(p2);
164 Date dt = pat
[all...]
/external/bzip2/
H A 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/curl/src/
H A Dtool_urlglob.c41 URLPattern *pat = &glob->pattern[glob->size]; local
42 pat->type = UPTSet;
43 pat->content.Set.size = 1;
44 pat->content.Set.ptr_s = 0;
45 pat->globindex = -1;
47 pat->content.Set.elements = malloc(sizeof(char*));
49 if(!pat->content.Set.elements)
52 pat->content.Set.elements[0] = malloc(len+1);
53 if(!pat->content.Set.elements[0])
56 memcpy(pat
82 URLPattern *pat; local
179 URLPattern *pat; local
486 URLPattern *pat; local
601 URLPattern *pat =NULL; local
[all...]
/external/icu/icu4j/perf-tests/
H A Ducharacterperf_r.pl39 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/libcxx/test/std/localization/locale.categories/category.time/locale.time.put/locale.time.put.members/
H A Dput1.pass.cpp48 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/
H A Dput1.pass.cpp63 std::string pat("Today is %A which is abbreviated %a.");
65 pat.data(), pat.data() + pat.size());
71 std::string pat("Today is %A which is abbreviated %a.");
73 pat.data(), pat.data() + pat.size());
/external/libcxx/test/std/re/re.regex/re.regex.construct/
H A Dbad_backref.pass.cpp22 static bool error_badbackref_thrown(const char *pat) argument
26 std::regex re(pat);
H A Dbad_escape.pass.cpp22 static bool error_escape_thrown(const char *pat) argument
26 std::regex re(pat);
H A Dbad_repeat.pass.cpp22 static bool error_badrepeat_thrown(const char *pat) argument
26 std::regex re(pat);
/external/ltp/lib/
H A Dpattern.c40 int pattern_check(char *buf, int buflen, char *pat, int patlen, int patshift) argument
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) argument
121 memcpy(cp, pat + patshift, nleft);
124 memcpy(cp, pat + patshift, trans);
132 memcpy(cp, pat, nleft);
135 memcpy(cp, pat, tran
[all...]
/external/icu/icu4c/source/common/
H A Duset_props.cpp36 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, po
135 UnicodeString pat; local
[all...]
/external/slf4j/slf4j-migrator/src/test/java/org/slf4j/migrator/
H A DAternativeApproach.java46 Pattern pat = cr2.getPattern();
47 Matcher m = pat.matcher(s);
62 Pattern pat = Pattern.compile("(Log)");
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\\(");
92 Matcher m = pat.matcher(s);
98 pat
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
H A DLexer.java92 * @param pat XSLT Expression.
96 void tokenize(String pat) throws javax.xml.transform.TransformerException argument
98 tokenize(pat, null);
104 * @param pat XSLT Expression.
109 void tokenize(String pat, Vector targetStrings) argument
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
577 mapNSTokens(String pat, int startSubstring, int posOfNSSep, int posOfScan) argument
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dcdtdptst.h56 void tryPat994(UDateFormat* format, const char* pat, const char* s, UDate expected);
/external/autotest/client/deps/fakemodem/src/
H A Dfakemodem.c118 Pattern *pat; local
119 pat = g_malloc (sizeof (*pat));
121 pat->command = g_regex_new (command,
129 if (pat->command == NULL) {
139 pat->responsetext = responsetext;
140 pat->reply = g_match_info_fetch (info, 4);
141 while (pat->reply[strlen (pat->reply) - 1] == '\\') {
143 pat
456 Pattern *pat = NULL; local
529 Pattern *pat; local
573 Pattern *pat; local
[all...]
/external/icu/icu4c/source/test/intltest/
H A Ddcfmapts.cpp126 DecimalFormat pat(pattern, status);
151 DecimalFormat copy(pat);
157 if( ! (copy == pat) || copy != pat) {
187 res2 = pat.format(l, res2, pos2);
213 pat.applyPattern(patt, status);
217 pat.parse(text, result1, pos);
224 pat.parse(text, result2, status);
237 const DecimalFormatSymbols *syms = pat.getDecimalFormatSymbols();
241 if( *(pat
[all...]
/external/apache-xml/src/main/java/org/apache/xpath/patterns/
H A DStepPattern.java792 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
[all...]
/external/mesa3d/src/glsl/
H A Ds_expression.h42 #define MATCH(list, pat) s_match(list, Elements(pat), pat, false)
43 #define PARTIAL_MATCH(list, pat) s_match(list, Elements(pat), pat, true)

Completed in 785 milliseconds

12345678910