Home
last modified time | relevance | path

Searched refs:toPattern (Results 1 – 25 of 126) sorted by relevance

123456

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMessageRegression.java159 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 …]
DNumberRegression.java230 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 …]
DBigNumberFormatTest.java148 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()
DSelectFormatAPITest.java74 , pattern, selFmt.toPattern() ); in TestApplyPatternToPattern()
119 , SIMPLE_PATTERN1, selFmt.toPattern() ); in TestToPattern()
DPluralFormatUnitTest.java274 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()
DTestMessageFormat.java138 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/
DUnicodeSetTest.java159 + "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/
Dtchcfmt.cpp174 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()
Dmsfmrgts.cpp538 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()
Dnumrgts.cpp520 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 …]
Dusettest.cpp36 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/
DQuantifier.java71 public String toPattern(boolean escapeUnprintable) { in toPattern() method in Quantifier
73 result.append(matcher.toPattern(escapeUnprintable)); in toPattern()
DUnicodeMatcher.java114 public abstract String toPattern(boolean escapeUnprintable); in toPattern() method
/external/icu/icu4c/source/i18n/
Dquant.cpp98 UnicodeString& Quantifier::toPattern(UnicodeString& result, in toPattern() function in Quantifier
101 matcher->toMatcher()->toPattern(result, escapeUnprintable); in toPattern()
Dstrmatch.cpp160 UnicodeString& StringMatcher::toPattern(UnicodeString& result, in toPattern() function in StringMatcher
174 ICU_Utility::appendToRule(result, m->toPattern(str, escapeUnprintable), in toPattern()
Dquant.h81 virtual UnicodeString& toPattern(UnicodeString& result,
Dreldtfmt.cpp100 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/
DTestUnicodeProperty.java37 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/
DGlobalizationPreferencesTest.java1176 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/
Ddtptngsample.cpp95 pattern =sdf->toPattern(pattern); in addPatternExample()
132 pattern = sdf->toPattern(pattern); in replaceFieldTypesExample()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DStringMatcher.java175 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/
DRelativeDateFormat.java74 fDatePattern = fDateTimeFormat.toPattern(); in RelativeDateFormat()
79 fTimePattern = ((SimpleDateFormat)df).toPattern(); in RelativeDateFormat()
91 fTimePattern = fDateTimeFormat.toPattern(); in RelativeDateFormat()
/external/icu/icu4c/source/common/unicode/
Dunimatch.h140 virtual UnicodeString& toPattern(UnicodeString& result,
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestBoilerplate.java142 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/
DCaseIterator.java550 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()

123456