Home
last modified time | relevance | path

Searched refs:NFD (Results 1 – 25 of 256) sorted by relevance

1234567891011

/external/python/cpython2/Lib/test/
Dtest_normalization.py25 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/
Dbench.rs12 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/
DPathNormalizationTest.java22 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()
DConfigurationTest.java22 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/
DNormalizerPerformanceTest.java26 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/
Duz_Cyrl_uz_Latn.txt9 # Rules are predicated on running NFD first, and NFC afterwards
10 :: NFD (NFC) ;
109 ::NFC (NFD) ;
DLatn_Armn.txt9 ::NFD(NFC);
90 ::NFC(NFD);
DLatin_NumericPinyin.txt21 ::NFD (NFC);
35 ::NFC (NFD);
DGrek_Latn_UNGEGN.txt10 # Rules are predicated on running NFD first, and NFC afterwards
15 ::NFD (NFC) ;
183 ::NFC (NFD) ;
Dja_Latn_ru.txt18 ::NFD(NFC);
129 ::NFC(NFD);
DTamil_InterIndic.txt10 #:: NFD (NFC) ;
75 # :: NFC (NFD) ;
Dja_Latn_ko.txt15 ::NFD(NFC);
147 ::NFC(NFD);
DLatn_Kana.txt15 :: 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) ;
Dzh_Latn_PINYIN_ru.txt22 :: NFD (NFC);
24 :: NFC (NFD);
DGurmukhi_InterIndic.txt10 #:: NFD (NFC) ;
93 # :: NFC (NFD) ;
DMalayalam_InterIndic.txt10 #:: NFD (NFC) ;
86 # :: NFC (NFD) ;
DJamo_Latn.txt10 ::NFD;
DMlym_Deva.txt10 ::NFD;
DMlym_Taml.txt10 ::NFD;
/external/python/cpython3/Lib/test/
Dtest_unicodedata.py350 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/
DRoundTripTest.java938 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/
DPathNormalization.java52 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/
DRoundTripTest.java935 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/
DBasicTest.java147 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/
DBasicTest.java150 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 …]

1234567891011