Home
last modified time | relevance | path

Searched refs:Normalizer (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DNormalizerTest.java19 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/
DNormalizerTest.java20 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/
DNormalizer.java111 public final class Normalizer { class
113 private Normalizer() {}; in Normalizer() method in Normalizer
/libcore/ojluni/src/main/java/sun/security/x509/
DAVA.java34 import java.text.Normalizer;
1023 return Normalizer.normalize(canon, Normalizer.Form.NFKD); in toRFC2253CanonicalString()
/libcore/ojluni/src/main/java/java/net/
DURI.java40 import java.text.Normalizer;
2774 String ns = Normalizer.normalize(s, Normalizer.Form.NFC); in encode()
/libcore/
Dopenjdk_java_files.bp807 "ojluni/src/main/java/java/text/Normalizer.java",
DEXPECTED_UPSTREAM797 ojluni/src/main/java/java/text/Normalizer.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/jav…
/libcore/api/
Dcurrent.txt11248 public final class Normalizer {
11249 method public static boolean isNormalized(CharSequence, java.text.Normalizer.Form);
11250 method public static String normalize(CharSequence, java.text.Normalizer.Form);
11253 public enum Normalizer.Form {
11254 enum_constant public static final java.text.Normalizer.Form NFC;
11255 enum_constant public static final java.text.Normalizer.Form NFD;
11256 enum_constant public static final java.text.Normalizer.Form NFKC;
11257 enum_constant public static final java.text.Normalizer.Form NFKD;