Home
last modified time | relevance | path

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

/external/icu4c/common/
Dutil.cpp299 UnicodeString& quoteBuf) { in appendToRule() argument
305 if (quoteBuf.length() > 0) { in appendToRule()
313 while (quoteBuf.length() >= 2 && in appendToRule()
314 quoteBuf.charAt(0) == APOSTROPHE && in appendToRule()
315 quoteBuf.charAt(1) == APOSTROPHE) { in appendToRule()
317 quoteBuf.remove(0, 2); in appendToRule()
322 while (quoteBuf.length() >= 2 && in appendToRule()
323 quoteBuf.charAt(quoteBuf.length()-2) == APOSTROPHE && in appendToRule()
324 quoteBuf.charAt(quoteBuf.length()-1) == APOSTROPHE) { in appendToRule()
325 quoteBuf.truncate(quoteBuf.length()-2); in appendToRule()
[all …]
Dutil.h218 UnicodeString& quoteBuf);
224 UnicodeString& quoteBuf);
229 UnicodeString& quoteBuf);
/external/chromium_org/third_party/icu/source/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.cpp243 UnicodeString quoteBuf; in toReplacerPattern() local
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()
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.cpp473 UnicodeString str, quoteBuf; in toRule() local
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 …Utility::appendToRule(rule, UnicodeString(TRUE, FORWARD_OP, 3), TRUE, escapeUnprintable, quoteBuf); in toRule()
510 TRUE, escapeUnprintable, quoteBuf); in toRule()
512 ICU_Utility::appendToRule(rule, (UChar) 0x003B /*;*/, TRUE, escapeUnprintable, quoteBuf); in toRule()
Dstrmatch.cpp164 UnicodeString str, quoteBuf; in toPattern() local
172 ICU_Utility::appendToRule(result, keyChar, FALSE, escapeUnprintable, quoteBuf); in toPattern()
175 TRUE, escapeUnprintable, quoteBuf); in toPattern()
183 TRUE, escapeUnprintable, quoteBuf); in toPattern()
/external/chromium_org/third_party/icu/source/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()