Home
last modified time | relevance | path

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

12345678910

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DMessageRegressionTest.java164 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()
364 logln("pattern: \"" + mf.toPattern() + "\""); in Test4114739()
385 logln("pattern before: \"" + mf.toPattern() + "\""); in Test4113018()
391 if (illegalPattern.equals(mf.toPattern())) in Test4113018()
392 errln("pattern after: \"" + mf.toPattern() + "\""); in Test4113018()
403 logln("Formatter Pattern : " + fmt.toPattern()); in Test4106661()
[all …]
DNumberRegressionTests.java245 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()
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 …]
DNumberFormatDataDrivenTest.java136 public String toPattern(DataDrivenNumberFormatTestData tuple) {
139 if (tuple.toPattern != null) {
140 String expected = tuple.toPattern;
141 String actual = fmt.toPattern();
313 public String toPattern(DataDrivenNumberFormatTestData tuple) {
316 if (tuple.toPattern != null) {
317 String expected = tuple.toPattern;
318 String actual = fmt.toPattern();
621 public String toPattern(DataDrivenNumberFormatTestData tuple) {
644 if (tuple.toPattern != null) {
[all …]
DBigNumberFormatTest.java154 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()
DSelectFormatAPITest.java80 , pattern, selFmt.toPattern() ); in TestApplyPatternToPattern()
128 , SIMPLE_PATTERN1, selFmt.toPattern() ); in TestToPattern()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DMessageRegressionTest.java167 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()
367 logln("pattern: \"" + mf.toPattern() + "\""); in Test4114739()
388 logln("pattern before: \"" + mf.toPattern() + "\""); in Test4113018()
394 if (illegalPattern.equals(mf.toPattern())) in Test4113018()
395 errln("pattern after: \"" + mf.toPattern() + "\""); in Test4113018()
406 logln("Formatter Pattern : " + fmt.toPattern()); in Test4106661()
[all …]
DNumberRegressionTests.java248 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()
437 if (!dfFoo.toPattern().equals("000")) in Test4092480()
438 errln("dfFoo.toPattern : " + dfFoo.toPattern()); in Test4092480()
443 if (!dfFoo.toPattern().equals("000")) in Test4092480()
[all …]
DNumberFormatDataDrivenTest.java139 public String toPattern(DataDrivenNumberFormatTestData tuple) {
142 if (tuple.toPattern != null) {
143 String expected = tuple.toPattern;
144 String actual = fmt.toPattern();
316 public String toPattern(DataDrivenNumberFormatTestData tuple) {
319 if (tuple.toPattern != null) {
320 String expected = tuple.toPattern;
321 String actual = fmt.toPattern();
624 public String toPattern(DataDrivenNumberFormatTestData tuple) {
647 if (tuple.toPattern != null) {
[all …]
DBigNumberFormatTest.java157 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()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
DUnicodeSetClosure.java72 + 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()
DSourceSet.java102 sourceSet.toPattern(true)); in showSourceSetAux()
106 + sourceSet.toPattern(true) in showSourceSetAux()
109 out.println("# Unicode: " + sourceSet.toPattern(false)); in showSourceSetAux()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCollectExemplars.java28 System.out.println("Added\t" + target.toPattern(false)); in main()
51 System.out.println("Result\t" + target.toPattern(false)); in main()
56 System.out.println(title + "\t" + diff.toPattern(false)); in removing()
64 System.out.println(locale + "\t" + title + "\tadding\t" + diff.toPattern(false)); in add()
DListUnits.java164 …efault: " + numberSystem + ", " + main.getFirst().toPattern(false) + ", " + main.getSecond().toPat… in getDigits()
174 … + ", " + main.getFirst().toPattern(false) + "\t" + main.getSecond().toPattern(false)); in getDigits()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java164 + "Differing values: " + collectedErrors.toPattern(true)); in TestPropertyAccess()
271 String pat0 = testSet.toPattern(true); in checkPat()
277 String pat2 = testSet.toPattern(false); in checkPat()
296 testSet2.toPattern(false) + ", expected " + in checkPat()
297 testSet.toPattern(false)); in checkPat()
773 String s = set.toPattern(true); in TestAPI()
1291 logln("Ok: " + pat + " -> " + set.toPattern(false)); in TestScriptNames()
1348 s.toPattern(true) + ", expected " + exp); in TestCloseOver()
1396 String newpat = set.toPattern(true); in TestEscapePattern()
2194 errln("FAIL contains1" + set1.toPattern(true) + ", " + set2.toPattern(true)); in expectRelation()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetTest.java167 + "Differing values: " + collectedErrors.toPattern(true)); in TestPropertyAccess()
274 String pat0 = testSet.toPattern(true); in checkPat()
280 String pat2 = testSet.toPattern(false); in checkPat()
299 testSet2.toPattern(false) + ", expected " + in checkPat()
300 testSet.toPattern(false)); in checkPat()
776 String s = set.toPattern(true); in TestAPI()
1294 logln("Ok: " + pat + " -> " + set.toPattern(false)); in TestScriptNames()
1351 s.toPattern(true) + ", expected " + exp); in TestCloseOver()
1399 String newpat = set.toPattern(true); in TestEscapePattern()
2197 errln("FAIL contains1" + set1.toPattern(true) + ", " + set2.toPattern(true)); in expectRelation()
[all …]
/external/icu/icu4c/source/test/intltest/
Dtchcfmt.cpp175 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()
Dmsfmrgts.cpp542 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4114739()
571 logln("pattern before: \"" + mf->toPattern(pat) + "\""); in Test4113018()
594 logln("Formatter Pattern : " + fmt->toPattern(pat)); in Test4106661()
651 if (fmt->toPattern(pat) != pattern) { in Test4094906()
718 logln(UnicodeString("") + i + ". pattern :\"" + mf->toPattern(pat) + "\""); in Test4118592()
750 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4118594()
764 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4118594()
840 logln("pattern: \"" + mf->toPattern(pat) + "\""); in Test4120552()
950 pat = cf->toPattern(pat); in TestChoicePatternQuote()
953 pat2 = cf2->toPattern(pat2); in TestChoicePatternQuote()
Dnumrgts.cpp532 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(temp)); in Test4092480()
818 if (dfFoo->toPattern(temp) != UnicodeString("000")) in Test4092480()
819 errln("ERROR: dfFoo.toPattern : " + dfFoo->toPattern(temp)); in Test4092480()
825 if (dfFoo->toPattern(temp) != UnicodeString("000")) in Test4092480()
[all …]
Dusettest.cpp47 set.toPattern(pat); in operator +()
115 test.toPattern(ustrPat, TRUE); in Testj2268()
235 testSet.toPattern(pat0, TRUE); in checkPat()
243 testSet.toPattern(pat2, FALSE); in checkPat()
857 testList[i]->toPattern(pat0, TRUE); in TestStrings()
858 testList[i+1]->toPattern(pat1, TRUE); in TestStrings()
1304 s.toPattern(buf, TRUE) + ", expected " + exp); in TestCloseOver()
1345 … errln((UnicodeString)"old "+s.toPattern(buf, TRUE)+" new: "+t.toPattern(buf2, TRUE)); in TestCloseOver()
1362 errln((UnicodeString)"FAIL: closeOver("+s2.toPattern(buf, TRUE)+") differs: "); in TestCloseOver()
1363 … 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.java73 public String toPattern(boolean escapeUnprintable) { in toPattern() method in Quantifier
75 result.append(matcher.toPattern(escapeUnprintable)); in toPattern()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DQuantifier.java74 public String toPattern(boolean escapeUnprintable) { in toPattern() method in Quantifier
76 result.append(matcher.toPattern(escapeUnprintable)); in toPattern()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java564 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/
Dquant.cpp100 UnicodeString& Quantifier::toPattern(UnicodeString& result, in toPattern() function in Quantifier
103 matcher->toMatcher()->toPattern(result, escapeUnprintable); in toPattern()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckNumbers.java250 new Object[] { chars.toPattern(false) })); in handleCheck()
444 addOrTestSamples(x, x.toPattern(), value, result, generateExamples); in checkPattern()
457 addOrTestSamples(x, x.toPattern(), value, result, generateExamples); in checkCurrencyFormats()
552 pattern = df.toPattern(); in getCanonicalPattern()
563 pattern = df.toPattern(); in getCanonicalPattern()
597 return df.toPattern(); in getPattern()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestUnicodeProperty.java38 errln("Contents:\t" + lu.complement().complement().toPattern(false)); in TestBasic()
67 errln("Contents:\t" + luSet.complement().complement().toPattern(false)); in TestSymbolTable2()

12345678910