Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dutil.cpp301 UnicodeString& quoteBuf) { in appendToRule() argument
307 if (quoteBuf.length() > 0) { in appendToRule()
315 while (quoteBuf.length() >= 2 && in appendToRule()
316 quoteBuf.charAt(0) == APOSTROPHE && in appendToRule()
317 quoteBuf.charAt(1) == APOSTROPHE) { in appendToRule()
319 quoteBuf.remove(0, 2); in appendToRule()
324 while (quoteBuf.length() >= 2 && in appendToRule()
325 quoteBuf.charAt(quoteBuf.length()-2) == APOSTROPHE && in appendToRule()
326 quoteBuf.charAt(quoteBuf.length()-1) == APOSTROPHE) { in appendToRule()
327 quoteBuf.truncate(quoteBuf.length()-2); in appendToRule()
[all …]
Dutil.h220 UnicodeString& quoteBuf);
226 UnicodeString& quoteBuf);
231 UnicodeString& quoteBuf);
/external/icu/android_icu4j/src/main/java/android/icu/text/
DStringReplacer.java272 StringBuffer quoteBuf = new StringBuffer(); in toReplacerPattern() local
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()
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.java498 StringBuffer quoteBuf = new StringBuffer(); in toRule() local
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()
535 true, escapeUnprintable, quoteBuf); in toRule()
537 Utility.appendToRule(rule, ';', true, escapeUnprintable, quoteBuf); in toRule()
DStringMatcher.java182 StringBuffer quoteBuf = new StringBuffer(); in toPattern() local
190 Utility.appendToRule(result, keyChar, false, escapeUnprintable, quoteBuf); in toPattern()
193 true, escapeUnprintable, quoteBuf); in toPattern()
201 true, escapeUnprintable, quoteBuf); in toPattern()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/
DStringReplacer.java271 StringBuffer quoteBuf = new StringBuffer(); in toReplacerPattern() local
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()
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.java497 StringBuffer quoteBuf = new StringBuffer(); in toRule() local
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()
534 true, escapeUnprintable, quoteBuf); in toRule()
536 Utility.appendToRule(rule, ';', true, escapeUnprintable, quoteBuf); in toRule()
DStringMatcher.java181 StringBuffer quoteBuf = new StringBuffer(); in toPattern() local
189 Utility.appendToRule(result, keyChar, false, escapeUnprintable, quoteBuf); in toPattern()
192 true, escapeUnprintable, quoteBuf); in toPattern()
200 true, escapeUnprintable, quoteBuf); in toPattern()
/external/icu/icu4c/source/i18n/
Dstrrepl.cpp245 UnicodeString quoteBuf; in toReplacerPattern() local
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()
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.cpp475 UnicodeString str, quoteBuf; in toRule() local
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 …Utility::appendToRule(rule, UnicodeString(TRUE, FORWARD_OP, 3), TRUE, escapeUnprintable, quoteBuf); in toRule()
512 TRUE, escapeUnprintable, quoteBuf); in toRule()
514 ICU_Utility::appendToRule(rule, (UChar) 0x003B /*;*/, TRUE, escapeUnprintable, quoteBuf); in toRule()
Dstrmatch.cpp166 UnicodeString str, quoteBuf; in toPattern() local
174 ICU_Utility::appendToRule(result, keyChar, FALSE, escapeUnprintable, quoteBuf); in toPattern()
177 TRUE, escapeUnprintable, quoteBuf); in toPattern()
185 TRUE, escapeUnprintable, quoteBuf); in toPattern()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUtility.java1563 StringBuffer quoteBuf) {
1569 if (quoteBuf.length() > 0) {
1577 while (quoteBuf.length() >= 2 &&
1578 quoteBuf.charAt(0) == APOSTROPHE &&
1579 quoteBuf.charAt(1) == APOSTROPHE) {
1581 quoteBuf.delete(0, 2);
1586 while (quoteBuf.length() >= 2 &&
1587 quoteBuf.charAt(quoteBuf.length()-2) == APOSTROPHE &&
1588 quoteBuf.charAt(quoteBuf.length()-1) == APOSTROPHE) {
1589 quoteBuf.setLength(quoteBuf.length()-2);
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUtility.java1567 StringBuffer quoteBuf) {
1573 if (quoteBuf.length() > 0) {
1581 while (quoteBuf.length() >= 2 &&
1582 quoteBuf.charAt(0) == APOSTROPHE &&
1583 quoteBuf.charAt(1) == APOSTROPHE) {
1585 quoteBuf.delete(0, 2);
1590 while (quoteBuf.length() >= 2 &&
1591 quoteBuf.charAt(quoteBuf.length()-2) == APOSTROPHE &&
1592 quoteBuf.charAt(quoteBuf.length()-1) == APOSTROPHE) {
1593 quoteBuf.setLength(quoteBuf.length()-2);
[all …]
DUtilityExtensions.java31 StringBuffer quoteBuf) { in appendToRule() argument
34 Utility.appendToRule(rule, text.charAt(i), isLiteral, escapeUnprintable, quoteBuf); in appendToRule()
46 StringBuffer quoteBuf) { in appendToRule() argument
49 true, escapeUnprintable, quoteBuf); in appendToRule()
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/impl/
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()