Lines Matching refs:replText
819 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()
915 resultSize = uregex_replaceAll(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
923 resultSize = uregex_replaceAll(re, replText, -1, buf, UPRV_LENGTHOF(buf), &status); in TestRegexCAPI()
932 resultSize = uregex_replaceAll(re, replText, -1, buf, expectedResultSize, &status); in TestRegexCAPI()
943 … resultSize = uregex_replaceAll(re, replText, -1, buf, strlen("Replace xaax x1x x...x."), &status); in TestRegexCAPI()
951 resultSize = uregex_replaceAll(re, replText, -1, NULL, 0, &status); in TestRegexCAPI()
961 resultSize = uregex_replaceAll(re, replText, -1, buf, i, &status); in TestRegexCAPI()
1816 UText replText = UTEXT_INITIALIZER; in TestUTextAPI() local
1827 utext_openUTF8(&replText, str_1x, -1, &status); in TestUTextAPI()
1834 result = uregex_replaceFirstUText(re, &replText, NULL, &status); in TestUTextAPI()
1841 result = uregex_replaceFirstUText(re, &replText, NULL, &status); in TestUTextAPI()
1848 utext_openUTF8(&replText, str_u00411U00000042a, -1, &status); in TestUTextAPI()
1849 result = uregex_replaceFirstUText(re, &replText, NULL, &status); in TestUTextAPI()
1855 utext_close(&replText); in TestUTextAPI()
1865 UText replText = UTEXT_INITIALIZER; in TestUTextAPI() local
1873 utext_openUTF8(&replText, str_1, -1, &status); in TestUTextAPI()
1880 result = uregex_replaceAllUText(re, &replText, NULL, &status); in TestUTextAPI()
1887 result = uregex_replaceAllUText(re, &replText, NULL, &status); in TestUTextAPI()
1893 utext_close(&replText); in TestUTextAPI()