/art/test/092-locale/src/ |
Main.java | 126 res = Normalizer.normalize(composed, Normalizer.Form.NFD);
|
/packages/apps/Dialer/tests/src/com/android/dialer/dialpad/ |
SmartDialNameMatcherTest.java | 259 + " nfd=" + Normalizer.normalize(displayName, Normalizer.Form.NFD)
|
/external/v8/test/intl/string/ |
normalization.js | 84 // org, default, NFC, NFD, NKFC, NKFD 137 // the original, NFC and NFD should normalize to the same thing 142 assertEquals(str.normalize('NFD'), testData[i][kNFD]);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
CollationMiscTest.java | 54 String NFD; 92 t[noCases].NFD = Normalizer.normalize(u, Normalizer.NFD); 94 if (t[noCases].NFC.length() != t[noCases].NFD.length() 95 || (t[noCases].NFC.compareTo(t[noCases].NFD) != 0) 96 || (len != t[noCases].NFD.length()) 97 || (comp.compareTo(t[noCases].NFD) != 0)) { 99 if (len != t[noCases].NFD.length() 100 || (comp.compareTo(t[noCases].NFD) != 0)) { 109 if (!coll.equals(t[u].NFC, t[u].NFD)) { [all...] |
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
CollationMiscTest.java | 50 String NFD; 88 t[noCases].NFD = Normalizer.normalize(u, Normalizer.NFD); 90 if (t[noCases].NFC.length() != t[noCases].NFD.length() 91 || (t[noCases].NFC.compareTo(t[noCases].NFD) != 0) 92 || (len != t[noCases].NFD.length()) 93 || (comp.compareTo(t[noCases].NFD) != 0)) { 95 if (len != t[noCases].NFD.length() 96 || (comp.compareTo(t[noCases].NFD) != 0)) { 105 if (!coll.equals(t[u].NFC, t[u].NFD)) { [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
Normalizer.java | 100 * <p>Its advantage for a process like collation is that all NFD and most NFC texts 102 * normalized (NFD) for such a process. The FCD quick check will return YES for 105 * <p>normalize(FCD) may be implemented with NFD. 110 * <p>ICU collation performs either NFD or FCD normalization automatically if 300 public static final Mode NFD = new NFDMode(); 418 * @deprecated ICU 2.8. Use Normalizer.NFD 419 * @see #NFD 423 public static final Mode DECOMP = NFD; 666 return (compat ? NFKD : NFD).getNormalizer2(options); 758 * rules and if false will be decomposed according to NFD [all...] |
StringSearch.java | [all...] |
TransliteratorParser.java | [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
Normalizer.java | 99 * <p>Its advantage for a process like collation is that all NFD and most NFC texts 101 * normalized (NFD) for such a process. The FCD quick check will return YES for 104 * <p>normalize(FCD) may be implemented with NFD. 109 * <p>ICU collation performs either NFD or FCD normalization automatically if 294 public static final Mode NFD = new NFDMode(); 404 * @deprecated ICU 2.8. Use Normalizer.NFD 405 * @see #NFD 408 public static final Mode DECOMP = NFD; 653 return (compat ? NFKD : NFD).getNormalizer2(options); 741 * rules and if false will be decomposed according to NFD [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
TransliterationChart.java | 85 if (!s.equals(Normalizer.normalize(s,Normalizer.NFD,0))) { 156 String d = Normalizer.normalize(s,Normalizer.NFD,0); 187 //return Normalizer.normalize(s,Normalizer.NFD,0);
|
Demo.java | 751 out.println("<p><b>NFD</b></p>"); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
TestCanonicalIterator.java | 164 if(!it.getSource().equals(Normalizer.normalize(testArray[i][0],Normalizer.NFD))){ 165 errln("CanonicalIterator.getSource() does not return NFD of input source");
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
TestCanonicalIterator.java | 160 if(!it.getSource().equals(Normalizer.normalize(testArray[i][0],Normalizer.NFD))){ 161 errln("CanonicalIterator.getSource() does not return NFD of input source");
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
UnicodeSetClosure.java | 99 Normalizer.NONE, Normalizer.NFD, Normalizer.NFC, Normalizer.NFKD, Normalizer.NFKC}; 101 "NoNF", "NFD", "NFC", "NFKD", "NFKC"}; 157 print("NFD", test); [all...] |
/external/icu/icu4c/source/test/cintltst/ |
cmsccoll.c | 553 The largest normalization form is 18 for NFKC/NFKD, 4 for NFD and 3 for NFC 554 We're only using NFC/NFD in this test. 560 UChar NFD[NORM_BUFFER_TEST_LEN]; 608 nfdSize = unorm_normalize(comp, len, UNORM_NFD, 0, t[noCases]->NFD, NORM_BUFFER_TEST_LEN, &status); 610 if(nfcSize != nfdSize || (uprv_memcmp(t[noCases]->NFC, t[noCases]->NFD, nfcSize * sizeof(UChar)) != 0) 611 || (len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0))) { 613 if(len != nfdSize || (uprv_memcmp(comp, t[noCases]->NFD, nfdSize * sizeof(UChar)) != 0)) { 627 if(!ucol_equal(coll, t[u]->NFC, -1, t[u]->NFD, -1)) { 629 doTest(coll, t[u]->NFC, t[u]->NFD, UCOL_EQUAL); 643 nfdSize = unorm_normalize(comp, len, UNORM_NFD, 0, t[noCases]->NFD, NORM_BUFFER_TEST_LEN, &status) [all...] |
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/ |
StringSearch.java | [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
ICUPropertyFactory.java | 85 // case NFD: return Normalizer.normalize(codePoint, Normalizer.NFD); 91 return String.valueOf(Normalizer.normalize(codePoint, Normalizer.NFD).equals(UTF16.valueOf(codePoint))); 442 // NFD = UProperty.STRING_LIMIT+1,
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/ |
ICUPropertyFactory.java | 84 // case NFD: return Normalizer.normalize(codePoint, Normalizer.NFD); 90 return String.valueOf(Normalizer.normalize(codePoint, Normalizer.NFD).equals(UTF16.valueOf(codePoint))); 441 // NFD = UProperty.STRING_LIMIT+1,
|
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutTest.java | 633 } else if (Normalizer.isNormalized(seq, Normalizer.Form.NFD)) { 634 normalized = "NFD"; 640 throw new IllegalStateException("Normalized form is not NFC/NFD/NFKC/NFKD"); 761 Normalizer.Form[] twoUnicodeForms = { Normalizer.Form.NFD, Normalizer.Form.NFKD }; [all...] |
/external/v8/test/mjsunit/ |
messages.js | 423 }, "The normalization form should be one of NFC, NFD, NFKC, NFKD.", RangeError);
|
/external/icu/icu4c/source/test/intltest/ |
transtst.cpp | 768 Transliterator *gl = Transliterator::createInstance("Greek-Latin; NFD; [:M:]Remove; NFC", UTRANS_FORWARD, parseError, status); [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
TransliteratorTest.java | 576 Transliterator gl = Transliterator.getInstance("Greek-Latin; NFD; [:M:]Remove; NFC"); 3023 Normalizer2 nfd = Normalizer2.getNFDInstance(); local [all...] |
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
TransliteratorTest.java | 572 Transliterator gl = Transliterator.getInstance("Greek-Latin; NFD; [:M:]Remove; NFC"); 3019 Normalizer2 nfd = Normalizer2.getNFDInstance(); local [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
TransliteratorParser.java | [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
ApplicationsState.java | 523 String tmp = Normalizer.normalize(str, Form.NFD); [all...] |