/external/icu/android_icu4j/testing/src/android/icu/extratest/text/ |
D | TransliteratorTest.java | 53 assertEquals("HELLO WORLD!", t.transliterate("HeLlO WoRlD!")); in test_Any_Upper() 54 assertEquals("STRASSE", t.transliterate("Straße")); in test_Any_Upper() 60 assertEquals("hello world!", t.transliterate("HeLlO WoRlD!")); in test_Any_Lower() 69 String latin = t.transliterate(greek); in test_Greek_Latin() 71 String ascii = t.transliterate(latin); in test_Greek_Latin() 77 assertEquals("Kaliméra kósme!", t.transliterate(greek)); in test_Greek_Latin() 79 assertEquals("Kali̱méra kósme!",t.transliterate(greek)); in test_Greek_Latin() 85 assertEquals("hàn zì/hàn zì", t.transliterate("汉字/漢字")); in test_Han_Latin() 87 assertEquals("chén", t.transliterate("\u6c88")); in test_Han_Latin() 88 assertEquals("shěn", t.transliterate("\u700b")); in test_Han_Latin() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
D | ErrorTest.java | 50 stoppedAt = t.transliterate(testString, 0, 100); in TestTransliteratorErrors() 58 stoppedAt = t.transliterate(testString, 100, testString.length() - 1); in TestTransliteratorErrors() 69 t.transliterate(testString, pos); in TestTransliteratorErrors() 78 t.transliterate(testString, pos); in TestTransliteratorErrors() 88 t.transliterate(testString, pos, insertString); in TestTransliteratorErrors() 100 t.transliterate(testString, pos, 0x0061); in TestTransliteratorErrors() 112 t.transliterate(testString, pos, insertString); in TestTransliteratorErrors()
|
D | JamoTest.java | 115 String jamo = hangulJamo.transliterate(hangul); in TestRoundTrip() 116 String latin = jamoLatin.transliterate(jamo); in TestRoundTrip() 117 String jamo2 = latinJamo.transliterate(latin); in TestRoundTrip() 118 String hangul2 = jamoHangul.transliterate(jamo2); in TestRoundTrip() 196 String hangulX = rt.transliterate(hangul); in TestRealText() 199 String jamo = hangulJamo.transliterate(hangul); in TestRealText() 200 String latin = jamoLatin.transliterate(jamo); in TestRealText() 201 String jamo2 = latinJamo.transliterate(latin); in TestRealText() 202 String hangul2 = jamoHangul.transliterate(jamo2); in TestRealText()
|
D | IncrementalProgressTest.java | 34 String devaTest = Transliterator.getInstance("Latin-Devanagari").transliterate(latinTest); in testData() 35 String kataTest = Transliterator.getInstance("Latin-Katakana").transliterate(latinTest); in testData() 50 t.transliterate(test, pos); in CheckIncrementalAux() 84 String rev = t.transliterate(text); in TestIncrementalProgress()
|
D | RoundTripTest.java | 307 String target = han.transliterate(source); in TestHan() 313 String target2 = pn.transliterate(target); in TestHan() 316 String nfced = nfc.transliterate(target2); in TestHan() 321 String target3 = np.transliterate(target); in TestHan() 343 t.transliterate("\u0061\u0101\u0069"); in TestSingle() 1295 String targ = t.transliterate(cs); in checkIrrelevants() 1384 String targ = sourceToTarget.transliterate(cs); in checkSourceTargetSource() 1385 String targ2 = sourceToTarget2.transliterate(cs); in checkSourceTargetSource() 1400 String targ = targetToSource.transliterate(cs); in checkTargetSourceTarget() 1401 String targ2 = targetToSource2.transliterate(cs); in checkTargetSourceTarget() [all …]
|
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
D | ErrorTest.java | 47 stoppedAt = t.transliterate(testString, 0, 100); in TestTransliteratorErrors() 55 stoppedAt = t.transliterate(testString, 100, testString.length() - 1); in TestTransliteratorErrors() 66 t.transliterate(testString, pos); in TestTransliteratorErrors() 75 t.transliterate(testString, pos); in TestTransliteratorErrors() 85 t.transliterate(testString, pos, insertString); in TestTransliteratorErrors() 97 t.transliterate(testString, pos, 0x0061); in TestTransliteratorErrors() 109 t.transliterate(testString, pos, insertString); in TestTransliteratorErrors()
|
D | JamoTest.java | 112 String jamo = hangulJamo.transliterate(hangul); in TestRoundTrip() 113 String latin = jamoLatin.transliterate(jamo); in TestRoundTrip() 114 String jamo2 = latinJamo.transliterate(latin); in TestRoundTrip() 115 String hangul2 = jamoHangul.transliterate(jamo2); in TestRoundTrip() 193 String hangulX = rt.transliterate(hangul); in TestRealText() 196 String jamo = hangulJamo.transliterate(hangul); in TestRealText() 197 String latin = jamoLatin.transliterate(jamo); in TestRealText() 198 String jamo2 = latinJamo.transliterate(latin); in TestRealText() 199 String hangul2 = jamoHangul.transliterate(jamo2); in TestRealText()
|
D | IncrementalProgressTest.java | 31 String devaTest = Transliterator.getInstance("Latin-Devanagari").transliterate(latinTest); in testData() 32 String kataTest = Transliterator.getInstance("Latin-Katakana").transliterate(latinTest); in testData() 47 t.transliterate(test, pos); in CheckIncrementalAux() 81 String rev = t.transliterate(text); in TestIncrementalProgress()
|
D | RoundTripTest.java | 304 String target = han.transliterate(source); in TestHan() 310 String target2 = pn.transliterate(target); in TestHan() 313 String nfced = nfc.transliterate(target2); in TestHan() 318 String target3 = np.transliterate(target); in TestHan() 340 t.transliterate("\u0061\u0101\u0069"); in TestSingle() 1292 String targ = t.transliterate(cs); in checkIrrelevants() 1381 String targ = sourceToTarget.transliterate(cs); in checkSourceTargetSource() 1382 String targ2 = sourceToTarget2.transliterate(cs); in checkSourceTargetSource() 1397 String targ = targetToSource.transliterate(cs); in checkTargetSourceTarget() 1398 String targ2 = targetToSource2.transliterate(cs); in checkTargetSourceTarget() [all …]
|
D | CompoundTransliteratorTest.java | 146 ct1.transliterate(rsource2, index); in TestTransliterate() 153 ct1.transliterate(rsource3, index2); in TestTransliterate() 221 String result = t.transliterate(source); in expect() 225 t.transliterate(rsource); in expect() 240 t.transliterate(rsource, index, in expect()
|
/external/icu/icu4c/source/test/intltest/ |
D | trnserr.cpp | 76 stoppedAt = t->transliterate(testString, 0, 100); in TestTransliteratorErrors() 83 stoppedAt = t->transliterate(testString, 100, testString.length()-1); in TestTransliteratorErrors() 92 t->transliterate(testString, pos, status); in TestTransliteratorErrors() 99 t->transliterate(testString, pos, status); in TestTransliteratorErrors() 108 t->transliterate(testString, pos, insertString, status); in TestTransliteratorErrors() 120 t->transliterate(testString, pos, (UChar32)0x0061, status); in TestTransliteratorErrors() 132 t->transliterate(testString, pos, insertString, status); in TestTransliteratorErrors()
|
D | transapi.cpp | 304 t->transliterate(gotResult); in TestTransliterate1() 310 t->transliterate(temp); in TestTransliterate1() 351 t->transliterate(gotResBuf); in TestTransliterate2() 356 t->transliterate(temp, start, limit); in TestTransliterate2() 373 t->transliterate(gotResBuf, 10, 5); in TestTransliterate2() 408 t->transliterate(rs, start, limit); in TestTransliterate3() 437 t->transliterate(rs, index, insertion, status); in TestSimpleKeyboardTransliterator() 454 t->transliterate(rs, index1[i], insertion, status); in TestSimpleKeyboardTransliterator() 495 t->transliterate(s, index, Data[i+0], status); in TestKeyboardTransliterator1() 518 t->transliterate(s, index, c, status); in TestKeyboardTransliterator1() [all …]
|
D | jamotest.cpp | 409 rt.transliterate(hangulX); in TestRealText() 412 UnicodeString jamo = hangul; hangulJamo->transliterate(jamo); in TestRealText() 413 UnicodeString latin = jamo; jamoLatin->transliterate(latin); in TestRealText() 414 UnicodeString jamo2 = latin; latinJamo->transliterate(jamo2); in TestRealText() 415 UnicodeString hangul2 = jamo2; jamoHangul->transliterate(hangul2); in TestRealText() 537 NAME_JAMO->transliterate(result); in nameToJamo() 552 JAMO_NAME->transliterate(result); in jamoToName()
|
D | transrt.cpp | 559 t->transliterate(targ); in checkIrrelevants() 637 sourceToTarget->transliterate(targ); in test2() 639 sourceToTarget2->transliterate(targ2); in test2() 652 targetToSource->transliterate(targ); in test2() 654 targetToSource2->transliterate(targ2); in test2() 671 sourceToTarget->transliterate(targ); in test2() 695 sourceToTarget->transliterate(targ2); in test2() 720 sourceToTarget->transliterate(targ); in test2() 743 sourceToTarget->transliterate(targ2); in test2() 768 targetToSource->transliterate(targ); in test2() [all …]
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | GenerateKaraList.java | 107 …log.println("\t\t<hdterm>" + TransliteratorUtilities.toXML.transliterate(ename) + "</hdterm>\t<!--… in printCodes() 108 …+ TransliteratorUtilities.toXML.transliterate(CLDRFile.getNameName(choice)) + ": " + id + " -->");… in printCodes() 116 … log.println("\t\t\t\t<eabbr>" + TransliteratorUtilities.toXML.transliterate(aename) + "</eabbr>"); in printCodes() 128 … + TransliteratorUtilities.toXML.transliterate(english.getName(locale)) + " -->"); // We do use in printCodes() 144 …log.println("\t\t\t\t\t<trans>" + TransliteratorUtilities.toXML.transliterate(trans) + "</trans>"); in printCodes() 148 … log.println("\t\t\t\t\t<tabbr>" + TransliteratorUtilities.toXML.transliterate(aename) in printCodes()
|
D | MakeTransliterator.java | 85 System.out.println(coreBase.transliterate(CHECK_BASE)); in main() 94 System.out.println(fooTrans.transliterate(CHECK_BUILT)); in main() 163 String spelling = spellout.transliterate(source); in main() 179 target = fixBadIpa.transliterate(override); in main() 200 target = fixBadIpa.transliterate(target); in main() 278 String targetUsingCore = base.transliterate(source); in main() 315 String spelling = spellout.transliterate(source); in main() 326 String targetUsingBaseCore = coreBase.transliterate(source); in main() 450 String test2 = base.transliterate(test); in checkCoreReversibility() 451 String test3 = back.transliterate(test2); in checkCoreReversibility() [all …]
|
D | GenerateStatistics.java | 49 …blic static void generateSize(String sourceDir, String logDir, String match, boolean transliterate) in generateSize() argument 100 logHtml.println(showSet(nativeLanguages, transliterate, true)); in generateSize() 102 logHtml.println(showSet(nativeCountries, transliterate, false)); in generateSize() 106 logHtml.println(showSet(draftNativeLanguages, transliterate, true)); in generateSize() 109 logHtml.println(showSet(draftNativeCountries, transliterate, false)); in generateSize() 177 private static String showSet(Set nativeCountries, boolean transliterate, in showSet() argument 235 if (transliterate && NON_LATIN.containsSome(localName) in showSet() 240 toLatin.transliterate(localName)); in showSet() 257 + TransliteratorUtilities.toHTML.transliterate(title) + "'>"; in showSet() 275 TransliteratorUtilities.toHTML.transliterate(englishName in showSet()
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
D | CaseIterator.java | 256 System.out.print(" " + toHex2.transliterate((String)key) + ": "); 266 System.out.print(toHex2.transliterate((String)it2.next())); 276 … System.out.println(" " + toHex2.transliterate(key) + ": " + toHex2.transliterate(value)); 386 System.out.println("\t// " + toName.transliterate(key)); 387 System.out.print("\t{\"" + toHex.transliterate(key) + "\","); 390 System.out.print("\"" + toHex.transliterate(item) + "\","); 519 System.out.println("Testing: " + toName.transliterate(item)); in main() 524 System.out.println(toName.transliterate(temp)); in main()
|
D | TransliteratingTextComponent.java | 78 transliterate(ch, false); in handleKeyTyped() 82 if (translit != null) transliterate('\uFFFF', true); in flush() 86 protected void transliterate(char ch, boolean flush) { in transliterate() method in TransliteratingTextComponent 145 translit.transliterate(buf, index, ch); in transliterate()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CaseIterator.java | 259 System.out.print(" " + toHex2.transliterate((String) key) + ": "); 269 System.out.print(toHex2.transliterate((String) it2.next())); 279 … System.out.println(" " + toHex2.transliterate(key) + ": " + toHex2.transliterate(value)); 388 System.out.println("\t// " + toName.transliterate(key)); 389 System.out.print("\t{\"" + toHex.transliterate(key) + "\","); 392 System.out.print("\"" + toHex.transliterate(item) + "\","); 520 System.out.println("Testing: " + toName.transliterate(item)); in main() 525 System.out.println(toName.transliterate(temp)); in main()
|
/external/icu/icu4c/source/samples/translit/answers/ |
D | main_4.cpp | 99 greek_latin->transliterate(str); in main() 106 rbtUnaccent->transliterate(str); in main() 111 unaccent->transliterate(str2); in main()
|
/external/icu/icu4c/source/samples/translit/ |
D | main.cpp | 101 greek_latin->transliterate(str); in main() 108 rbtUnaccent->transliterate(str); in main() 113 unaccent->transliterate(str2); in main()
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | Transliterator.java | 773 public final int transliterate(Replaceable text, int start, int limit) { in transliterate() method in Transliterator 790 public final void transliterate(Replaceable text) { in transliterate() method in Transliterator 791 transliterate(text, 0, text.length()); in transliterate() 801 public final String transliterate(String text) { in transliterate() method in Transliterator 803 transliterate(result); in transliterate() 855 public final void transliterate(Replaceable text, Position index, in transliterate() method in Transliterator 901 public final void transliterate(Replaceable text, Position index, in transliterate() method in Transliterator 903 transliterate(text, index, UTF16.valueOf(insertion)); in transliterate() 918 public final void transliterate(Replaceable text, Position index) { in transliterate() method in Transliterator 919 transliterate(text, index, null); in transliterate() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | Transliterator.java | 733 public final int transliterate(Replaceable text, int start, int limit) { in transliterate() method in Transliterator 749 public final void transliterate(Replaceable text) { in transliterate() method in Transliterator 750 transliterate(text, 0, text.length()); in transliterate() 759 public final String transliterate(String text) { in transliterate() method in Transliterator 761 transliterate(result); in transliterate() 811 public final void transliterate(Replaceable text, Position index, in transliterate() method in Transliterator 856 public final void transliterate(Replaceable text, Position index, in transliterate() method in Transliterator 858 transliterate(text, index, UTF16.valueOf(insertion)); in transliterate() 872 public final void transliterate(Replaceable text, Position index) { in transliterate() method in Transliterator 873 transliterate(text, index, null); in transliterate() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | translit.h | 644 virtual int32_t transliterate(Replaceable& text, 652 virtual void transliterate(Replaceable& text) const; 718 virtual void transliterate(Replaceable& text, UTransPosition& index, 737 virtual void transliterate(Replaceable& text, UTransPosition& index, 754 virtual void transliterate(Replaceable& text, UTransPosition& index,
|