Home
last modified time | relevance | path

Searched refs:isNormalized (Results 1 – 19 of 19) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DNormalizerTest.java57 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()
60 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKD)); in testIsNormalized()
63 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFC)); in testIsNormalized()
64 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFD)); in testIsNormalized()
65 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKC)); in testIsNormalized()
66 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKD)); in testIsNormalized()
69 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFC)); in testIsNormalized()
70 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFD)); in testIsNormalized()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DNormalizerTest.java81 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()
93 assertTrue(Normalizer.isNormalized(src, Form.NFC)); in test_isNormalized()
94 assertTrue(Normalizer.isNormalized(src, Form.NFD)); in test_isNormalized()
[all …]
/libcore/luni/src/test/java/libcore/libcore/util/
DFP16Test.java136 assertFalse(FP16.isNormalized(POSITIVE_INFINITY)); in testIsNormalized()
137 assertFalse(FP16.isNormalized(NEGATIVE_INFINITY)); in testIsNormalized()
138 assertFalse(FP16.isNormalized(POSITIVE_ZERO)); in testIsNormalized()
139 assertFalse(FP16.isNormalized(NEGATIVE_ZERO)); in testIsNormalized()
140 assertFalse(FP16.isNormalized(NaN)); in testIsNormalized()
141 assertTrue(FP16.isNormalized(MAX_VALUE)); in testIsNormalized()
142 assertTrue(FP16.isNormalized(MIN_NORMAL)); in testIsNormalized()
143 assertTrue(FP16.isNormalized(LOWEST_VALUE)); in testIsNormalized()
144 assertTrue(FP16.isNormalized(toHalf(-128.3f))); in testIsNormalized()
145 assertTrue(FP16.isNormalized(toHalf(128.3f))); in testIsNormalized()
[all …]
/libcore/ojluni/src/main/java/java/text/
DNormalizer.java187 public static boolean isNormalized(CharSequence src, Form form) { in isNormalized() method in Normalizer
189 return form.icuNormalizer.get().isNormalized(src); in isNormalized()
/libcore/ojluni/src/main/java/sun/util/calendar/
DCalendarDate.java212 if (!isNormalized()) { in getDayOfWeek()
299 if (!isNormalized()) { in getTimeOfDay()
339 public boolean isNormalized() { in isNormalized() method in CalendarDate
389 if (isNormalized() != that.isNormalized()) { in equals()
417 int normalized = isNormalized() ? 1 : 0; in hashCode()
DImmutableGregorianDate.java169 public boolean isNormalized() { in isNormalized() method in ImmutableGregorianDate
170 return date.isNormalized(); in isNormalized()
DBaseCalendar.java193 if (bdate.isNormalized()) { in validate()
218 if (date.isNormalized()) { in normalize()
353 if (!date.isNormalized()) { in getFixedDate()
DAbstractCalendar.java185 if (date.isNormalized()) { in getTime()
247 boolean normalizedState = cdate.isNormalized(); in setTimeOfDay()
DLocalGregorianCalendar.java282 if (date.isNormalized()) { in normalize()
/libcore/ojluni/src/main/java/java/util/
DDate.java910 if (cdate != null && !cdate.isNormalized()) { in getTimeImpl()
979 if (date.cdate == null || date.cdate.isNormalized()) { in getMillisOf()
1221 if (!cdate.isNormalized()) { in normalize()
DGregorianCalendar.java2393 assert cachedFixedDate == Long.MIN_VALUE || gdate.isNormalized() in computeFields()
DJapaneseImperialCalendar.java2211 assert jdate.isNormalized(); in monthLength()
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DImmutableGregorianDate.java165 public boolean isNormalized() { in isNormalized() method in ImmutableGregorianDate
DCalendarDate.java180 public boolean isNormalized() { in isNormalized() method in CalendarDate
/libcore/luni/src/main/java/libcore/util/
DFP16.java695 public static boolean isNormalized(short h) { in isNormalized() method in FP16
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent.txt670 method public static boolean isNormalized(short);
/libcore/mmodules/core_platform_api/api/stable_platform/
Dcurrent.txt670 method public static boolean isNormalized(short);
/libcore/api/
Dmodule-lib-current.txt670 method public static boolean isNormalized(short);
Dcurrent.txt10446 method public static boolean isNormalized(CharSequence, java.text.Normalizer.Form);