Home
last modified time | relevance | path

Searched refs:newPattern (Results 1 – 25 of 27) sorted by relevance

12

/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java163 String newPattern = gen.replaceFieldTypes(pattern, "vvvv"); in replaceFieldTypesExample() local
165 format.applyPattern(newPattern); in replaceFieldTypesExample()
167 System.out.println(newPattern); in replaceFieldTypesExample()
/external/cronet/third_party/icu/source/samples/dtptngsample/
Ddtptngsample.cpp143 UnicodeString newPattern = dtfg->replaceFieldTypes(pattern, "vvvv", status); in replaceFieldTypesExample() local
145 sdf->applyPattern(newPattern); in replaceFieldTypesExample()
149 u_fprintf(out, "%S\n", newPattern.getTerminatedBuffer()); in replaceFieldTypesExample()
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java164 String newPattern = gen.replaceFieldTypes(pattern, "vvvv"); in replaceFieldTypesExample() local
166 format.applyPattern(newPattern); in replaceFieldTypesExample()
168 System.out.println(newPattern); in replaceFieldTypesExample()
/external/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp143 UnicodeString newPattern = dtfg->replaceFieldTypes(pattern, "vvvv", status); in replaceFieldTypesExample() local
145 sdf->applyPattern(newPattern); in replaceFieldTypesExample()
149 u_fprintf(out, "%S\n", newPattern.getTerminatedBuffer()); in replaceFieldTypesExample()
/external/icu/icu4c/source/i18n/
Dchoicfmt.cpp77 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() argument
82 applyPattern(newPattern, status); in ChoiceFormat()
125 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() argument
131 applyPattern(newPattern,parseError, status); in ChoiceFormat()
Dselfmt.cpp59 SelectFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) { in applyPattern() argument
64 msgPattern.parseSelectStyle(newPattern, NULL, status); in applyPattern()
Dplurfmt.cpp196 PluralFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) { in applyPattern() argument
197 msgPattern.parsePluralStyle(newPattern, NULL, status); in applyPattern()
Ddtptngen.cpp1669 UnicodeString newPattern; in adjustFieldTypes() local
1677 newPattern += quoteLiteral; in adjustFieldTypes()
1681 newPattern+=field; in adjustFieldTypes()
1686 newPattern+=field; in adjustFieldTypes()
1780 newPattern+=field; in adjustFieldTypes()
1783 return newPattern; in adjustFieldTypes()
Dmsgfmt.cpp473 MessageFormat::applyPattern(const UnicodeString& newPattern, in applyPattern() argument
477 applyPattern(newPattern,parseError,status); in applyPattern()
/external/cronet/third_party/icu/source/i18n/
Dchoicfmt.cpp77 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() argument
82 applyPattern(newPattern, status); in ChoiceFormat()
125 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, in ChoiceFormat() argument
131 applyPattern(newPattern,parseError, status); in ChoiceFormat()
Dselfmt.cpp59 SelectFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) { in applyPattern() argument
64 msgPattern.parseSelectStyle(newPattern, NULL, status); in applyPattern()
Dplurfmt.cpp196 PluralFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) { in applyPattern() argument
197 msgPattern.parsePluralStyle(newPattern, NULL, status); in applyPattern()
Ddtptngen.cpp1669 UnicodeString newPattern; in adjustFieldTypes() local
1677 newPattern += quoteLiteral; in adjustFieldTypes()
1681 newPattern+=field; in adjustFieldTypes()
1686 newPattern+=field; in adjustFieldTypes()
1780 newPattern+=field; in adjustFieldTypes()
1783 return newPattern; in adjustFieldTypes()
Dmsgfmt.cpp473 MessageFormat::applyPattern(const UnicodeString& newPattern, in applyPattern() argument
477 applyPattern(newPattern,parseError,status); in applyPattern()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateTimeGeneratorTest.java178 String newPattern = gen.replaceFieldTypes(pattern, "vvvv"); in TestSimple() local
179 format.applyPattern(newPattern); in TestSimple()
664 …String newPattern = dtpgen.replaceFieldTypes(pattern, "VVVV"); // replaceZoneString(pattern, "VVVV… in TestReplacingZoneString() local
665 if (newPattern.equals(pattern)) { in TestReplacingZoneString()
669 SimpleDateFormat newFormat = new SimpleDateFormat(newPattern, locales[i]); in TestReplacingZoneString()
676 …led parse with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + fo… in TestReplacingZoneString()
678 …roundtrip with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + fo… in TestReplacingZoneString()
680 … logln(locales[i] + ":\t\"" + pattern + "\" => \t\"" + newPattern + "\"\t" + formatted); in TestReplacingZoneString()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateTimeGeneratorTest.java175 String newPattern = gen.replaceFieldTypes(pattern, "vvvv"); in TestSimple() local
176 format.applyPattern(newPattern); in TestSimple()
661 …String newPattern = dtpgen.replaceFieldTypes(pattern, "VVVV"); // replaceZoneString(pattern, "VVVV… in TestReplacingZoneString() local
662 if (newPattern.equals(pattern)) { in TestReplacingZoneString()
666 SimpleDateFormat newFormat = new SimpleDateFormat(newPattern, locales[i]); in TestReplacingZoneString()
673 …led parse with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + fo… in TestReplacingZoneString()
675 …roundtrip with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + fo… in TestReplacingZoneString()
677 … logln(locales[i] + ":\t\"" + pattern + "\" => \t\"" + newPattern + "\"\t" + formatted); in TestReplacingZoneString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateTimePatternGenerator.java2250 StringBuilder newPattern = new StringBuilder(); in adjustFieldTypes() local
2253 newPattern.append(fp.quoteLiteral((String)item)); in adjustFieldTypes()
2358 newPattern.append(fieldBuilder); in adjustFieldTypes()
2362 return newPattern.toString(); in adjustFieldTypes()
2383 StringBuilder newPattern = new StringBuilder(); in getFields() local
2386 newPattern.append(fp.quoteLiteral((String)item)); in getFields()
2388 newPattern.append("{" + getName(item.toString()) + "}"); in getFields()
2391 return newPattern.toString(); in getFields()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateTimePatternGenerator.java2221 StringBuilder newPattern = new StringBuilder(); in adjustFieldTypes() local
2224 newPattern.append(fp.quoteLiteral((String)item)); in adjustFieldTypes()
2329 newPattern.append(fieldBuilder); in adjustFieldTypes()
2333 return newPattern.toString(); in adjustFieldTypes()
2355 StringBuilder newPattern = new StringBuilder(); in getFields() local
2358 newPattern.append(fp.quoteLiteral((String)item)); in getFields()
2360 newPattern.append("{" + getName(item.toString()) + "}"); in getFields()
2363 return newPattern.toString(); in getFields()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/message2/
DMf2DataModel.java833 public Builder addVariant(SelectorKeys keys, Pattern newPattern) { in addVariant() argument
834 this.variants.put(keys, newPattern); in addVariant()
/external/icu/android_icu4j/src/main/java/android/icu/message2/
DMf2DataModel.java850 public Builder addVariant(SelectorKeys keys, Pattern newPattern) { in addVariant() argument
851 this.variants.put(keys, newPattern); in addVariant()
/external/icu/icu4c/source/i18n/unicode/
Dchoicfmt.h493 ChoiceFormat(const UnicodeString& newPattern,
/external/cronet/third_party/icu/source/i18n/unicode/
Dchoicfmt.h493 ChoiceFormat(const UnicodeString& newPattern,
/external/icu/libicu/cts_headers/unicode/
Dchoicfmt.h493 ChoiceFormat(const UnicodeString& newPattern,
/external/cronet/third_party/icu/source/test/intltest/
Ddtptngts.cpp556 UnicodeString newPattern = gen->replaceFieldTypes(pattern, UnicodeString("vvvv"), status); in testAPI() local
557 format->applyPattern(newPattern); in testAPI()
/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp556 UnicodeString newPattern = gen->replaceFieldTypes(pattern, UnicodeString("vvvv"), status); in testAPI() local
557 format->applyPattern(newPattern); in testAPI()

12