Home
last modified time | relevance | path

Searched refs:findAndReplace (Results 1 – 18 of 18) sorted by relevance

/external/icu/icu4c/source/i18n/
Dcurrpinf.cpp354 pattern->findAndReplace(UnicodeString(TRUE, gPart0, 3), in setupCurrencyPluralPattern()
356 …pattern->findAndReplace(UnicodeString(TRUE, gPart1, 3), UnicodeString(TRUE, gTripleCurrencySign, 3… in setupCurrencyPluralPattern()
360 negPattern.findAndReplace(UnicodeString(TRUE, gPart0, 3), in setupCurrencyPluralPattern()
362 …negPattern.findAndReplace(UnicodeString(TRUE, gPart1, 3), UnicodeString(TRUE, gTripleCurrencySign,… in setupCurrencyPluralPattern()
Dnumber_longnames.cpp133 pattern.findAndReplace(UnicodeString(u"{1}"), UnicodeString(longName, longNameLen)); in getCurrencyLongNameData()
Dreldtfmt.cpp205 …relativeDayString.findAndReplace(UNICODE_STRING("'", 1), UNICODE_STRING("''", 2)); // double any e… in format()
Ddtitvinf.cpp577 copySkeleton.findAndReplace(UnicodeString(CHAR_Z), UnicodeString(CHAR_V)); in getBestSkeleton()
Dnumber_patternstring.cpp905 table[i][localIdx].findAndReplace(u'\'', u'’'); in convertLocalized()
Dnumfmt.cpp1459 pattern.findAndReplace(UnicodeString(TRUE, gSingleCurrencySign, 1), in makeInstance()
Ddtitvfmt.cpp1450 adjustedPtn.findAndReplace(UnicodeString((UChar)0x76 /* v */), in adjustFieldWidth()
Dtznames_impl.cpp1697 name.findAndReplace(UnicodeString((UChar)0x5f /* _ */), in getDefaultExemplarLocationName()
/external/icu/icu4c/source/common/
Dlocdspnm.cpp630 resultRemainder.findAndReplace(formatOpenParen, formatReplaceOpenParen); in localeDisplayName()
631 resultRemainder.findAndReplace(formatCloseParen, formatReplaceCloseParen); in localeDisplayName()
645 temp.findAndReplace(formatOpenParen, formatReplaceOpenParen); in localeDisplayName()
646 temp.findAndReplace(formatCloseParen, formatReplaceCloseParen); in localeDisplayName()
648 temp2.findAndReplace(formatOpenParen, formatReplaceOpenParen); in localeDisplayName()
649 temp2.findAndReplace(formatCloseParen, formatReplaceCloseParen); in localeDisplayName()
Dunistr.cpp1162 UnicodeString::findAndReplace(int32_t start, in findAndReplace() function in UnicodeString
/external/icu/icu4c/source/common/unicode/
Dunistr.h2510 inline UnicodeString& findAndReplace(const UnicodeString& oldText,
2524 inline UnicodeString& findAndReplace(int32_t start,
2546 UnicodeString& findAndReplace(int32_t start,
4460 UnicodeString::findAndReplace(const UnicodeString& oldText, in findAndReplace() function
4462 { return findAndReplace(0, length(), oldText, 0, oldText.length(), in findAndReplace()
4466 UnicodeString::findAndReplace(int32_t start, in findAndReplace() function
4470 { return findAndReplace(start, _length, oldText, 0, oldText.length(), in findAndReplace()
/external/icu/icu4c/source/test/intltest/
Dregextst.cpp4072 pattern.findAndReplace("${bang}", "!"); in PerlTests()
4073 pattern.findAndReplace(nulnulSrc, UNICODE_STRING_SIMPLE("\\u0000\\u0000")); in PerlTests()
4074 pattern.findAndReplace(ffffSrc, ffff); in PerlTests()
4147 matchString.findAndReplace(nulnulSrc, nulnul); in PerlTests()
4148 matchString.findAndReplace(ffffSrc, ffff); in PerlTests()
4153 matchString.findAndReplace(UNICODE_STRING_SIMPLE("\\n"), "\n"); in PerlTests()
4290 expectedS.findAndReplace(nulnulSrc, nulnul); in PerlTests()
4291 expectedS.findAndReplace(ffffSrc, ffff); in PerlTests()
4292 expectedS.findAndReplace(UNICODE_STRING_SIMPLE("\\n"), "\n"); in PerlTests()
4441 pattern.findAndReplace("${bang}", "!"); in PerlTestsUTF8()
[all …]
Dustrtest.cpp997 test1.findAndReplace(test2, test3); in TestFindAndReplace()
1001 test1.findAndReplace(2, 32, test3, test2); in TestFindAndReplace()
1484 test3.findAndReplace(UnicodeString((UChar)0x61), test2); in TestBogus()
Dtranstst.cpp3130 rules2.findAndReplace(SPACE, EMPTY); in checkRules()
3131 rules2.findAndReplace(NEWLINE, EMPTY); in checkRules()
3132 rules2.findAndReplace(RETURN, EMPTY); in checkRules()
3134 UnicodeString testRules(testRulesForward); testRules.findAndReplace(SPACE, EMPTY); in checkRules()
Dintltest.cpp1150 message.findAndReplace(UnicodeString((UChar)'\n'), indent); in LL_message()
Dnumfmtst.cpp2815 s.findAndReplace((UChar32)0x00A0, (UChar32)0x0020); in expectCurrency()
3462 pat = pat.findAndReplace(ctou("\\u00A4"), doubleCurrencyStr); in TestMultiCurrencySign()
3464 pat = pat.findAndReplace(ctou("\\u00A4\\u00A4"), tripleCurrencyStr); in TestMultiCurrencySign()
Ddtfmttst.cpp4463 plusDot.findAndReplace("n ", "n. ").append("."); in TestDotAndAtLeniency()
4470 minusDot.findAndReplace(". ", " "); in TestDotAndAtLeniency()
/external/icu/icu4c/source/tools/tzcode/
Dicuzdump.cpp386 id = id.findAndReplace("/", "-"); in main()