140 #if U_SHOW_CPLUSPLUS_API
184 #if U_SHOW_CPLUSPLUS_API
246 #if U_SHOW_CPLUSPLUS_API
260 utext_openUnicodeString(
UText *ut, icu::UnicodeString *s,
UErrorCode *status);
276 utext_openConstUnicodeString(
UText *ut,
const icu::UnicodeString *s,
UErrorCode *status);
292 utext_openReplaceable(
UText *ut, icu::Replaceable *rep,
UErrorCode *status);
307 utext_openCharacterIterator(
UText *ut, icu::CharacterIterator *ic,
UErrorCode *status);
673 int64_t nativeStart, int64_t nativeLimit,
674 UChar *dest, int32_t destCapacity,
694 #ifndef U_HIDE_INTERNAL_API
704 #define UTEXT_CURRENT32(ut) \
705 ((ut)->chunkOffset < (ut)->chunkLength && ((ut)->chunkContents)[(ut)->chunkOffset]<0xd800 ? \
706 ((ut)->chunkContents)[((ut)->chunkOffset)] : utext_current32(ut))
720 #define UTEXT_NEXT32(ut) \
721 ((ut)->chunkOffset < (ut)->chunkLength && ((ut)->chunkContents)[(ut)->chunkOffset]<0xd800 ? \
722 ((ut)->chunkContents)[((ut)->chunkOffset)++] : utext_next32(ut))
734 #define UTEXT_PREVIOUS32(ut) \
735 ((ut)->chunkOffset > 0 && \
736 (ut)->chunkContents[(ut)->chunkOffset-1] < 0xd800 ? \
737 (ut)->chunkContents[--((ut)->chunkOffset)] : utext_previous32(ut))
751 #define UTEXT_GETNATIVEINDEX(ut) \
752 ((ut)->chunkOffset <= (ut)->nativeIndexingLimit? \
753 (ut)->chunkNativeStart+(ut)->chunkOffset : \
754 (ut)->pFuncs->mapOffsetToNative(ut))
767 #define UTEXT_SETNATIVEINDEX(ut, ix) \
768 { int64_t __offset = (ix) - (ut)->chunkNativeStart; \
769 if (__offset>=0 && __offset<=(int64_t)(ut)->nativeIndexingLimit) { \
770 (ut)->chunkOffset=(int32_t)__offset; \
772 utext_setNativeIndex((ut), (ix)); } }
848 int64_t nativeStart, int64_t nativeLimit,
849 const UChar *replacementText, int32_t replacementLength,
888 int64_t nativeStart, int64_t nativeLimit,
1070 int64_t nativeStart, int64_t nativeLimit,
1071 UChar *dest, int32_t destCapacity,
1105 int64_t nativeStart, int64_t nativeLimit,
1106 const UChar *replacementText, int32_t replacmentLength,
1139 int64_t nativeStart, int64_t nativeLimit,
1556 #ifndef U_HIDE_INTERNAL_API
1563 UTEXT_MAGIC = 0x345ad82c
1574 #define UTEXT_INITIALIZER { \