Home
last modified time | relevance | path

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

123

/external/icu/icu4c/source/common/
Dutil.cpp81 UBool ICU_Utility::escapeUnprintable(UnicodeString& result, UChar32 c) { in escapeUnprintable() function in ICU_Utility
300 UBool escapeUnprintable, in appendToRule() argument
306 (escapeUnprintable && ICU_Utility::isUnprintable(c))) { in appendToRule()
351 } else if (!escapeUnprintable || !ICU_Utility::escapeUnprintable(rule, c)) { in appendToRule()
389 UBool escapeUnprintable, in appendToRule() argument
392 appendToRule(rule, text[i], isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
402 UBool escapeUnprintable, in appendToRule() argument
406 appendToRule(rule, matcher->toPattern(pat, escapeUnprintable), in appendToRule()
407 TRUE, escapeUnprintable, quoteBuf); in appendToRule()
Dutil.h70 static UBool escapeUnprintable(UnicodeString& result, UChar32 c);
226 UBool escapeUnprintable,
232 UBool escapeUnprintable,
237 UBool escapeUnprintable,
Duniset.cpp1982 escapeUnprintable) { in _appendToPat() argument
1985 _appendToPat(buf, cp = s.char32At(i), escapeUnprintable); in _appendToPat()
1994 escapeUnprintable) { in _appendToPat() argument
1995 if (escapeUnprintable && ICU_Utility::isUnprintable(c)) { in _appendToPat()
1998 if (ICU_Utility::escapeUnprintable(buf, c)) { in _appendToPat()
2032 UBool escapeUnprintable) const in _toPattern()
2040 if (escapeUnprintable && ICU_Utility::isUnprintable(c)) { in _toPattern()
2048 ICU_Utility::escapeUnprintable(result, c); in _toPattern()
2062 return _generatePattern(result, escapeUnprintable); in _toPattern()
2071 UBool escapeUnprintable) const in toPattern()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringReplacer.java270 public String toReplacerPattern(boolean escapeUnprintable) { in toReplacerPattern() argument
279 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
286 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
292 Utility.appendToRule(rule, c, false, escapeUnprintable, quoteBuf); in toReplacerPattern()
295 buf.append(r.toReplacerPattern(escapeUnprintable)); in toReplacerPattern()
298 true, escapeUnprintable, quoteBuf); in toReplacerPattern()
308 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
310 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
314 true, escapeUnprintable, quoteBuf); in toReplacerPattern()
DTransliterationRule.java490 public String toRule(boolean escapeUnprintable) { in toRule() argument
511 Utility.appendToRule(rule, anteContext, escapeUnprintable, quoteBuf); in toRule()
514 Utility.appendToRule(rule, '{', true, escapeUnprintable, quoteBuf); in toRule()
517 Utility.appendToRule(rule, key, escapeUnprintable, quoteBuf); in toRule()
520 Utility.appendToRule(rule, '}', true, escapeUnprintable, quoteBuf); in toRule()
523 Utility.appendToRule(rule, postContext, escapeUnprintable, quoteBuf); in toRule()
530 Utility.appendToRule(rule, " > ", true, escapeUnprintable, quoteBuf); in toRule()
534 Utility.appendToRule(rule, output.toReplacerPattern(escapeUnprintable), in toRule()
535 true, escapeUnprintable, quoteBuf); in toRule()
537 Utility.appendToRule(rule, ';', true, escapeUnprintable, quoteBuf); in toRule()
DStringMatcher.java180 public String toPattern(boolean escapeUnprintable) { in toPattern() argument
190 Utility.appendToRule(result, keyChar, false, escapeUnprintable, quoteBuf); in toPattern()
192 Utility.appendToRule(result, m.toPattern(escapeUnprintable), in toPattern()
193 true, escapeUnprintable, quoteBuf); in toPattern()
201 true, escapeUnprintable, quoteBuf); in toPattern()
269 public String toReplacerPattern(boolean escapeUnprintable) { in toReplacerPattern() argument
DCompoundTransliterator.java268 public String toRules(boolean escapeUnprintable) { in toRules() argument
279 … rulesSource.append("::").append(getFilter().toPattern(escapeUnprintable)).append(ID_DELIM); in toRules()
289 rule = trans[i].toRules(escapeUnprintable); in toRules()
298 rule = trans[i].toRules(escapeUnprintable); in toRules()
302 rule = trans[i].baseToRules(escapeUnprintable); in toRules()
DFunctionReplacer.java70 public String toReplacerPattern(boolean escapeUnprintable) { in toReplacerPattern() argument
74 rule.append(replacer.toReplacerPattern(escapeUnprintable)); in toReplacerPattern()
DQuantifier.java74 public String toPattern(boolean escapeUnprintable) { in toPattern() argument
76 result.append(matcher.toPattern(escapeUnprintable)); in toPattern()
DRuleBasedTransliterator.java198 public String toRules(boolean escapeUnprintable) { in toRules() argument
199 return data.ruleSet.toRules(escapeUnprintable); in toRules()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DStringReplacer.java269 public String toReplacerPattern(boolean escapeUnprintable) { in toReplacerPattern() argument
278 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
285 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
291 Utility.appendToRule(rule, c, false, escapeUnprintable, quoteBuf); in toReplacerPattern()
294 buf.append(r.toReplacerPattern(escapeUnprintable)); in toReplacerPattern()
297 true, escapeUnprintable, quoteBuf); in toReplacerPattern()
307 Utility.appendToRule(rule, '@', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
309 Utility.appendToRule(rule, '|', true, escapeUnprintable, quoteBuf); in toReplacerPattern()
313 true, escapeUnprintable, quoteBuf); in toReplacerPattern()
DTransliterationRule.java489 public String toRule(boolean escapeUnprintable) { in toRule() argument
510 Utility.appendToRule(rule, anteContext, escapeUnprintable, quoteBuf); in toRule()
513 Utility.appendToRule(rule, '{', true, escapeUnprintable, quoteBuf); in toRule()
516 Utility.appendToRule(rule, key, escapeUnprintable, quoteBuf); in toRule()
519 Utility.appendToRule(rule, '}', true, escapeUnprintable, quoteBuf); in toRule()
522 Utility.appendToRule(rule, postContext, escapeUnprintable, quoteBuf); in toRule()
529 Utility.appendToRule(rule, " > ", true, escapeUnprintable, quoteBuf); in toRule()
533 Utility.appendToRule(rule, output.toReplacerPattern(escapeUnprintable), in toRule()
534 true, escapeUnprintable, quoteBuf); in toRule()
536 Utility.appendToRule(rule, ';', true, escapeUnprintable, quoteBuf); in toRule()
DStringMatcher.java179 public String toPattern(boolean escapeUnprintable) { in toPattern() argument
189 Utility.appendToRule(result, keyChar, false, escapeUnprintable, quoteBuf); in toPattern()
191 Utility.appendToRule(result, m.toPattern(escapeUnprintable), in toPattern()
192 true, escapeUnprintable, quoteBuf); in toPattern()
200 true, escapeUnprintable, quoteBuf); in toPattern()
268 public String toReplacerPattern(boolean escapeUnprintable) { in toReplacerPattern() argument
DCompoundTransliterator.java267 public String toRules(boolean escapeUnprintable) { in toRules() argument
278 … rulesSource.append("::").append(getFilter().toPattern(escapeUnprintable)).append(ID_DELIM); in toRules()
288 rule = trans[i].toRules(escapeUnprintable); in toRules()
297 rule = trans[i].toRules(escapeUnprintable); in toRules()
301 rule = trans[i].baseToRules(escapeUnprintable); in toRules()
DFunctionReplacer.java69 public String toReplacerPattern(boolean escapeUnprintable) { in toReplacerPattern() argument
73 rule.append(replacer.toReplacerPattern(escapeUnprintable)); in toReplacerPattern()
DRuleBasedTransliterator.java196 public String toRules(boolean escapeUnprintable) { in toRules() argument
197 return data.ruleSet.toRules(escapeUnprintable); in toRules()
/external/icu/icu4c/source/i18n/
Dstrrepl.cpp243 UBool escapeUnprintable) const { in toReplacerPattern()
252 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
259 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
265 ICU_Utility::appendToRule(rule, c, FALSE, escapeUnprintable, quoteBuf); in toReplacerPattern()
268 r->toReplacerPattern(buf, escapeUnprintable); in toReplacerPattern()
272 TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
282 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
284 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
288 TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
Drbt_rule.cpp470 UBool escapeUnprintable) const { in toRule()
488 ICU_Utility::appendToRule(rule, anteContext, escapeUnprintable, quoteBuf); in toRule()
491 ICU_Utility::appendToRule(rule, (UChar) 0x007B /*{*/, TRUE, escapeUnprintable, quoteBuf); in toRule()
494 ICU_Utility::appendToRule(rule, key, escapeUnprintable, quoteBuf); in toRule()
497 ICU_Utility::appendToRule(rule, (UChar) 0x007D /*}*/, TRUE, escapeUnprintable, quoteBuf); in toRule()
500 ICU_Utility::appendToRule(rule, postContext, escapeUnprintable, quoteBuf); in toRule()
507 …ICU_Utility::appendToRule(rule, UnicodeString(TRUE, FORWARD_OP, 3), TRUE, escapeUnprintable, quote… in toRule()
511 ICU_Utility::appendToRule(rule, output->toReplacer()->toReplacerPattern(str, escapeUnprintable), in toRule()
512 TRUE, escapeUnprintable, quoteBuf); in toRule()
514 ICU_Utility::appendToRule(rule, (UChar) 0x003B /*;*/, TRUE, escapeUnprintable, quoteBuf); in toRule()
Dstrmatch.cpp163 UBool escapeUnprintable) const in toPattern()
174 ICU_Utility::appendToRule(result, keyChar, FALSE, escapeUnprintable, quoteBuf); in toPattern()
176 ICU_Utility::appendToRule(result, m->toPattern(str, escapeUnprintable), in toPattern()
177 TRUE, escapeUnprintable, quoteBuf); in toPattern()
185 TRUE, escapeUnprintable, quoteBuf); in toPattern()
Dcpdtrans.cpp395 UBool escapeUnprintable) const { in toRules()
407 …rulesSource.append(COLON_COLON, 2).append(getFilter()->toPattern(pat, escapeUnprintable)).append(I… in toRules()
417 trans[i]->toRules(rule, escapeUnprintable); in toRules()
426 trans[i]->toRules(rule, escapeUnprintable); in toRules()
430 trans[i]->Transliterator::toRules(rule, escapeUnprintable); in toRules()
Dstrmatch.h131 UBool escapeUnprintable = FALSE) const;
191 UBool escapeUnprintable) const;
Dfuncrepl.cpp100 UBool escapeUnprintable) const { in toReplacerPattern()
106 rule.append(replacer->toReplacer()->toReplacerPattern(str, escapeUnprintable)); in toReplacerPattern()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUtilityExtensions.java30 boolean escapeUnprintable, in appendToRule() argument
34 Utility.appendToRule(rule, text.charAt(i), isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
45 boolean escapeUnprintable, in appendToRule() argument
48 appendToRule(rule, matcher.toPattern(escapeUnprintable), in appendToRule()
49 true, escapeUnprintable, quoteBuf); in appendToRule()
/external/icu/icu4j/main/classes/translit/src/com/ibm/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/core/src/com/ibm/icu/text/
DQuantifier.java73 public String toPattern(boolean escapeUnprintable) { in toPattern() argument
75 result.append(matcher.toPattern(escapeUnprintable)); in toPattern()

123