/external/icu/icu4c/source/common/ |
D | util.cpp | 79 UBool ICU_Utility::escapeUnprintable(UnicodeString& result, UChar32 c) { in escapeUnprintable() function in ICU_Utility 298 UBool escapeUnprintable, in appendToRule() argument 304 (escapeUnprintable && ICU_Utility::isUnprintable(c))) { in appendToRule() 349 } else if (!escapeUnprintable || !ICU_Utility::escapeUnprintable(rule, c)) { in appendToRule() 387 UBool escapeUnprintable, in appendToRule() argument 390 appendToRule(rule, text[i], isLiteral, escapeUnprintable, quoteBuf); in appendToRule() 400 UBool escapeUnprintable, in appendToRule() argument 404 appendToRule(rule, matcher->toPattern(pat, escapeUnprintable), in appendToRule() 405 TRUE, escapeUnprintable, quoteBuf); in appendToRule()
|
D | util.h | 61 static UBool escapeUnprintable(UnicodeString& result, UChar32 c); 217 UBool escapeUnprintable, 223 UBool escapeUnprintable, 228 UBool escapeUnprintable,
|
D | uniset.cpp | 1895 escapeUnprintable) { in _appendToPat() argument 1898 _appendToPat(buf, cp = s.char32At(i), escapeUnprintable); in _appendToPat() 1907 escapeUnprintable) { in _appendToPat() argument 1908 if (escapeUnprintable && ICU_Utility::isUnprintable(c)) { in _appendToPat() 1911 if (ICU_Utility::escapeUnprintable(buf, c)) { in _appendToPat() 1945 UBool escapeUnprintable) const in _toPattern() 1953 if (escapeUnprintable && ICU_Utility::isUnprintable(c)) { in _toPattern() 1961 ICU_Utility::escapeUnprintable(result, c); in _toPattern() 1975 return _generatePattern(result, escapeUnprintable); in _toPattern() 1984 UBool escapeUnprintable) const in toPattern() [all …]
|
D | uset_props.cpp | 131 UBool escapeUnprintable, in uset_toPattern() argument 134 ((const UnicodeSet*) set)->toPattern(pat, escapeUnprintable); in uset_toPattern()
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
D | StringReplacer.java | 265 public String toReplacerPattern(boolean escapeUnprintable) { in toReplacerPattern() argument 274 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern() 281 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern() 287 Utility.appendToRule(rule, c, false, escapeUnprintable, quoteBuf); in toReplacerPattern() 290 buf.append(r.toReplacerPattern(escapeUnprintable)); in toReplacerPattern() 293 true, escapeUnprintable, quoteBuf); in toReplacerPattern() 303 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern() 305 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern() 309 true, escapeUnprintable, quoteBuf); in toReplacerPattern()
|
D | TransliterationRule.java | 487 public String toRule(boolean escapeUnprintable) { in toRule() argument 508 Utility.appendToRule(rule, anteContext, escapeUnprintable, quoteBuf); in toRule() 511 Utility.appendToRule(rule, '{', true, escapeUnprintable, quoteBuf); in toRule() 514 Utility.appendToRule(rule, key, escapeUnprintable, quoteBuf); in toRule() 517 Utility.appendToRule(rule, '}', true, escapeUnprintable, quoteBuf); in toRule() 520 Utility.appendToRule(rule, postContext, escapeUnprintable, quoteBuf); in toRule() 527 Utility.appendToRule(rule, " > ", true, escapeUnprintable, quoteBuf); in toRule() 531 Utility.appendToRule(rule, output.toReplacerPattern(escapeUnprintable), in toRule() 532 true, escapeUnprintable, quoteBuf); in toRule() 534 Utility.appendToRule(rule, ';', true, escapeUnprintable, quoteBuf); in toRule()
|
D | StringMatcher.java | 175 public String toPattern(boolean escapeUnprintable) { in toPattern() argument 185 Utility.appendToRule(result, keyChar, false, escapeUnprintable, quoteBuf); in toPattern() 187 Utility.appendToRule(result, m.toPattern(escapeUnprintable), in toPattern() 188 true, escapeUnprintable, quoteBuf); in toPattern() 196 true, escapeUnprintable, quoteBuf); in toPattern() 260 public String toReplacerPattern(boolean escapeUnprintable) { in toReplacerPattern() argument
|
D | CompoundTransliterator.java | 264 public String toRules(boolean escapeUnprintable) { in toRules() argument 275 … rulesSource.append("::").append(getFilter().toPattern(escapeUnprintable)).append(ID_DELIM); in toRules() 285 rule = trans[i].toRules(escapeUnprintable); in toRules() 294 rule = trans[i].toRules(escapeUnprintable); in toRules() 298 rule = trans[i].baseToRules(escapeUnprintable); in toRules()
|
D | FunctionReplacer.java | 65 public String toReplacerPattern(boolean escapeUnprintable) { in toReplacerPattern() argument 69 rule.append(replacer.toReplacerPattern(escapeUnprintable)); in toReplacerPattern()
|
D | RuleBasedTransliterator.java | 446 public String toRules(boolean escapeUnprintable) { in toRules() argument 447 return data.ruleSet.toRules(escapeUnprintable); in toRules()
|
D | TransliterationRuleSet.java | 227 String toRules(boolean escapeUnprintable) { in toRules() argument 236 ruleSource.append(r.toRule(escapeUnprintable)); in toRules()
|
/external/icu/icu4c/source/i18n/ |
D | strrepl.cpp | 241 UBool escapeUnprintable) const { in toReplacerPattern() 250 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern() 257 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern() 263 ICU_Utility::appendToRule(rule, c, FALSE, escapeUnprintable, quoteBuf); in toReplacerPattern() 266 r->toReplacerPattern(buf, escapeUnprintable); in toReplacerPattern() 270 TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern() 280 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern() 282 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern() 286 TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
|
D | rbt_rule.cpp | 468 UBool escapeUnprintable) const { in toRule() 486 ICU_Utility::appendToRule(rule, anteContext, escapeUnprintable, quoteBuf); in toRule() 489 ICU_Utility::appendToRule(rule, (UChar) 0x007B /*{*/, TRUE, escapeUnprintable, quoteBuf); in toRule() 492 ICU_Utility::appendToRule(rule, key, escapeUnprintable, quoteBuf); in toRule() 495 ICU_Utility::appendToRule(rule, (UChar) 0x007D /*}*/, TRUE, escapeUnprintable, quoteBuf); in toRule() 498 ICU_Utility::appendToRule(rule, postContext, escapeUnprintable, quoteBuf); in toRule() 505 …ICU_Utility::appendToRule(rule, UnicodeString(TRUE, FORWARD_OP, 3), TRUE, escapeUnprintable, quote… in toRule() 509 ICU_Utility::appendToRule(rule, output->toReplacer()->toReplacerPattern(str, escapeUnprintable), in toRule() 510 TRUE, escapeUnprintable, quoteBuf); in toRule() 512 ICU_Utility::appendToRule(rule, (UChar) 0x003B /*;*/, TRUE, escapeUnprintable, quoteBuf); in toRule()
|
D | strmatch.cpp | 161 UBool escapeUnprintable) const in toPattern() 172 ICU_Utility::appendToRule(result, keyChar, FALSE, escapeUnprintable, quoteBuf); in toPattern() 174 ICU_Utility::appendToRule(result, m->toPattern(str, escapeUnprintable), in toPattern() 175 TRUE, escapeUnprintable, quoteBuf); in toPattern() 183 TRUE, escapeUnprintable, quoteBuf); in toPattern()
|
D | strmatch.h | 129 UBool escapeUnprintable = FALSE) const; 189 UBool escapeUnprintable) const;
|
D | cpdtrans.cpp | 393 UBool escapeUnprintable) const { in toRules() 405 …rulesSource.append(COLON_COLON, 2).append(getFilter()->toPattern(pat, escapeUnprintable)).append(I… in toRules() 415 trans[i]->toRules(rule, escapeUnprintable); in toRules() 424 trans[i]->toRules(rule, escapeUnprintable); in toRules() 428 trans[i]->Transliterator::toRules(rule, escapeUnprintable); in toRules()
|
D | funcrepl.cpp | 98 UBool escapeUnprintable) const { in toReplacerPattern() 104 rule.append(replacer->toReplacer()->toReplacerPattern(str, escapeUnprintable)); in toReplacerPattern()
|
D | quant.cpp | 99 UBool escapeUnprintable) const { in toPattern() 101 matcher->toMatcher()->toPattern(result, escapeUnprintable); in toPattern()
|
D | rbt.cpp | 278 UBool escapeUnprintable) const { in toRules() 279 return fData->ruleSet.toRules(rulesSource, escapeUnprintable); in toRules()
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/impl/ |
D | UtilityExtensions.java | 26 boolean escapeUnprintable, in appendToRule() argument 30 Utility.appendToRule(rule, text.charAt(i), isLiteral, escapeUnprintable, quoteBuf); in appendToRule() 41 boolean escapeUnprintable, in appendToRule() argument 44 appendToRule(rule, matcher.toPattern(escapeUnprintable), in appendToRule() 45 true, escapeUnprintable, quoteBuf); in appendToRule()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | Quantifier.java | 71 public String toPattern(boolean escapeUnprintable) { in toPattern() argument 73 result.append(matcher.toPattern(escapeUnprintable)); in toPattern()
|
D | UnicodeSet.java | 638 … private static <T extends Appendable> T _appendToPat(T buf, String s, boolean escapeUnprintable) { in _appendToPat() argument 642 _appendToPat(buf, cp, escapeUnprintable); in _appendToPat() 651 private static <T extends Appendable> T _appendToPat(T buf, int c, boolean escapeUnprintable) { in _appendToPat() argument 653 if (escapeUnprintable && Utility.isUnprintable(c)) { in _appendToPat() 656 if (Utility.escapeUnprintable(buf, c)) { in _appendToPat() 694 public String toPattern(boolean escapeUnprintable) { in toPattern() argument 695 if (pat != null && !escapeUnprintable) { in toPattern() 699 return _toPattern(result, escapeUnprintable).toString(); in toPattern() 708 boolean escapeUnprintable) { in _toPattern() argument 710 return appendNewPattern(result, escapeUnprintable, true); in _toPattern() [all …]
|
D | UnicodeReplacer.java | 54 public abstract String toReplacerPattern(boolean escapeUnprintable); in toReplacerPattern() argument
|
/external/icu/icu4c/source/common/unicode/ |
D | uniset.h | 671 UBool escapeUnprintable = FALSE) const; 1515 UBool escapeUnprintable) const; 1518 UBool escapeUnprintable) const; 1520 static void _appendToPat(UnicodeString& buf, const UnicodeString& s, UBool escapeUnprintable); 1522 static void _appendToPat(UnicodeString& buf, UChar32 c, UBool escapeUnprintable);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | Utility.java | 1470 public static <T extends Appendable> boolean escapeUnprintable(T result, int c) { 1548 boolean escapeUnprintable, 1554 (escapeUnprintable && Utility.isUnprintable(c))) { 1599 } else if (!escapeUnprintable || !Utility.escapeUnprintable(rule, c)) { 1640 boolean escapeUnprintable, 1644 appendToRule(rule, text.charAt(i), isLiteral, escapeUnprintable, quoteBuf); 1654 boolean escapeUnprintable, 1657 appendToRule(rule, matcher.toPattern(escapeUnprintable), 1658 true, escapeUnprintable, quoteBuf);
|