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

123456789

/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DUnicodeMatcher.java110 public abstract String toPattern(boolean escapeUnprintable); method in interface:UnicodeMatcher
H A DQuantifier.java74 public String toPattern(boolean escapeUnprintable) { method in class:Quantifier
76 result.append(matcher.toPattern(escapeUnprintable));
H A DStringMatcher.java180 public String toPattern(boolean escapeUnprintable) { method in class:StringMatcher
192 Utility.appendToRule(result, m.toPattern(escapeUnprintable),
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DUnicodeMatcher.java116 public abstract String toPattern(boolean escapeUnprintable); method in interface:UnicodeMatcher
H A DQuantifier.java73 public String toPattern(boolean escapeUnprintable) { method in class:Quantifier
75 result.append(matcher.toPattern(escapeUnprintable));
/external/icu/icu4c/source/common/unicode/
H A Dunimatch.h142 virtual UnicodeString& toPattern(UnicodeString& result,
/external/jcommander/src/main/java/com/beust/jcommander/converters/
H A DISO8601DateConverter.java45 throw new ParameterException(getErrorString(value, String.format("an ISO-8601 formatted date (%s)", DATE_FORMAT.toPattern())));
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A DUnicodeSetClosure.java72 + s.toPattern(true)
76 out.println("Unicode: " + s.toPattern(false));
113 System.out.println("Testing Closure of: " + original.toPattern(true));
114 out.println("Testing Closure of: " + original.toPattern(false));
119 out.println("Equals:" + original.toPattern(false));
135 log.println("\tnew UnicodeSet(\"" + generatedSet.toPattern(true) + "\"),");
139 out.println(label + ": " + test.toPattern(false));
144 out.println("\tDifference = " + test.toPattern(false));
184 out.println(label + ": " + test.toPattern(false));
H A DSourceSet.java102 sourceSet.toPattern(true));
106 + sourceSet.toPattern(true)
109 out.println("# Unicode: " + sourceSet.toPattern(false));
H A DgenIndexFilters.java65 System.out.println(sourceSet.toPattern(true));
/external/icu/icu4c/source/i18n/
H A Dquant.h83 virtual UnicodeString& toPattern(UnicodeString& result,
H A Dquant.cpp100 UnicodeString& Quantifier::toPattern(UnicodeString& result, function in class:Quantifier
103 matcher->toMatcher()->toPattern(result, escapeUnprintable);
H A Dstrmatch.h130 virtual UnicodeString& toPattern(UnicodeString& result,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DMessageRegressionTest.java106 * MessageFormat.toPattern has weird rounding behavior.
108 * ICU 4.8: This test is commented out because toPattern() has been changed to return
115 String pat = fmt.toPattern();
117 errln("MessageFormat.toPattern failed");
161 logln("toPattern : " + messageFormatter.toPattern());
288 " equal\nformat1 = " + format1 + "(" + format1.toPattern() + ")\nformat2 = " +
289 format2 + "(" + format2.toPattern() + ")");
307 if (illegalPattern.equals(mf.toPattern()))
308 errln("pattern after: \"" + mf.toPattern()
[all...]
H A DSelectFormatAPITest.java74 //Check for applyPattern/toPattern
77 assertEquals("Failed in applyPattern,toPattern with unexpected output"
78 , pattern, selFmt.toPattern() );
120 * API tests for toPattern() method
126 , SIMPLE_PATTERN1, selFmt.toPattern() );
H A DNumberRegressionTests.java243 logln("nf toPattern1: " + ((DecimalFormat)nf).toPattern());
249 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern());
259 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern());
327 logln("toPattern() returns \"" + df.toPattern() + "\"");
335 logln("toPattern() returns \"" + df.toPattern() + "\"");
429 if (!dfFoo.toPattern().equals("#0000"))
430 errln("dfFoo.toPattern : " + dfFoo.toPattern());
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DMessageRegressionTest.java105 * MessageFormat.toPattern has weird rounding behavior.
107 * ICU 4.8: This test is commented out because toPattern() has been changed to return
114 String pat = fmt.toPattern();
116 errln("MessageFormat.toPattern failed");
160 logln("toPattern : " + messageFormatter.toPattern());
287 " equal\nformat1 = " + format1 + "(" + format1.toPattern() + ")\nformat2 = " +
288 format2 + "(" + format2.toPattern() + ")");
306 if (illegalPattern.equals(mf.toPattern()))
307 errln("pattern after: \"" + mf.toPattern()
[all...]
H A DSelectFormatAPITest.java73 //Check for applyPattern/toPattern
76 assertEquals("Failed in applyPattern,toPattern with unexpected output"
77 , pattern, selFmt.toPattern() );
119 * API tests for toPattern() method
125 , SIMPLE_PATTERN1, selFmt.toPattern() );
H A DNumberRegressionTests.java242 logln("nf toPattern1: " + ((DecimalFormat)nf).toPattern());
248 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern());
258 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern());
326 logln("toPattern() returns \"" + df.toPattern() + "\"");
334 logln("toPattern() returns \"" + df.toPattern() + "\"");
428 if (!dfFoo.toPattern().equals("#0000"))
429 errln("dfFoo.toPattern : " + dfFoo.toPattern());
[all...]
/external/icu/icu4c/source/i18n/unicode/
H A Dselfmt.h305 UnicodeString& toPattern(UnicodeString& appendTo);
/external/icu/icu4c/source/test/intltest/
H A Dtchcfmt.cpp175 pattform->toPattern( res1 );
176 it_logln("MessageFormat toPattern: " + res1);
177 fileform->toPattern( res1 );
178 it_logln("ChoiceFormat toPattern: " + res1);
180 it_logln("toPattern tested!");
349 form_pat.toPattern( res1 );
353 it_errln("*** ChoiceFormat contructor( newPattern, status) or toPattern result!");
360 form_pat.toPattern( res1 );
361 it_logln(UnicodeString("ChoiceFormat adoptChoices toPattern: ") + res1);
489 fmt1.toPattern(st
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
H A DUnicodeSetTest.java162 + "Differing values: " + collectedErrors.toPattern(true));
171 * Test toPattern().
175 // Test that toPattern() round trips with syntax characters
267 // by toPattern(), with or without escaped unprintables, can
269 String pat0 = testSet.toPattern(true);
275 String pat2 = testSet.toPattern(false);
284 errln("EXCEPTION in toPattern: " + source + " => " + pat);
293 errln("Fail toPattern: " + source + "; " + pat + " => " +
294 testSet2.toPattern(false) + ", expected " +
295 testSet.toPattern(fals
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
H A DUnicodeSetTest.java161 + "Differing values: " + collectedErrors.toPattern(true));
170 * Test toPattern().
174 // Test that toPattern() round trips with syntax characters
266 // by toPattern(), with or without escaped unprintables, can
268 String pat0 = testSet.toPattern(true);
274 String pat2 = testSet.toPattern(false);
283 errln("EXCEPTION in toPattern: " + source + " => " + pat);
292 errln("Fail toPattern: " + source + "; " + pat + " => " +
293 testSet2.toPattern(false) + ", expected " +
294 testSet.toPattern(fals
[all...]
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/
H A DDateTimePatternGeneratorSample.java132 System.out.println("New Pattern for FRENCH: "+format.toPattern());
158 String pattern = format.toPattern();
/external/icu/icu4c/source/samples/dtptngsample/
H A Ddtptngsample.cpp97 pattern =sdf->toPattern(pattern);
134 pattern = sdf->toPattern(pattern);

Completed in 616 milliseconds

123456789