Searched refs:Normalizer (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/test/java/libcore/java/text/ |
D | NormalizerTest.java | 19 import java.text.Normalizer; 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() 57 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFC)); in testIsNormalized() 58 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFD)); in testIsNormalized() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | NormalizerTest.java | 20 import java.text.Normalizer; 21 import java.text.Normalizer.Form; 81 assertTrue(Normalizer.isNormalized(src, Form.NFC)); in test_isNormalized() 82 assertFalse(Normalizer.isNormalized(src, Form.NFD)); in test_isNormalized() 83 assertTrue(Normalizer.isNormalized(src, Form.NFKC)); in test_isNormalized() 84 assertFalse(Normalizer.isNormalized(src, Form.NFKD)); in test_isNormalized() 87 assertFalse(Normalizer.isNormalized(src, Form.NFC)); in test_isNormalized() 88 assertTrue(Normalizer.isNormalized(src, Form.NFD)); in test_isNormalized() 89 assertFalse(Normalizer.isNormalized(src, Form.NFKC)); in test_isNormalized() 90 assertTrue(Normalizer.isNormalized(src, Form.NFKD)); in test_isNormalized() [all …]
|
/libcore/ojluni/src/main/java/java/text/ |
D | Normalizer.java | 107 public final class Normalizer { class 109 private Normalizer() {}; in Normalizer() method in Normalizer 126 NFD(android.icu.text.Normalizer.NFD), 131 NFC(android.icu.text.Normalizer.NFC), 136 NFKD(android.icu.text.Normalizer.NFKD), 141 NFKC(android.icu.text.Normalizer.NFKC); 143 private final android.icu.text.Normalizer.Mode icuMode; 145 Form(android.icu.text.Normalizer.Mode icuMode) { in Form() 167 return android.icu.text.Normalizer.normalize(src.toString(), form.icuMode); in normalize() 185 return android.icu.text.Normalizer.isNormalized(src.toString(), form.icuMode, 0); in isNormalized()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | AVA.java | 34 import java.text.Normalizer; 1023 return Normalizer.normalize(canon, Normalizer.Form.NFKD); in toRFC2253CanonicalString()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URI.java | 40 import java.text.Normalizer; 2768 String ns = Normalizer.normalize(s, Normalizer.Form.NFC); in encode()
|
/libcore/ |
D | openjdk_java_files.bp | 765 "ojluni/src/main/java/java/text/Normalizer.java",
|