/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
NormalizerRegressionTests.java | 28 logln("Normalized: " + Normalizer.isNormalized(tamil, Normalizer.NFC, 0)); 32 // but the isNormalized test identifies the cedilla as a 'maybe' and so tries 46 logln("Normalized: " + Normalizer.isNormalized(sample, Normalizer.NFC, 0)); 51 logln("Normalized: " + Normalizer.isNormalized(sample2, Normalizer.NFC, 0));
|
ConformanceTest.java | 195 if(!Normalizer.isNormalized(field[1], Normalizer.NFC, options)) { 196 errln("Normalizer error: isNormalized(NFC(s), Normalizer.NFC) is false"); 199 if(!field[0].equals(field[1]) && Normalizer.isNormalized(field[0], Normalizer.NFC, options)) { 200 errln("Normalizer error: isNormalized(s, Normalizer.NFC) is TRUE"); 203 if(!Normalizer.isNormalized(field[3], Normalizer.NFKC, options)) { 204 errln("Normalizer error: isNormalized(NFKC(s), Normalizer.NFKC) is false"); 207 if(!field[0].equals(field[3]) && Normalizer.isNormalized(field[0], Normalizer.NFKC, options)) { 208 errln("Normalizer error: isNormalized(s, Normalizer.NFKC) is TRUE"); 212 if(!Normalizer.isNormalized(field[1].toCharArray(),0,field[1].length(), Normalizer.NFC,options)) { 213 errln("Normalizer error: isNormalized(NFC(s), Normalizer.NFC) is false") [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
NormalizerRegressionTests.java | 25 logln("Normalized: " + Normalizer.isNormalized(tamil, Normalizer.NFC, 0)); 29 // but the isNormalized test identifies the cedilla as a 'maybe' and so tries 43 logln("Normalized: " + Normalizer.isNormalized(sample, Normalizer.NFC, 0)); 48 logln("Normalized: " + Normalizer.isNormalized(sample2, Normalizer.NFC, 0));
|
ConformanceTest.java | 192 if(!Normalizer.isNormalized(field[1], Normalizer.NFC, options)) { 193 errln("Normalizer error: isNormalized(NFC(s), Normalizer.NFC) is false"); 196 if(!field[0].equals(field[1]) && Normalizer.isNormalized(field[0], Normalizer.NFC, options)) { 197 errln("Normalizer error: isNormalized(s, Normalizer.NFC) is TRUE"); 200 if(!Normalizer.isNormalized(field[3], Normalizer.NFKC, options)) { 201 errln("Normalizer error: isNormalized(NFKC(s), Normalizer.NFKC) is false"); 204 if(!field[0].equals(field[3]) && Normalizer.isNormalized(field[0], Normalizer.NFKC, options)) { 205 errln("Normalizer error: isNormalized(s, Normalizer.NFKC) is TRUE"); 209 if(!Normalizer.isNormalized(field[1].toCharArray(),0,field[1].length(), Normalizer.NFC,options)) { 210 errln("Normalizer error: isNormalized(NFC(s), Normalizer.NFC) is false") [all...] |
/external/icu/icu4c/source/common/unicode/ |
normlzr.h | 285 * @see isNormalized 301 * @see isNormalized 328 isNormalized(const UnicodeString &src, UNormalizationMode mode, UErrorCode &errorCode); 331 * Test if a string is in a given normalization form; same as the other version of isNormalized 346 isNormalized(const UnicodeString &src, UNormalizationMode mode, int32_t options, UErrorCode &errorCode); 787 Normalizer::isNormalized(const UnicodeString& source, 790 return isNormalized(source, mode, 0, status);
|
normalizer2.h | 374 isNormalized(const UnicodeString &s, UErrorCode &errorCode) const = 0; 386 * For other modes it currently converts to UTF-16 and calls isNormalized(). 669 isNormalized(const UnicodeString &s, UErrorCode &errorCode) const U_OVERRIDE; 681 * For other modes it currently converts to UTF-16 and calls isNormalized(). [all...] |
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
format_conversion.h | 62 if (FormatTraits<SrcFormat>::isNormalized(comp)) 85 if (FormatTraits<Format>::isNormalized(Component)) 132 if (FormatTraits<Format>::isNormalized(Component)) 232 if (FormatTraits<SrcFormat>::isNormalized(comp)) 255 if (FormatTraits<Format>::isNormalized(Component)) 302 if (FormatTraits<Format>::isNormalized(Component))
|
backend_clear.cpp | 89 if (FormatTraits<format>::isNormalized(comp)) 104 if (FormatTraits<format>::isNormalized(comp))
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
NormalizerPerformanceTest.java | 455 // Test isNormalized Performance 460 Normalizer.isNormalized(NFDFileLines[i], Normalizer.NFC, 0); 478 Normalizer.isNormalized(NFCFileLines[i], Normalizer.NFC, 0); 496 Normalizer.isNormalized(fileLines[i], Normalizer.NFC, 0); 514 Normalizer.isNormalized(NFDFileLines[i], Normalizer.NFD, 0); 532 Normalizer.isNormalized(NFCFileLines[i], Normalizer.NFD, 0); 550 Normalizer.isNormalized(fileLines[i], Normalizer.NFD, 0); 568 Normalizer.isNormalized(NFDFileLines[i], Normalizer.FCD, 0); 586 Normalizer.isNormalized(NFCFileLines[i], Normalizer.FCD, 0); 604 Normalizer.isNormalized(fileLines[i], Normalizer.FCD, 0) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CjkBreakEngine.java | 102 boolean isNormalized = Normalizer.quickCheck(prenormstr, Normalizer.NFKC) == Normalizer.YES || 103 Normalizer.isNormalized(prenormstr, Normalizer.NFKC, 0); 106 if (isNormalized) {
|
Normalizer2.java | 336 public abstract boolean isNormalized(CharSequence s);
|
FilteredNormalizer2.java | 117 public boolean isNormalized(CharSequence s) { 124 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) {
|
Normalizer.java | [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CjkBreakEngine.java | 101 boolean isNormalized = Normalizer.quickCheck(prenormstr, Normalizer.NFKC) == Normalizer.YES || 102 Normalizer.isNormalized(prenormstr, Normalizer.NFKC, 0); 105 if (isNormalized) {
|
Normalizer2.java | 357 public abstract boolean isNormalized(CharSequence s);
|
FilteredNormalizer2.java | 126 public boolean isNormalized(CharSequence s) { 133 if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) {
|
Normalizer.java | [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
HalfTest.java | 195 public void isNormalized() { 196 assertFalse(Half.isNormalized(POSITIVE_INFINITY)); 197 assertFalse(Half.isNormalized(NEGATIVE_INFINITY)); 198 assertFalse(Half.isNormalized(POSITIVE_ZERO)); 199 assertFalse(Half.isNormalized(NEGATIVE_ZERO)); 200 assertFalse(Half.isNormalized(NaN)); 201 assertTrue(Half.isNormalized(MAX_VALUE)); 202 assertTrue(Half.isNormalized(MIN_NORMAL)); 203 assertTrue(Half.isNormalized(LOWEST_VALUE)); 204 assertTrue(Half.isNormalized(toHalf(-128.3f))) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
Norm2AllModes.java | 74 public boolean isNormalized(CharSequence s) { return true; } 162 public boolean isNormalized(CharSequence s) { 167 return isNormalized(s) ? Normalizer.YES : Normalizer.NO; 228 public boolean isNormalized(CharSequence s) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Norm2AllModes.java | 67 public boolean isNormalized(CharSequence s) { return true; } 152 public boolean isNormalized(CharSequence s) { 157 return isNormalized(s) ? Normalizer.YES : Normalizer.NO; 212 public boolean isNormalized(CharSequence s) {
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
VariantFolder.java | 31 final boolean canonical1 = Normalizer.isNormalized(s1, Normalizer.COMPOSE, 0); 32 final boolean canonical2 = Normalizer.isNormalized(s2, Normalizer.COMPOSE, 0);
|
/external/icu/icu4c/source/test/intltest/ |
normconf.cpp | 346 result = Normalizer::isNormalized(field[1], UNORM_NFC, status); 348 result = Normalizer::isNormalized(field[1], UNORM_NFC, options, status); 351 dataerrln("Normalizer error: isNormalized(NFC(s), UNORM_NFC) is FALSE"); 359 if(Normalizer::isNormalized(field[0], UNORM_NFC, options, status)) { 360 errln("Normalizer error: isNormalized(s, UNORM_NFC) is TRUE"); 368 if(!Normalizer::isNormalized(field[3], UNORM_NFKC, options, status)) { 369 dataerrln("Normalizer error: isNormalized(NFKC(s), UNORM_NFKC) is FALSE"); 377 if(Normalizer::isNormalized(field[0], UNORM_NFKC, options, status)) { 378 errln("Normalizer error: isNormalized(s, UNORM_NFKC) is TRUE");
|
/external/icu/icu4c/source/common/ |
norm2allmodes.h | 151 isNormalized(const UnicodeString &s, UErrorCode &errorCode) const { 165 return Normalizer2WithImpl::isNormalized(s, errorCode) ? UNORM_YES : UNORM_NO; 257 isNormalized(const UnicodeString &s, UErrorCode &errorCode) const U_OVERRIDE {
|
normlzr.cpp | 196 Normalizer::isNormalized(const UnicodeString& source, 203 isNormalized(source, status); 205 return n2->isNormalized(source, status);
|
filterednormalizer2.cpp | 224 FilteredNormalizer2::isNormalized(const UnicodeString &s, UErrorCode &errorCode) const { 235 if( !norm2.isNormalized(s.tempSubStringBetween(prevSpanLimit, spanLimit), errorCode) ||
|