Home
last modified time | relevance | path

Searched refs:createFromRules (Results 1 – 25 of 40) sorted by relevance

12

/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DTransliteratorUtilities.java31 t = Transliterator.createFromRules(id, rules, Transliterator.FORWARD); in registerTransliteratorFromFile()
41 t = Transliterator.createFromRules(rid, rules, Transliterator.REVERSE); in registerTransliteratorFromFile()
138 public static final Transliterator toXML = Transliterator.createFromRules(
140 public static final Transliterator fromXML = Transliterator.createFromRules(
142 public static final Transliterator toHTML = Transliterator.createFromRules(
144 public static final Transliterator toHTMLControl = Transliterator.createFromRules(
146 public static final Transliterator toHTMLAscii = Transliterator.createFromRules(
148 public static final Transliterator fromHTML = Transliterator.createFromRules(
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
DTransliteratorUtilities.java30 t = Transliterator.createFromRules(id, rules, Transliterator.FORWARD); in registerTransliteratorFromFile()
40 t = Transliterator.createFromRules(rid, rules, Transliterator.REVERSE); in registerTransliteratorFromFile()
137 public static final Transliterator toXML = Transliterator.createFromRules(
139 public static final Transliterator fromXML = Transliterator.createFromRules(
141 public static final Transliterator toHTML = Transliterator.createFromRules(
143 public static final Transliterator toHTMLControl = Transliterator.createFromRules(
145 public static final Transliterator toHTMLAscii = Transliterator.createFromRules(
147 public static final Transliterator fromHTML = Transliterator.createFromRules(
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DTransliteratorTest.java151 Transliterator foo = Transliterator.createFromRules(id, rules, Transliterator.FORWARD); in checkRegistry()
203 Transliterator.createFromRules("x", rules, Transliterator.FORWARD); in TestInstantiation()
259 Transliterator t = Transliterator.createFromRules("<ID>", in TestSimpleRules()
326 Transliterator fwd = Transliterator.createFromRules("<ID>", RULES, Transliterator.FORWARD); in TestRuleBasedInverse()
327 Transliterator rev = Transliterator.createFromRules("<ID>", RULES, Transliterator.REVERSE); in TestRuleBasedInverse()
338 Transliterator t = Transliterator.createFromRules("<ID>", in TestKeyboard()
361 Transliterator t = Transliterator.createFromRules("<ID>", in TestKeyboard2()
408 Transliterator t = Transliterator.createFromRules("<ID>", RULES, Transliterator.FORWARD); in TestKeyboard3()
493 …Transliterator tempTrans = Transliterator.createFromRules("temp", "x > y; x{a} > b; ", Translitera… in TestFiltering()
498 …tempTrans = Transliterator.createFromRules("temp", "::[a]; x > y; x{a} > b; ", Transliterator.FORW… in TestFiltering()
[all …]
DErrorTest.java127 Transliterator.createFromRules( in TestTransliteratorErrors()
142 Transliterator.createFromRules( in TestTransliteratorErrors()
209 Transliterator.createFromRules(id, rules, Transliterator.REVERSE); in TestRBTErrors()
DReplaceableTest.java52 t = Transliterator.createFromRules("test", transliteratorName, in check()
192 Transliterator trans = Transliterator.createFromRules("foo", rules, Transliterator.FORWARD); in Test5789()
DAnyScriptTest.java31 …Transliterator t = Transliterator.createFromRules("foo", "::[bc]; a{b}d > B;", Transliterator.FORW… in TestContext()
DRoundTripTest.java1302 … sourceToTarget2 = Transliterator.createFromRules("s2t2", rules, Transliterator.FORWARD); in test2()
1309 … targetToSource2 = Transliterator.createFromRules("t2s2", rules, Transliterator.FORWARD); in test2()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorTest.java147 Transliterator foo = Transliterator.createFromRules(id, rules, Transliterator.FORWARD); in checkRegistry()
199 Transliterator.createFromRules("x", rules, Transliterator.FORWARD); in TestInstantiation()
255 Transliterator t = Transliterator.createFromRules("<ID>", in TestSimpleRules()
322 Transliterator fwd = Transliterator.createFromRules("<ID>", RULES, Transliterator.FORWARD); in TestRuleBasedInverse()
323 Transliterator rev = Transliterator.createFromRules("<ID>", RULES, Transliterator.REVERSE); in TestRuleBasedInverse()
334 Transliterator t = Transliterator.createFromRules("<ID>", in TestKeyboard()
357 Transliterator t = Transliterator.createFromRules("<ID>", in TestKeyboard2()
404 Transliterator t = Transliterator.createFromRules("<ID>", RULES, Transliterator.FORWARD); in TestKeyboard3()
489 …Transliterator tempTrans = Transliterator.createFromRules("temp", "x > y; x{a} > b; ", Translitera… in TestFiltering()
494 …tempTrans = Transliterator.createFromRules("temp", "::[a]; x > y; x{a} > b; ", Transliterator.FORW… in TestFiltering()
[all …]
DErrorTest.java123 Transliterator.createFromRules( in TestTransliteratorErrors()
138 Transliterator.createFromRules( in TestTransliteratorErrors()
205 Transliterator.createFromRules(id, rules, Transliterator.REVERSE); in TestRBTErrors()
DReplaceableTest.java48 t = Transliterator.createFromRules("test", transliteratorName, in check()
188 Transliterator trans = Transliterator.createFromRules("foo", rules, Transliterator.FORWARD); in Test5789()
DAnyScriptTest.java27 …Transliterator t = Transliterator.createFromRules("foo", "::[bc]; a{b}d > B;", Transliterator.FORW… in TestContext()
DRoundTripTest.java1298 … sourceToTarget2 = Transliterator.createFromRules("s2t2", rules, Transliterator.FORWARD); in test2()
1305 … targetToSource2 = Transliterator.createFromRules("t2s2", rules, Transliterator.FORWARD); in test2()
/external/icu/icu4c/source/test/intltest/
Dtranstst.cpp267 Transliterator *u = Transliterator::createFromRules("x", in TestInstantiation()
336 Transliterator *t = Transliterator::createFromRules( in TestSimpleRules()
416 Transliterator *fwd = Transliterator::createFromRules("<ID>", RULES, in TestRuleBasedInverse()
418 Transliterator *rev = Transliterator::createFromRules("<ID>", RULES, in TestRuleBasedInverse()
438 Transliterator *t = Transliterator::createFromRules("<ID>", in TestKeyboard()
470 Transliterator *t = Transliterator::createFromRules("<ID>", in TestKeyboard2()
524 …Transliterator *t = Transliterator::createFromRules("<ID>", RULES, UTRANS_FORWARD, parseError, sta… in TestKeyboard3()
752 …Transliterator *t = Transliterator::createFromRules("<ID>", DATA[i], UTRANS_FORWARD, parseError, s… in TestPatternQuoting()
806 …Transliterator *mini = Transliterator::createFromRules("mini", rules, UTRANS_REVERSE, parseError, … in TestJ277()
885 Transliterator *rbt = Transliterator::createFromRules("<ID>", in TestJ329()
[all …]
Dtrnserr.cpp142 …Transliterator* t2 = Transliterator::createFromRules(newID, newIDRules, UTRANS_FORWARD, parseError… in TestTransliteratorErrors()
153 …Transliterator* t4 = Transliterator::createFromRules(newID, bogusRules, UTRANS_FORWARD, parseError… in TestTransliteratorErrors()
224 … Transliterator *t = Transliterator::createFromRules(id, rules, UTRANS_REVERSE, parseErr, status); in TestRBTErrors()
Djamotest.cpp28 NAME_JAMO = Transliterator::createFromRules("Name-Jamo", in JamoTest()
37 JAMO_NAME = Transliterator::createFromRules("Jamo-Name", in JamoTest()
Dreptest.cpp286 t = Transliterator::createFromRules("test", rules, UTRANS_FORWARD, in check()
Dnptrans.cpp71 mapping = Transliterator::createFromRules(UnicodeString("NamePrepTransform", ""), rule, in NamePrepTransform()
Duobjtest.cpp414 …TESTCLASSID_FACTORY(RuleBasedTransliterator, Transliterator::createFromRules(UnicodeString("abcd")… in testIDs()
Dtransrt.cpp607 TransliteratorPointer sourceToTarget2(Transliterator::createFromRules( in test2()
617 TransliteratorPointer targetToSource2(Transliterator::createFromRules( in test2()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java581 static Transliterator hexAndName = Transliterator.createFromRules("any-hexAndName",
1063 …static Transliterator saveAscii = Transliterator.createFromRules("ascii-saved", saveRules, Transli…
1064 …static Transliterator restoreAscii = Transliterator.createFromRules("ascii-saved", saveRules, Tran…
1079 …Transliterator y = Transliterator.createFromRules("xxx", "$notAbove = [[:^ccc=0:]&[:^ccc=230:]]; u…
1125 …DummyFactory.add("Any-gif", Transliterator.createFromRules("gif", "'\\'u(..)(..) > '<img src=\"htt…
1128 …DummyFactory.add("Any-RemoveCurly", Transliterator.createFromRules("RemoveCurly", "[\\{\\}] > ;", …
1132 …Transliterator t = Transliterator.createFromRules("hex2", "(.) > &hex($1);", Transliterator.FORWAR…
1137 t = Transliterator.createFromRules("gif2", "(.) > &any-gif($1);", Transliterator.FORWARD);
1164 translit = Transliterator.createFromRules(id, name, Transliterator.FORWARD); in setTransliterator()
1180 …Transliterator translit2 = Transliterator.createFromRules(reverseId, name, Transliterator.REVERSE); in setTransliterator()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTestBagFormatter.java206 static final Transliterator toHTML = Transliterator.createFromRules(
213 static final Transliterator fromHTML = Transliterator.createFromRules(
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/util/
DTestBagFormatter.java205 static final Transliterator toHTML = Transliterator.createFromRules(
212 static final Transliterator fromHTML = Transliterator.createFromRules(
/external/icu/icu4c/source/samples/translit/
Dmain.cpp61 rbtUnaccent = Transliterator::createFromRules("RBTUnaccent", in main()
/external/icu/icu4c/source/i18n/unicode/
Dtranslit.h860 static Transliterator* U_EXPORT2 createFromRules(const UnicodeString& ID,
/external/icu/icu4c/source/i18n/
Dutrans.cpp171 trans = Transliterator::createFromRules(ID, ruleStr, dir, *parseError, *status); in utrans_openU()

12