/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | MessageRegressionTest.java | 109 * MessageFormat.toPattern has weird rounding behavior. 111 * ICU 4.8: This test is commented out because toPattern() has been changed to return 118 String pat = fmt.toPattern(); 120 errln("MessageFormat.toPattern failed"); 164 logln("toPattern : " + messageFormatter.toPattern()); in Test4031438() 291 " equal\nformat1 = " + format1 + "(" + format1.toPattern() + ")\nformat2 = " + in Test4111739() 292 format2 + "(" + format2.toPattern() + ")"); in Test4111739() 310 if (illegalPattern.equals(mf.toPattern())) in Test4114743() 311 errln("pattern after: \"" + mf.toPattern() in Test4114743() [all...] |
H A D | NumberRegressionTests.java | 245 logln("nf toPattern1: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 251 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 261 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 329 logln("toPattern() returns \"" + df.toPattern() + "\""); in Test4087251() 337 logln("toPattern() returns \"" + df.toPattern() + "\""); in Test4087251() 429 if (!dfFoo.toPattern().equals("0000")) in Test4092480() 430 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480() [all...] |
H A D | NumberFormatDataDrivenTest.java | 136 public String toPattern(DataDrivenNumberFormatTestData tuple) { 139 if (tuple.toPattern != null) { 140 String expected = tuple.toPattern; 141 String actual = fmt.toPattern(); 143 result.append("Expected toPattern=" + expected + ", got " + actual); 313 public String toPattern(DataDrivenNumberFormatTestData tuple) { 316 if (tuple.toPattern != null) { 317 String expected = tuple.toPattern; 318 String actual = fmt.toPattern(); 320 result.append("Expected toPattern [all...] |
H A D | BigNumberFormatTest.java | 154 String pat = fmt.toPattern(); in expectPat() 346 String pat = ((DecimalFormat) fmt).toPattern(); in expect() 365 String pat = ((DecimalFormat) fmt).toPattern(); in expect() 401 ((DecimalFormat) f).toPattern() + " = " + in Test4161100() 419 logln("Pattern: " + ((DecimalFormat)fmt).toPattern()); in TestBigDecimalJ28()
|
H A D | SelectFormatAPITest.java | 76 //Check for applyPattern/toPattern in TestApplyPatternToPattern() 79 assertEquals("Failed in applyPattern,toPattern with unexpected output" in TestApplyPatternToPattern() 80 , pattern, selFmt.toPattern() ); in TestApplyPatternToPattern() 122 * API tests for toPattern() method 128 , SIMPLE_PATTERN1, selFmt.toPattern() ); in TestToPattern()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | MessageRegressionTest.java | 112 * MessageFormat.toPattern has weird rounding behavior. 114 * ICU 4.8: This test is commented out because toPattern() has been changed to return 121 String pat = fmt.toPattern(); 123 errln("MessageFormat.toPattern failed"); 167 logln("toPattern : " + messageFormatter.toPattern()); in Test4031438() 294 " equal\nformat1 = " + format1 + "(" + format1.toPattern() + ")\nformat2 = " + in Test4111739() 295 format2 + "(" + format2.toPattern() + ")"); in Test4111739() 313 if (illegalPattern.equals(mf.toPattern())) in Test4114743() 314 errln("pattern after: \"" + mf.toPattern() in Test4114743() [all...] |
H A D | NumberRegressionTests.java | 248 logln("nf toPattern1: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 254 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 264 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 332 logln("toPattern() returns \"" + df.toPattern() + "\""); in Test4087251() 340 logln("toPattern() returns \"" + df.toPattern() + "\""); in Test4087251() 432 if (!dfFoo.toPattern().equals("0000")) in Test4092480() 433 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480() [all...] |
H A D | NumberFormatDataDrivenTest.java | 139 public String toPattern(DataDrivenNumberFormatTestData tuple) { 142 if (tuple.toPattern != null) { 143 String expected = tuple.toPattern; 144 String actual = fmt.toPattern(); 146 result.append("Expected toPattern=" + expected + ", got " + actual); 316 public String toPattern(DataDrivenNumberFormatTestData tuple) { 319 if (tuple.toPattern != null) { 320 String expected = tuple.toPattern; 321 String actual = fmt.toPattern(); 323 result.append("Expected toPattern [all...] |
H A D | BigNumberFormatTest.java | 157 String pat = fmt.toPattern(); in expectPat() 349 String pat = ((DecimalFormat) fmt).toPattern(); in expect() 368 String pat = ((DecimalFormat) fmt).toPattern(); in expect() 404 ((DecimalFormat) f).toPattern() + " = " + in Test4161100() 422 logln("Pattern: " + ((DecimalFormat)fmt).toPattern()); in TestBigDecimalJ28()
|
H A D | SelectFormatAPITest.java | 79 //Check for applyPattern/toPattern in TestApplyPatternToPattern() 82 assertEquals("Failed in applyPattern,toPattern with unexpected output" in TestApplyPatternToPattern() 83 , pattern, selFmt.toPattern() ); in TestApplyPatternToPattern() 125 * API tests for toPattern() method 131 , SIMPLE_PATTERN1, selFmt.toPattern() ); in TestToPattern()
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
H A D | UnicodeSetClosure.java | 72 + s.toPattern(true) in generateSets() 76 out.println("Unicode: " + s.toPattern(false)); in generateSets() 113 System.out.println("Testing Closure of: " + original.toPattern(true)); in test() 114 out.println("Testing Closure of: " + original.toPattern(false)); in test() 119 out.println("Equals:" + original.toPattern(false)); in test() 135 log.println("\tnew UnicodeSet(\"" + generatedSet.toPattern(true) + "\"),"); in test() 139 out.println(label + ": " + test.toPattern(false)); in test() 144 out.println("\tDifference = " + test.toPattern(false)); in test() 184 out.println(label + ": " + test.toPattern(false));
|
H A D | SourceSet.java | 102 sourceSet.toPattern(true)); in showSourceSetAux() 106 + sourceSet.toPattern(true) in showSourceSetAux() 109 out.println("# Unicode: " + sourceSet.toPattern(false)); in showSourceSetAux()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
H A D | UnicodeSetTest.java | 174 + "Differing values: " + collectedErrors.toPattern(true)); in TestPropertyAccess() 183 * Test toPattern(). 187 // Test that toPattern() round trips with syntax characters in TestToPattern() 279 // by toPattern(), with or without escaped unprintables, can in checkPat() 281 String pat0 = testSet.toPattern(true); in checkPat() 287 String pat2 = testSet.toPattern(false); in checkPat() 296 errln("EXCEPTION in toPattern: " + source + " => " + pat); in checkPat() 305 errln("Fail toPattern: " + source + "; " + pat + " => " + in checkPat() 306 testSet2.toPattern(false) + ", expected " + in checkPat() 307 testSet.toPattern(fals in checkPat() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/ |
H A D | UnicodeSetTest.java | 167 + "Differing values: " + collectedErrors.toPattern(true)); in TestPropertyAccess() 176 * Test toPattern(). 180 // Test that toPattern() round trips with syntax characters in TestToPattern() 272 // by toPattern(), with or without escaped unprintables, can in checkPat() 274 String pat0 = testSet.toPattern(true); in checkPat() 280 String pat2 = testSet.toPattern(false); in checkPat() 289 errln("EXCEPTION in toPattern: " + source + " => " + pat); in checkPat() 298 errln("Fail toPattern: " + source + "; " + pat + " => " + in checkPat() 299 testSet2.toPattern(false) + ", expected " + in checkPat() 300 testSet.toPattern(fals in checkPat() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tchcfmt.cpp | 175 pattform->toPattern( res1 ); in TestComplexExample() 176 it_logln("MessageFormat toPattern: " + res1); in TestComplexExample() 177 fileform->toPattern( res1 ); in TestComplexExample() 178 it_logln("ChoiceFormat toPattern: " + res1); in TestComplexExample() 180 it_logln("toPattern tested!"); in TestComplexExample() 349 form_pat.toPattern( res1 ); in TestComplexExample() 353 it_errln("*** ChoiceFormat constructor( newPattern, status) or toPattern result!"); in TestComplexExample() 360 form_pat.toPattern( res1 ); in TestComplexExample() 361 it_logln(UnicodeString("ChoiceFormat adoptChoices toPattern: ") + res1); in TestComplexExample() 489 fmt1.toPattern(st in TestClosures() [all...] |
H A D | numrgts.cpp | 532 logln("nf toPattern1: " + nf->toPattern(temp)); in Test4086575() 539 logln("nf toPattern2: " + nf->toPattern(temp)); in Test4086575() 558 logln("nf toPattern2: " + nf->toPattern(temp)); in Test4086575() 663 logln("toPattern() returns \"" + df->toPattern(temp) + "\""); in Test4087251() 673 logln("toPattern() returns \"" + df->toPattern(temp) + "\""); in Test4087251() 811 if (dfFoo->toPattern(temp) != UnicodeString("0000")) in Test4092480() 812 errln("ERROR: dfFoo.toPattern : " + dfFoo->toPattern(tem in Test4092480() [all...] |
H A D | msfmrgts.cpp | 152 * MessageFormat.toPattern has weird rounding behavior. 154 * ICU 4.8: This test is commented out because toPattern() has been changed to return 166 pat = fmt->toPattern(pat); 169 errln("MessageFormat.toPattern failed"); 275 logln("toPattern : " + messageFormatter.toPattern());*/ in Test4031438() 446 " equal\nformat1 = " + format1 + "(" + format1.toPattern() + ")\nformat2 = " + in Test4111739() 447 format2 + "(" + format2.toPattern() + ")"); in Test4111739() 467 if (!originalPattern.equals(mf.toPattern())) in Test4114743() 468 errln("pattern after: \"" + mf.toPattern() in Test4114743() [all...] |
H A D | usettest.cpp | 47 set.toPattern(pat); in operator +() 118 test.toPattern(ustrPat, true); in Testj2268() 122 * Test toPattern(). 127 // Test that toPattern() round trips with syntax characters and in TestToPattern() 234 // by toPattern(), with or without escaped unprintables, can in checkPat() 238 testSet.toPattern(pat0, true); in checkPat() 246 testSet.toPattern(pat2, false); in checkPat() 263 errln((UnicodeString)"Fail toPattern: " + source + " => " + pat); in checkPat() 893 testList[i]->toPattern(pat0, true); in TestStrings() 894 testList[i+1]->toPattern(pat in TestStrings() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | Quantifier.java | 73 public String toPattern(boolean escapeUnprintable) { in toPattern() method in Quantifier 75 result.append(matcher.toPattern(escapeUnprintable)); in toPattern()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | Quantifier.java | 74 public String toPattern(boolean escapeUnprintable) { in toPattern() method in Quantifier 76 result.append(matcher.toPattern(escapeUnprintable)); in toPattern()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | quant.cpp | 100 UnicodeString& Quantifier::toPattern(UnicodeString& result, in toPattern() function in Quantifier 103 matcher->toMatcher()->toPattern(result, escapeUnprintable); in toPattern()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | quant.cpp | 100 UnicodeString& Quantifier::toPattern(UnicodeString& result, in toPattern() function in Quantifier 103 matcher->toMatcher()->toPattern(result, escapeUnprintable); in toPattern()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | quant.cpp | 100 UnicodeString& Quantifier::toPattern(UnicodeString& result, in toPattern() function in Quantifier 103 matcher->toMatcher()->toPattern(result, escapeUnprintable); in toPattern()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
H A D | Demo.java | 564 System.out.println(list[i] + ": " + src.toPattern(true)); in printSources() 567 System.out.println("All: " + all.toPattern(true)); in printSources() 569 System.out.println("missing from [:latin:][:thai:]: " + all.removeAll(rem).toPattern(true)); in printSources() 882 out.println("<li>Source Set:<ul><li>" + toPattern(closeUnicodeSet(translit.getSourceSet(), options), sourceSuper) + "</li></ul></li>"); in showSets() 883 out.println("<li>Reverse Target Set:<ul><li>" + toPattern(closeUnicodeSet(inverse.getTargetSet(), options), sourceSuper) + "</li></ul></li>"); in showSets() 884 out.println("<li>Target Set:<ul><li>" + toPattern(closeUnicodeSet(translit.getTargetSet(), options), targetSuper) + "</li></ul></li>"); in showSets() 885 out.println("<li>Reverse Source Set:<ul><li>" + toPattern(closeUnicodeSet(inverse.getSourceSet(), options), targetSuper) + "</li></ul></li>"); in showSets() 976 static String toPattern(UnicodeSet source, UnicodeSet superset) { in toPattern() method in Demo 979 return "[" + superset.toPattern(true) + " " + source.toPattern(tru in toPattern() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | RelativeDateFormat.java | 74 fDatePattern = fDateTimeFormat.toPattern(); in RelativeDateFormat() 79 fTimePattern = ((SimpleDateFormat)df).toPattern(); in RelativeDateFormat() 91 fTimePattern = fDateTimeFormat.toPattern(); in RelativeDateFormat()
|