Home
last modified time | relevance | path

Searched refs:applyPattern (Results 1 – 25 of 186) sorted by relevance

12345678

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DPluralFormatUnitTest.java50 plFmts[0].applyPattern("other{#}"); in TestConstructor()
52 plFmts[1].applyPattern("other{#}"); in TestConstructor()
56 plFmts[4].applyPattern("other{#}"); in TestConstructor()
58 plFmts[5].applyPattern("other{#}"); in TestConstructor()
66 plFmts[8].applyPattern("other{#}"); in TestConstructor()
68 plFmts[9].applyPattern("other{#}"); in TestConstructor()
114 plfOddAndEven.applyPattern("odd{# is odd.} other{# is even.}"); in TestApplyPatternAndFormat()
118 plfOddOrEven.applyPattern("other{# is odd or even.}"); in TestApplyPatternAndFormat()
136 pf.applyPattern("odd{foo} other{bar} other{foobar}"); in TestApplyPatternAndFormat()
139 pf.applyPattern("other{foo} odd{bar} other{foobar}"); in TestApplyPatternAndFormat()
[all …]
DSelectFormatUnitTest.java51 selFmt.applyPattern(checkSyntaxData[i]); in TestPatternSyntax()
61 selFmt.applyPattern("odd{foo} odd{bar} other{foobar}"); in TestPatternSyntax()
63 selFmt.applyPattern("odd{foo} other{bar} other{foobar}"); in TestPatternSyntax()
150 selFmt.applyPattern(patternTestData[i]); in TestApplyFormat()
DDateFormatRegressionTestJ.java79 aSimpleDF.applyPattern( ISOPattern[i] ); in Test4148168()
167 aSimpleDF.applyPattern(ISOPattern[i]); in Test4253490()
196 sdf.applyPattern("MM d y"); in Test4358730()
198 sdf.applyPattern("MM d yy"); in Test4358730()
201 sdf.applyPattern("MM d yyy"); in Test4358730()
204 sdf.applyPattern("MM d yyyy"); in Test4358730()
207 sdf.applyPattern("MM d yyyyy"); in Test4358730()
DMessageRegressionTest.java80 messageFormatter.applyPattern(pattern[1]); in Test4074764()
88 messageFormatter.applyPattern(pattern[0]); in Test4074764()
138 messageFormatter.applyPattern(pattern1); in Test4031438()
158 messageFormatter.applyPattern(pattern2); in Test4031438()
310 mf.applyPattern(illegalPattern); in Test4114743()
329 mf.applyPattern(pattern); in Test4116444()
391 mf.applyPattern(illegalPattern); in Test4113018()
450 mf.applyPattern(prefix + pattern); in Test4118592()
473 mf.applyPattern("{0,number,#.##}, {0,number,#.#}"); in Test4118594()
682 messageFormatter.applyPattern(pattern1); in testBugTestsWithNamesArguments()
[all …]
DDateFormatTest.java1586 format.applyPattern(pat); in tryPat994()
1765 sdf.applyPattern(pattern); in tryPattern()
1873 dateParse.applyPattern("d MMMM, yyyy"); in TestBadInput135a()
1888 dateParse.applyPattern(parseFormats[index]); in TestBadInput135a()
3149 fmt.applyPattern(pattern); in expectParse()
3213 fmt.applyPattern(pattern); in expectFormat()
3306 fmt.applyPattern(pattern); in expect()
3625 formatters[0].applyPattern(testPattern); in TestCalendarType()
3634 formatters[1].applyPattern(testPattern); in TestCalendarType()
3643 formatters[2].applyPattern(testPattern); in TestCalendarType()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralFormatUnitTest.java47 plFmts[0].applyPattern("other{#}"); in TestConstructor()
49 plFmts[1].applyPattern("other{#}"); in TestConstructor()
53 plFmts[4].applyPattern("other{#}"); in TestConstructor()
55 plFmts[5].applyPattern("other{#}"); in TestConstructor()
63 plFmts[8].applyPattern("other{#}"); in TestConstructor()
65 plFmts[9].applyPattern("other{#}"); in TestConstructor()
111 plfOddAndEven.applyPattern("odd{# is odd.} other{# is even.}"); in TestApplyPatternAndFormat()
115 plfOddOrEven.applyPattern("other{# is odd or even.}"); in TestApplyPatternAndFormat()
133 pf.applyPattern("odd{foo} other{bar} other{foobar}"); in TestApplyPatternAndFormat()
136 pf.applyPattern("other{foo} odd{bar} other{foobar}"); in TestApplyPatternAndFormat()
[all …]
DSelectFormatUnitTest.java48 selFmt.applyPattern(checkSyntaxData[i]); in TestPatternSyntax()
58 selFmt.applyPattern("odd{foo} odd{bar} other{foobar}"); in TestPatternSyntax()
60 selFmt.applyPattern("odd{foo} other{bar} other{foobar}"); in TestPatternSyntax()
147 selFmt.applyPattern(patternTestData[i]); in TestApplyFormat()
DDateFormatRegressionTestJ.java76 aSimpleDF.applyPattern( ISOPattern[i] ); in Test4148168()
164 aSimpleDF.applyPattern(ISOPattern[i]); in Test4253490()
193 sdf.applyPattern("MM d y"); in Test4358730()
195 sdf.applyPattern("MM d yy"); in Test4358730()
198 sdf.applyPattern("MM d yyy"); in Test4358730()
201 sdf.applyPattern("MM d yyyy"); in Test4358730()
204 sdf.applyPattern("MM d yyyyy"); in Test4358730()
DMessageRegressionTest.java77 messageFormatter.applyPattern(pattern[1]); in Test4074764()
85 messageFormatter.applyPattern(pattern[0]); in Test4074764()
135 messageFormatter.applyPattern(pattern1); in Test4031438()
155 messageFormatter.applyPattern(pattern2); in Test4031438()
307 mf.applyPattern(illegalPattern); in Test4114743()
326 mf.applyPattern(pattern); in Test4116444()
388 mf.applyPattern(illegalPattern); in Test4113018()
447 mf.applyPattern(prefix + pattern); in Test4118592()
470 mf.applyPattern("{0,number,#.##}, {0,number,#.#}"); in Test4118594()
679 messageFormatter.applyPattern(pattern1); in testBugTestsWithNamesArguments()
[all …]
DDateFormatTest.java1583 format.applyPattern(pat); in tryPat994()
1762 sdf.applyPattern(pattern); in tryPattern()
1870 dateParse.applyPattern("d MMMM, yyyy"); in TestBadInput135a()
1885 dateParse.applyPattern(parseFormats[index]); in TestBadInput135a()
3146 fmt.applyPattern(pattern); in expectParse()
3210 fmt.applyPattern(pattern); in expectFormat()
3303 fmt.applyPattern(pattern); in expect()
3622 formatters[0].applyPattern(testPattern); in TestCalendarType()
3631 formatters[1].applyPattern(testPattern); in TestCalendarType()
3640 formatters[2].applyPattern(testPattern); in TestCalendarType()
[all …]
/external/icu/icu4c/source/test/intltest/
Dsimpleformattertest.cpp95 fmt.applyPattern("{12d", status); in TestSyntaxErrors()
102 fmt.applyPattern("{0} meter", status); in TestOneArgument()
153 fmt.applyPattern( in TestManyArguments()
223 r.applyPattern("{0} meter", status); in TestManyArguments()
230 r.applyPattern("{0}, {1}", status); in TestManyArguments()
237 r.applyPattern("{0}, {1} and {2}", status); in TestManyArguments()
341 fmt.applyPattern("{2}, {0}, {1} and {3}", status); in TestFormatReplaceNoOptimization()
371 fmt.applyPattern("boo {2}, {0}, {1} and {3}", status); in TestFormatReplaceNoOptimizationLeadingText()
401 fmt.applyPattern("{2}, {0}, {1} and {3}", status); in TestFormatReplaceOptimization()
431 fmt.applyPattern("{2}, {0}, {1} and {3} {2}", status); in TestFormatReplaceNoOptimizationLeadingArgumentUsedTwice()
[all …]
Dselfmts.cpp109 selFmt->applyPattern(checkSyntaxData[i], status); in selectFormatUnitTest()
117 selFmt->applyPattern("odd{foo} odd{bar} other{foobar}", status); in selectFormatUnitTest()
123 selFmt->applyPattern("odd{foo} other{bar} other{foobar}", status); in selectFormatUnitTest()
146 selFmt->applyPattern(patternTestData[i], status); in selectFormatUnitTest()
283 selFmt1->applyPattern( pattern, status1); in selectFormatAPITest()
Ddtfmttst.cpp705 format->applyPattern(pat); in tryPat994()
928 if (pattern != 0) sdf.applyPattern(pattern); in tryPattern()
1108 dateParse->applyPattern("d MMMM, yyyy"); in TestBadInput135a()
1128 dateParse->applyPattern(parseFormats[index]); in TestBadInput135a()
1948 fmt.applyPattern(pattern); in expectParse()
2028 fmt.applyPattern(pattern); in expect()
2133 fmt.applyPattern(pattern); in expectFormat()
4632 ((SimpleDateFormat*) sdmft)->applyPattern(itemPtr->pattern); in TestParseMultiPatternMatch()
4967 sdf.applyPattern(UnicodeString("hh:mm:ss bbb")); in TestAmPmMidnightNoon()
4977 sdf.applyPattern(UnicodeString("hh:mm bbb")); in TestAmPmMidnightNoon()
[all …]
/external/icu/icu4c/source/common/
Duniset_closure.cpp49 applyPattern(pattern, options, symbols, status); in UnicodeSet()
57 applyPattern(pattern, pos, options, symbols, status); in UnicodeSet()
65 UnicodeSet& UnicodeSet::applyPattern(const UnicodeString& pattern, in applyPattern() function in UnicodeSet
70 applyPattern(pattern, pos, options, symbols, status); in applyPattern()
86 UnicodeSet& UnicodeSet::applyPattern(const UnicodeString& pattern, in applyPattern() function in UnicodeSet
102 applyPattern(chars, symbols, rebuiltPat, options, &UnicodeSet::closeOver, 0, status); in applyPattern()
Ddictbe.cpp195 fThaiWordSet.applyPattern(UNICODE_STRING_SIMPLE("[[:Thai:]&[:LineBreak=SA:]]"), status); in ThaiBreakEngine()
199 fMarkSet.applyPattern(UNICODE_STRING_SIMPLE("[[:Thai:]&[:LineBreak=SA:]&[:M:]]"), status); in ThaiBreakEngine()
437 fLaoWordSet.applyPattern(UNICODE_STRING_SIMPLE("[[:Laoo:]&[:LineBreak=SA:]]"), status); in LaoBreakEngine()
441 fMarkSet.applyPattern(UNICODE_STRING_SIMPLE("[[:Laoo:]&[:LineBreak=SA:]&[:M:]]"), status); in LaoBreakEngine()
633 fBurmeseWordSet.applyPattern(UNICODE_STRING_SIMPLE("[[:Mymr:]&[:LineBreak=SA:]]"), status); in BurmeseBreakEngine()
637 fMarkSet.applyPattern(UNICODE_STRING_SIMPLE("[[:Mymr:]&[:LineBreak=SA:]&[:M:]]"), status); in BurmeseBreakEngine()
826 fKhmerWordSet.applyPattern(UNICODE_STRING_SIMPLE("[[:Khmr:]&[:LineBreak=SA:]]"), status); in KhmerBreakEngine()
830 fMarkSet.applyPattern(UNICODE_STRING_SIMPLE("[[:Khmr:]&[:LineBreak=SA:]&[:M:]]"), status); in KhmerBreakEngine()
1047 fHangulWordSet.applyPattern(UNICODE_STRING_SIMPLE("[\\uac00-\\ud7a3]"), status); in CjkBreakEngine()
1048 fHanWordSet.applyPattern(UNICODE_STRING_SIMPLE("[:Han:]"), status); in CjkBreakEngine()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralFormat.java281 applyPattern(pattern); in PluralFormat()
298 applyPattern(pattern); in PluralFormat()
313 applyPattern(pattern); in PluralFormat()
329 applyPattern(pattern); in PluralFormat()
344 applyPattern(pattern); in PluralFormat()
360 applyPattern(pattern); in PluralFormat()
401 public void applyPattern(String pattern) { in applyPattern() method in PluralFormat
860 applyPattern(pattern); in readObject()
DCjkBreakEngine.java27 fHangulWordSet.applyPattern("[\\uac00-\\ud7a3]");
28 fHanWordSet.applyPattern("[:Han:]");
29 fKatakanaWordSet.applyPattern("[[:Katakana:]\\uff9e\\uff9f]");
30 fHiraganaWordSet.applyPattern("[:Hiragana:]");
DSelectFormat.java170 applyPattern(pattern); in SelectFormat()
190 public void applyPattern(String pattern) { in applyPattern() method in SelectFormat
372 applyPattern(pattern); in readObject()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralFormat.java290 applyPattern(pattern); in PluralFormat()
308 applyPattern(pattern); in PluralFormat()
324 applyPattern(pattern); in PluralFormat()
341 applyPattern(pattern); in PluralFormat()
357 applyPattern(pattern); in PluralFormat()
373 applyPattern(pattern); in PluralFormat()
415 public void applyPattern(String pattern) { in applyPattern() method in PluralFormat
883 applyPattern(pattern); in readObject()
DCjkBreakEngine.java26 fHangulWordSet.applyPattern("[\\uac00-\\ud7a3]");
27 fHanWordSet.applyPattern("[:Han:]");
28 fKatakanaWordSet.applyPattern("[[:Katakana:]\\uff9e\\uff9f]");
29 fHiraganaWordSet.applyPattern("[:Hiragana:]");
DSelectFormat.java172 applyPattern(pattern); in SelectFormat()
193 public void applyPattern(String pattern) { in applyPattern() method in SelectFormat
382 applyPattern(pattern); in readObject()
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DISO8601Converter.java322 df.applyPattern("'-'00"); in render()
341 df.applyPattern("00"); in render()
351 df.applyPattern(":00.#########"); in render()
370 df.applyPattern("+00;-00"); in render()
372 df.applyPattern(":00"); in render()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java199 s.applyPattern("[a-z {\\{l} {r\\}}]"); in TestToPattern()
206 s.applyPattern("[a-z {\u4E01\u4E02}{\\n\\r}]"); in TestToPattern()
223 s.applyPattern("[ab ]", true); in TestToPattern()
226 s.applyPattern("[ab ]", false); in TestToPattern()
243 s.applyPattern("[a-z{abc}{def}]"); in TestToPattern()
534 set.applyPattern("[a-m]"); in TestMinimalRep()
535 set2.applyPattern("[e-o]"); in TestMinimalRep()
539 set.applyPattern("[e-o]"); in TestMinimalRep()
540 set2.applyPattern("[a-m]"); in TestMinimalRep()
544 set.applyPattern("[a-eg-mo-w]"); in TestMinimalRep()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetTest.java202 s.applyPattern("[a-z {\\{l} {r\\}}]"); in TestToPattern()
209 s.applyPattern("[a-z {\u4E01\u4E02}{\\n\\r}]"); in TestToPattern()
226 s.applyPattern("[ab ]", true); in TestToPattern()
229 s.applyPattern("[ab ]", false); in TestToPattern()
246 s.applyPattern("[a-z{abc}{def}]"); in TestToPattern()
537 set.applyPattern("[a-m]"); in TestMinimalRep()
538 set2.applyPattern("[e-o]"); in TestMinimalRep()
542 set.applyPattern("[e-o]"); in TestMinimalRep()
543 set2.applyPattern("[a-m]"); in TestMinimalRep()
547 set.applyPattern("[a-eg-mo-w]"); in TestMinimalRep()
[all …]
/external/icu/icu4c/source/i18n/
Dchoicfmt.cpp82 applyPattern(newPattern, status); in ChoiceFormat()
131 applyPattern(newPattern,parseError, status); in ChoiceFormat()
225 ChoiceFormat::applyPattern(const UnicodeString& pattern, in applyPattern() function in ChoiceFormat
236 ChoiceFormat::applyPattern(const UnicodeString& pattern, in applyPattern() function in ChoiceFormat
340 applyPattern(result, errorCode); in setChoices()

12345678