Home | History | Annotate | Download | only in i18n

Lines Matching full:replacement

278                                               const UnicodeString &replacement,
282 utext_openConstUnicodeString(&replacementText, &replacement, &status);
301 UText *replacement,
342 // scan the replacement text, looking for substitutions ($n) and \escapes.
345 UTEXT_SETNATIVEINDEX(replacement, 0);
346 for (UChar32 c = UTEXT_NEXT32(replacement); U_SUCCESS(status) && c != U_SENTINEL; c = UTEXT_NEXT32(replacement)) {
353 c = UTEXT_CURRENT32(replacement);
361 struct URegexUTextUnescapeCharContext context = U_REGEX_UTEXT_UNESCAPE_CONTEXT(replacement);
378 (void)UTEXT_PREVIOUS32(replacement);
380 utext_moveIndex32(replacement, offset - context.lastOffset - 1);
384 (void)UTEXT_NEXT32(replacement);
418 UChar32 nextChar = utext_current32(replacement);
422 utext_next32(replacement);
424 nextChar = utext_next32(replacement);
446 nextChar = UTEXT_CURRENT32(replacement);
461 (void)UTEXT_NEXT32(replacement);
474 } // End of per-character loop through the replacement string.
1687 UnicodeString RegexMatcher::replaceAll(const UnicodeString &replacement, UErrorCode &status) {
1695 utext_openConstUnicodeString(&replacementText, &replacement, &status);
1710 UText *RegexMatcher::replaceAll(UText *replacement, UText *dest, UErrorCode &status) {
1731 appendReplacement(dest, replacement, status);
1748 UnicodeString RegexMatcher::replaceFirst(const UnicodeString &replacement, UErrorCode &status) {
1753 utext_openConstUnicodeString(&replacementText, &replacement, &status);
1767 UText *RegexMatcher::replaceFirst(UText *replacement, UText *dest, UErrorCode &status) {
1790 appendReplacement(dest, replacement, status);