/external/icu/icu4c/source/common/ |
D | util.cpp | 311 UnicodeString& quoteBuf) { in appendToRule() argument 317 if (quoteBuf.length() > 0) { in appendToRule() 325 while (quoteBuf.length() >= 2 && in appendToRule() 326 quoteBuf.charAt(0) == APOSTROPHE && in appendToRule() 327 quoteBuf.charAt(1) == APOSTROPHE) { in appendToRule() 329 quoteBuf.remove(0, 2); in appendToRule() 334 while (quoteBuf.length() >= 2 && in appendToRule() 335 quoteBuf.charAt(quoteBuf.length()-2) == APOSTROPHE && in appendToRule() 336 quoteBuf.charAt(quoteBuf.length()-1) == APOSTROPHE) { in appendToRule() 337 quoteBuf.truncate(quoteBuf.length()-2); in appendToRule() [all …]
|
D | util.h | 236 UnicodeString& quoteBuf); 242 UnicodeString& quoteBuf); 247 UnicodeString& quoteBuf);
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | StringReplacer.java | 272 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()
|
D | TransliterationRule.java | 498 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()
|
D | StringMatcher.java | 182 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/ |
D | StringReplacer.java | 271 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()
|
D | TransliterationRule.java | 497 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()
|
D | StringMatcher.java | 181 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/ |
D | strrepl.cpp | 245 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()
|
D | rbt_rule.cpp | 475 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()
|
D | strmatch.cpp | 166 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/android_icu4j/src/main/java/android/icu/impl/ |
D | UtilityExtensions.java | 31 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()
|
D | Utility.java | 1560 StringBuffer quoteBuf) { 1566 if (quoteBuf.length() > 0) { 1574 while (quoteBuf.length() >= 2 && 1575 quoteBuf.charAt(0) == APOSTROPHE && 1576 quoteBuf.charAt(1) == APOSTROPHE) { 1578 quoteBuf.delete(0, 2); 1583 while (quoteBuf.length() >= 2 && 1584 quoteBuf.charAt(quoteBuf.length()-2) == APOSTROPHE && 1585 quoteBuf.charAt(quoteBuf.length()-1) == APOSTROPHE) { 1586 quoteBuf.setLength(quoteBuf.length()-2); [all …]
|
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/impl/ |
D | UtilityExtensions.java | 29 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/core/src/com/ibm/icu/impl/ |
D | Utility.java | 1556 StringBuffer quoteBuf) { 1562 if (quoteBuf.length() > 0) { 1570 while (quoteBuf.length() >= 2 && 1571 quoteBuf.charAt(0) == APOSTROPHE && 1572 quoteBuf.charAt(1) == APOSTROPHE) { 1574 quoteBuf.delete(0, 2); 1579 while (quoteBuf.length() >= 2 && 1580 quoteBuf.charAt(quoteBuf.length()-2) == APOSTROPHE && 1581 quoteBuf.charAt(quoteBuf.length()-1) == APOSTROPHE) { 1582 quoteBuf.setLength(quoteBuf.length()-2); [all …]
|
/external/icu/libicu/cts_headers/ |
D | util.h | 236 UnicodeString& quoteBuf); 242 UnicodeString& quoteBuf); 247 UnicodeString& quoteBuf);
|