Home
last modified time | relevance | path

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

12345678910

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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.java1587 format.applyPattern(pat); in tryPat994()
1766 sdf.applyPattern(pattern); in tryPattern()
1874 dateParse.applyPattern("d MMMM, yyyy"); in TestBadInput135a()
1889 dateParse.applyPattern(parseFormats[index]); in TestBadInput135a()
3150 fmt.applyPattern(pattern); in expectParse()
3214 fmt.applyPattern(pattern); in expectFormat()
3307 fmt.applyPattern(pattern); in expect()
3626 formatters[0].applyPattern(testPattern); in TestCalendarType()
3635 formatters[1].applyPattern(testPattern); in TestCalendarType()
3644 formatters[2].applyPattern(testPattern); in TestCalendarType()
[all …]
/third_party/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.java1671 format.applyPattern(pat); in tryPat994()
1850 sdf.applyPattern(pattern); in tryPattern()
1958 dateParse.applyPattern("d MMMM, yyyy"); in TestBadInput135a()
1973 dateParse.applyPattern(parseFormats[index]); in TestBadInput135a()
3234 fmt.applyPattern(pattern); in expectParse()
3298 fmt.applyPattern(pattern); in expectFormat()
3391 fmt.applyPattern(pattern); in expect()
3710 formatters[0].applyPattern(testPattern); in TestCalendarType()
3719 formatters[1].applyPattern(testPattern); in TestCalendarType()
3728 formatters[2].applyPattern(testPattern); in TestCalendarType()
[all …]
/third_party/icu/icu4c/source/i18n/
Dregexst.cpp78 … fPropSets[URX_ISWORD_SET].applyPattern(UnicodeString(true, gIsWordPattern, -1), *status).freeze(); in RegexStaticSets()
79 …fPropSets[URX_ISSPACE_SET].applyPattern(UnicodeString(true, gIsSpacePattern, -1), *status).freeze(… in RegexStaticSets()
80 …fPropSets[URX_GC_EXTEND].applyPattern(UnicodeString(TRUE, gGC_ExtendPattern, -1), *status).freeze(… in RegexStaticSets()
81 …fPropSets[URX_GC_CONTROL].applyPattern(UnicodeString(TRUE, gGC_ControlPattern, -1), *status).freez… in RegexStaticSets()
82 fPropSets[URX_GC_L].applyPattern(UnicodeString(TRUE, gGC_LPattern, -1), *status).freeze(); in RegexStaticSets()
83 fPropSets[URX_GC_V].applyPattern(UnicodeString(TRUE, gGC_VPattern, -1), *status).freeze(); in RegexStaticSets()
84 fPropSets[URX_GC_T].applyPattern(UnicodeString(TRUE, gGC_TPattern, -1), *status).freeze(); in RegexStaticSets()
85 fPropSets[URX_GC_LV].applyPattern(UnicodeString(TRUE, gGC_LVPattern, -1), *status).freeze(); in RegexStaticSets()
86 fPropSets[URX_GC_LVT].applyPattern(UnicodeString(TRUE, gGC_LVTPattern, -1), *status).freeze(); in RegexStaticSets()
/third_party/node/deps/icu-small/source/i18n/
Dregexst.cpp78 … fPropSets[URX_ISWORD_SET].applyPattern(UnicodeString(true, gIsWordPattern, -1), *status).freeze(); in RegexStaticSets()
79 …fPropSets[URX_ISSPACE_SET].applyPattern(UnicodeString(true, gIsSpacePattern, -1), *status).freeze(… in RegexStaticSets()
80 …fPropSets[URX_GC_EXTEND].applyPattern(UnicodeString(TRUE, gGC_ExtendPattern, -1), *status).freeze(… in RegexStaticSets()
81 …fPropSets[URX_GC_CONTROL].applyPattern(UnicodeString(TRUE, gGC_ControlPattern, -1), *status).freez… in RegexStaticSets()
82 fPropSets[URX_GC_L].applyPattern(UnicodeString(TRUE, gGC_LPattern, -1), *status).freeze(); in RegexStaticSets()
83 fPropSets[URX_GC_V].applyPattern(UnicodeString(TRUE, gGC_VPattern, -1), *status).freeze(); in RegexStaticSets()
84 fPropSets[URX_GC_T].applyPattern(UnicodeString(TRUE, gGC_TPattern, -1), *status).freeze(); in RegexStaticSets()
85 fPropSets[URX_GC_LV].applyPattern(UnicodeString(TRUE, gGC_LVPattern, -1), *status).freeze(); in RegexStaticSets()
86 fPropSets[URX_GC_LVT].applyPattern(UnicodeString(TRUE, gGC_LVTPattern, -1), *status).freeze(); in RegexStaticSets()
/third_party/skia/third_party/externals/icu/source/i18n/
Dregexst.cpp78 … fPropSets[URX_ISWORD_SET].applyPattern(UnicodeString(true, gIsWordPattern, -1), *status).freeze(); in RegexStaticSets()
79 …fPropSets[URX_ISSPACE_SET].applyPattern(UnicodeString(true, gIsSpacePattern, -1), *status).freeze(… in RegexStaticSets()
80 …fPropSets[URX_GC_EXTEND].applyPattern(UnicodeString(TRUE, gGC_ExtendPattern, -1), *status).freeze(… in RegexStaticSets()
81 …fPropSets[URX_GC_CONTROL].applyPattern(UnicodeString(TRUE, gGC_ControlPattern, -1), *status).freez… in RegexStaticSets()
82 fPropSets[URX_GC_L].applyPattern(UnicodeString(TRUE, gGC_LPattern, -1), *status).freeze(); in RegexStaticSets()
83 fPropSets[URX_GC_V].applyPattern(UnicodeString(TRUE, gGC_VPattern, -1), *status).freeze(); in RegexStaticSets()
84 fPropSets[URX_GC_T].applyPattern(UnicodeString(TRUE, gGC_TPattern, -1), *status).freeze(); in RegexStaticSets()
85 fPropSets[URX_GC_LV].applyPattern(UnicodeString(TRUE, gGC_LVPattern, -1), *status).freeze(); in RegexStaticSets()
86 fPropSets[URX_GC_LVT].applyPattern(UnicodeString(TRUE, gGC_LVTPattern, -1), *status).freeze(); in RegexStaticSets()
/third_party/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()
352 fmt.applyPattern("{2}, {0}, {1} and {3}", status); in TestFormatReplaceNoOptimization()
382 fmt.applyPattern("boo {2}, {0}, {1} and {3}", status); in TestFormatReplaceNoOptimizationLeadingText()
412 fmt.applyPattern("{2}, {0}, {1} and {3}", status); in TestFormatReplaceOptimization()
442 fmt.applyPattern("{2}, {0}, {1} and {3} {2}", status); in TestFormatReplaceNoOptimizationLeadingArgumentUsedTwice()
[all …]
Dselfmts.cpp114 selFmt->applyPattern(checkSyntaxData[i], status); in selectFormatUnitTest()
122 selFmt->applyPattern("odd{foo} odd{bar} other{foobar}", status); in selectFormatUnitTest()
128 selFmt->applyPattern("odd{foo} other{bar} other{foobar}", status); in selectFormatUnitTest()
151 selFmt->applyPattern(patternTestData[i], status); in selectFormatUnitTest()
288 selFmt1->applyPattern( pattern, status1); in selectFormatAPITest()
Ddtfmttst.cpp707 format->applyPattern(pat); in tryPat994()
930 if (pattern != 0) sdf.applyPattern(pattern); in tryPattern()
1110 dateParse->applyPattern("d MMMM, yyyy"); in TestBadInput135a()
1130 dateParse->applyPattern(parseFormats[index]); in TestBadInput135a()
1949 fmt.applyPattern(pattern); in expectParse()
2029 fmt.applyPattern(pattern); in expect()
2134 fmt.applyPattern(pattern); in expectFormat()
4694 ((SimpleDateFormat*) sdmft)->applyPattern(itemPtr->pattern); in TestParseMultiPatternMatch()
5063 sdf.applyPattern(UnicodeString("hh:mm:ss bbb")); in TestAmPmMidnightNoon()
5073 sdf.applyPattern(UnicodeString("hh:mm bbb")); in TestAmPmMidnightNoon()
[all …]
/third_party/node/deps/icu-small/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()
/third_party/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()
/third_party/skia/third_party/externals/icu/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()
/third_party/flutter/skia/third_party/externals/icu/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()
/third_party/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
889 applyPattern(pattern); in readObject()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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:]");
/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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 …]

12345678910