/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | NormalizerTest.java | 135 assertEquals("\u00c1", Normalizer.normalize(src, Form.NFC)); in test_normalize() 136 assertEquals("\u0041\u0301", Normalizer.normalize(src, Form.NFD)); in test_normalize() 137 assertEquals("\u00c1", Normalizer.normalize(src, Form.NFKC)); in test_normalize() 138 assertEquals("\u0041\u0301", Normalizer.normalize(src, Form.NFKD)); in test_normalize() 141 assertEquals("\u00c1", Normalizer.normalize(src, Form.NFC)); in test_normalize() 142 assertEquals("\u0041\u0301", Normalizer.normalize(src, Form.NFD)); in test_normalize() 143 assertEquals("\u00c1", Normalizer.normalize(src, Form.NFKC)); in test_normalize() 144 assertEquals("\u0041\u0301", Normalizer.normalize(src, Form.NFKD)); in test_normalize() 147 assertEquals("\ufb03", Normalizer.normalize(src, Form.NFC)); in test_normalize() 148 assertEquals("\ufb03", Normalizer.normalize(src, Form.NFD)); in test_normalize() [all …]
|
/libcore/ojluni/src/test/java/nio/file/Path/ |
D | PathOps.java | 185 PathOps normalize(String expected) { in normalize() method in PathOps 187 check(path.normalize(), expected); in normalize() 438 .normalize("/"); in doUnixTests() 440 .normalize("foo"); in doUnixTests() 442 .normalize("/foo"); in doUnixTests() 444 .normalize(""); in doUnixTests() 446 .normalize(""); in doUnixTests() 448 .normalize(".."); in doUnixTests() 450 .normalize("/"); in doUnixTests() 452 .normalize("/"); in doUnixTests() [all …]
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | NormalizerTest.java | 26 assertEquals(src, Normalizer.normalize(src, Normalizer.Form.NFC)); in testNormalize() 30 Normalizer.normalize(src, Normalizer.Form.NFD)); in testNormalize() 33 assertEquals("\u038e\u03ab\u1e61", Normalizer.normalize(src, Normalizer.Form.NFKC)); in testNormalize() 37 Normalizer.normalize(src, Normalizer.Form.NFKD)); in testNormalize() 40 assertEquals("\u00e9", Normalizer.normalize("\u0065\u0301", Normalizer.Form.NFC)); in testNormalize() 43 assertEquals("\u1e69", Normalizer.normalize("\u1e9b\u0323", Normalizer.Form.NFKC)); in testNormalize() 46 Normalizer.normalize(null, Normalizer.Form.NFC); in testNormalize()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Date.java | 336 d.normalize(udate); in UTC() 672 return normalize().getYear() - 1900; in getYear() 708 return normalize().getMonth() - 1; // adjust 1-based to 0-based in getMonth() 756 return normalize().getDayOfMonth(); in getDate() 795 return normalize().getDayOfWeek() - BaseCalendar.SUNDAY; in getDay() 812 return normalize().getHours(); in getHours() 844 return normalize().getMinutes(); in getMinutes() 877 return normalize().getSeconds(); in getSeconds() 910 normalize(); in getTimeImpl() 1053 BaseCalendar.Date date = normalize(); in toString() [all …]
|
D | JapaneseImperialCalendar.java | 658 jcal.normalize(jd); in roll() 664 jcal.normalize(jd); in roll() 682 jcal.normalize(jd); in roll() 688 jcal.normalize(jd); in roll() 1194 jcal.normalize(jd); 1210 jcal.normalize(jd); 1232 jcal.normalize(d); 1235 jcal.normalize(jd); 1340 jcal.normalize(d1); 1358 jcal.normalize(d); [all …]
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
D | BaseLocale.java | 140 boolean normalize) { in BaseLocale() argument 141 if (normalize) { in BaseLocale() 316 String variant, boolean normalize) { in Key() argument 317 BaseLocale locale = new BaseLocale(language, script, region, variant, normalize); in Key() 318 this.normalized = normalize; in Key() 390 public static Key normalize(Key key) { in normalize() method in Key 421 return Key.normalize(key); in normalizeKey() 428 key = Key.normalize(key); in createObject()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | IOStatus.java | 59 public static int normalize(int n) { in normalize() method in IOStatus 69 public static long normalize(long n) { in normalize() method in IOStatus
|
D | SinkChannelImpl.java | 169 return IOStatus.normalize(n); in write() 192 return IOStatus.normalize(n); in write()
|
D | FileChannelImpl.java | 196 return IOStatus.normalize(n); in read() 224 return IOStatus.normalize(n); in read() 248 return IOStatus.normalize(n); in write() 276 return IOStatus.normalize(n); in write() 309 return IOStatus.normalize(p); in position() 359 return IOStatus.normalize(s); in size() 491 return IOStatus.normalize(n); in transferToDirectlyInternal() 792 return IOStatus.normalize(n); in readInternal() 829 return IOStatus.normalize(n); in writeInternal()
|
D | SourceChannelImpl.java | 174 return IOStatus.normalize(n); in read() 205 return IOStatus.normalize(n); in read()
|
/libcore/ojluni/src/main/java/java/text/ |
D | Normalizer.java | 169 public static String normalize(CharSequence src, Form form) { in normalize() method in Normalizer 171 return form.icuNormalizer.get().normalize(src); in normalize()
|
/libcore/ojluni/src/main/java/java/io/ |
D | File.java | 290 this.path = fs.normalize(pathname); in File() 332 this.path = fs.resolve(fs.normalize(parent), in File() 333 fs.normalize(child)); in File() 336 this.path = fs.normalize(child); in File() 373 fs.normalize(child)); in File() 376 fs.normalize(child)); in File() 379 this.path = fs.normalize(child); in File() 444 this.path = fs.normalize(p); in File() 2172 String path = fs.normalize(pathField); in readObject()
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | HCNodeDocumentFragmentNormalize.java | 62 docFragment.normalize(); in testNodeDocumentFragmentNormalize1() 78 docFragment.normalize(); in testNodeDocumentFragmentNormalize2()
|
D | Normalize.java | 84 root.normalize(); in testNormalize()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | XMLGregorianCalendar.java | 652 public abstract XMLGregorianCalendar normalize(); in normalize() method in XMLGregorianCalendar 690 gc = this.normalize(); in hashCode()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | NormalizeTest.java | 343 document.getDocumentElement().normalize(); in testCdataSectionsNotHonoredByNodeNormalize() 348 document.getDocumentElement().normalize(); in testCdataSectionsNotHonoredByNodeNormalize() 368 document.getDocumentElement().normalize(); in testMergeAdjacentTextNodes() 374 document.getDocumentElement().normalize(); in testMergeAdjacentEmptyTextNodes() 380 document.getDocumentElement().normalize(); in testMergeAdjacentNodesWithNonTextSiblings() 386 document.getDocumentElement().normalize(); in testMergeAdjacentNodesEliminatesEmptyTexts()
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | hc_nodedocumentfragmentnormalize2.java | 68 docFragment.normalize(); in runTest()
|
D | normalize01.java | 79 root.normalize(); in runTest()
|
D | hc_nodedocumentfragmentnormalize1.java | 70 docFragment.normalize(); in runTest()
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | elementnormalize.java | 73 root.normalize(); in runTest()
|
D | cdatasectionnormalize.java | 72 lChild.normalize(); in runTest()
|
D | hc_elementnormalize.java | 75 root.normalize(); in runTest()
|
D | hc_elementnormalize2.java | 76 element.normalize(); in runTest()
|
D | hc_attrnormalize.java | 78 ((Element) /*Node */testNode).normalize(); in runTest()
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | LocalGregorianCalendar.java | 257 normalize(tmp); in validate() 281 public boolean normalize(CalendarDate date) { in normalize() method in LocalGregorianCalendar 290 super.normalize(ldate); in normalize()
|