Home
last modified time | relevance | path

Searched refs:rulesSource (Results 1 – 7 of 7) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DCompoundTransliterator.java275 StringBuilder rulesSource = new StringBuilder(); in toRules() local
279rulesSource.append("::").append(getFilter().toPattern(escapeUnprintable)).append(ID_DELIM); in toRules()
304 _smartAppend(rulesSource, '\n'); in toRules()
305 rulesSource.append(rule); in toRules()
306 _smartAppend(rulesSource, ID_DELIM); in toRules()
308 return rulesSource.toString(); in toRules()
DTransliterator.java1687 StringBuffer rulesSource = new StringBuffer(); in baseToRules() local
1691 if (!Utility.escapeUnprintable(rulesSource, c)) { in baseToRules()
1692 UTF16.append(rulesSource, c); in baseToRules()
1696 rulesSource.insert(0, "::"); in baseToRules()
1697 rulesSource.append(ID_DELIM); in baseToRules()
1698 return rulesSource.toString(); in baseToRules()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DCompoundTransliterator.java274 StringBuilder rulesSource = new StringBuilder(); in toRules() local
278rulesSource.append("::").append(getFilter().toPattern(escapeUnprintable)).append(ID_DELIM); in toRules()
303 _smartAppend(rulesSource, '\n'); in toRules()
304 rulesSource.append(rule); in toRules()
305 _smartAppend(rulesSource, ID_DELIM); in toRules()
307 return rulesSource.toString(); in toRules()
DTransliterator.java1750 StringBuffer rulesSource = new StringBuffer(); in baseToRules() local
1754 if (!Utility.escapeUnprintable(rulesSource, c)) { in baseToRules()
1755 UTF16.append(rulesSource, c); in baseToRules()
1759 rulesSource.insert(0, "::"); in baseToRules()
1760 rulesSource.append(ID_DELIM); in baseToRules()
1761 return rulesSource.toString(); in baseToRules()
/external/icu/icu4c/source/i18n/
Dcpdtrans.cpp395 UnicodeString& CompoundTransliterator::toRules(UnicodeString& rulesSource, in toRules() argument
403 rulesSource.truncate(0); in toRules()
408rulesSource.append(COLON_COLON, 2).append(getFilter()->toPattern(pat, escapeUnprintable)).append(I… in toRules()
433 _smartAppend(rulesSource, NEWLINE); in toRules()
434 rulesSource.append(rule); in toRules()
435 _smartAppend(rulesSource, ID_DELIM); in toRules()
437 return rulesSource; in toRules()
Drbt.cpp286 UnicodeString& RuleBasedTransliterator::toRules(UnicodeString& rulesSource, in toRules() argument
288 return fData->ruleSet.toRules(rulesSource, escapeUnprintable); in toRules()
Dtranslit.cpp1146 UnicodeString& Transliterator::toRules(UnicodeString& rulesSource, in toRules() argument
1151 rulesSource.truncate(0); in toRules()
1155 if (!ICU_Utility::escapeUnprintable(rulesSource, c)) { in toRules()
1156 rulesSource.append(c); in toRules()
1161 rulesSource = getID(); in toRules()
1164 rulesSource.insert(0, UNICODE_STRING_SIMPLE("::")); in toRules()
1165 rulesSource.append(ID_DELIM); in toRules()
1166 return rulesSource; in toRules()