/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | NormalizerTest.java | 21 import java.text.Normalizer.Form; 30 Form[] forms = Form.values(); in test_form_values() 32 assertEquals(Form.NFD, forms[0]); in test_form_values() 33 assertEquals(Form.NFC, forms[1]); in test_form_values() 34 assertEquals(Form.NFKD, forms[2]); in test_form_values() 35 assertEquals(Form.NFKC, forms[3]); in test_form_values() 43 Form.valueOf(null); in test_form_valueOfLjava_lang_String() 49 assertEquals(Form.NFC, Form.valueOf("NFC")); in test_form_valueOfLjava_lang_String() 50 assertEquals(Form.NFD, Form.valueOf("NFD")); in test_form_valueOfLjava_lang_String() 51 assertEquals(Form.NFKC, Form.valueOf("NFKC")); in test_form_valueOfLjava_lang_String() [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() 57 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFC)); in testIsNormalized() 58 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFD)); in testIsNormalized() 59 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKC)); in testIsNormalized() [all …]
|
/libcore/ojluni/src/main/java/java/text/ |
D | Normalizer.java | 121 public enum Form { enum in Normalizer 145 Form(android.icu.text.Normalizer.Mode icuMode) { in Form() method in Normalizer.Form 165 public static String normalize(CharSequence src, Form form) { in normalize() 183 public static boolean isNormalized(CharSequence src, Form form) { in isNormalized()
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | FormattedFloatingDecimal.java | 33 sun.misc.FormattedFloatingDecimal.Form form, in FormattedFloatingDecimal() 39 double d, int precision, sun.misc.FormattedFloatingDecimal.Form form) { in valueOf() 97 public static enum Form { enum in FormattedFloatingDecimal 106 private Form() { in Form() method in FormattedFloatingDecimal.Form
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | FormattedFloatingDecimal.java | 32 public enum Form { SCIENTIFIC, COMPATIBLE, DECIMAL_FLOAT, GENERAL }; enum in FormattedFloatingDecimal 35 public static FormattedFloatingDecimal valueOf(double d, int precision, Form form){ in valueOf() 37 FloatingDecimal.getBinaryToASCIIConverter(d, form == Form.COMPATIBLE); in valueOf() 57 …private FormattedFloatingDecimal(int precision, Form form, FloatingDecimal.BinaryToASCIIConverter … in FormattedFloatingDecimal()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | AVA.java | 1023 return Normalizer.normalize(canon, Normalizer.Form.NFKD); in toRFC2253CanonicalString()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Formatter.java | 3360 FormattedFloatingDecimal.Form.SCIENTIFIC); 3400 FormattedFloatingDecimal.Form.DECIMAL_FLOAT); 3430 FormattedFloatingDecimal.Form.GENERAL);
|
/libcore/ojluni/src/main/java/java/net/ |
D | URI.java | 2767 String ns = Normalizer.normalize(s, Normalizer.Form.NFC); in encode()
|