Home
last modified time | relevance | path

Searched refs:replText (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/test/cintltst/
Dreapits.c821 UChar replText[80]; in TestRegexCAPI() local
826 u_uastrncpy(replText, "<$1>", UPRV_LENGTHOF(replText)); in TestRegexCAPI()
834 resultSz = uregex_replaceFirst(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
842 resultSz = uregex_replaceFirst(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
851 … resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x."), &status); in TestRegexCAPI()
862 … resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x."), &status); in TestRegexCAPI()
870 resultSz = uregex_replaceFirst(re, replText, -1, NULL, 0, &status); in TestRegexCAPI()
877 …resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x.")-1, &status… in TestRegexCAPI()
893 UChar replText[80]; /* "<$1>" */ in TestRegexCAPI() local
906 u_uastrncpy(replText, "<$1>", UPRV_LENGTHOF(replText)); in TestRegexCAPI()
[all …]
/external/icu/icu4c/source/test/intltest/
Dregextst.cpp2476 UText replText = UTEXT_INITIALIZER; in API_Replace_UTF8() local
2479 utext_openUTF8(&replText, str_yz, -1, &status); in API_Replace_UTF8()
2480 REGEX_VERBOSE_TEXT(&replText); in API_Replace_UTF8()
2481 result = matcher->replaceFirst(&replText, NULL, status); in API_Replace_UTF8()
2486 result = matcher->replaceFirst(&replText, &destText, status); in API_Replace_UTF8()
2491 result = matcher->replaceAll(&replText, NULL, status); in API_Replace_UTF8()
2498 result = matcher->replaceAll(&replText, &destText, status); in API_Replace_UTF8()
2510 result = matcher->replaceFirst(&replText, NULL, status); in API_Replace_UTF8()
2514 result = matcher->replaceFirst(&replText, &destText, status); in API_Replace_UTF8()
2519 result = matcher->replaceAll(&replText, NULL, status); in API_Replace_UTF8()
[all …]
/external/icu/icu4c/source/i18n/
Duregex.cpp1601 UText *replText, in uregex_appendReplacementUText() argument
1605 regexp->fMatcher->appendReplacement(dest, replText, *status); in uregex_appendReplacementUText()