/libcore/ojluni/src/main/java/java/text/ |
Normalizer.java | 126 NFD(android.icu.text.Normalizer.NFD), 158 * {@link java.text.Normalizer.Form#NFD}, 175 * {@link java.text.Normalizer.Form#NFD},
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
NormalizerTest.java | 32 assertEquals(Form.NFD, forms[0]); 50 assertEquals(Form.NFD, Form.valueOf("NFD")); 82 assertFalse(Normalizer.isNormalized(src, Form.NFD)); 88 assertTrue(Normalizer.isNormalized(src, Form.NFD)); 94 assertTrue(Normalizer.isNormalized(src, Form.NFD)); 100 assertTrue(Normalizer.isNormalized(src, Form.NFD)); 106 assertTrue(Normalizer.isNormalized(src, Form.NFD)); 136 assertEquals("\u0041\u0301", Normalizer.normalize(src, Form.NFD)); 142 assertEquals("\u0041\u0301", Normalizer.normalize(src, Form.NFD)); [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
NormalizerTest.java | 30 Normalizer.normalize(src, Normalizer.Form.NFD)); 58 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFD)); 64 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFD)); 70 assertFalse(Normalizer.isNormalized(target, Normalizer.Form.NFD)); 76 assertTrue(Normalizer.isNormalized(target, Normalizer.Form.NFD));
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_normalization.py | 25 def NFD(str):
26 return normalize("NFD", str)
73 self.assertTrue(c3 == NFD(c1) == NFD(c2) == NFD(c3), line)
74 self.assertTrue(c5 == NFD(c4) == NFD(c5), line)
91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
|
/external/python/cpython2/Lib/test/ |
test_normalization.py | 25 def NFD(str): 26 return normalize("NFD", str) 73 self.assertTrue(c3 == NFD(c1) == NFD(c2) == NFD(c3), line) 74 self.assertTrue(c5 == NFD(c4) == NFD(c5), line) 91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_normalization.py | 25 def NFD(str): 26 return normalize("NFD", str) 73 self.assertTrue(c3 == NFD(c1) == NFD(c2) == NFD(c3), line) 74 self.assertTrue(c5 == NFD(c4) == NFD(c5), line) 91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_normalization.py | 25 def NFD(str): 26 return normalize("NFD", str) 73 self.assertTrue(c3 == NFD(c1) == NFD(c2) == NFD(c3), line) 74 self.assertTrue(c5 == NFD(c4) == NFD(c5), line) 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 | 25 def NFD(str): 26 return normalize("NFD", str) 73 self.assertTrue(c3 == NFD(c1) == NFD(c2) == NFD(c3), line) 74 self.assertTrue(c5 == NFD(c4) == NFD(c5), line) 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 | 25 def NFD(str): 26 return normalize("NFD", str) 73 self.assertTrue(c3 == NFD(c1) == NFD(c2) == NFD(c3), line) 74 self.assertTrue(c5 == NFD(c4) == NFD(c5), line) 91 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
NormalizerPerformanceTest.java | 26 NFDFileLines = normalizeInput(fileLines, Normalizer.NFD); 85 // Test NFD Performance 90 Normalizer.normalize(NFDFileLines[i], Normalizer.NFD); 108 Normalizer.normalize(NFCFileLines[i], Normalizer.NFD); 126 Normalizer.normalize(fileLines[i], Normalizer.NFD); 189 // Test NFD Performance 351 Normalizer.quickCheck(NFDFileLines[i], Normalizer.NFD,0); 369 Normalizer.quickCheck(NFCFileLines[i], Normalizer.NFD,0); 387 Normalizer.quickCheck(fileLines[i], Normalizer.NFD,0); 514 Normalizer.isNormalized(NFDFileLines[i], Normalizer.NFD, 0) [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
genIndexFilters.java | 21 * Usage: ID [ NFD|NFKD [lower] ] 24 * Latin-Greek NFD lower 26 * The 'NFD'|'NFKD' and 'lower' args are optional, but 'lower' can 27 * only be specified if 'NFD' or 'NFKD' is. 38 if (args[1].equalsIgnoreCase("NFD")) { 39 m = Normalizer.NFD; 69 System.err.println("Usage: ID [ NFD|NFKD [lower] ]");
|
SourceSet.java | 30 * java com.ibm.icu.dev.tool.translit.SourceSet Latin-Katakana NFD lower 53 // Usage: ID [NFKD | NFD] [lower] 57 if (args[1].equalsIgnoreCase("NFD")) { 58 m = Normalizer.NFD; 114 System.err.println("Usage: ID [ NFD|NFKD [lower] ]");
|
genIndexFilters.bat | 28 # Latin-X NFD lower 29 # X-Latin NFD
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
ConformanceTest.java | 144 * c3 == NFD(c1) == NFD(c2) == NFD(c3) 174 out = Normalizer.normalize(field[i], Normalizer.NFD); 177 out = iterativeNorm(field[i], Normalizer.NFD, buf, +1,options); 180 out = iterativeNorm(field[i], Normalizer.NFD, buf, -1,options); 183 out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFD, buf, +1,options); 186 out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFD, buf, -1,options); 189 cross(field[2] /*NFD String*/, field[1]/*NFC String*/, Normalizer.NFC); 190 cross(field[1] /*NFC String*/, field[2]/*NFD String*/, Normalizer.NFD) [all...] |
BasicTest.java | 145 staticTest(Normalizer.NFD, hangulCanon, 1); 151 Normalizer norm = new Normalizer("", Normalizer.NFD,0); 159 norm.setMode(Normalizer.NFD); 170 Normalizer norm = new Normalizer("", Normalizer.NFD,0); 172 staticTest(Normalizer.NFD, canonTests, 1); 173 decomposeTest(Normalizer.NFD, canonTests, 1); 217 staticTest(Normalizer.NFD, canon, 1); 239 staticTest(Normalizer.NFD, decomp, 1); 349 a = Normalizer.normalize(b, Normalizer.NFD); 414 Normalizer.NFD,0) != Normalizer.NO 672 String s, nfd; local 1701 char[] nfd = new char[100]; local 2812 Normalizer2 nfd = Normalizer2.getNFDInstance(); local [all...] |
NormalizationMonkeyTest.java | 53 //NFD 55 String icuNorm = Normalizer.normalize(source, Normalizer.NFD); 59 errln("NFD: Unicode sample output => " + uncodeNorm + "; icu4j output=> " + icuNorm);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
ConformanceTest.java | 143 * c3 == NFD(c1) == NFD(c2) == NFD(c3) 173 out = Normalizer.normalize(field[i], Normalizer.NFD); 176 out = iterativeNorm(field[i], Normalizer.NFD, buf, +1,options); 179 out = iterativeNorm(field[i], Normalizer.NFD, buf, -1,options); 182 out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFD, buf, +1,options); 185 out = iterativeNorm(new StringCharacterIterator(field[i]), Normalizer.NFD, buf, -1,options); 188 cross(field[2] /*NFD String*/, field[1]/*NFC String*/, Normalizer.NFC); 189 cross(field[1] /*NFC String*/, field[2]/*NFD String*/, Normalizer.NFD) [all...] |
BasicTest.java | 144 staticTest(Normalizer.NFD, hangulCanon, 1); 150 Normalizer norm = new Normalizer("", Normalizer.NFD,0); 158 norm.setMode(Normalizer.NFD); 169 Normalizer norm = new Normalizer("", Normalizer.NFD,0); 171 staticTest(Normalizer.NFD, canonTests, 1); 172 decomposeTest(Normalizer.NFD, canonTests, 1); 216 staticTest(Normalizer.NFD, canon, 1); 238 staticTest(Normalizer.NFD, decomp, 1); 348 a = Normalizer.normalize(b, Normalizer.NFD); 413 Normalizer.NFD,0) != Normalizer.NO 671 String s, nfd; local 1700 char[] nfd = new char[100]; local 2811 Normalizer2 nfd = Normalizer2.getNFDInstance(); local [all...] |
NormalizationMonkeyTest.java | 52 //NFD 54 String icuNorm = Normalizer.normalize(source, Normalizer.NFD); 58 errln("NFD: Unicode sample output => " + uncodeNorm + "; icu4j output=> " + icuNorm);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
RoundTripTest.java | [all...] |
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
RoundTripTest.java | [all...] |
/art/test/092-locale/src/ |
Main.java | 126 res = Normalizer.normalize(composed, Normalizer.Form.NFD);
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/unicode/norm/ |
forminfo.go | 82 // We do not distinguish between boundaries for NFC, NFD, etc. to avoid 83 // unexpected behavior for the user. For example, in NFD, there is a boundary 203 if f == NFC || f == NFD { 211 if f == NFC || f == NFD {
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/text/unicode/norm/ |
forminfo.go | 82 // We do not distinguish between boundaries for NFC, NFD, etc. to avoid 83 // unexpected behavior for the user. For example, in NFD, there is a boundary 203 if f == NFC || f == NFD { 211 if f == NFC || f == NFD {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationMiscTest.java | 51 String NFD; 90 t[noCases].NFD = Normalizer.normalize(u, Normalizer.NFD); 92 if (t[noCases].NFC.length() != t[noCases].NFD.length() 93 || (t[noCases].NFC.compareTo(t[noCases].NFD) != 0) 94 || (len != t[noCases].NFD.length()) 95 || (comp.compareTo(t[noCases].NFD) != 0)) { 97 if (len != t[noCases].NFD.length() 98 || (comp.compareTo(t[noCases].NFD) != 0)) { 107 if (!coll.equals(t[u].NFC, t[u].NFD)) { [all...] |