Lines Matching refs:parseError
237 UParseError parseError; in TestInstantiation() local
240 UTRANS_FORWARD, parseError,status); in TestInstantiation()
251 ", line " + parseError.line + in TestInstantiation()
252 ", offset " + parseError.offset + in TestInstantiation()
253 ", pre-context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
254 ", post-context " +prettify(parseError.postContext,TRUE) + in TestInstantiation()
271 rules, UTRANS_FORWARD, parseError,status); in TestInstantiation()
276 ", line " + parseError.line + in TestInstantiation()
277 ", offset " + parseError.offset + in TestInstantiation()
278 ", context " + prettify(parseError.preContext, TRUE) + in TestInstantiation()
291 UParseError parseError; in TestInstantiation() local
294 Transliterator* t = Transliterator::createInstance(id, UTRANS_FORWARD, parseError, status); in TestInstantiation()
338 UParseError parseError; in TestSimpleRules() local
350 UTRANS_FORWARD, parseError, in TestSimpleRules()
418 UParseError parseError; in TestRuleBasedInverse() local
420 UTRANS_FORWARD, parseError, status); in TestRuleBasedInverse()
422 UTRANS_REVERSE, parseError, status); in TestRuleBasedInverse()
439 UParseError parseError; in TestKeyboard() local
446 UTRANS_FORWARD, parseError, in TestKeyboard()
471 UParseError parseError; in TestKeyboard2() local
478 UTRANS_FORWARD, parseError, in TestKeyboard2()
525 UParseError parseError; in TestKeyboard3() local
527 …Transliterator *t = Transliterator::createFromRules("<ID>", RULES, UTRANS_FORWARD, parseError, sta… in TestKeyboard3()
608 UParseError parseError; in TestCompoundKana() local
610 …ransliterator::createInstance("Latin-Hiragana;Hiragana-Latin", UTRANS_FORWARD, parseError, status); in TestCompoundKana()
623 UParseError parseError; in TestCompoundHex() local
625 … Transliterator* a = Transliterator::createInstance("Any-Hex", UTRANS_FORWARD, parseError, status); in TestCompoundHex()
626 … Transliterator* b = Transliterator::createInstance("Hex-Any", UTRANS_FORWARD, parseError, status); in TestCompoundHex()
683 UParseError parseError; in TestFiltering() local
685 …Transliterator* hex = Transliterator::createInstance("Any-Hex", UTRANS_FORWARD, parseError, status… in TestFiltering()
753 UParseError parseError; in TestPatternQuoting() local
755 …iterator *t = Transliterator::createFromRules("<ID>", DATA[i], UTRANS_FORWARD, parseError, status); in TestPatternQuoting()
770 UParseError parseError; in TestJ277() local
771 …iterator::createInstance("Greek-Latin; NFD; [:M:]Remove; NFC", UTRANS_FORWARD, parseError, status); in TestJ277()
809 …terator *mini = Transliterator::createFromRules("mini", rules, UTRANS_REVERSE, parseError, status); in TestJ277()
887 UParseError parseError; in TestJ329() local
891 parseError, in TestJ329()
898 " line=" + parseError.line + in TestJ329()
899 " offset=" + parseError.offset + in TestJ329()
900 " context=" + parseError.preContext; in TestJ329()
931 UParseError parseError; in TestSegments() local
933 …sliterator *t = Transliterator::createFromRules("ID", DATA[i], UTRANS_FORWARD, parseError, status); in TestSegments()
963 UParseError parseError; in TestCursorOffset() local
965 …iterator *t = Transliterator::createFromRules("<ID>", DATA[i], UTRANS_FORWARD, parseError, status); in TestCursorOffset()
1004 UParseError parseError; in TestArbitraryVariableValues() local
1006 …iterator *t = Transliterator::createFromRules("<ID>", DATA[i], UTRANS_FORWARD, parseError, status); in TestArbitraryVariableValues()
1048 UParseError parseError; in TestPositionHandling() local
1050 DATA[3*i], UTRANS_FORWARD, parseError, status); in TestPositionHandling()
1081 UParseError parseError; in TestHiraganaKatakana() local
1083 …ator* hk = Transliterator::createInstance("Hiragana-Katakana", UTRANS_FORWARD, parseError, status); in TestHiraganaKatakana()
1084 …ator* kh = Transliterator::createInstance("Katakana-Hiragana", UTRANS_FORWARD, parseError, status); in TestHiraganaKatakana()
1134 UParseError parseError; in TestCopyJ476() local
1137 "a>A;b>B;'foo'+>'bar'", UTRANS_FORWARD, parseError, status); in TestCopyJ476()
1157 UParseError parseError; in TestInterIndic() local
1158 Transliterator* dg = Transliterator::createInstance(ID, UTRANS_FORWARD, parseError, status); in TestInterIndic()
1202 UParseError parseError; in TestFilterIDs() local
1204 Transliterator *t = Transliterator::createInstance(ID, UTRANS_FORWARD, parseError, status); in TestFilterIDs()
1235 UParseError parseError; in TestCaseMap() local
1238 Transliterator::createInstance("Any-Upper[^xyzXYZ]", UTRANS_FORWARD, parseError, status); in TestCaseMap()
1240 Transliterator::createInstance("Any-Lower[^xyzXYZ]", UTRANS_FORWARD, parseError, status); in TestCaseMap()
1242 Transliterator::createInstance("Any-Title[^xyzXYZ]", UTRANS_FORWARD, parseError, status); in TestCaseMap()
1267 UParseError parseError; in TestNameMap() local
1270 Transliterator::createInstance("Any-Name[^abc]", UTRANS_FORWARD, parseError, status); in TestNameMap()
1272 Transliterator::createInstance("Name-Any", UTRANS_FORWARD, parseError, status); in TestNameMap()
1291 Transliterator::createInstance("Any-Name;Name-Any", UTRANS_FORWARD, parseError, status); in TestNameMap()
1320 UParseError parseError; in TestLiberalizedID() local
1323 … Transliterator *t = Transliterator::createInstance(DATA[i], UTRANS_FORWARD, parseError, status); in TestLiberalizedID()
1460 UParseError parseError; in TestNormalizationTransliterator() local
1462 Transliterator* NFD = Transliterator::createInstance("NFD", UTRANS_FORWARD, parseError, status); in TestNormalizationTransliterator()
1463 Transliterator* NFC = Transliterator::createInstance("NFC", UTRANS_FORWARD, parseError, status); in TestNormalizationTransliterator()
1480 … Transliterator* NFKD = Transliterator::createInstance("NFKD", UTRANS_FORWARD, parseError, status); in TestNormalizationTransliterator()
1481 … Transliterator* NFKC = Transliterator::createInstance("NFKC", UTRANS_FORWARD, parseError, status); in TestNormalizationTransliterator()
1523 UParseError parseError; in TestCompoundRBT() local
1525 …Transliterator *t = Transliterator::createFromRules("Test", rule, UTRANS_FORWARD, parseError, stat… in TestCompoundRBT()
1543 …t = Transliterator::createInstance("Greek-Latin; Latin-Cyrillic", UTRANS_FORWARD, parseError, stat… in TestCompoundRBT()
1559 t = Transliterator::createFromRules("Test", r, UTRANS_FORWARD, parseError, status); in TestCompoundRBT()
1581 t = Transliterator::createInstance(id, UTRANS_FORWARD, parseError, status); in TestCompoundRBT()
1628 UParseError parseError; in TestCompoundFilter() local
1631 ("Greek-Latin; Latin-Greek; Lower", UTRANS_FORWARD, parseError, status); in TestCompoundFilter()
1651 UParseError parseError; in TestRemove() local
1653 …Transliterator *t = Transliterator::createInstance("Remove[abc]", UTRANS_FORWARD, parseError, stat… in TestRemove()
1739 UParseError parseError; in TestToRules() local
1742 … UnicodeString(DATA[d+1], -1, US_INV), UTRANS_FORWARD, parseError, status); in TestToRules()
2081 UParseError parseError; in TestCompoundInverse() local
2084 ("Greek-Latin; Title()", UTRANS_REVERSE,parseError, status); in TestCompoundInverse()
2644 UParseError parseError; in TestDevanagariLatinRT() local
2646 … latinToDev=Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseError, status); in TestDevanagariLatinRT()
2647 … devToLatin=Transliterator::createInstance("Devanagari-Latin", UTRANS_FORWARD, parseError, status); in TestDevanagariLatinRT()
2650 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestDevanagariLatinRT()
2692 UParseError parseError; in TestTeluguLatinRT() local
2694 …tor* latinToDev=Transliterator::createInstance("Latin-Telugu", UTRANS_FORWARD, parseError, status); in TestTeluguLatinRT()
2695 …tor* devToLatin=Transliterator::createInstance("Telugu-Latin", UTRANS_FORWARD, parseError, status); in TestTeluguLatinRT()
2698 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestTeluguLatinRT()
2752 UParseError parseError; in TestSanskritLatinRT() local
2754 … latinToDev=Transliterator::createInstance("Latin-Devanagari", UTRANS_FORWARD, parseError, status); in TestSanskritLatinRT()
2755 … devToLatin=Transliterator::createInstance("Devanagari-Latin", UTRANS_FORWARD, parseError, status); in TestSanskritLatinRT()
2758 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestSanskritLatinRT()
2818 UParseError parseError; in TestCompoundLatinRT() local
2820 …literator::createInstance("Devanagari-Latin;Latin-Devanagari", UTRANS_FORWARD, parseError, status); in TestCompoundLatinRT()
2821 …literator::createInstance("Latin-Devanagari;Devanagari-Latin", UTRANS_FORWARD, parseError, status); in TestCompoundLatinRT()
2822 …terator::createInstance("Devanagari-Telugu;Telugu-Devanagari", UTRANS_FORWARD, parseError, status); in TestCompoundLatinRT()
2823 …in=Transliterator::createInstance("Latin-Telugu;Telugu-Latin", UTRANS_FORWARD, parseError, status); in TestCompoundLatinRT()
2827 …dataerrln("PreContext: " + prettify(parseError.preContext) + " PostContext: " + prettify( parseErr… in TestCompoundLatinRT()
2854 UParseError parseError; in TestGurmukhiDevanagari() local
2858 …* trans = Transliterator::createInstance("Devanagari-Gurmukhi",UTRANS_FORWARD, parseError, status); in TestGurmukhiDevanagari()
3256 UParseError parseError; in TestAnchorMasking() local
3258 … Transliterator* t = Transliterator::createFromRules("ID", rule, UTRANS_FORWARD,parseError,status); in TestAnchorMasking()
3263 ", line " + parseError.line + in TestAnchorMasking()
3264 ", offset " + parseError.offset + in TestAnchorMasking()
3265 ", context " + prettify(parseError.preContext, TRUE) + in TestAnchorMasking()
3865 UParseError parseError; in TestAnyX() local
3868 Transliterator::createInstance("Any-Latin", UTRANS_FORWARD, parseError, status); in TestAnyX()
3920 UParseError parseError; in TestAny() local
3922 Transliterator::createInstance("Any-Latin", UTRANS_FORWARD, parseError, status); in TestAny()
4366 UParseError parseError; in TestBeginEnd() local
4369 UTRANS_REVERSE, parseError, status); in TestBeginEnd()
4371 …reportParseError(UnicodeString("FAIL: Couldn't create reversed transliterator"), parseError, statu… in TestBeginEnd()
4401 UParseError parseError; in TestBeginEndToRules() local
4404 UTRANS_FORWARD, parseError, status); in TestBeginEndToRules()
4406 … reportParseError(UnicodeString("FAIL: Couldn't create transliterator"), parseError, status); in TestBeginEndToRules()
4411 UTRANS_FORWARD, parseError, status); in TestBeginEndToRules()
4414 parseError, status); in TestBeginEndToRules()
4427 UParseError parseError; in TestBeginEndToRules() local
4430 UTRANS_REVERSE, parseError, status); in TestBeginEndToRules()
4432 …reportParseError(UnicodeString("FAIL: Couldn't create reversed transliterator"), parseError, statu… in TestBeginEndToRules()
4437 parseError, status); in TestBeginEndToRules()
4440 parseError, status); in TestBeginEndToRules()
4555 UParseError parseError; in TestHalfwidthFullwidth() local
4557 …or* hf = Transliterator::createInstance("Halfwidth-Fullwidth", UTRANS_FORWARD, parseError, status); in TestHalfwidthFullwidth()
4558 …or* fh = Transliterator::createInstance("Fullwidth-Halfwidth", UTRANS_FORWARD, parseError, status); in TestHalfwidthFullwidth()
4606 UParseError parseError; in TestThai() local
4608 …Transliterator* tr = Transliterator::createInstance("Any-Latin", UTRANS_FORWARD, parseError, statu… in TestThai()
4702 const UParseError& parseError, in reportParseError() argument
4706 ", line " + parseError.line + in reportParseError()
4707 ", offset " + parseError.offset + in reportParseError()
4708 ", pre-context " + prettify(parseError.preContext, TRUE) + in reportParseError()
4709 ", post-context " + prettify(parseError.postContext,TRUE) + in reportParseError()
4726 UParseError parseError; in expect() local
4727 …Transliterator* t = Transliterator::createFromRules(id, rules, UTRANS_FORWARD, parseError, status); in expect()
4729 …reportParseError(UnicodeString("Couldn't create transliterator from ") + rules, parseError, status… in expect()