/external/python/cpython2/Lib/test/ |
D | test_normalization.py | 25 def NFD(str): function 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/rust/crates/unicode-normalization/benches/ |
D | bench.rs | 12 const NFD: &'static str = "Introduccio\u{0301}n a Unicode.pdf"; constant 26 b.iter(|| unicode_normalization::is_nfc(NFD)); in bench_is_nfc_not_normalized() 36 b.iter(|| unicode_normalization::is_nfd(NFD)); in bench_is_nfd_normalized() 56 b.iter(|| unicode_normalization::is_nfc_stream_safe(NFD)); in bench_is_nfc_stream_safe_not_normalized() 66 b.iter(|| unicode_normalization::is_nfd_stream_safe(NFD)); in bench_is_nfd_stream_safe_normalized()
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | PathNormalizationTest.java | 22 import static com.google.common.jimfs.PathNormalization.NFD; 119 normalizations = ImmutableSet.of(NFD); in testNormalizeNfd() 150 normalizations = ImmutableSet.of(NFD, CASE_FOLD_UNICODE); in testNormalizeNfdCaseFold() 181 normalizations = ImmutableSet.of(NFD, CASE_FOLD_ASCII); in testNormalizeNfdCaseFoldAscii() 242 normalizations = ImmutableSet.of(NFD); in testNormalizeNfd_pattern() 265 normalizations = ImmutableSet.of(NFD, CASE_FOLD_UNICODE); in testNormalizeNfdCaseFold_pattern() 293 normalizations = ImmutableSet.of(NFD, CASE_FOLD_ASCII); in testNormalizeNfdCaseFoldAscii_pattern()
|
D | ConfigurationTest.java | 22 import static com.google.common.jimfs.PathNormalization.NFD; 98 assertThat(config.nameCanonicalNormalization).containsExactly(NFD, CASE_FOLD_ASCII); in testDefaultOsXConfiguration() 177 .setNameCanonicalNormalization(NFD, CASE_FOLD_UNICODE) in testBuilder() 192 assertThat(config.nameCanonicalNormalization).containsExactly(NFD, CASE_FOLD_UNICODE); in testBuilder() 210 .setNameCanonicalNormalization(NFD, CASE_FOLD_UNICODE) in testFileSystemForCustomConfiguration() 297 assertIllegalNormalizations(NFC, NFD); in testSettingNormalizationWhenNormalizationAlreadySet()
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | NormalizerPerformanceTest.java | 26 NFDFileLines = normalizeInput(fileLines, Normalizer.NFD); in setup() 90 Normalizer.normalize(NFDFileLines[i], Normalizer.NFD); 108 Normalizer.normalize(NFCFileLines[i], Normalizer.NFD); 126 Normalizer.normalize(fileLines[i], Normalizer.NFD); 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); 532 Normalizer.isNormalized(NFCFileLines[i], Normalizer.NFD, 0); 550 Normalizer.isNormalized(fileLines[i], Normalizer.NFD, 0); [all …]
|
/external/icu/icu4c/source/data/translit/ |
D | uz_Cyrl_uz_Latn.txt | 9 # Rules are predicated on running NFD first, and NFC afterwards 10 :: NFD (NFC) ; 109 ::NFC (NFD) ;
|
D | Latn_Armn.txt | 9 ::NFD(NFC); 90 ::NFC(NFD);
|
D | Latin_NumericPinyin.txt | 21 ::NFD (NFC); 35 ::NFC (NFD);
|
D | Grek_Latn_UNGEGN.txt | 10 # Rules are predicated on running NFD first, and NFC afterwards 15 ::NFD (NFC) ; 183 ::NFC (NFD) ;
|
D | ja_Latn_ru.txt | 18 ::NFD(NFC); 129 ::NFC(NFD);
|
D | Tamil_InterIndic.txt | 10 #:: NFD (NFC) ; 75 # :: NFC (NFD) ;
|
D | ja_Latn_ko.txt | 15 ::NFD(NFC); 147 ::NFC(NFD);
|
D | Latn_Kana.txt | 15 :: NFD (NFC); 17 # :: NFD () ; # this would catch the odd cases where a lowercase is not in NFD, but none are impo… 328 # have been converted to katakana in NFD form. 382 :: NFC (NFD) ;
|
D | zh_Latn_PINYIN_ru.txt | 22 :: NFD (NFC); 24 :: NFC (NFD);
|
D | Gurmukhi_InterIndic.txt | 10 #:: NFD (NFC) ; 93 # :: NFC (NFD) ;
|
D | Malayalam_InterIndic.txt | 10 #:: NFD (NFC) ; 86 # :: NFC (NFD) ;
|
D | Jamo_Latn.txt | 10 ::NFD;
|
D | Mlym_Deva.txt | 10 ::NFD;
|
D | Mlym_Taml.txt | 10 ::NFD;
|
/external/python/cpython3/Lib/test/ |
D | test_unicodedata.py | 350 def NFD(str): function 370 self.assertTrue(c3 == NFD(c1) == NFD(c2) == NFD(c3), line) 371 self.assertTrue(c5 == NFD(c4) == NFD(c5), line) 397 self.assertTrue(X == NFC(X) == NFD(X) == NFKC(X) == NFKD(X), c)
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
D | RoundTripTest.java | 938 String decomp = Normalizer.normalize(sourceString, Normalizer.NFD); in is() 1040 String decomp = Normalizer.normalize(sourceString, Normalizer.NFD); in is() 1141 a = Normalizer.normalize(a, Normalizer.NFD); in isSame() 1142 b = Normalizer.normalize(b, Normalizer.NFD); in isSame() 1425 String targD = Normalizer.normalize(targ, Normalizer.NFD); in checkSourceTargetSingles() 1434 String cs2 = Normalizer.normalize(cs, Normalizer.NFD); in checkSourceTargetSingles() 1482 String targD = Normalizer.normalize(targ, Normalizer.NFD); in checkSourceTargetDoubles() 1489 String cs2 = Normalizer.normalize(cs, Normalizer.NFD); in checkSourceTargetDoubles() 1526 String targD = Normalizer.normalize(targ, Normalizer.NFD); 1541 String targ2 = Normalizer.normalize(targ, Normalizer.NFD); [all …]
|
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | PathNormalization.java | 52 NFD(Pattern.CANON_EQ) { in NFD() method 55 return Normalizer.normalize(string, Normalizer.Form.NFD); in NFD()
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | RoundTripTest.java | 935 String decomp = Normalizer.normalize(sourceString, Normalizer.NFD); in is() 1037 String decomp = Normalizer.normalize(sourceString, Normalizer.NFD); in is() 1138 a = Normalizer.normalize(a, Normalizer.NFD); in isSame() 1139 b = Normalizer.normalize(b, Normalizer.NFD); in isSame() 1422 String targD = Normalizer.normalize(targ, Normalizer.NFD); in checkSourceTargetSingles() 1431 String cs2 = Normalizer.normalize(cs, Normalizer.NFD); in checkSourceTargetSingles() 1479 String targD = Normalizer.normalize(targ, Normalizer.NFD); in checkSourceTargetDoubles() 1486 String cs2 = Normalizer.normalize(cs, Normalizer.NFD); in checkSourceTargetDoubles() 1523 String targD = Normalizer.normalize(targ, Normalizer.NFD); 1538 String targ2 = Normalizer.normalize(targ, Normalizer.NFD); [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
D | BasicTest.java | 147 staticTest(Normalizer.NFD, hangulCanon, 1); in TestHangulDecomp() 153 Normalizer norm = new Normalizer("", Normalizer.NFD,0); in TestHangulDecomp() 161 norm.setMode(Normalizer.NFD); in TestHangulDecomp() 172 Normalizer norm = new Normalizer("", Normalizer.NFD,0); in TestDecomp() 174 staticTest(Normalizer.NFD, canonTests, 1); in TestDecomp() 175 decomposeTest(Normalizer.NFD, canonTests, 1); in TestDecomp() 219 staticTest(Normalizer.NFD, canon, 1); in TestExplodingBase() 241 staticTest(Normalizer.NFD, decomp, 1); in TestTibetan() 351 a = Normalizer.normalize(b, Normalizer.NFD); in TestZeroIndex() 416 Normalizer.NFD,0) != Normalizer.NO) in TestQuickCheckResultNO() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
D | BasicTest.java | 150 staticTest(Normalizer.NFD, hangulCanon, 1); in TestHangulDecomp() 156 Normalizer norm = new Normalizer("", Normalizer.NFD,0); in TestHangulDecomp() 164 norm.setMode(Normalizer.NFD); in TestHangulDecomp() 175 Normalizer norm = new Normalizer("", Normalizer.NFD,0); in TestDecomp() 177 staticTest(Normalizer.NFD, canonTests, 1); in TestDecomp() 178 decomposeTest(Normalizer.NFD, canonTests, 1); in TestDecomp() 222 staticTest(Normalizer.NFD, canon, 1); in TestExplodingBase() 244 staticTest(Normalizer.NFD, decomp, 1); in TestTibetan() 354 a = Normalizer.normalize(b, Normalizer.NFD); in TestZeroIndex() 419 Normalizer.NFD,0) != Normalizer.NO) in TestQuickCheckResultNO() [all …]
|