/libcore/luni/src/test/java/libcore/java/text/ |
NormalizerTest.java | 33 assertEquals("\u038e\u03ab\u1e61", Normalizer.normalize(src, Normalizer.Form.NFKC)); 43 assertEquals("\u1e69", Normalizer.normalize("\u1e9b\u0323", Normalizer.Form.NFKC)); 59 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKC)); 65 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKC)); 71 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFKC)); 77 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFKC));
|
/libcore/ojluni/src/main/java/java/text/ |
Normalizer.java | 141 NFKC(android.icu.text.Normalizer.NFKC); 159 * {@link java.text.Normalizer.Form#NFKC}, 176 * {@link java.text.Normalizer.Form#NFKC},
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
NormalizerTest.java | 35 assertEquals(Form.NFKC, forms[3]); 51 assertEquals(Form.NFKC, Form.valueOf("NFKC")); 83 assertTrue(Normalizer.isNormalized(src, Form.NFKC)); 89 assertFalse(Normalizer.isNormalized(src, Form.NFKC)); 95 assertFalse(Normalizer.isNormalized(src, Form.NFKC)); 101 assertTrue(Normalizer.isNormalized(src, Form.NFKC)); 107 assertTrue(Normalizer.isNormalized(src, Form.NFKC)); 137 assertEquals("\u00c1", Normalizer.normalize(src, Form.NFKC)); 143 assertEquals("\u00c1", Normalizer.normalize(src, Form.NFKC)); [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_normalization.py | 22 def NFKC(str):
23 return normalize("NFKC", str)
75 self.assertTrue(c4 == NFKC(c1) == NFKC(c2) == \
76 NFKC(c3) == NFKC(c4) == NFKC(c5),
91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
|
/external/python/cpython2/Lib/test/ |
test_normalization.py | 22 def NFKC(str): 23 return normalize("NFKC", str) 75 self.assertTrue(c4 == NFKC(c1) == NFKC(c2) == \ 76 NFKC(c3) == NFKC(c4) == NFKC(c5), 91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_normalization.py | 22 def NFKC(str): 23 return normalize("NFKC", str) 75 self.assertTrue(c4 == NFKC(c1) == NFKC(c2) == \ 76 NFKC(c3) == NFKC(c4) == NFKC(c5), 91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_normalization.py | 22 def NFKC(str): 23 return normalize("NFKC", str) 75 self.assertTrue(c4 == NFKC(c1) == NFKC(c2) == \ 76 NFKC(c3) == NFKC(c4) == NFKC(c5), 91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_normalization.py | 22 def NFKC(str): 23 return normalize("NFKC", str) 75 self.assertTrue(c4 == NFKC(c1) == NFKC(c2) == \ 76 NFKC(c3) == NFKC(c4) == NFKC(c5), 91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_normalization.py | 22 def NFKC(str): 23 return normalize("NFKC", str) 75 self.assertTrue(c4 == NFKC(c1) == NFKC(c2) == \ 76 NFKC(c3) == NFKC(c4) == NFKC(c5), 91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CjkBreakEngine.java | 103 boolean isNormalized = Normalizer.quickCheck(prenormstr, Normalizer.NFKC) == Normalizer.YES || 104 Normalizer.isNormalized(prenormstr, Normalizer.NFKC, 0); 118 String normStr = Normalizer.normalize(prenormstr, Normalizer.NFKC); 121 Normalizer normalizer = new Normalizer(prenormstr, Normalizer.NFKC, 0);
|
StringPrep.java | 433 Normalizer.NFKC, 484 * Prepare the input buffer for use in applications with the given profile. This operation maps, normalizes(NFKC), 566 * Prepare the input String for use in applications with the given profile. This operation maps, normalizes(NFKC),
|
Normalizer.java | 344 public static final Mode NFKC =new NFKCMode(); 406 * @deprecated ICU 2.8. Use Normalizer.NFKC 407 * @see #NFKC 411 public static final Mode COMPOSE_COMPAT = NFKC; 671 return (compat ? NFKC : NFC).getNormalizer2(options); 682 * NFKC rules and if false will be composed according to 698 * NFKC rules and if false will be composed according to 716 * NFKC rules and if false will be composed according to 741 * NFKC rules and if false will be composed according to 1474 Normalizer2 nfkc=NFKCModeImpl.INSTANCE.normalizer2; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
CjkBreakEngine.java | 102 boolean isNormalized = Normalizer.quickCheck(prenormstr, Normalizer.NFKC) == Normalizer.YES || 103 Normalizer.isNormalized(prenormstr, Normalizer.NFKC, 0); 117 String normStr = Normalizer.normalize(prenormstr, Normalizer.NFKC); 120 Normalizer normalizer = new Normalizer(prenormstr, Normalizer.NFKC, 0);
|
StringPrep.java | 450 Normalizer.NFKC, 501 * Prepare the input buffer for use in applications with the given profile. This operation maps, normalizes(NFKC), 584 * Prepare the input String for use in applications with the given profile. This operation maps, normalizes(NFKC),
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
ConformanceTest.java | 145 * c4 == NFKC(c1) == NFKC(c2) == NFKC(c3) == NFKC(c4) == NFKC(c5) 192 out = Normalizer.normalize(field[i], Normalizer.NFKC,options); 195 out = iterativeNorm(field[i], Normalizer.NFKC, buf, +1,options); 198 out = iterativeNorm(field[i], Normalizer.NFKC, buf, -1,options); 201 out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFKC, buf, +1,options); 204 out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFKC, buf, -1,options) [all...] |
NormalizationMonkeyTest.java | 77 //NFKC 79 icuNorm = Normalizer.normalize(source, Normalizer.NFKC); 83 errln("NFKC: Unicode sample output => " + uncodeNorm + "; icu4j output=> " + icuNorm);
|
BasicTest.java | 126 staticTest(Normalizer.NFKC, hangulCompat, 2); 194 Normalizer norm = new Normalizer("", Normalizer.NFKC,0); 196 staticTest(Normalizer.NFKC,compatTests, 2); 197 composeTest(Normalizer.NFKC,compatTests, 2); 221 staticTest(Normalizer.NFKC, compat, 2); 242 staticTest(Normalizer.NFKC,compose, 2); 341 String b = Normalizer.normalize(a, Normalizer.NFKC); 435 Normalizer.NFKC,0) !=Normalizer.NO) 437 errln("ERROR in NFKC quick check at U+"+ 443 Normalizer.NFKC) !=Normalizer.NO 1463 String nfkc, nfkd; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
ConformanceTest.java | 144 * c4 == NFKC(c1) == NFKC(c2) == NFKC(c3) == NFKC(c4) == NFKC(c5) 191 out = Normalizer.normalize(field[i], Normalizer.NFKC,options); 194 out = iterativeNorm(field[i], Normalizer.NFKC, buf, +1,options); 197 out = iterativeNorm(field[i], Normalizer.NFKC, buf, -1,options); 200 out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFKC, buf, +1,options); 203 out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFKC, buf, -1,options) [all...] |
NormalizationMonkeyTest.java | 76 //NFKC 78 icuNorm = Normalizer.normalize(source, Normalizer.NFKC); 82 errln("NFKC: Unicode sample output => " + uncodeNorm + "; icu4j output=> " + icuNorm);
|
BasicTest.java | 125 staticTest(Normalizer.NFKC, hangulCompat, 2); 193 Normalizer norm = new Normalizer("", Normalizer.NFKC,0); 195 staticTest(Normalizer.NFKC,compatTests, 2); 196 composeTest(Normalizer.NFKC,compatTests, 2); 220 staticTest(Normalizer.NFKC, compat, 2); 241 staticTest(Normalizer.NFKC,compose, 2); 340 String b = Normalizer.normalize(a, Normalizer.NFKC); 434 Normalizer.NFKC,0) !=Normalizer.NO) 436 errln("ERROR in NFKC quick check at U+"+ 442 Normalizer.NFKC) !=Normalizer.NO 1462 String nfkc, nfkd; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/ |
mkstringprep.py | 201 # B.2 is case folding for NFKC. This is the same as B.3,
207 b = unicodedata.normalize("NFKC", al)
209 c = unicodedata.normalize("NFKC", bl)
226 b = unicodedata.normalize("NFKC", al)
228 c = unicodedata.normalize("NFKC", bl)
|
/external/python/cpython2/Tools/unicode/ |
mkstringprep.py | 201 # B.2 is case folding for NFKC. This is the same as B.3, 207 b = unicodedata.normalize("NFKC", al) 209 c = unicodedata.normalize("NFKC", bl) 226 b = unicodedata.normalize("NFKC", al) 228 c = unicodedata.normalize("NFKC", bl)
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/unicode/norm/ |
forminfo.go | 68 if Form(i) == NFKD || Form(i) == NFKC { 75 if Form(i) == NFC || Form(i) == NFKC { 183 // Note that the recomposition map for NFC and NFKC are identical.
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/text/unicode/norm/ |
forminfo.go | 68 if Form(i) == NFKD || Form(i) == NFKC { 75 if Form(i) == NFC || Form(i) == NFKC { 183 // Note that the recomposition map for NFC and NFKC are identical.
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
UnicodeSetClosure.java | 101 Normalizer.NONE, Normalizer.NFD, Normalizer.NFC, Normalizer.NFKD, Normalizer.NFKC}; 103 "NoNF", "NFD", "NFC", "NFKD", "NFKC"}; 175 print("NFKC", test); [all...] |