Lines Matching refs:ut
182 utext_close(UText *ut);
225 utext_openUTF8(UText *ut, const char *s, int64_t length, UErrorCode *status);
243 utext_openUChars(UText *ut, const UChar *s, int64_t length, UErrorCode *status);
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 *ci, UErrorCode *status);
406 utext_nativeLength(UText *ut);
422 utext_isLengthExpensive(const UText *ut);
450 utext_char32At(UText *ut, int64_t nativeIndex);
464 utext_current32(UText *ut);
486 utext_next32(UText *ut);
507 utext_previous32(UText *ut);
529 utext_next32From(UText *ut, int64_t nativeIndex);
549 utext_previous32From(UText *ut, int64_t nativeIndex);
564 utext_getNativeIndex(const UText *ut);
590 utext_setNativeIndex(UText *ut, int64_t nativeIndex);
609 utext_moveIndex32(UText *ut, int32_t delta);
634 utext_getPreviousNativeIndex(UText *ut);
672 utext_extract(UText *ut,
704 #define UTEXT_CURRENT32(ut) \ argument
705 ((ut)->chunkOffset < (ut)->chunkLength && ((ut)->chunkContents)[(ut)->chunkOffset]<0xd800 ? \
706 ((ut)->chunkContents)[((ut)->chunkOffset)] : utext_current32(ut))
720 #define UTEXT_NEXT32(ut) \ argument
721 ((ut)->chunkOffset < (ut)->chunkLength && ((ut)->chunkContents)[(ut)->chunkOffset]<0xd800 ? \
722 ((ut)->chunkContents)[((ut)->chunkOffset)++] : utext_next32(ut))
734 #define UTEXT_PREVIOUS32(ut) \ argument
735 ((ut)->chunkOffset > 0 && \
736 (ut)->chunkContents[(ut)->chunkOffset-1] < 0xd800 ? \
737 (ut)->chunkContents[--((ut)->chunkOffset)] : utext_previous32(ut))
751 #define UTEXT_GETNATIVEINDEX(ut) \ argument
752 ((ut)->chunkOffset <= (ut)->nativeIndexingLimit? \
753 (ut)->chunkNativeStart+(ut)->chunkOffset : \
754 (ut)->pFuncs->mapOffsetToNative(ut))
767 #define UTEXT_SETNATIVEINDEX(ut, ix) \ argument
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)); } }
804 utext_isWritable(const UText *ut);
816 utext_hasMetaData(const UText *ut);
847 utext_replace(UText *ut,
887 utext_copy(UText *ut,
916 utext_freeze(UText *ut);
1011 UTextNativeLength(UText *ut);
1039 UTextAccess(UText *ut, int64_t nativeIndex, UBool forward);
1069 UTextExtract(UText *ut,
1104 UTextReplace(UText *ut,
1138 UTextCopy(UText *ut,
1158 UTextMapOffsetToNative(const UText *ut);
1176 UTextMapNativeIndexToUTF16(const UText *ut, int64_t nativeIndex);
1197 UTextClose(UText *ut);
1554 utext_setup(UText *ut, int32_t extraSpace, UErrorCode *status);