Home
last modified time | relevance | path

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

123

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/
DMessageFormat2Test.java43 .setPattern("{Hello World!}").build(); in test()
53 .setPattern("{Your card expires on {$exp :datetime skeleton=yMMMdE}!}") in testDateFormat()
60 .setPattern("{Your card expires on {$exp :datetime datestyle=full}!}") in testDateFormat()
66 .setPattern("{Your card expires on {$exp :datetime datestyle=long}!}") in testDateFormat()
72 .setPattern("{Your card expires on {$exp :datetime datestyle=medium}!}") in testDateFormat()
78 .setPattern("{Your card expires on {$exp :datetime datestyle=short}!}") in testDateFormat()
86 .setPattern("{Your card expires on {$exp :datetime skeleton=yMMMdE}!}") in testDateFormat()
94 .setPattern("{Your card expires on {$exp}!}") in testDateFormat()
108 .setPattern("{Your card expires on {$exp :datetime skeleton=yMMMdE}!}") in testDateFormat()
115 .setPattern("{Your card expires on {$exp :datetime skeleton=yMMMdE}!}") in testDateFormat()
[all …]
DMf2IcuTest.java32 .setPattern("{There are {$count} files on {$where}}") in testSample()
45 … .setPattern("{At {$when :datetime timestyle=default} on {$when :datetime datestyle=default}, " in testStaticFormat()
60 .setPattern("{The disk \"{$diskName}\" contains {$fileCount} file(s).}") in testSimpleFormat()
81 .setPattern(pattern) in testSelectFormatToPattern()
98 .setPattern(messagePattern).setLocale(locale) in doTheRealDateTimeSkeletonTesting()
132 .setPattern("{Hello {$user}, today is {$today :datetime datestyle=long}.}") in checkMf1Behavior()
DCustomFormatterMessageRefTest.java59 .setPattern(msg.toString()) in format()
89 .setPattern(PROPERTIES.getProperty("firefox")) in testSimpleGrammarSelection()
95 .setPattern(PROPERTIES.getProperty("chrome")) in testSimpleGrammarSelection()
110 .setPattern("{Please start {$browser :msgRef gcase=genitive resbundle=$res}}") in test()
114 .setPattern("{Please start {$browser :msgRef resbundle=$res}}") in test()
DCustomFormatterGrammarCaseTest.java95 .setPattern("{Cartea {$owner :grammarBB case=genitive}}") in test()
106 .setPattern("{M-a sunat {$owner :grammarBB case=nominative}}") in test()
DTestUtils.java30 .setPattern(testCase.message) in runTestCase()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DPatternTokenizer.java132 public PatternTokenizer setPattern(CharSequence pattern) { in setPattern() method in PatternTokenizer
133 return setPattern(pattern.toString()); in setPattern()
136 public PatternTokenizer setPattern(String pattern) { in setPattern() method in PatternTokenizer
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DPatternTokenizer.java134 public PatternTokenizer setPattern(CharSequence pattern) { in setPattern() method in PatternTokenizer
135 return setPattern(pattern.toString()); in setPattern()
138 public PatternTokenizer setPattern(String pattern) { in setPattern() method in PatternTokenizer
/third_party/node/deps/icu-small/source/common/unicode/
Duniset.h1715 void setPattern(const UnicodeString& newPat) { in setPattern() function
1716 setPattern(newPat.getBuffer(), newPat.length()); in setPattern()
1718 void setPattern(const char16_t *newPat, int32_t newPatLen);
/third_party/icu/icu4c/source/common/unicode/
Duniset.h1702 void setPattern(const UnicodeString& newPat) { in setPattern() function
1703 setPattern(newPat.getBuffer(), newPat.length()); in setPattern()
1705 void setPattern(const char16_t *newPat, int32_t newPatLen);
/third_party/skia/third_party/externals/icu/source/common/unicode/
Duniset.h1682 void setPattern(const UnicodeString& newPat) { in setPattern() function
1683 setPattern(newPat.getBuffer(), newPat.length()); in setPattern()
1685 void setPattern(const char16_t *newPat, int32_t newPatLen);
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/message2/
DMf2Serializer.java187 result.setPattern(patternResult.resultValue); in parseMessage()
238 result.setPattern(patternResult.resultValue); in parseVariant()
392 public Builder setPattern(Pattern pattern) { in setPattern() method in Mf2Serializer.Variant.Builder
DMessageFormatter.java281 public Builder setPattern(String pattern) { in setPattern() method in MessageFormatter.Builder
/third_party/icu/icu4c/source/test/intltest/
Dsrchtest.cpp1149 strsrch->setPattern(pattern, status); in TestPattern()
1172 strsrch->setPattern(pattern, status); in TestPattern()
1198 strsrch->setPattern(pattern, status); in TestPattern()
1306 strsrch->setPattern(pattern, status); in TestGetSetOffset()
1624 strsrch->setPattern(pattern, status); in TestContraction()
1665 strsrch->setPattern(pattern, status); in TestIgnorable()
1702 strsrch->setPattern(pattern, status); in TestDiacriticMatch()
1996 strsrch->setPattern(pattern, status); in TestPatternCanonical()
2012 strsrch->setPattern(pattern, status); in TestPatternCanonical()
2142 strsrch->setPattern(pattern, status); in TestGetSetOffsetCanonical()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/search/
DSearchTest.java1074 strsrch.setPattern(pattern); in TestContraction()
1106 strsrch.setPattern(pattern); in TestContractionCanonical()
1235 strsrch.setPattern(pattern); in TestGetSetOffset()
1309 strsrch.setPattern(pattern); in TestGetSetOffsetCanonical()
1373 strsrch.setPattern(pattern); in TestIgnorable()
1665 strsrch.setPattern(PATTERN[1].pattern); in TestPattern()
1684 strsrch.setPattern(PATTERN[0].pattern); in TestPattern()
1708 strsrch.setPattern(pattern); in TestPattern()
1736 strsrch.setPattern(PATTERNCANONICAL[1].pattern); in TestPatternCanonical()
1752 strsrch.setPattern(PATTERNCANONICAL[0].pattern); in TestPatternCanonical()
[all …]
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/
DSearchTest.java1071 strsrch.setPattern(pattern); in TestContraction()
1103 strsrch.setPattern(pattern); in TestContractionCanonical()
1232 strsrch.setPattern(pattern); in TestGetSetOffset()
1306 strsrch.setPattern(pattern); in TestGetSetOffsetCanonical()
1370 strsrch.setPattern(pattern); in TestIgnorable()
1662 strsrch.setPattern(PATTERN[1].pattern); in TestPattern()
1681 strsrch.setPattern(PATTERN[0].pattern); in TestPattern()
1705 strsrch.setPattern(pattern); in TestPattern()
1733 strsrch.setPattern(PATTERNCANONICAL[1].pattern); in TestPatternCanonical()
1749 strsrch.setPattern(PATTERNCANONICAL[0].pattern); in TestPatternCanonical()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/unicode/
Dstsearch.h387 void setPattern(const UnicodeString &pattern, UErrorCode &status);
/third_party/node/deps/icu-small/source/i18n/unicode/
Dstsearch.h387 void setPattern(const UnicodeString &pattern, UErrorCode &status);
/third_party/icu/icu4c/source/i18n/unicode/
Dstsearch.h387 void setPattern(const UnicodeString &pattern, UErrorCode &status);
/third_party/icu/icu4c/source/common/
Duniset_closure.cpp109 setPattern(rebuiltPat); in applyPattern()
/third_party/libphonenumber/java/libphonenumber/src/com/google/i18n/phonenumbers/
DPhonemetadata.java53 setPattern(other.getPattern()); in mergeFrom()
83 public NumberFormat setPattern(String value) { in setPattern() method in Phonemetadata.NumberFormat
182 setPattern(objectInput.readUTF()); in readExternal()
/third_party/skia/third_party/externals/icu/source/common/
Duniset_closure.cpp109 setPattern(rebuiltPat); in applyPattern()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateTimeGeneratorTest.java283 pp.setPattern(patternTest); in CheckPattern()
289 String doubleNormalized = pp.setPattern(normalized).normalize(); in CheckPattern()
294 pp.setPattern(patternTest); in CheckPattern()
296 pp.setPattern(normalized); in CheckPattern()
/third_party/libphonenumber/tools/java/common/src/com/google/i18n/phonenumbers/
DBuildMetadataFromXml.java265 intlFormat.setPattern(numberFormatElement.getAttribute(PATTERN)); in loadInternationalFormat()
289 format.setPattern(validateRE(numberFormatElement.getAttribute(PATTERN))); in loadNationalFormat()
/third_party/node/deps/icu-small/source/common/
Duniset_closure.cpp111 setPattern(rebuiltPat); in applyPattern()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java280 pp.setPattern(patternTest); in CheckPattern()
286 String doubleNormalized = pp.setPattern(normalized).normalize(); in CheckPattern()
291 pp.setPattern(patternTest); in CheckPattern()
293 pp.setPattern(normalized); in CheckPattern()

123