Home
last modified time | relevance | path

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

123

/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DMessageFormatTest.java171 format.applyPattern("xx {0}"); in test_applyPatternLjava_lang_String()
180 format.applyPattern("nothing"); in test_applyPatternLjava_lang_String()
183 format.applyPattern("{0}"); in test_applyPatternLjava_lang_String()
187 format.applyPattern("{0, \t\u001ftime }"); in test_applyPatternLjava_lang_String()
191 format.applyPattern("{0,Time, Short\n}"); in test_applyPatternLjava_lang_String()
196 format.applyPattern("{0,TIME,\nmedium }"); in test_applyPatternLjava_lang_String()
201 format.applyPattern("{0,time,LONG}"); in test_applyPatternLjava_lang_String()
208 format.applyPattern("{0,time, Full}"); in test_applyPatternLjava_lang_String()
216 format.applyPattern("{0, date}"); in test_applyPatternLjava_lang_String()
220 format.applyPattern("{0, date, short}"); in test_applyPatternLjava_lang_String()
[all …]
DSimpleDateFormatTest.java50 format.applyPattern(pattern); in test()
83 pFormat.applyPattern(pattern); in parse()
96 format.applyPattern("z, zzzz"); in verifyFormatTimezone()
100 format.applyPattern("Z, ZZZZ"); in verifyFormatTimezone()
239 f2.applyPattern("GyMdkHmsSEDFwWahKz"); in test_applyPatternLjava_lang_String()
244 f2.applyPattern("b"); in test_applyPatternLjava_lang_String()
256 f2.applyPattern("a '"); in test_applyPatternLjava_lang_String()
262 f2.applyPattern(null); in test_applyPatternLjava_lang_String()
276 clone.applyPattern("y"); in test_clone()
490 format.applyPattern("'Mkz''':.@5"); in test_formatLjava_util_DateLjava_lang_StringBufferLjava_text_FieldPosition()
[all …]
DSupport_SimpleDateFormat.java62 ….applyPattern("G GGGG y yy yyyy M MM MMM MMMM d dd ddd k kk kkk H HH HHH h hh hhh m mmm s ss sss S… in t_format_with_FieldPosition()
100 format.applyPattern("h:m z"); in t_format_with_FieldPosition()
130 format.applyPattern("h:m Z z"); in t_format_with_FieldPosition()
147 format.applyPattern("yyyyMMddHHmmss"); in t_formatToCharacterIterator()
150 format.applyPattern("w W dd MMMM yyyy EEEE"); in t_formatToCharacterIterator()
153 format.applyPattern("h:m z"); in t_formatToCharacterIterator()
156 format.applyPattern("h:m Z"); in t_formatToCharacterIterator()
161 ….applyPattern("G GGGG y yy yyyy M MM MMM MMMM d dd ddd k kk kkk H HH HHH h hh hhh m mmm s ss sss S… in t_formatToCharacterIterator()
DChoiceFormatTest.java142 f.applyPattern("0#0|1#1"); in test_applyPatternLjava_lang_String()
154 f.applyPattern("-1#is negative|0#is zero or fraction|1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String()
162 f.applyPattern("-1#is negative|0#is zero or fraction|-1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String()
170 f.applyPattern("-1is negative|0#is zero or fraction|1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String()
177 f.applyPattern("-1<is negative|0#is zero or fraction|1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String()
185 f.applyPattern("-1#is negative|0#is zero or fraction|1#is one|1<is more than 1"); in test_applyPatternLjava_lang_String()
187 f.applyPattern(str); in test_applyPatternLjava_lang_String()
431 cf.applyPattern(str); in test_toPattern()
/external/icu4c/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()
Ddictbe.cpp212 fThaiWordSet.applyPattern(UNICODE_STRING_SIMPLE("[[:Thai:]&[:LineBreak=SA:]]"), status); in ThaiBreakEngine()
216 fMarkSet.applyPattern(UNICODE_STRING_SIMPLE("[[:Thai:]&[:LineBreak=SA:]&[:M:]]"), status); in ThaiBreakEngine()
438 fKhmerWordSet.applyPattern(UNICODE_STRING_SIMPLE("[[:Khmr:]&[:LineBreak=SA:]]"), status); in KhmerBreakEngine()
442 fMarkSet.applyPattern(UNICODE_STRING_SIMPLE("[[:Khmr:]&[:LineBreak=SA:]&[:M:]]"), status); in KhmerBreakEngine()
656 fHangulWordSet.applyPattern(UNICODE_STRING_SIMPLE("[\\uac00-\\ud7a3]"), status); in CjkBreakEngine()
657 fHanWordSet.applyPattern(UNICODE_STRING_SIMPLE("[:Han:]"), status); in CjkBreakEngine()
658 fKatakanaWordSet.applyPattern(UNICODE_STRING_SIMPLE("[[:Katakana:]\\uff9e\\uff9f]"), status); in CjkBreakEngine()
659 fHiraganaWordSet.applyPattern(UNICODE_STRING_SIMPLE("[:Hiragana:]"), status); in CjkBreakEngine()
/external/icu4c/test/intltest/
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()
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()
Dusettest.cpp173 s->applyPattern(UNICODE_STRING_SIMPLE("[a-z {\\{l} {r\\}}]"), ec); in TestToPattern()
182 s->applyPattern(UNICODE_STRING_SIMPLE("[a-z {\\u4E01\\u4E02}{\\n\\r}]"), ec); in TestToPattern()
294 set.applyPattern("[:L:]", status); in TestCategories()
305 set.applyPattern("[:Lu:]", status); in TestCategories()
494 set.applyPattern("[a-m]", status); in TestMinimalRep()
496 set2.applyPattern("[e-o]", status); in TestMinimalRep()
501 set.applyPattern("[e-o]", status); in TestMinimalRep()
503 set2.applyPattern("[a-m]", status); in TestMinimalRep()
508 set.applyPattern("[a-eg-mo-w]", status); in TestMinimalRep()
510 set2.applyPattern("[d-q]", status); in TestMinimalRep()
[all …]
Dnptrans.cpp80 unassigned.applyPattern(UnicodeString(pattern, patternLen), status); in NamePrepTransform()
86 prohibited.applyPattern(test,status); in NamePrepTransform()
109 labelSeparatorSet.applyPattern(UnicodeString(pattern,patternLen),status); in NamePrepTransform()
Dplurfmts.cpp208 plFmt.applyPattern(checkSyntaxtData[i], status); in pluralFormatUnitTest()
233 plFmt.applyPattern(patternTestData[i], status); in pluralFormatUnitTest()
253 pluralFmt.applyPattern(UNICODE_STRING_SIMPLE("odd{odd} other{even}"), status); in pluralFormatUnitTest()
269 pluralFmt.applyPattern(UNICODE_STRING_SIMPLE("odd__{odd} other{even}"), status); in pluralFormatUnitTest()
274 pluralFmt.applyPattern(UNICODE_STRING_SIMPLE("one{one} other{not one}"), status); in pluralFormatUnitTest()
608 pf2.applyPattern(pattern, errorCode); in ordinalFormatTest()
Dtransrt.cpp483 this->sourceRange.applyPattern(sourceRangeVal, status); in test()
492 this->targetRange.applyPattern(targetRangeVal, status); in test()
501 this->toSource.applyPattern(sourceRangeVal, status); in test()
510 this->toTarget.applyPattern(targetRangeVal, status); in test()
520 … this->roundtripExclusionsSet.applyPattern(UnicodeString(roundtripExclusions, -1, US_INV), status); in test()
528 badCharacters.applyPattern("[:Other:]", status); in test()
1249 FINAL.applyPattern(UNICODE_STRING_SIMPLE("[\\u05DA\\u05DD\\u05DF\\u05E3\\u05E5]"), error); in LegalHebrew()
1250 NON_FINAL.applyPattern(UNICODE_STRING_SIMPLE("[\\u05DB\\u05DE\\u05E0\\u05E4\\u05E6]"), error); in LegalHebrew()
1251 LETTER.applyPattern("[:letter:]", error); in LegalHebrew()
Dtstnorm.cpp1318 skipSets[UNORM_NFD].applyPattern( in initExpectedSkippables()
1320 skipSets[UNORM_NFC].applyPattern( in initExpectedSkippables()
1322 skipSets[UNORM_NFKD].applyPattern( in initExpectedSkippables()
1324 skipSets[UNORM_NFKC].applyPattern( in initExpectedSkippables()
1384 skipSets[UNORM_NFD].applyPattern(UNICODE_STRING_SIMPLE("[:NFD_Inert:]"), errorCode); in TestSkippable()
1385 skipSets[UNORM_NFKD].applyPattern(UNICODE_STRING_SIMPLE("[:NFKD_Inert:]"), errorCode); in TestSkippable()
1386 skipSets[UNORM_NFC].applyPattern(UNICODE_STRING_SIMPLE("[:NFC_Inert:]"), errorCode); in TestSkippable()
1387 skipSets[UNORM_NFKC].applyPattern(UNICODE_STRING_SIMPLE("[:NFKC_Inert:]"), errorCode); in TestSkippable()
Dtmsgfmt.cpp963 y.applyPattern("There are {0} files on {1} the disk", success); in testNotEquals()
1029 msg.applyPattern( formatStr, err); in testSetLocale()
1233 msg.applyPattern( formatStrChange, err ); //set msg formats to something different in testAdopt()
1294 msg.applyPattern( formatStrChange, err ); //set msg formats to something different in testAdopt()
1343 msg.applyPattern( formatStrChange, err ); //set msg formats to something different in testAdopt()
1634 compMsg.applyPattern(pattern, UMSGPAT_APOS_DOUBLE_REQUIRED, NULL, ec); in TestCompatibleApostrophe()
1640 icuMsg.applyPattern(pattern, UMSGPAT_APOS_DOUBLE_OPTIONAL, NULL, ec); in TestCompatibleApostrophe()
1660 compMsg.applyPattern(pattern, ec); in TestCompatibleApostrophe()
1661 icuMsg.applyPattern(pattern, ec); in TestCompatibleApostrophe()
1855 m.applyPattern("x { _oOo_ , number , integer } y", errorCode); in TestTrimArgumentName()
/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/icu4c/i18n/
Dreldtfmt.cpp152 fDateTimeFormatter->applyPattern(fTimePattern); in format()
158 fDateTimeFormatter->applyPattern(fDatePattern); in format()
175 fDateTimeFormatter->applyPattern(combinedPattern); in format()
205 fDateTimeFormatter->applyPattern(fTimePattern); in parse()
232 fDateTimeFormatter->applyPattern(fDatePattern); in parse()
259 fDateTimeFormatter->applyPattern(fDatePattern); in parse()
272 fDateTimeFormatter->applyPattern(combinedPattern); in parse()
Dplurfmt.cpp86 applyPattern(pat, status); in PluralFormat()
97 applyPattern(pat, status); in PluralFormat()
108 applyPattern(pat, status); in PluralFormat()
120 applyPattern(pat, status); in PluralFormat()
132 applyPattern(pat, status); in PluralFormat()
191 PluralFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) { in applyPattern() function in PluralFormat
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()
Dselfmt.cpp46 applyPattern(pat, status); in SelectFormat()
57 SelectFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) { in applyPattern() function in SelectFormat
Dmsgfmt.cpp237 applyPattern(pattern, success); in MessageFormat()
259 applyPattern(pattern, success); in MessageFormat()
282 applyPattern(pattern, parseError, success); in MessageFormat()
459 MessageFormat::applyPattern(const UnicodeString& newPattern, in applyPattern() function in MessageFormat
463 applyPattern(newPattern,parseError,status); in applyPattern()
471 MessageFormat::applyPattern(const UnicodeString& pattern, in applyPattern() function in MessageFormat
497 MessageFormat::applyPattern(const UnicodeString& pattern, in applyPattern() function in MessageFormat
504 applyPattern(pattern, *parseError, status); in applyPattern()
1146 subMsgFormat.applyPattern(sb, UMSGPAT_APOS_DOUBLE_REQUIRED, NULL, success); in formatComplexSubMessage()
1588 decfmt->applyPattern(style,parseError,ec); in createAppropriateFormat()
[all …]
/external/icu4c/common/unicode/
Duniset.h591 UnicodeSet& applyPattern(const UnicodeString& pattern,
611 UnicodeSet& applyPattern(const UnicodeString& pattern,
648 UnicodeSet& applyPattern(const UnicodeString& pattern,
1492 void applyPattern(RuleCharacterIterator& chars,
/external/icu4c/i18n/unicode/
Dchoicfmt.h269 virtual void applyPattern(const UnicodeString& pattern,
282 virtual void applyPattern(const UnicodeString& pattern,
Dmsgfmt.h435 virtual void applyPattern(const UnicodeString& pattern,
447 virtual void applyPattern(const UnicodeString& pattern,
469 virtual void applyPattern(const UnicodeString& pattern,
Dselfmt.h219 void applyPattern(const UnicodeString& pattern, UErrorCode& status);
/external/proguard/src/proguard/gui/
DGUIResources.java53 formatter.applyPattern(messages.getString(messageKey)); in getMessage()

123