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

/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DCompactDecimalFormat.java360 StringBuffer newPattern = new StringBuffer();
365 newPattern.append(prefix);
367 newPattern.append(originalPattern, 0, semicolonPos);
368 newPattern.append(suffix);
369 newPattern.append(';');
370 newPattern.append(prefix);
372 newPattern.append(originalPattern, semicolonPos + 1, originalPattern.length());
373 newPattern.append(suffix);
377 applyPattern(newPattern.toString());
H A DDateTimePatternGenerator.java1885 StringBuilder newPattern = new StringBuilder();
1888 newPattern.append(fp.quoteLiteral((String)item));
1975 newPattern.append(fieldBuilder);
1979 return newPattern.toString();
2001 StringBuilder newPattern = new StringBuilder();
2004 newPattern.append(fp.quoteLiteral((String)item));
2006 newPattern.append("{" + getName(item.toString()) + "}");
2009 return newPattern.toString();
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCompactDecimalFormat.java373 StringBuffer newPattern = new StringBuffer();
378 newPattern.append(prefix);
380 newPattern.append(originalPattern, 0, semicolonPos);
381 newPattern.append(suffix);
382 newPattern.append(';');
383 newPattern.append(prefix);
385 newPattern.append(originalPattern, semicolonPos + 1, originalPattern.length());
386 newPattern.append(suffix);
390 applyPattern(newPattern.toString());
H A DDateTimePatternGenerator.java1911 StringBuilder newPattern = new StringBuilder();
1914 newPattern.append(fp.quoteLiteral((String)item));
2001 newPattern.append(fieldBuilder);
2005 return newPattern.toString();
2026 StringBuilder newPattern = new StringBuilder();
2029 newPattern.append(fp.quoteLiteral((String)item));
2031 newPattern.append("{" + getName(item.toString()) + "}");
2034 return newPattern.toString();
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/
H A DDateTimePatternGeneratorSample.java164 String newPattern = gen.replaceFieldTypes(pattern, "vvvv");
166 format.applyPattern(newPattern);
168 System.out.println(newPattern);
/external/icu/icu4c/source/samples/dtptngsample/
H A Ddtptngsample.cpp142 UnicodeString newPattern = dtfg->replaceFieldTypes(pattern, "vvvv", status); local
144 sdf->applyPattern(newPattern);
148 u_fprintf(out, "%S\n", newPattern.getTerminatedBuffer());
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/
H A DDateTimePatternGeneratorSample.java163 String newPattern = gen.replaceFieldTypes(pattern, "vvvv");
165 format.applyPattern(newPattern);
167 System.out.println(newPattern);
/external/icu/icu4c/source/i18n/
H A Dselfmt.cpp59 SelectFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) { argument
64 msgPattern.parseSelectStyle(newPattern, NULL, status);
H A Dchoicfmt.cpp77 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, argument
82 applyPattern(newPattern, status);
125 ChoiceFormat::ChoiceFormat(const UnicodeString& newPattern, argument
131 applyPattern(newPattern,parseError, status);
H A Dplurfmt.cpp193 PluralFormat::applyPattern(const UnicodeString& newPattern, UErrorCode& status) { argument
194 msgPattern.parsePluralStyle(newPattern, NULL, status);
H A Ddtptngen.cpp1279 UnicodeString newPattern;
1287 newPattern += quoteLiteral;
1291 newPattern+=field;
1296 newPattern+=field;
1372 newPattern+=field;
1375 return newPattern;
H A Dmsgfmt.cpp472 MessageFormat::applyPattern(const UnicodeString& newPattern, argument
476 applyPattern(newPattern,parseError,status);
/external/skia/tests/
H A DGpuSampleLocationsTest.cpp193 void overrideSamplePattern(const SamplePattern& newPattern) override {
194 fSamplePattern = newPattern;
/external/icu/icu4c/source/i18n/unicode/
H A Dchoicfmt.h484 * @param newPattern Pattern used to construct object.
490 ChoiceFormat(const UnicodeString& newPattern,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DDateTimeGeneratorTest.java101 String newPattern = gen.replaceFieldTypes(pattern, "vvvv");
102 format.applyPattern(newPattern);
567 String newPattern = dtpgen.replaceFieldTypes(pattern, "VVVV"); // replaceZoneString(pattern, "VVVV");
568 if (newPattern.equals(pattern)) {
572 SimpleDateFormat newFormat = new SimpleDateFormat(newPattern, locales[i]);
579 errln("Failed parse with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + formatted.substring(0,parsePosition.getErrorIndex()) + "{}" + formatted.substring(parsePosition.getErrorIndex()) + "\"");
581 errln("Failed timezone roundtrip with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + formatted + "\",\t" + calendar.getTimeZone().getID() + " != " + testTimeZone.getID());
583 logln(locales[i] + ":\t\"" + pattern + "\" => \t\"" + newPattern + "\"\t" + formatted);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDateTimeGeneratorTest.java100 String newPattern = gen.replaceFieldTypes(pattern, "vvvv");
101 format.applyPattern(newPattern);
566 String newPattern = dtpgen.replaceFieldTypes(pattern, "VVVV"); // replaceZoneString(pattern, "VVVV");
567 if (newPattern.equals(pattern)) {
571 SimpleDateFormat newFormat = new SimpleDateFormat(newPattern, locales[i]);
578 errln("Failed parse with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + formatted.substring(0,parsePosition.getErrorIndex()) + "{}" + formatted.substring(parsePosition.getErrorIndex()) + "\"");
580 errln("Failed timezone roundtrip with VVVV:\t" + locales[i] + ",\t\"" + pattern + "\",\t\"" + newPattern + "\",\t\"" + formatted + "\",\t" + calendar.getTimeZone().getID() + " != " + testTimeZone.getID());
582 logln(locales[i] + ":\t\"" + pattern + "\" => \t\"" + newPattern + "\"\t" + formatted);
/external/icu/icu4c/source/test/intltest/
H A Ddtptngts.cpp478 UnicodeString newPattern = gen->replaceFieldTypes(pattern, UnicodeString("vvvv"), status); local
479 format->applyPattern(newPattern);
/external/guice/lib/build/
H A Dspring-core.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/springframework/ org/springframework/core/ org/springframework/core/annotation/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/guice/extensions/struts2/lib/
H A Dstruts2-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/struts2/ org/apache/struts2/dispatcher/ ...
/external/icu/tools/srcgen/currysrc/libs/
H A Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...
/external/v8/src/inspector/build/closure-compiler/
H A Dclosure-compiler.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/external/dagger2/lib/
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...

Completed in 2044 milliseconds