/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/ |
D | DateTimePatternGeneratorSample.java | 164 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/ |
D | dtptngsample.cpp | 143 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/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/ |
D | DateTimePatternGeneratorSample.java | 163 String newPattern = gen.replaceFieldTypes(pattern, "vvvv"); in replaceFieldTypesExample() local 165 format.applyPattern(newPattern); in replaceFieldTypesExample() 167 System.out.println(newPattern); in replaceFieldTypesExample()
|
/external/icu/icu4c/source/i18n/ |
D | choicfmt.cpp | 77 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()
|
D | selfmt.cpp | 59 SelectFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) { in applyPattern() argument 64 msgPattern.parseSelectStyle(newPattern, NULL, status); in applyPattern()
|
D | plurfmt.cpp | 196 PluralFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) { in applyPattern() argument 197 msgPattern.parsePluralStyle(newPattern, NULL, status); in applyPattern()
|
D | dtptngen.cpp | 1589 UnicodeString newPattern; in adjustFieldTypes() local 1597 newPattern += quoteLiteral; in adjustFieldTypes() 1601 newPattern+=field; in adjustFieldTypes() 1606 newPattern+=field; in adjustFieldTypes() 1693 newPattern+=field; in adjustFieldTypes() 1696 return newPattern; in adjustFieldTypes()
|
D | msgfmt.cpp | 473 MessageFormat::applyPattern(const UnicodeString& newPattern, in applyPattern() argument 477 applyPattern(newPattern,parseError,status); in applyPattern()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateTimeGeneratorTest.java | 175 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()
|
D | NumberFormatTest.java | 5450 String newPattern = fmt.toPattern(); 5451 assertEquals("Should produce a valid pattern", pattern, newPattern); 5453 DecimalFormat fmt2 = new DecimalFormat(newPattern);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateTimeGeneratorTest.java | 178 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()
|
D | NumberFormatTest.java | 5453 String newPattern = fmt.toPattern(); 5454 assertEquals("Should produce a valid pattern", pattern, newPattern); 5456 DecimalFormat fmt2 = new DecimalFormat(newPattern);
|
/external/icu/icu4c/source/i18n/unicode/ |
D | choicfmt.h | 493 ChoiceFormat(const UnicodeString& newPattern,
|
/external/icu/libicu/cts_headers/unicode/ |
D | choicfmt.h | 493 ChoiceFormat(const UnicodeString& newPattern,
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateTimePatternGenerator.java | 2144 StringBuilder newPattern = new StringBuilder(); in adjustFieldTypes() local 2147 newPattern.append(fp.quoteLiteral((String)item)); in adjustFieldTypes() 2242 newPattern.append(fieldBuilder); in adjustFieldTypes() 2246 return newPattern.toString(); in adjustFieldTypes() 2268 StringBuilder newPattern = new StringBuilder(); in getFields() local 2271 newPattern.append(fp.quoteLiteral((String)item)); in getFields() 2273 newPattern.append("{" + getName(item.toString()) + "}"); in getFields() 2276 return newPattern.toString(); in getFields()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateTimePatternGenerator.java | 2174 StringBuilder newPattern = new StringBuilder(); in adjustFieldTypes() local 2177 newPattern.append(fp.quoteLiteral((String)item)); in adjustFieldTypes() 2272 newPattern.append(fieldBuilder); in adjustFieldTypes() 2276 return newPattern.toString(); in adjustFieldTypes() 2297 StringBuilder newPattern = new StringBuilder(); in getFields() local 2300 newPattern.append(fp.quoteLiteral((String)item)); in getFields() 2302 newPattern.append("{" + getName(item.toString()) + "}"); in getFields() 2305 return newPattern.toString(); in getFields()
|
/external/icu/icu4c/source/test/intltest/ |
D | dtptngts.cpp | 553 UnicodeString newPattern = gen->replaceFieldTypes(pattern, UnicodeString("vvvv"), status); in testAPI() local 554 format->applyPattern(newPattern); in testAPI()
|