Lines Matching refs:ut
184 utext_close(UText *ut);
227 utext_openUTF8(UText *ut, const char *s, int64_t length, UErrorCode *status);
245 utext_openUChars(UText *ut, const UChar *s, int64_t length, UErrorCode *status);
262 utext_openUnicodeString(UText *ut, icu::UnicodeString *s, UErrorCode *status);
278 utext_openConstUnicodeString(UText *ut, const icu::UnicodeString *s, UErrorCode *status);
294 utext_openReplaceable(UText *ut, icu::Replaceable *rep, UErrorCode *status);
309 utext_openCharacterIterator(UText *ut, icu::CharacterIterator *ci, UErrorCode *status);
408 utext_nativeLength(UText *ut);
424 utext_isLengthExpensive(const UText *ut);
452 utext_char32At(UText *ut, int64_t nativeIndex);
466 utext_current32(UText *ut);
488 utext_next32(UText *ut);
509 utext_previous32(UText *ut);
531 utext_next32From(UText *ut, int64_t nativeIndex);
551 utext_previous32From(UText *ut, int64_t nativeIndex);
566 utext_getNativeIndex(const UText *ut);
592 utext_setNativeIndex(UText *ut, int64_t nativeIndex);
611 utext_moveIndex32(UText *ut, int32_t delta);
636 utext_getPreviousNativeIndex(UText *ut);
674 utext_extract(UText *ut,
706 #define UTEXT_CURRENT32(ut) \ argument
707 ((ut)->chunkOffset < (ut)->chunkLength && ((ut)->chunkContents)[(ut)->chunkOffset]<0xd800 ? \
708 ((ut)->chunkContents)[((ut)->chunkOffset)] : utext_current32(ut))
722 #define UTEXT_NEXT32(ut) \ argument
723 ((ut)->chunkOffset < (ut)->chunkLength && ((ut)->chunkContents)[(ut)->chunkOffset]<0xd800 ? \
724 ((ut)->chunkContents)[((ut)->chunkOffset)++] : utext_next32(ut))
736 #define UTEXT_PREVIOUS32(ut) \ argument
737 ((ut)->chunkOffset > 0 && \
738 (ut)->chunkContents[(ut)->chunkOffset-1] < 0xd800 ? \
739 (ut)->chunkContents[--((ut)->chunkOffset)] : utext_previous32(ut))
753 #define UTEXT_GETNATIVEINDEX(ut) \ argument
754 ((ut)->chunkOffset <= (ut)->nativeIndexingLimit? \
755 (ut)->chunkNativeStart+(ut)->chunkOffset : \
756 (ut)->pFuncs->mapOffsetToNative(ut))
769 #define UTEXT_SETNATIVEINDEX(ut, ix) \ argument
770 { int64_t __offset = (ix) - (ut)->chunkNativeStart; \
771 …if (__offset>=0 && __offset<(int64_t)(ut)->nativeIndexingLimit && (ut)->chunkContents[__offset]<0x…
772 (ut)->chunkOffset=(int32_t)__offset; \
774 utext_setNativeIndex((ut), (ix)); } }
806 utext_isWritable(const UText *ut);
818 utext_hasMetaData(const UText *ut);
849 utext_replace(UText *ut,
889 utext_copy(UText *ut,
918 utext_freeze(UText *ut);
1013 UTextNativeLength(UText *ut);
1041 UTextAccess(UText *ut, int64_t nativeIndex, UBool forward);
1071 UTextExtract(UText *ut,
1106 UTextReplace(UText *ut,
1140 UTextCopy(UText *ut,
1160 UTextMapOffsetToNative(const UText *ut);
1178 UTextMapNativeIndexToUTF16(const UText *ut, int64_t nativeIndex);
1199 UTextClose(UText *ut);
1556 utext_setup(UText *ut, int32_t extraSpace, UErrorCode *status);