Home
last modified time | relevance | path

Searched refs:normalize (Results 1 – 25 of 51) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DNormalizerTest.java135 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/luni/src/test/java/libcore/java/text/
DNormalizerTest.java26 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/
DDate.java336 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()
757 return normalize().getDayOfMonth(); in getDate()
796 return normalize().getDayOfWeek() - BaseCalendar.SUNDAY; in getDay()
813 return normalize().getHours(); in getHours()
845 return normalize().getMinutes(); in getMinutes()
878 return normalize().getSeconds(); in getSeconds()
911 normalize(); in getTimeImpl()
1051 BaseCalendar.Date date = normalize(); in toString()
[all …]
DJapaneseImperialCalendar.java654 jcal.normalize(jd); in roll()
660 jcal.normalize(jd); in roll()
678 jcal.normalize(jd); in roll()
684 jcal.normalize(jd); in roll()
1192 jcal.normalize(jd); in getActualMinimum()
1208 jcal.normalize(jd); in getActualMinimum()
1236 jcal.normalize(d); in getActualMinimum()
1239 jcal.normalize(jd); in getActualMinimum()
1356 jcal.normalize(d1); in getActualMaximum()
1379 jcal.normalize(d); in getActualMaximum()
[all …]
/libcore/ojluni/src/main/java/sun/nio/ch/
DIOStatus.java59 public static int normalize(int n) { in normalize() method in IOStatus
69 public static long normalize(long n) { in normalize() method in IOStatus
DSinkChannelImpl.java169 return IOStatus.normalize(n); in write()
192 return IOStatus.normalize(n); in write()
DSourceChannelImpl.java174 return IOStatus.normalize(n); in read()
205 return IOStatus.normalize(n); in read()
DFileChannelImpl.java199 return IOStatus.normalize(n); in read()
227 return IOStatus.normalize(n); in read()
251 return IOStatus.normalize(n); in write()
279 return IOStatus.normalize(n); in write()
311 return IOStatus.normalize(p); in position()
361 return IOStatus.normalize(s); in size()
493 return IOStatus.normalize(n); in transferToDirectlyInternal()
794 return IOStatus.normalize(n); in readInternal()
831 return IOStatus.normalize(n); in writeInternal()
DSocketChannelImpl.java427 return IOStatus.normalize(n); in read()
484 return IOStatus.normalize(n); in read()
515 return IOStatus.normalize(n); in write()
548 return IOStatus.normalize(n); in write()
578 return IOStatus.normalize(n); in sendOutOfBandData()
/libcore/ojluni/src/main/java/java/text/
DNormalizer.java165 public static String normalize(CharSequence src, Form form) { in normalize() method in Normalizer
167 return android.icu.text.Normalizer.normalize(src.toString(), form.icuMode); in normalize()
/libcore/ojluni/src/main/java/java/io/
DFile.java285 this.path = fs.normalize(pathname); in File()
327 this.path = fs.resolve(fs.normalize(parent), in File()
328 fs.normalize(child)); in File()
331 this.path = fs.normalize(child); in File()
368 fs.normalize(child)); in File()
371 fs.normalize(child)); in File()
374 this.path = fs.normalize(child); in File()
439 this.path = fs.normalize(p); in File()
2156 String path = fs.normalize(pathField); in readObject()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DHCNodeDocumentFragmentNormalize.java62 docFragment.normalize(); in testNodeDocumentFragmentNormalize1()
78 docFragment.normalize(); in testNodeDocumentFragmentNormalize2()
DNormalize.java84 root.normalize(); in testNormalize()
/libcore/luni/src/main/java/javax/xml/datatype/
DXMLGregorianCalendar.java652 public abstract XMLGregorianCalendar normalize(); in normalize() method in XMLGregorianCalendar
690 gc = this.normalize(); in hashCode()
/libcore/luni/src/test/java/libcore/xml/
DNormalizeTest.java343 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/
Dhc_nodedocumentfragmentnormalize2.java68 docFragment.normalize(); in runTest()
Dnormalize01.java79 root.normalize(); in runTest()
Dhc_nodedocumentfragmentnormalize1.java70 docFragment.normalize(); in runTest()
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Delementnormalize.java73 root.normalize(); in runTest()
Dcdatasectionnormalize.java72 lChild.normalize(); in runTest()
Dhc_elementnormalize2.java76 element.normalize(); in runTest()
Dhc_elementnormalize.java75 root.normalize(); in runTest()
Dhc_attrnormalize.java78 ((Element) /*Node */testNode).normalize(); in runTest()
/libcore/ojluni/src/main/java/sun/util/calendar/
DLocalGregorianCalendar.java257 normalize(tmp); in validate()
281 public boolean normalize(CalendarDate date) { in normalize() method in LocalGregorianCalendar
290 super.normalize(ldate); in normalize()
/libcore/ojluni/src/main/java/java/nio/file/
DPath.java333 Path normalize(); in normalize() method

123