Home
last modified time | relevance | path

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

123

/external/cldr/tools/java/org/unicode/cldr/util/
DTransliteratorUtilities.java33 t = Transliterator.createFromRules(id, rules, Transliterator.FORWARD); in registerTransliteratorFromFile()
43 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.java155 Transliterator foo = Transliterator.createFromRules(id, rules, Transliterator.FORWARD); in checkRegistry()
217 Transliterator t = Transliterator.createFromRules("<ID>", in TestSimpleRules()
286 Transliterator fwd = Transliterator.createFromRules("<ID>", RULES, Transliterator.FORWARD); in TestRuleBasedInverse()
287 Transliterator rev = Transliterator.createFromRules("<ID>", RULES, Transliterator.REVERSE); in TestRuleBasedInverse()
299 Transliterator t = Transliterator.createFromRules("<ID>", in TestKeyboard()
323 Transliterator t = Transliterator.createFromRules("<ID>", in TestKeyboard2()
371 Transliterator t = Transliterator.createFromRules("<ID>", RULES, Transliterator.FORWARD); in TestKeyboard3()
459 …Transliterator tempTrans = Transliterator.createFromRules("temp", "x > y; x{a} > b; ", Translitera… in TestFiltering()
464 …tempTrans = Transliterator.createFromRules("temp", "::[a]; x > y; x{a} > b; ", Transliterator.FORW… in TestFiltering()
532 … Transliterator t = Transliterator.createFromRules("<ID>", DATA[i], Transliterator.FORWARD); in TestPatternQuoting()
[all …]
DErrorTest.java131 Transliterator.createFromRules( in TestTransliteratorErrors()
146 Transliterator.createFromRules( in TestTransliteratorErrors()
215 Transliterator.createFromRules(id, rules, Transliterator.REVERSE); in TestRBTErrors()
DReplaceableTest.java54 t = Transliterator.createFromRules("test", transliteratorName, in check()
204 Transliterator trans = Transliterator.createFromRules("foo", rules, Transliterator.FORWARD); in Test5789()
DTransliteratorInstantiateAllTest.java61 Transliterator.createFromRules("x", rules, Transliterator.FORWARD); in TestInstantiation()
DTransliteratorDisorderedMarksTest.java196 Transliterator trans = Transliterator.createFromRules("temp", rule, Transliterator.FORWARD); in TestSourceTargetSet2()
DAnyScriptTest.java34 …Transliterator t = Transliterator.createFromRules("foo", "::[bc]; a{b}d > B;", Transliterator.FORW… in TestContext()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DTransliteratorTest.java152 Transliterator foo = Transliterator.createFromRules(id, rules, Transliterator.FORWARD); in checkRegistry()
214 Transliterator t = Transliterator.createFromRules("<ID>", in TestSimpleRules()
283 Transliterator fwd = Transliterator.createFromRules("<ID>", RULES, Transliterator.FORWARD); in TestRuleBasedInverse()
284 Transliterator rev = Transliterator.createFromRules("<ID>", RULES, Transliterator.REVERSE); in TestRuleBasedInverse()
296 Transliterator t = Transliterator.createFromRules("<ID>", in TestKeyboard()
320 Transliterator t = Transliterator.createFromRules("<ID>", in TestKeyboard2()
368 Transliterator t = Transliterator.createFromRules("<ID>", RULES, Transliterator.FORWARD); in TestKeyboard3()
456 …Transliterator tempTrans = Transliterator.createFromRules("temp", "x > y; x{a} > b; ", Translitera… in TestFiltering()
461 …tempTrans = Transliterator.createFromRules("temp", "::[a]; x > y; x{a} > b; ", Transliterator.FORW… in TestFiltering()
529 … Transliterator t = Transliterator.createFromRules("<ID>", DATA[i], Transliterator.FORWARD); in TestPatternQuoting()
[all …]
DErrorTest.java128 Transliterator.createFromRules( in TestTransliteratorErrors()
143 Transliterator.createFromRules( in TestTransliteratorErrors()
212 Transliterator.createFromRules(id, rules, Transliterator.REVERSE); in TestRBTErrors()
DReplaceableTest.java51 t = Transliterator.createFromRules("test", transliteratorName, in check()
201 Transliterator trans = Transliterator.createFromRules("foo", rules, Transliterator.FORWARD); in Test5789()
DTransliteratorInstantiateAllTest.java58 Transliterator.createFromRules("x", rules, Transliterator.FORWARD); in TestInstantiation()
DTransliteratorDisorderedMarksTest.java193 Transliterator trans = Transliterator.createFromRules("temp", rule, Transliterator.FORWARD); in TestSourceTargetSet2()
DAnyScriptTest.java31 …Transliterator t = Transliterator.createFromRules("foo", "::[bc]; a{b}d > B;", Transliterator.FORW… in TestContext()
/external/icu/icu4c/source/test/intltest/
Dtranstst.cpp270 Transliterator *u = Transliterator::createFromRules("x", in TestInstantiation()
339 Transliterator *t = Transliterator::createFromRules( in TestSimpleRules()
419 Transliterator *fwd = Transliterator::createFromRules("<ID>", RULES, in TestRuleBasedInverse()
421 Transliterator *rev = Transliterator::createFromRules("<ID>", RULES, in TestRuleBasedInverse()
441 Transliterator *t = Transliterator::createFromRules("<ID>", in TestKeyboard()
473 Transliterator *t = Transliterator::createFromRules("<ID>", in TestKeyboard2()
527 …Transliterator *t = Transliterator::createFromRules("<ID>", RULES, UTRANS_FORWARD, parseError, sta… in TestKeyboard3()
755 …Transliterator *t = Transliterator::createFromRules("<ID>", DATA[i], UTRANS_FORWARD, parseError, s… in TestPatternQuoting()
809 …Transliterator *mini = Transliterator::createFromRules("mini", rules, UTRANS_REVERSE, parseError, … in TestJ277()
888 Transliterator *rbt = Transliterator::createFromRules("<ID>", in TestJ329()
[all …]
Dtrnserr.cpp144 …Transliterator* t2 = Transliterator::createFromRules(newID, newIDRules, UTRANS_FORWARD, parseError… in TestTransliteratorErrors()
155 …Transliterator* t4 = Transliterator::createFromRules(newID, bogusRules, UTRANS_FORWARD, parseError… in TestTransliteratorErrors()
226 … Transliterator *t = Transliterator::createFromRules(id, rules, UTRANS_REVERSE, parseErr, status); in TestRBTErrors()
Djamotest.cpp31 NAME_JAMO = Transliterator::createFromRules("Name-Jamo", in JamoTest()
40 JAMO_NAME = Transliterator::createFromRules("Jamo-Name", in JamoTest()
Dreptest.cpp288 t = Transliterator::createFromRules("test", rules, UTRANS_FORWARD, in check()
/external/cldr/tools/java/org/unicode/cldr/tool/
DMakeTransliterator.java77 fixBadIpa = Transliterator.createFromRules("foo", fixBadIpaRules, Transliterator.FORWARD); in main()
82 coreBase = Transliterator.createFromRules("foo", coreForeRules, Transliterator.FORWARD); in main()
91 … Transliterator fooTrans = Transliterator.createFromRules("foo", foo, Transliterator.FORWARD); in main()
251 … Transliterator base = Transliterator.createFromRules("foo", coreRules, Transliterator.FORWARD); in main()
272 base = Transliterator.createFromRules("foo", rules, Transliterator.FORWARD); in main()
346 …base = Transliterator.createFromRules("foo", rules, Transliterator.FORWARD); // verify that it bui… in main()
445 … Transliterator base = Transliterator.createFromRules("foo", coreRules, Transliterator.FORWARD); in checkCoreReversibility()
446 …Transliterator back = Transliterator.createFromRules("foo2", coreBackRules, Transliterator.REVERSE… in checkCoreReversibility()
501 static Transliterator distinguishLongVowels = Transliterator.createFromRules("faa",
538 static final Transliterator skeletonize = Transliterator.createFromRules("faa",
[all …]
DGenerateTransform.java185 Transliterator forward = Transliterator.createFromRules("forward", rules, in toRules()
187 Transliterator reverse = Transliterator.createFromRules("reverse", rules, in toRules()
276 Transliterator trans = Transliterator.createFromRules(transformName, rules, dir); in addFromCldrFile()
/external/cldr/tools/java/org/unicode/cldr/draft/
DTransformTest.java75 transform = RegexTransformBuilder.createFromRules(rules); in TestSomeBasic()
77 oldTransform = Transliterator.createFromRules("foo", rules, Transliterator.FORWARD); in TestSomeBasic()
98 StringTransform newGreek = RegexTransformBuilder.createFromRules(rules); in checkAgainstCurrent()
DRegexTransformBuilder.java21 public static StringTransform createFromRules(String string) { in createFromRules() method in RegexTransformBuilder
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
DDemo.java579 static Transliterator hexAndName = Transliterator.createFromRules("any-hexAndName",
1073 …static Transliterator saveAscii = Transliterator.createFromRules("ascii-saved", saveRules, Transli…
1074 …static Transliterator restoreAscii = Transliterator.createFromRules("ascii-saved", saveRules, Tran…
1089 …Transliterator y = Transliterator.createFromRules("xxx", "$notAbove = [[:^ccc=0:]&[:^ccc=230:]]; u…
1135 …DummyFactory.add("Any-gif", Transliterator.createFromRules("gif", "'\\'u(..)(..) > '<img src=\"htt…
1138 …DummyFactory.add("Any-RemoveCurly", Transliterator.createFromRules("RemoveCurly", "[\\{\\}] > ;", …
1142 …Transliterator t = Transliterator.createFromRules("hex2", "(.) > &hex($1);", Transliterator.FORWAR…
1147 t = Transliterator.createFromRules("gif2", "(.) > &any-gif($1);", Transliterator.FORWARD);
1174 translit = Transliterator.createFromRules(id, name, Transliterator.FORWARD); in setTransliterator()
1190 …Transliterator translit2 = Transliterator.createFromRules(reverseId, name, Transliterator.REVERSE); in setTransliterator()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestBagFormatter.java204 static final Transliterator toHTML = Transliterator.createFromRules(
211 static final Transliterator fromHTML = Transliterator.createFromRules(
/external/icu/icu4c/source/samples/translit/
Dmain.cpp65 rbtUnaccent = Transliterator::createFromRules("RBTUnaccent", in main()
/external/cldr/tools/java/org/unicode/cldr/test/
DTestTransforms.java60 …Transliterator t = Transliterator.createFromRules("foo", "a > b; ::[:greek:] halfwidth-fullwidth;", in checkRegistry()

123