Home
last modified time | relevance | path

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

/external/icu/icu4c/source/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/icu/android_icu4j/src/main/java/android/icu/text/
DStringReplacer.java268 StringBuffer quoteBuf = new StringBuffer(); in toReplacerPattern() local
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()
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.java496 StringBuffer quoteBuf = new StringBuffer(); in toRule() local
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()
533 true, escapeUnprintable, quoteBuf); in toRule()
535 Utility.appendToRule(rule, ';', true, escapeUnprintable, quoteBuf); in toRule()
DStringMatcher.java178 StringBuffer quoteBuf = new StringBuffer(); in toPattern() local
186 Utility.appendToRule(result, keyChar, false, escapeUnprintable, quoteBuf); in toPattern()
189 true, escapeUnprintable, quoteBuf); in toPattern()
197 true, escapeUnprintable, quoteBuf); in toPattern()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DStringReplacer.java267 StringBuffer quoteBuf = new StringBuffer(); in toReplacerPattern() local
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()
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.java495 StringBuffer quoteBuf = new StringBuffer(); in toRule() local
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()
532 true, escapeUnprintable, quoteBuf); in toRule()
534 Utility.appendToRule(rule, ';', true, escapeUnprintable, quoteBuf); in toRule()
DStringMatcher.java177 StringBuffer quoteBuf = new StringBuffer(); in toPattern() local
185 Utility.appendToRule(result, keyChar, false, escapeUnprintable, quoteBuf); in toPattern()
188 true, escapeUnprintable, quoteBuf); in toPattern()
196 true, escapeUnprintable, quoteBuf); in toPattern()
/external/icu/icu4c/source/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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUtility.java1548 StringBuffer quoteBuf) {
1554 if (quoteBuf.length() > 0) {
1562 while (quoteBuf.length() >= 2 &&
1563 quoteBuf.charAt(0) == APOSTROPHE &&
1564 quoteBuf.charAt(1) == APOSTROPHE) {
1566 quoteBuf.delete(0, 2);
1571 while (quoteBuf.length() >= 2 &&
1572 quoteBuf.charAt(quoteBuf.length()-2) == APOSTROPHE &&
1573 quoteBuf.charAt(quoteBuf.length()-1) == APOSTROPHE) {
1574 quoteBuf.setLength(quoteBuf.length()-2);
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUtility.java1552 StringBuffer quoteBuf) {
1558 if (quoteBuf.length() > 0) {
1566 while (quoteBuf.length() >= 2 &&
1567 quoteBuf.charAt(0) == APOSTROPHE &&
1568 quoteBuf.charAt(1) == APOSTROPHE) {
1570 quoteBuf.delete(0, 2);
1575 while (quoteBuf.length() >= 2 &&
1576 quoteBuf.charAt(quoteBuf.length()-2) == APOSTROPHE &&
1577 quoteBuf.charAt(quoteBuf.length()-1) == APOSTROPHE) {
1578 quoteBuf.setLength(quoteBuf.length()-2);
[all …]
DUtilityExtensions.java29 StringBuffer quoteBuf) { in appendToRule() argument
32 Utility.appendToRule(rule, text.charAt(i), isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
44 StringBuffer quoteBuf) { in appendToRule() argument
47 true, escapeUnprintable, quoteBuf); in appendToRule()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/impl/
DUtilityExtensions.java27 StringBuffer quoteBuf) { in appendToRule() argument
30 Utility.appendToRule(rule, text.charAt(i), isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
42 StringBuffer quoteBuf) { in appendToRule() argument
45 true, escapeUnprintable, quoteBuf); in appendToRule()