Home | History | Annotate | Download | only in unicode

Lines Matching full:utext

51 #include "unicode/utext.h"
194 * to by this UText must not be deleted during the lifetime of the
203 static RegexPattern * U_EXPORT2 compile( UText *regex,
252 * to by this UText must not be deleted during the lifetime of the
262 static RegexPattern * U_EXPORT2 compile( UText *regex,
309 * to by this UText must not be deleted during the lifetime of the
317 static RegexPattern * U_EXPORT2 compile( UText *regex,
357 * or in a UText, using
358 * <code>utext_openUChars(UText *ut, const UChar *text, int64_t textLength, UErrorCode *status);</code>
413 static UBool U_EXPORT2 matches(UText *regex,
414 UText *input,
420 * even if the pattern was compiled from a UText.
422 * Note: If the pattern was originally compiled from a UText, and that UText was modified,
434 * UText, and that UText was modified, the returned UText may no longer reflect the RegexPattern
439 virtual UText *patternText(UErrorCode &status) const;
545 * @param dest An array of mutable UText structs to receive the results of the split.
546 * If a field is NULL, a new UText is allocated to contain the results for
547 * that field. This new UText is not guaranteed to be mutable.
559 virtual int32_t split(UText *input,
560 UText *dest[],
583 UText *fPattern; // The original pattern string.
696 RegexMatcher(UText *regexp, uint32_t flags, UErrorCode &status);
743 RegexMatcher(UText *regexp, UText *input,
755 * or in a UText, using
756 UText *ut, const UChar *text, int64_t textLength, UErrorCode *status);</code>
903 * Returns a shallow clone of the entire live input string with the UText current native index
906 * @param dest The UText into which the input should be cloned, or NULL to create a new UText
916 virtual UText *group(UText *dest, int64_t &group_len, UErrorCode &status) const;
919 * Returns a shallow clone of the entire live input string with the UText current native index
923 * @param dest The UText into which the input should be cloned, or NULL to create a new UText.
933 virtual UText *group(int32_t groupNum, UText *dest, int64_t &group_len, UErrorCode &status) const;
1115 virtual RegexMatcher &reset(UText *input);
1125 * ICU that the string has been relocated, and providing a new UText to access the
1142 virtual RegexMatcher &refreshInputText(UText *input, UErrorCode &status);
1153 * or in a UText, using
1154 * <code>utext_openUChars(UText *ut, const UChar *text, int64_t textLength, UErrorCode *status);</code>
1163 * was originally supplied as a UText.
1177 virtual UText *inputText() const;
1181 * UText parameter or by returning a shallow clone of the live input. Note that copying
1183 * @param dest The UText into which the input should be copied, or NULL to create a new UText
1189 virtual UText *getInput(UText *dest, UErrorCode &status) const;
1387 * @param dest a mutable UText in which the results are placed.
1388 * If NULL, a new UText will be created (which may not be mutable).
1391 * If a pre-allocated UText was provided, it will always be used and returned.
1395 virtual UText *replaceAll(UText *replacement, UText *dest, UErrorCode &status);
1437 * @param dest a mutable UText in which the results are placed.
1438 * If NULL, a new UText will be created (which may not be mutable).
1441 * If a pre-allocated UText was provided, it will always be used and returned.
1445 virtual UText *replaceFirst(UText *replacement, UText *dest, UErrorCode &status);
1491 * @param dest A mutable UText to which the results of the find-and-replace are appended.
1493 * @param replacement A UText that provides the text to be substituted for
1506 virtual RegexMatcher &appendReplacement(UText *dest,
1507 UText *replacement, UErrorCode &status);
1529 * @param dest A mutable UText to which the results of the find-and-replace are appended.
1536 virtual UText *appendTail(UText *dest, UErrorCode &status);
1577 * @param dest An array of mutable UText structs to receive the results of the split.
1578 * If a field is NULL, a new UText is allocated to contain the results for
1579 * that field. This new UText is not guaranteed to be mutable.
1591 virtual int32_t split(UText *input,
1592 UText *dest[],
1756 void init2(UText *t, UErrorCode &e); // Common initialization, part 2.
1782 int64_t appendGroup(int32_t groupNum, UText *dest, UErrorCode &status) const;
1793 UText *fInputText; // The text being matched. Is never NULL.
1794 UText *fAltInputText; // A shallow copy of the text being matched.