/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | MessageRegressionTest.java | 161 logln("toPattern : " + messageFormatter.toPattern()); in Test4031438() 288 " equal\nformat1 = " + format1 + "(" + format1.toPattern() + ")\nformat2 = " + in Test4111739() 289 format2 + "(" + format2.toPattern() + ")"); in Test4111739() 307 if (illegalPattern.equals(mf.toPattern())) in Test4114743() 308 errln("pattern after: \"" + mf.toPattern() + "\""); in Test4114743() 361 logln("pattern: \"" + mf.toPattern() + "\""); in Test4114739() 382 logln("pattern before: \"" + mf.toPattern() + "\""); in Test4113018() 388 if (illegalPattern.equals(mf.toPattern())) in Test4113018() 389 errln("pattern after: \"" + mf.toPattern() + "\""); in Test4113018() 400 logln("Formatter Pattern : " + fmt.toPattern()); in Test4106661() [all …]
|
D | NumberRegressionTests.java | 243 logln("nf toPattern1: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 249 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 259 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 327 logln("toPattern() returns \"" + df.toPattern() + "\""); in Test4087251() 335 logln("toPattern() returns \"" + df.toPattern() + "\""); in Test4087251() 429 if (!dfFoo.toPattern().equals("#0000")) in Test4092480() 430 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480() 434 if (!dfFoo.toPattern().equals("#000")) in Test4092480() 435 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480() 440 if (!dfFoo.toPattern().equals("#000")) in Test4092480() [all …]
|
D | BigNumberFormatTest.java | 152 String pat = fmt.toPattern(); in expectPat() 344 String pat = ((DecimalFormat) fmt).toPattern(); in expect() 363 String pat = ((DecimalFormat) fmt).toPattern(); in expect() 399 ((DecimalFormat) f).toPattern() + " = " + in Test4161100() 417 logln("Pattern: " + ((DecimalFormat)fmt).toPattern()); in TestBigDecimalJ28()
|
D | SelectFormatAPITest.java | 78 , pattern, selFmt.toPattern() ); in TestApplyPatternToPattern() 126 , SIMPLE_PATTERN1, selFmt.toPattern() ); in TestToPattern()
|
D | DataDrivenNumberFormatTestUtility.java | 58 public String toPattern(NumberFormatTestData tuple) { in toPattern() method in DataDrivenNumberFormatTestUtility.CodeUnderTest 313 } else if (tuple.toPattern != null || tuple.toLocalizedPattern != null) { in isPass() 314 String errorMessage = codeUnderTest.toPattern(tuple); in isPass()
|
D | GlobalizationPreferencesTest.java | 1186 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1201 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1214 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1221 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1228 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1235 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1242 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1249 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1256 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1263 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MessageRegressionTest.java | 160 logln("toPattern : " + messageFormatter.toPattern()); in Test4031438() 287 " equal\nformat1 = " + format1 + "(" + format1.toPattern() + ")\nformat2 = " + in Test4111739() 288 format2 + "(" + format2.toPattern() + ")"); in Test4111739() 306 if (illegalPattern.equals(mf.toPattern())) in Test4114743() 307 errln("pattern after: \"" + mf.toPattern() + "\""); in Test4114743() 360 logln("pattern: \"" + mf.toPattern() + "\""); in Test4114739() 381 logln("pattern before: \"" + mf.toPattern() + "\""); in Test4113018() 387 if (illegalPattern.equals(mf.toPattern())) in Test4113018() 388 errln("pattern after: \"" + mf.toPattern() + "\""); in Test4113018() 399 logln("Formatter Pattern : " + fmt.toPattern()); in Test4106661() [all …]
|
D | NumberRegressionTests.java | 242 logln("nf toPattern1: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 248 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 258 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 326 logln("toPattern() returns \"" + df.toPattern() + "\""); in Test4087251() 334 logln("toPattern() returns \"" + df.toPattern() + "\""); in Test4087251() 428 if (!dfFoo.toPattern().equals("#0000")) in Test4092480() 429 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480() 433 if (!dfFoo.toPattern().equals("#000")) in Test4092480() 434 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480() 439 if (!dfFoo.toPattern().equals("#000")) in Test4092480() [all …]
|
D | BigNumberFormatTest.java | 151 String pat = fmt.toPattern(); in expectPat() 343 String pat = ((DecimalFormat) fmt).toPattern(); in expect() 362 String pat = ((DecimalFormat) fmt).toPattern(); in expect() 398 ((DecimalFormat) f).toPattern() + " = " + in Test4161100() 416 logln("Pattern: " + ((DecimalFormat)fmt).toPattern()); in TestBigDecimalJ28()
|
D | SelectFormatAPITest.java | 77 , pattern, selFmt.toPattern() ); in TestApplyPatternToPattern() 125 , SIMPLE_PATTERN1, selFmt.toPattern() ); in TestToPattern()
|
D | DataDrivenNumberFormatTestUtility.java | 57 public String toPattern(NumberFormatTestData tuple) { in toPattern() method in DataDrivenNumberFormatTestUtility.CodeUnderTest 312 } else if (tuple.toPattern != null || tuple.toLocalizedPattern != null) { in isPass() 313 String errorMessage = codeUnderTest.toPattern(tuple); in isPass()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
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()
|
D | SourceSet.java | 102 sourceSet.toPattern(true)); in showSourceSetAux() 106 + sourceSet.toPattern(true) in showSourceSetAux() 109 out.println("# Unicode: " + sourceSet.toPattern(false)); in showSourceSetAux()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 161 + "Differing values: " + collectedErrors.toPattern(true)); in TestPropertyAccess() 268 String pat0 = testSet.toPattern(true); in checkPat() 274 String pat2 = testSet.toPattern(false); in checkPat() 293 testSet2.toPattern(false) + ", expected " + in checkPat() 294 testSet.toPattern(false)); in checkPat() 770 String s = set.toPattern(true); in TestAPI() 1288 logln("Ok: " + pat + " -> " + set.toPattern(false)); in TestScriptNames() 1345 s.toPattern(true) + ", expected " + exp); in TestCloseOver() 1393 String newpat = set.toPattern(true); in TestEscapePattern() 2186 errln("FAIL contains1" + set1.toPattern(true) + ", " + set2.toPattern(true)); in expectRelation() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 162 + "Differing values: " + collectedErrors.toPattern(true)); in TestPropertyAccess() 269 String pat0 = testSet.toPattern(true); in checkPat() 275 String pat2 = testSet.toPattern(false); in checkPat() 294 testSet2.toPattern(false) + ", expected " + in checkPat() 295 testSet.toPattern(false)); in checkPat() 771 String s = set.toPattern(true); in TestAPI() 1289 logln("Ok: " + pat + " -> " + set.toPattern(false)); in TestScriptNames() 1346 s.toPattern(true) + ", expected " + exp); in TestCloseOver() 1394 String newpat = set.toPattern(true); in TestEscapePattern() 2187 errln("FAIL contains1" + set1.toPattern(true) + ", " + set2.toPattern(true)); in expectRelation() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | tchcfmt.cpp | 175 pattform->toPattern( res1 ); in TestComplexExample() 177 fileform->toPattern( res1 ); in TestComplexExample() 349 form_pat.toPattern( res1 ); in TestComplexExample() 360 form_pat.toPattern( res1 ); in TestComplexExample() 489 fmt1.toPattern(str); in TestClosures() 587 logln((UnicodeString)" toPattern: " + fmt.toPattern(out)); in _testPattern() 643 fmt.toPattern(patStr); in TestChoiceFormatToPatternOverflow()
|
D | msfmrgts.cpp | 541 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4114739() 570 logln("pattern before: \"" + mf->toPattern(pat) + "\""); in Test4113018() 593 logln("Formatter Pattern : " + fmt->toPattern(pat)); in Test4106661() 650 if (fmt->toPattern(pat) != pattern) { in Test4094906() 717 logln(UnicodeString("") + i + ". pattern :\"" + mf->toPattern(pat) + "\""); in Test4118592() 749 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4118594() 763 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4118594() 839 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4120552() 949 pat = cf->toPattern(pat); in TestChoicePatternQuote() 952 pat2 = cf2->toPattern(pat2); in TestChoicePatternQuote()
|
D | numrgts.cpp | 530 logln("nf toPattern1: " + nf->toPattern(temp)); in Test4086575() 537 logln("nf toPattern2: " + nf->toPattern(temp)); in Test4086575() 556 logln("nf toPattern2: " + nf->toPattern(temp)); in Test4086575() 661 logln("toPattern() returns \"" + df->toPattern(temp) + "\""); in Test4087251() 671 logln("toPattern() returns \"" + df->toPattern(temp) + "\""); in Test4087251() 809 if (dfFoo->toPattern(temp) != UnicodeString("#0000")) in Test4092480() 810 errln("dfFoo.toPattern : " + dfFoo->toPattern(temp)); in Test4092480() 816 if (dfFoo->toPattern(temp) != UnicodeString("#000")) in Test4092480() 817 errln("dfFoo.toPattern : " + dfFoo->toPattern(temp)); in Test4092480() 823 if (dfFoo->toPattern(temp) != UnicodeString("#000")) in Test4092480() [all …]
|
D | usettest.cpp | 39 set.toPattern(pat); in operator +() 112 test.toPattern(ustrPat, TRUE); in Testj2268() 232 testSet.toPattern(pat0, TRUE); in checkPat() 240 testSet.toPattern(pat2, FALSE); in checkPat() 854 testList[i]->toPattern(pat0, TRUE); in TestStrings() 855 testList[i+1]->toPattern(pat1, TRUE); in TestStrings() 1301 s.toPattern(buf, TRUE) + ", expected " + exp); in TestCloseOver() 1342 … errln((UnicodeString)"old "+s.toPattern(buf, TRUE)+" new: "+t.toPattern(buf2, TRUE)); in TestCloseOver() 1359 errln((UnicodeString)"FAIL: closeOver("+s2.toPattern(buf, TRUE)+") differs: "); in TestCloseOver() 1360 … errln((UnicodeString)"old "+s.toPattern(buf, TRUE)+" new: "+t.toPattern(buf2, TRUE)); in TestCloseOver() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | Quantifier.java | 74 public String toPattern(boolean escapeUnprintable) { in toPattern() method in Quantifier 76 result.append(matcher.toPattern(escapeUnprintable)); in toPattern()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Quantifier.java | 73 public String toPattern(boolean escapeUnprintable) { in toPattern() method in Quantifier 75 result.append(matcher.toPattern(escapeUnprintable)); in toPattern()
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
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(),… in showSets() 883 …out.println("<li>Reverse Target Set:<ul><li>" + toPattern(closeUnicodeSet(inverse.getTargetSet(), … in showSets() 884 …out.println("<li>Target Set:<ul><li>" + toPattern(closeUnicodeSet(translit.getTargetSet(),… in showSets() 885 …out.println("<li>Reverse Source Set:<ul><li>" + toPattern(closeUnicodeSet(inverse.getSourceSet(), … in showSets() 976 static String toPattern(UnicodeSet source, UnicodeSet superset) { in toPattern() method in Demo 979 return "[" + superset.toPattern(true) + " " + source.toPattern(true) + "]"; in toPattern() 981 return source.toPattern(true); in toPattern() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | quant.cpp | 100 UnicodeString& Quantifier::toPattern(UnicodeString& result, in toPattern() function in Quantifier 103 matcher->toMatcher()->toPattern(result, escapeUnprintable); in toPattern()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | DecimalFormatTest.java | 215 assertEquals("#,##0.##", df.toPattern()); in testToPattern() 223 assertEquals("#,##0.##", df.toPattern()); in testToLocalizedPattern()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 1185 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1200 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1213 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1220 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1227 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1234 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1241 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1248 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1255 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1262 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() [all …]
|