Home
last modified time | relevance | path

Searched refs:quoteBuf (Results 1 – 5 of 5) sorted by relevance

/external/icu4c/common/
Dutil.cpp303 UnicodeString& quoteBuf) { in appendToRule() argument
309 if (quoteBuf.length() > 0) { in appendToRule()
317 while (quoteBuf.length() >= 2 && in appendToRule()
318 quoteBuf.charAt(0) == APOSTROPHE && in appendToRule()
319 quoteBuf.charAt(1) == APOSTROPHE) { in appendToRule()
321 quoteBuf.remove(0, 2); in appendToRule()
326 while (quoteBuf.length() >= 2 && in appendToRule()
327 quoteBuf.charAt(quoteBuf.length()-2) == APOSTROPHE && in appendToRule()
328 quoteBuf.charAt(quoteBuf.length()-1) == APOSTROPHE) { in appendToRule()
329 quoteBuf.truncate(quoteBuf.length()-2); in appendToRule()
[all …]
Dutil.h219 UnicodeString& quoteBuf);
225 UnicodeString& quoteBuf);
230 UnicodeString& quoteBuf);
/external/icu4c/i18n/
Dstrrepl.cpp244 UnicodeString quoteBuf; in toReplacerPattern() local
251 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
258 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
264 ICU_Utility::appendToRule(rule, c, FALSE, escapeUnprintable, quoteBuf); in toReplacerPattern()
271 TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
281 ICU_Utility::appendToRule(rule, (UChar)0x0040 /*@*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
283 ICU_Utility::appendToRule(rule, (UChar)0x007C /*|*/, TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
287 TRUE, escapeUnprintable, quoteBuf); in toReplacerPattern()
Drbt_rule.cpp472 UnicodeString str, quoteBuf; in toRule() local
485 ICU_Utility::appendToRule(rule, anteContext, escapeUnprintable, quoteBuf); in toRule()
488 ICU_Utility::appendToRule(rule, (UChar) 0x007B /*{*/, TRUE, escapeUnprintable, quoteBuf); in toRule()
491 ICU_Utility::appendToRule(rule, key, escapeUnprintable, quoteBuf); in toRule()
494 ICU_Utility::appendToRule(rule, (UChar) 0x007D /*}*/, TRUE, escapeUnprintable, quoteBuf); in toRule()
497 ICU_Utility::appendToRule(rule, postContext, escapeUnprintable, quoteBuf); in toRule()
504 ICU_Utility::appendToRule(rule, FORWARD_OP, TRUE, escapeUnprintable, quoteBuf); in toRule()
509 TRUE, escapeUnprintable, quoteBuf); in toRule()
511 ICU_Utility::appendToRule(rule, (UChar) 0x003B /*;*/, TRUE, escapeUnprintable, quoteBuf); in toRule()
Dstrmatch.cpp159 UnicodeString str, quoteBuf; in toPattern() local
167 ICU_Utility::appendToRule(result, keyChar, FALSE, escapeUnprintable, quoteBuf); in toPattern()
170 TRUE, escapeUnprintable, quoteBuf); in toPattern()
178 TRUE, escapeUnprintable, quoteBuf); in toPattern()