Home
last modified time | relevance | path

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

1234567

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DPluralFormatUnitTest.java43 plFmts[0].applyPattern("other{#}"); in TestConstructor()
45 plFmts[1].applyPattern("other{#}"); in TestConstructor()
49 plFmts[4].applyPattern("other{#}"); in TestConstructor()
51 plFmts[5].applyPattern("other{#}"); in TestConstructor()
59 plFmts[8].applyPattern("other{#}"); in TestConstructor()
61 plFmts[9].applyPattern("other{#}"); in TestConstructor()
105 plfOddAndEven.applyPattern("odd{# is odd.} other{# is even.}"); in TestApplyPatternAndFormat()
109 plfOddOrEven.applyPattern("other{# is odd or even.}"); in TestApplyPatternAndFormat()
127 pf.applyPattern("odd{foo} other{bar} other{foobar}"); in TestApplyPatternAndFormat()
130 pf.applyPattern("other{foo} odd{bar} other{foobar}"); in TestApplyPatternAndFormat()
[all …]
DSelectFormatUnitTest.java44 selFmt.applyPattern(checkSyntaxData[i]); in TestPatternSyntax()
54 selFmt.applyPattern("odd{foo} odd{bar} other{foobar}"); in TestPatternSyntax()
56 selFmt.applyPattern("odd{foo} other{bar} other{foobar}"); in TestPatternSyntax()
141 selFmt.applyPattern(patternTestData[i]); in TestApplyFormat()
DDateFormatRegressionTestJ.java68 aSimpleDF.applyPattern( ISOPattern[i] ); in Test4148168()
153 aSimpleDF.applyPattern(ISOPattern[i]); in Test4253490()
180 sdf.applyPattern("MM d y"); in Test4358730()
182 sdf.applyPattern("MM d yy"); in Test4358730()
185 sdf.applyPattern("MM d yyy"); in Test4358730()
188 sdf.applyPattern("MM d yyyy"); in Test4358730()
191 sdf.applyPattern("MM d yyyyy"); in Test4358730()
DMessageRegression.java73 messageFormatter.applyPattern(pattern[1]); in Test4074764()
81 messageFormatter.applyPattern(pattern[0]); in Test4074764()
130 messageFormatter.applyPattern(pattern1); in Test4031438()
150 messageFormatter.applyPattern(pattern2); in Test4031438()
296 mf.applyPattern(illegalPattern); in Test4114743()
314 mf.applyPattern(pattern); in Test4116444()
374 mf.applyPattern(illegalPattern); in Test4113018()
430 mf.applyPattern(prefix + pattern); in Test4118592()
452 mf.applyPattern("{0,number,#.##}, {0,number,#.#}"); in Test4118594()
652 messageFormatter.applyPattern(pattern1); in testBugTestsWithNamesArguments()
[all …]
DScientificNumberFormatterTest.java51 decfmt.applyPattern("0.00E+0"); in TestPlusSignInExponentMarkup()
64 decfmt.applyPattern("0.00E+0"); in TestPlusSignInExponentSuperscript()
/external/icu/android_icu4j/src/main/tests/android/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()
109 plfOddAndEven.applyPattern("odd{# is odd.} other{# is even.}"); in TestApplyPatternAndFormat()
113 plfOddOrEven.applyPattern("other{# is odd or even.}"); in TestApplyPatternAndFormat()
131 pf.applyPattern("odd{foo} other{bar} other{foobar}"); in TestApplyPatternAndFormat()
134 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()
145 selFmt.applyPattern(patternTestData[i]); in TestApplyFormat()
DDateFormatRegressionTestJ.java72 aSimpleDF.applyPattern( ISOPattern[i] ); in Test4148168()
157 aSimpleDF.applyPattern(ISOPattern[i]); in Test4253490()
184 sdf.applyPattern("MM d y"); in Test4358730()
186 sdf.applyPattern("MM d yy"); in Test4358730()
189 sdf.applyPattern("MM d yyy"); in Test4358730()
192 sdf.applyPattern("MM d yyyy"); in Test4358730()
195 sdf.applyPattern("MM d yyyyy"); in Test4358730()
DMessageRegression.java77 messageFormatter.applyPattern(pattern[1]); in Test4074764()
85 messageFormatter.applyPattern(pattern[0]); in Test4074764()
134 messageFormatter.applyPattern(pattern1); in Test4031438()
154 messageFormatter.applyPattern(pattern2); in Test4031438()
300 mf.applyPattern(illegalPattern); in Test4114743()
318 mf.applyPattern(pattern); in Test4116444()
378 mf.applyPattern(illegalPattern); in Test4113018()
434 mf.applyPattern(prefix + pattern); in Test4118592()
456 mf.applyPattern("{0,number,#.##}, {0,number,#.#}"); in Test4118594()
656 messageFormatter.applyPattern(pattern1); in testBugTestsWithNamesArguments()
[all …]
DScientificNumberFormatterTest.java55 decfmt.applyPattern("0.00E+0"); in TestPlusSignInExponentMarkup()
68 decfmt.applyPattern("0.00E+0"); in TestPlusSignInExponentSuperscript()
/external/icu/icu4c/source/common/
Duniset_closure.cpp62 applyPattern(pattern, options, symbols, status); in UnicodeSet()
83 applyPattern(pattern, pos, options, symbols, status); in UnicodeSet()
93 UnicodeSet& UnicodeSet::applyPattern(const UnicodeString& pattern, in applyPattern() function in UnicodeSet
98 applyPattern(pattern, pos, options, symbols, status); in applyPattern()
114 UnicodeSet& UnicodeSet::applyPattern(const UnicodeString& pattern, in applyPattern() function in UnicodeSet
130 applyPattern(chars, symbols, rebuiltPat, options, &UnicodeSet::closeOver, status); in applyPattern()
/external/icu/icu4c/source/test/intltest/
Dselfmts.cpp107 selFmt->applyPattern(checkSyntaxData[i], status); in selectFormatUnitTest()
115 selFmt->applyPattern("odd{foo} odd{bar} other{foobar}", status); in selectFormatUnitTest()
121 selFmt->applyPattern("odd{foo} other{bar} other{foobar}", status); in selectFormatUnitTest()
144 selFmt->applyPattern(patternTestData[i], status); in selectFormatUnitTest()
281 selFmt1->applyPattern( pattern, status1); in selectFormatAPITest()
Dmsfmrgts.cpp94 messageFormatter->applyPattern(pattern[1], status); in Test4074764()
109 messageFormatter->applyPattern(pattern[0], status); in Test4074764()
189 messageFormatter->applyPattern(pattern1, status); in Test4031438()
259 messageFormatter->applyPattern(pattern2, status); in Test4031438()
459 mf->applyPattern(illegalPattern, status); in Test4114743()
486 mf->applyPattern(pattern, status); in Test4116444()
570 mf->applyPattern(illegalPattern, status); in Test4113018()
706 mf->applyPattern(prefix + pattern, status); in Test4118592()
751 mf->applyPattern("{0,number,#.##}, {0,number,#.#}", status); in Test4118594()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DPluralFormat.java276 applyPattern(pattern); in PluralFormat()
293 applyPattern(pattern); in PluralFormat()
308 applyPattern(pattern); in PluralFormat()
324 applyPattern(pattern); in PluralFormat()
339 applyPattern(pattern); in PluralFormat()
355 applyPattern(pattern); in PluralFormat()
396 public void applyPattern(String pattern) { in applyPattern() method in PluralFormat
842 applyPattern(pattern); in readObject()
DCjkBreakEngine.java25 fHangulWordSet.applyPattern("[\\uac00-\\ud7a3]");
26 fHanWordSet.applyPattern("[:Han:]");
27 fKatakanaWordSet.applyPattern("[[:Katakana:]\\uff9e\\uff9f]");
28 fHiraganaWordSet.applyPattern("[:Hiragana:]");
DSelectFormat.java168 applyPattern(pattern); in SelectFormat()
188 public void applyPattern(String pattern) { in applyPattern() method in SelectFormat
370 applyPattern(pattern); in readObject()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DPluralFormat.java285 applyPattern(pattern); in PluralFormat()
303 applyPattern(pattern); in PluralFormat()
319 applyPattern(pattern); in PluralFormat()
336 applyPattern(pattern); in PluralFormat()
352 applyPattern(pattern); in PluralFormat()
368 applyPattern(pattern); in PluralFormat()
410 public void applyPattern(String pattern) { in applyPattern() method in PluralFormat
865 applyPattern(pattern); in readObject()
DCjkBreakEngine.java24 fHangulWordSet.applyPattern("[\\uac00-\\ud7a3]");
25 fHanWordSet.applyPattern("[:Han:]");
26 fKatakanaWordSet.applyPattern("[[:Katakana:]\\uff9e\\uff9f]");
27 fHiraganaWordSet.applyPattern("[:Hiragana:]");
DSelectFormat.java170 applyPattern(pattern); in SelectFormat()
191 public void applyPattern(String pattern) { in applyPattern() method in SelectFormat
380 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.java193 s.applyPattern("[a-z {\\{l} {r\\}}]"); in TestToPattern()
200 s.applyPattern("[a-z {\u4E01\u4E02}{\\n\\r}]"); in TestToPattern()
217 s.applyPattern("[ab ]", true); in TestToPattern()
220 s.applyPattern("[ab ]", false); in TestToPattern()
237 s.applyPattern("[a-z{abc}{def}]"); in TestToPattern()
524 set.applyPattern("[a-m]"); in TestMinimalRep()
525 set2.applyPattern("[e-o]"); in TestMinimalRep()
529 set.applyPattern("[e-o]"); in TestMinimalRep()
530 set2.applyPattern("[a-m]"); in TestMinimalRep()
534 set.applyPattern("[a-eg-mo-w]"); in TestMinimalRep()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetTest.java197 s.applyPattern("[a-z {\\{l} {r\\}}]"); in TestToPattern()
204 s.applyPattern("[a-z {\u4E01\u4E02}{\\n\\r}]"); in TestToPattern()
221 s.applyPattern("[ab ]", true); in TestToPattern()
224 s.applyPattern("[ab ]", false); in TestToPattern()
241 s.applyPattern("[a-z{abc}{def}]"); in TestToPattern()
528 set.applyPattern("[a-m]"); in TestMinimalRep()
529 set2.applyPattern("[e-o]"); in TestMinimalRep()
533 set.applyPattern("[e-o]"); in TestMinimalRep()
534 set2.applyPattern("[a-m]"); in TestMinimalRep()
538 set.applyPattern("[a-eg-mo-w]"); in TestMinimalRep()
[all …]
/external/messageformat/java/com/ibm/icu/text/
DSelectFormat.java171 applyPattern(pattern); in SelectFormat()
192 public void applyPattern(String pattern) { in applyPattern() method in SelectFormat
381 applyPattern(pattern); in readObject()
/external/icu/icu4c/source/i18n/
Dchoicfmt.cpp80 applyPattern(newPattern, status); in ChoiceFormat()
129 applyPattern(newPattern,parseError, status); in ChoiceFormat()
223 ChoiceFormat::applyPattern(const UnicodeString& pattern, in applyPattern() function in ChoiceFormat
234 ChoiceFormat::applyPattern(const UnicodeString& pattern, in applyPattern() function in ChoiceFormat
338 applyPattern(result, errorCode); in setChoices()
Dreldtfmt.cpp193 fDateTimeFormatter->applyPattern(fTimePattern); in format()
199 fDateTimeFormatter->applyPattern(fDatePattern); in format()
216 fDateTimeFormatter->applyPattern(combinedPattern); in format()
246 fDateTimeFormatter->applyPattern(fTimePattern); in parse()
273 fDateTimeFormatter->applyPattern(fDatePattern); in parse()
300 fDateTimeFormatter->applyPattern(fDatePattern); in parse()
313 fDateTimeFormatter->applyPattern(combinedPattern); in parse()

1234567