/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | MessageRegression.java | 159 logln("toPattern : " + messageFormatter.toPattern()); in Test4031438() 281 " equal\nformat1 = " + format1 + "(" + format1.toPattern() + ")\nformat2 = " + in Test4111739() 282 format2 + "(" + format2.toPattern() + ")"); in Test4111739() 299 if (illegalPattern.equals(mf.toPattern())) in Test4114743() 300 errln("pattern after: \"" + mf.toPattern() + "\""); in Test4114743() 351 logln("pattern: \"" + mf.toPattern() + "\""); in Test4114739() 371 logln("pattern before: \"" + mf.toPattern() + "\""); in Test4113018() 377 if (illegalPattern.equals(mf.toPattern())) in Test4113018() 378 errln("pattern after: \"" + mf.toPattern() + "\""); in Test4113018() 388 logln("Formatter Pattern : " + fmt.toPattern()); in Test4106661() [all …]
|
D | NumberRegression.java | 230 logln("nf toPattern1: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 236 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 246 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 311 logln("toPattern() returns \"" + df.toPattern() + "\""); in Test4087251() 319 logln("toPattern() returns \"" + df.toPattern() + "\""); in Test4087251() 408 if (!dfFoo.toPattern().equals("#0000")) in Test4092480() 409 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480() 413 if (!dfFoo.toPattern().equals("#000")) in Test4092480() 414 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480() 419 if (!dfFoo.toPattern().equals("#000")) in Test4092480() [all …]
|
D | BigNumberFormatTest.java | 148 String pat = fmt.toPattern(); in expectPat() 337 String pat = ((DecimalFormat) fmt).toPattern(); in expect() 356 String pat = ((DecimalFormat) fmt).toPattern(); in expect() 391 ((DecimalFormat) f).toPattern() + " = " + in Test4161100() 408 logln("Pattern: " + ((DecimalFormat)fmt).toPattern()); in TestBigDecimalJ28()
|
D | SelectFormatAPITest.java | 74 , pattern, selFmt.toPattern() ); in TestApplyPatternToPattern() 119 , SIMPLE_PATTERN1, selFmt.toPattern() ); in TestToPattern()
|
D | PluralFormatUnitTest.java | 274 assertEquals("should not trim() the pattern", pat, pf.toPattern()); in TestPattern() 288 logln(pfmt.toPattern()); in TestPattern() 289 MessageFormat pfmt2 = new MessageFormat(pfmt.toPattern()); in TestPattern()
|
D | TestMessageFormat.java | 138 assertEquals("toPattern", pattern, fmt.toPattern()); in TestBug2() 202 assertEquals("\"" + testCases[i] + "\".toPattern()", testCases[i], form.toPattern()); in TestPattern() 656 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern()); in TestAdopt() 660 msg.toPattern(); in TestAdopt() 704 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern()); in TestAdopt() 755 assertEquals("msgCmp.toPattern()", formatStr, msgCmp.toPattern()); in TestAdopt() 1344 MessageFormat mf2 = new MessageFormat(mf.toPattern()); in testPluralFormatToPattern() 1347 mf.toPattern() + "'"); in testPluralFormatToPattern() 1512 MessageFormat mf2 = new MessageFormat(mf.toPattern()); in testSelectFormatToPattern() 1515 + pattern + "'\n*** '" + mf.toPattern() + "'"); in testSelectFormatToPattern()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UnicodeSetTest.java | 159 + "Differing values: " + collectedErrors.toPattern(true)); in TestPropertyAccess() 265 String pat0 = testSet.toPattern(true); in checkPat() 271 String pat2 = testSet.toPattern(false); in checkPat() 290 testSet2.toPattern(false) + ", expected " + in checkPat() 291 testSet.toPattern(false)); in checkPat() 762 String s = set.toPattern(true); in TestAPI() 1269 logln("Ok: " + pat + " -> " + set.toPattern(false)); in TestScriptNames() 1325 s.toPattern(true) + ", expected " + exp); in TestCloseOver() 1372 String newpat = set.toPattern(true); in TestEscapePattern() 2156 errln("FAIL contains1" + set1.toPattern(true) + ", " + set2.toPattern(true)); in expectRelation() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | tchcfmt.cpp | 174 pattform->toPattern( res1 ); in TestComplexExample() 176 fileform->toPattern( res1 ); in TestComplexExample() 348 form_pat.toPattern( res1 ); in TestComplexExample() 359 form_pat.toPattern( res1 ); in TestComplexExample() 488 fmt1.toPattern(str); in TestClosures() 586 logln((UnicodeString)" toPattern: " + fmt.toPattern(out)); in _testPattern() 642 fmt.toPattern(patStr); in TestChoiceFormatToPatternOverflow()
|
D | msfmrgts.cpp | 538 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4114739() 567 logln("pattern before: \"" + mf->toPattern(pat) + "\""); in Test4113018() 590 logln("Formatter Pattern : " + fmt->toPattern(pat)); in Test4106661() 647 if (fmt->toPattern(pat) != pattern) { in Test4094906() 714 logln(UnicodeString("") + i + ". pattern :\"" + mf->toPattern(pat) + "\""); in Test4118592() 746 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4118594() 760 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4118594() 836 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4120552() 946 pat = cf->toPattern(pat); in TestChoicePatternQuote() 949 pat2 = cf2->toPattern(pat2); in TestChoicePatternQuote()
|
D | numrgts.cpp | 520 logln("nf toPattern1: " + nf->toPattern(temp)); in Test4086575() 527 logln("nf toPattern2: " + nf->toPattern(temp)); in Test4086575() 546 logln("nf toPattern2: " + nf->toPattern(temp)); in Test4086575() 651 logln("toPattern() returns \"" + df->toPattern(temp) + "\""); in Test4087251() 661 logln("toPattern() returns \"" + df->toPattern(temp) + "\""); in Test4087251() 799 if (dfFoo->toPattern(temp) != UnicodeString("#0000")) in Test4092480() 800 errln("dfFoo.toPattern : " + dfFoo->toPattern(temp)); in Test4092480() 806 if (dfFoo->toPattern(temp) != UnicodeString("#000")) in Test4092480() 807 errln("dfFoo.toPattern : " + dfFoo->toPattern(temp)); in Test4092480() 813 if (dfFoo->toPattern(temp) != UnicodeString("#000")) in Test4092480() [all …]
|
D | usettest.cpp | 36 set.toPattern(pat); in operator +() 108 test.toPattern(ustrPat, TRUE); in Testj2268() 228 testSet.toPattern(pat0, TRUE); in checkPat() 236 testSet.toPattern(pat2, FALSE); in checkPat() 850 testList[i]->toPattern(pat0, TRUE); in TestStrings() 851 testList[i+1]->toPattern(pat1, TRUE); in TestStrings() 1297 s.toPattern(buf, TRUE) + ", expected " + exp); in TestCloseOver() 1338 … errln((UnicodeString)"old "+s.toPattern(buf, TRUE)+" new: "+t.toPattern(buf2, TRUE)); in TestCloseOver() 1355 errln((UnicodeString)"FAIL: closeOver("+s2.toPattern(buf, TRUE)+") differs: "); in TestCloseOver() 1356 … errln((UnicodeString)"old "+s.toPattern(buf, TRUE)+" new: "+t.toPattern(buf2, TRUE)); in TestCloseOver() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Quantifier.java | 71 public String toPattern(boolean escapeUnprintable) { in toPattern() method in Quantifier 73 result.append(matcher.toPattern(escapeUnprintable)); in toPattern()
|
D | UnicodeMatcher.java | 114 public abstract String toPattern(boolean escapeUnprintable); in toPattern() method
|
/external/icu/icu4c/source/i18n/ |
D | quant.cpp | 98 UnicodeString& Quantifier::toPattern(UnicodeString& result, in toPattern() function in Quantifier 101 matcher->toMatcher()->toPattern(result, escapeUnprintable); in toPattern()
|
D | strmatch.cpp | 160 UnicodeString& StringMatcher::toPattern(UnicodeString& result, in toPattern() function in StringMatcher 174 ICU_Utility::appendToRule(result, m->toPattern(str, escapeUnprintable), in toPattern()
|
D | quant.h | 81 virtual UnicodeString& toPattern(UnicodeString& result,
|
D | reldtfmt.cpp | 100 fDateTimeFormatter->toPattern(fDatePattern); in RelativeDateFormat() 105 sdf->toPattern(fTimePattern); in RelativeDateFormat() 117 fDateTimeFormatter->toPattern(fTimePattern); in RelativeDateFormat() 375 RelativeDateFormat::toPattern(UnicodeString& result, UErrorCode& status) const in toPattern() function in RelativeDateFormat
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | TestUnicodeProperty.java | 37 errln("Contents:\t" + lu.complement().complement().toPattern(false)); in TestBasic() 66 errln("Contents:\t" + luSet.complement().complement().toPattern(false)); in TestSymbolTable2()
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/ |
D | GlobalizationPreferencesTest.java | 1176 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1191 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1204 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1211 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1218 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1225 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1232 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1239 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1246 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() 1253 pattern = ((SimpleDateFormat)df).toPattern(); in TestDateFormat() [all …]
|
/external/icu/icu4c/source/samples/dtptngsample/ |
D | dtptngsample.cpp | 95 pattern =sdf->toPattern(pattern); in addPatternExample() 132 pattern = sdf->toPattern(pattern); in replaceFieldTypesExample()
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | StringMatcher.java | 175 public String toPattern(boolean escapeUnprintable) { in toPattern() method in StringMatcher 187 Utility.appendToRule(result, m.toPattern(escapeUnprintable), in toPattern()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | RelativeDateFormat.java | 74 fDatePattern = fDateTimeFormat.toPattern(); in RelativeDateFormat() 79 fTimePattern = ((SimpleDateFormat)df).toPattern(); in RelativeDateFormat() 91 fTimePattern = fDateTimeFormat.toPattern(); in RelativeDateFormat()
|
/external/icu/icu4c/source/common/unicode/ |
D | unimatch.h | 140 virtual UnicodeString& toPattern(UnicodeString& result,
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | TestBoilerplate.java | 142 here.errln(new UnicodeSet(set1).removeAll(set2).toPattern(true)); in verifySetsIdentical() 144 here.errln(new UnicodeSet(set2).removeAll(set1).toPattern(true)); in verifySetsIdentical()
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/ |
D | CaseIterator.java | 550 System.out.println("caseless = " + caseless.toPattern(true)); in main() 557 System.out.println("[:^lc:] - caseless = " + a.toPattern(true)); in main() 561 System.out.println("caseless - [:^lc:] = " + a.toPattern(true)); in main()
|