Lines Matching full:utext
92 UText inputText = UTEXT_INITIALIZER;
101 RegexMatcher::RegexMatcher(UText *regexp, UText *input,
133 RegexMatcher::RegexMatcher(UText *regexp,
238 void RegexMatcher::init2(UText *input, UErrorCode &status) {
280 UText replacementText = UTEXT_INITIALIZER;
284 UText resultText = UTEXT_INITIALIZER;
298 // appendReplacement, UText mode
300 RegexMatcher &RegexMatcher::appendReplacement(UText *dest,
301 UText *replacement,
492 UText resultText = UTEXT_INITIALIZER;
504 // appendTail, UText mode
506 UText *RegexMatcher::appendTail(UText *dest, UErrorCode &status) {
917 // entire string is available in the UText
1156 UText *RegexMatcher::group(UText *dest, int64_t &group_len, UErrorCode &status) const {
1161 UText *RegexMatcher::group(int32_t groupNum, UText *dest, int64_t &group_len, UErrorCode &status) const {
1212 // UText is actually pretty efficient at this when underlying encoding is UTF-16.
1233 // appendGroup() -- currently internal only, appends a group to a UText rather
1238 int64_t RegexMatcher::appendGroup(int32_t groupNum, UText *dest, UErrorCode &status) const {
1374 UText *RegexMatcher::inputText() const {
1381 // getInput() -- like inputText(), but makes a clone or copies into another UText
1384 UText *RegexMatcher::getInput (UText *dest, UErrorCode &status) const {
1423 static UBool compat_SyncMutableUTextContents(UText *ut);
1424 static UBool compat_SyncMutableUTextContents(UText *ut) {
1427 // In the following test, we're really only interested in whether the UText should switch
1688 UText replacementText = UTEXT_INITIALIZER;
1689 UText resultText = UTEXT_INITIALIZER;
1708 // replaceAll, UText mode
1710 UText *RegexMatcher::replaceAll(UText *replacement, UText *dest, UErrorCode &status) {
1721 UText empty = UTEXT_INITIALIZER;
1749 UText replacementText = UTEXT_INITIALIZER;
1750 UText resultText = UTEXT_INITIALIZER;
1765 // replaceFirst, UText mode
1767 UText *RegexMatcher::replaceFirst(UText *replacement, UText *dest, UErrorCode &status) {
1783 UText empty = UTEXT_INITIALIZER;
1869 RegexMatcher &RegexMatcher::reset(UText *input) {
1919 RegexMatcher &RegexMatcher::refreshInputText(UText *input, UErrorCode &status) {
1932 // Shallow read-only clone of the new UText into the existing input UText
1964 * UText, replace entire contents of the destination UText with a substring of the source UText.
1966 * @param src The source UText
1967 * @param dest The destination UText. Must be writable.
1968 * May be NULL, in which case a new UText will be allocated.
1973 static UText *utext_extract_replace(UText *src, UText *dest, int64_t start, int64_t limit, UErrorCode *status) {
2003 UText.
2014 UText *result = utext_openUChars(NULL, ownedBuf, length, status);
2034 UText inputText = UTEXT_INITIALIZER;
2040 UText **destText = (UText **)uprv_malloc(sizeof(UText*)*destCapacity);
2062 // split, UText mode
2064 int32_t RegexMatcher::split(UText *input,
2065 UText *dest[],
2111 UText remainingText = UTEXT_INITIALIZER;
2131 UText remainingText = UTEXT_INITIALIZER;
2151 UText remainingText = UTEXT_INITIALIZER;
2169 UText remainingText = UTEXT_INITIALIZER;
2221 UText remainingText = UTEXT_INITIALIZER;
2240 UText remainingText = UTEXT_INITIALIZER;
4285 // assumption that the entire string is available in the UText's