Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dreapits.c819 UChar replText[80]; in TestRegexCAPI() local
824 u_uastrncpy(replText, "<$1>", UPRV_LENGTHOF(replText)); in TestRegexCAPI()
832 resultSz = uregex_replaceFirst(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
840 resultSz = uregex_replaceFirst(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
849 … resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x."), &status); in TestRegexCAPI()
860 … resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x."), &status); in TestRegexCAPI()
868 resultSz = uregex_replaceFirst(re, replText, -1, NULL, 0, &status); in TestRegexCAPI()
875 …resultSz = uregex_replaceFirst(re, replText, -1, buf, strlen("Replace <aa> x1x x...x.")-1, &status… in TestRegexCAPI()
891 UChar replText[80]; /* "<$1>" */ in TestRegexCAPI() local
904 u_uastrncpy(replText, "<$1>", UPRV_LENGTHOF(replText)); in TestRegexCAPI()
[all …]
/external/icu/icu4c/source/test/intltest/
Dregextst.cpp2474 UText replText = UTEXT_INITIALIZER; in API_Replace_UTF8() local
2477 utext_openUTF8(&replText, str_yz, -1, &status); in API_Replace_UTF8()
2478 REGEX_VERBOSE_TEXT(&replText); in API_Replace_UTF8()
2479 result = matcher->replaceFirst(&replText, NULL, status); in API_Replace_UTF8()
2484 result = matcher->replaceFirst(&replText, &destText, status); in API_Replace_UTF8()
2489 result = matcher->replaceAll(&replText, NULL, status); in API_Replace_UTF8()
2496 result = matcher->replaceAll(&replText, &destText, status); in API_Replace_UTF8()
2508 result = matcher->replaceFirst(&replText, NULL, status); in API_Replace_UTF8()
2512 result = matcher->replaceFirst(&replText, &destText, status); in API_Replace_UTF8()
2517 result = matcher->replaceAll(&replText, NULL, status); in API_Replace_UTF8()
[all …]
/external/icu/icu4c/source/i18n/
Duregex.cpp1599 UText *replText, in uregex_appendReplacementUText() argument
1603 regexp->fMatcher->appendReplacement(dest, replText, *status); in uregex_appendReplacementUText()