Home
last modified time | relevance | path

Searched refs:escapeUnprintable (Results 1 – 25 of 64) sorted by relevance

123

/external/icu/icu4c/source/common/
Dutil.cpp79 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()
Dutil.h61 static UBool escapeUnprintable(UnicodeString& result, UChar32 c);
217 UBool escapeUnprintable,
223 UBool escapeUnprintable,
228 UBool escapeUnprintable,
Duniset.cpp1972 escapeUnprintable) { in _appendToPat() argument
1975 _appendToPat(buf, cp = s.char32At(i), escapeUnprintable); in _appendToPat()
1984 escapeUnprintable) { in _appendToPat() argument
1985 if (escapeUnprintable && ICU_Utility::isUnprintable(c)) { in _appendToPat()
1988 if (ICU_Utility::escapeUnprintable(buf, c)) { in _appendToPat()
2022 UBool escapeUnprintable) const in _toPattern()
2030 if (escapeUnprintable && ICU_Utility::isUnprintable(c)) { in _toPattern()
2038 ICU_Utility::escapeUnprintable(result, c); in _toPattern()
2052 return _generatePattern(result, escapeUnprintable); in _toPattern()
2061 UBool escapeUnprintable) const in toPattern()
[all …]
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DStringReplacer.java265 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()
DTransliterationRule.java487 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()
DStringMatcher.java175 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
DCompoundTransliterator.java264 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()
DFunctionReplacer.java65 public String toReplacerPattern(boolean escapeUnprintable) { in toReplacerPattern() argument
69 rule.append(replacer.toReplacerPattern(escapeUnprintable)); in toReplacerPattern()
DRuleBasedTransliterator.java444 public String toRules(boolean escapeUnprintable) { in toRules() argument
445 return data.ruleSet.toRules(escapeUnprintable); in toRules()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringReplacer.java266 public String toReplacerPattern(boolean escapeUnprintable) { in toReplacerPattern() argument
275 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
282 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
288 Utility.appendToRule(rule, c, false, escapeUnprintable, quoteBuf); in toReplacerPattern()
291 buf.append(r.toReplacerPattern(escapeUnprintable)); in toReplacerPattern()
294 true, escapeUnprintable, quoteBuf); in toReplacerPattern()
304 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
306 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
310 true, escapeUnprintable, quoteBuf); in toReplacerPattern()
DTransliterationRule.java488 public String toRule(boolean escapeUnprintable) { in toRule() argument
509 Utility.appendToRule(rule, anteContext, escapeUnprintable, quoteBuf); in toRule()
512 Utility.appendToRule(rule, '{', true, escapeUnprintable, quoteBuf); in toRule()
515 Utility.appendToRule(rule, key, escapeUnprintable, quoteBuf); in toRule()
518 Utility.appendToRule(rule, '}', true, escapeUnprintable, quoteBuf); in toRule()
521 Utility.appendToRule(rule, postContext, escapeUnprintable, quoteBuf); in toRule()
528 Utility.appendToRule(rule, " > ", true, escapeUnprintable, quoteBuf); in toRule()
532 Utility.appendToRule(rule, output.toReplacerPattern(escapeUnprintable), in toRule()
533 true, escapeUnprintable, quoteBuf); in toRule()
535 Utility.appendToRule(rule, ';', true, escapeUnprintable, quoteBuf); in toRule()
DStringMatcher.java176 public String toPattern(boolean escapeUnprintable) { in toPattern() argument
186 Utility.appendToRule(result, keyChar, false, escapeUnprintable, quoteBuf); in toPattern()
188 Utility.appendToRule(result, m.toPattern(escapeUnprintable), in toPattern()
189 true, escapeUnprintable, quoteBuf); in toPattern()
197 true, escapeUnprintable, quoteBuf); in toPattern()
261 public String toReplacerPattern(boolean escapeUnprintable) { in toReplacerPattern() argument
DCompoundTransliterator.java265 public String toRules(boolean escapeUnprintable) { in toRules() argument
276 … rulesSource.append("::").append(getFilter().toPattern(escapeUnprintable)).append(ID_DELIM); in toRules()
286 rule = trans[i].toRules(escapeUnprintable); in toRules()
295 rule = trans[i].toRules(escapeUnprintable); in toRules()
299 rule = trans[i].baseToRules(escapeUnprintable); in toRules()
DFunctionReplacer.java66 public String toReplacerPattern(boolean escapeUnprintable) { in toReplacerPattern() argument
70 rule.append(replacer.toReplacerPattern(escapeUnprintable)); in toReplacerPattern()
DQuantifier.java72 public String toPattern(boolean escapeUnprintable) { in toPattern() argument
74 result.append(matcher.toPattern(escapeUnprintable)); in toPattern()
DRuleBasedTransliterator.java446 public String toRules(boolean escapeUnprintable) { in toRules() argument
447 return data.ruleSet.toRules(escapeUnprintable); in toRules()
/external/icu/icu4c/source/i18n/
Dstrrepl.cpp241 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()
Drbt_rule.cpp468 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()
Dstrmatch.cpp161 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()
Dstrmatch.h129 UBool escapeUnprintable = FALSE) const;
189 UBool escapeUnprintable) const;
Dcpdtrans.cpp393 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()
Dfuncrepl.cpp98 UBool escapeUnprintable) const { in toReplacerPattern()
104 rule.append(replacer->toReplacer()->toReplacerPattern(str, escapeUnprintable)); in toReplacerPattern()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUtilityExtensions.java28 boolean escapeUnprintable, in appendToRule() argument
32 Utility.appendToRule(rule, text.charAt(i), isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
43 boolean escapeUnprintable, in appendToRule() argument
46 appendToRule(rule, matcher.toPattern(escapeUnprintable), in appendToRule()
47 true, escapeUnprintable, quoteBuf); in appendToRule()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/impl/
DUtilityExtensions.java26 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/
DQuantifier.java71 public String toPattern(boolean escapeUnprintable) { in toPattern() argument
73 result.append(matcher.toPattern(escapeUnprintable)); in toPattern()

123