Home
last modified time | relevance | path

Searched refs:UText (Results 1 – 25 of 44) sorted by relevance

12

/external/icu/icu4c/source/common/unicode/
Dutext.h152 struct UText;
153 typedef struct UText UText; /**< C typedef for struct UText. @stable ICU 3.6 */ typedef
183 U_STABLE UText * U_EXPORT2
184 utext_close(UText *ut);
199 U_DEFINE_LOCAL_OPEN_POINTER(LocalUTextPointer, UText, utext_close);
226 U_STABLE UText * U_EXPORT2
227 utext_openUTF8(UText *ut, const char *s, int64_t length, UErrorCode *status);
244 U_STABLE UText * U_EXPORT2
245 utext_openUChars(UText *ut, const UChar *s, int64_t length, UErrorCode *status);
261 U_STABLE UText * U_EXPORT2
[all …]
Drbbi.h60 UText fText;
337 virtual UText *getUText(UText *fillIn, UErrorCode &status) const;
374 virtual void setText(UText *text, UErrorCode &status);
614 virtual RuleBasedBreakIterator &refreshInputText(UText *input, UErrorCode &status);
Dbrkiter.h168 virtual UText *getUText(UText *fillIn, UErrorCode &status) const = 0;
201 virtual void setText(UText *text, UErrorCode &status) = 0;
615 virtual BreakIterator &refreshInputText(UText *input, UErrorCode &status) = 0;
/external/icu/libandroidicu/include/unicode/
Dutext.h152 struct UText;
153 typedef struct UText UText; /**< C typedef for struct UText. @stable ICU 3.6 */ typedef
183 U_STABLE UText * U_EXPORT2
184 utext_close(UText *ut);
199 U_DEFINE_LOCAL_OPEN_POINTER(LocalUTextPointer, UText, utext_close);
226 U_STABLE UText * U_EXPORT2
227 utext_openUTF8(UText *ut, const char *s, int64_t length, UErrorCode *status);
244 U_STABLE UText * U_EXPORT2
245 utext_openUChars(UText *ut, const UChar *s, int64_t length, UErrorCode *status);
261 U_STABLE UText * U_EXPORT2
[all …]
Duregex.h165 uregex_openUText(UText *pattern,
286 U_STABLE UText * U_EXPORT2
348 UText *text,
392 U_STABLE UText * U_EXPORT2
394 UText *dest,
424 UText *text,
703 U_STABLE UText * U_EXPORT2
706 UText *dest,
1111 U_STABLE UText * U_EXPORT2
1113 UText *replacement,
[all …]
/external/icu/icu4c/source/i18n/unicode/
Dregex.h205 static RegexPattern * U_EXPORT2 compile( UText *regex,
264 static RegexPattern * U_EXPORT2 compile( UText *regex,
319 static RegexPattern * U_EXPORT2 compile( UText *regex,
415 static UBool U_EXPORT2 matches(UText *regex,
416 UText *input,
441 virtual UText *patternText(UErrorCode &status) const;
561 virtual int32_t split(UText *input,
562 UText *dest[],
585 UText *fPattern; // The original pattern string.
698 RegexMatcher(UText *regexp, uint32_t flags, UErrorCode &status);
[all …]
Duregex.h165 uregex_openUText(UText *pattern,
286 U_STABLE UText * U_EXPORT2
348 UText *text,
392 U_STABLE UText * U_EXPORT2
394 UText *dest,
424 UText *text,
703 U_STABLE UText * U_EXPORT2
706 UText *dest,
1111 U_STABLE UText * U_EXPORT2
1113 UText *replacement,
[all …]
/external/icu/icu4c/source/common/
Dutext.cpp39 utext_access(UText *ut, int64_t index, UBool forward) { in utext_access()
46 utext_moveIndex32(UText *ut, int32_t delta) { in utext_moveIndex32()
86 utext_nativeLength(UText *ut) { in utext_nativeLength()
92 utext_isLengthExpensive(const UText *ut) { in utext_isLengthExpensive()
99 utext_getNativeIndex(const UText *ut) { in utext_getNativeIndex()
109 utext_setNativeIndex(UText *ut, int64_t index) { in utext_setNativeIndex()
143 utext_getPreviousNativeIndex(UText *ut) { in utext_getPreviousNativeIndex()
186 utext_current32(UText *ut) { in utext_current32()
240 utext_char32At(UText *ut, int64_t nativeIndex) { in utext_char32At()
267 utext_next32(UText *ut) { in utext_next32()
[all …]
Ddictbe.h78 virtual int32_t findBreaks( UText *text,
101 virtual int32_t divideUpDictionaryRange( UText *text,
158 virtual int32_t divideUpDictionaryRange( UText *text,
214 virtual int32_t divideUpDictionaryRange( UText *text,
270 virtual int32_t divideUpDictionaryRange( UText *text,
326 virtual int32_t divideUpDictionaryRange( UText *text,
390 virtual int32_t divideUpDictionaryRange( UText *text,
Dustr_titlecase_brkiter.cpp52 UText *getUText(UText *fillIn, UErrorCode &errorCode) const U_OVERRIDE;
54 void setText(UText *text, UErrorCode &errorCode) U_OVERRIDE;
67 BreakIterator &refreshInputText(UText *input, UErrorCode &errorCode) U_OVERRIDE;
88 UText *WholeStringBreakIterator::getUText(UText * /*fillIn*/, UErrorCode &errorCode) const { in getUText() argument
98 void WholeStringBreakIterator::setText(UText *text, UErrorCode &errorCode) { in setText()
132 UText * /*input*/, UErrorCode &errorCode) { in refreshInputText() argument
Ddictionarydata.h93 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
108 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
126 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
Ducasemap_titlecase_brkiter.cpp41 UText utext = UTEXT_INITIALIZER; in utf8ToTitle()
65 UText utext=UTEXT_INITIALIZER; in utf8ToTitle()
109 UText utext=UTEXT_INITIALIZER; in ucasemap_utf8ToTitle()
Ddictbe.cpp44 DictionaryBreakEngine::findBreaks( UText *text, in findBreaks()
108 int32_t candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd );
111 int32_t acceptMarked( UText *text );
115 UBool backUp( UText *text );
129 int32_t PossibleWord::candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd ) { in candidates()
149 PossibleWord::acceptMarked( UText *text ) { in acceptMarked()
156 PossibleWord::backUp( UText *text ) { in backUp()
221 ThaiBreakEngine::divideUpDictionaryRange( UText *text, in divideUpDictionaryRange()
460 LaoBreakEngine::divideUpDictionaryRange( UText *text, in divideUpDictionaryRange()
653 BurmeseBreakEngine::divideUpDictionaryRange( UText *text, in divideUpDictionaryRange()
[all …]
Dbrkeng.h73 virtual int32_t findBreaks( UText *text,
190 virtual int32_t findBreaks( UText *text,
Drbbi.cpp295 static const UText initializedUText = UTEXT_INITIALIZER; in init()
296 uprv_memcpy(&fText, &initializedUText, sizeof(UText)); in init()
389 void RuleBasedBreakIterator::setText(UText *ut, UErrorCode &status) { in setText()
415 UText *RuleBasedBreakIterator::getUText(UText *fillIn, UErrorCode &status) const { in getUText()
416 UText *result = utext_clone(fillIn, &fText, FALSE, TRUE, &status); in getUText()
494 RuleBasedBreakIterator &RuleBasedBreakIterator::refreshInputText(UText *input, UErrorCode &status) { in refreshInputText()
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp30 UText *openFragmentedUnicodeString(UText *ut, UnicodeString *s, UErrorCode *status);
166 UText *ut = NULL; in TestString()
298 void UTextTest::TestCMR(const UnicodeString &us, UText *ut, int cpCount, m *nativeMap, m *u16Map) { in TestCMR()
405 void UTextTest::TestCopyMove(const UnicodeString &us, UText *ut, UBool move, in TestCopyMove()
410 UText *targetUT = NULL; in TestCopyMove()
480 UText *ut, // UnicodeText object under test. in TestReplace()
488 UText *targetUT = NULL; in TestReplace()
552 void UTextTest::TestAccess(const UnicodeString &us, UText *ut, int cpCount, m *cpMap) { in TestAccess()
559 UText *shallowClone = utext_clone(NULL, ut, FALSE /*deep*/, FALSE /*readOnly*/, &status); in TestAccess()
570 UText *deepClone = utext_clone(NULL, shallowClone, TRUE, FALSE, &status); in TestAccess()
[all …]
Dutxttest.h50 void TestAccess(const UnicodeString &us, UText *ut, int cpCount, m *cpMap);
51 void TestAccessNoClone(const UnicodeString &us, UText *ut, int cpCount, m *cpMap);
52 void TestCMR (const UnicodeString &us, UText *ut, int cpCount, m *nativeMap, m *utf16Map);
53 void TestCopyMove(const UnicodeString &us, UText *ut, UBool move,
57 UText *ut, // UnicodeText object under test.
Dregextst.h18 struct UText;
19 typedef struct UText UText; typedef
64 virtual void assertUText(const char *expected, UText *actual, const char *file, int line);
65 …virtual void assertUTextInvariant(const char *invariant, UText *actual, const char *file, int line…
Dregextst.cpp116 static UText* regextst_openUTF8FromInvariant(UText* ut, const char *inv, int64_t length, UErrorCode…
124 static void utextToPrintable(char *buf, int32_t bufLen, UText *text) { in utextToPrintable()
204 static UBool testUTextEqual(UText *uta, UText *utb) { in testUTextEqual()
223 void RegexTest::assertUText(const char *expected, UText *actual, const char *file, int line) { in assertUText()
225 UText expectedText = UTEXT_INITIALIZER; in assertUText()
249 void RegexTest::assertUTextInvariant(const char *expected, UText *actual, const char *file, int lin… in assertUTextInvariant()
251 UText expectedText = UTEXT_INITIALIZER; in assertUTextInvariant()
291 static UText* regextst_openUTF8FromInvariant(UText *ut, const char *inv, int64_t length, UErrorCode… in regextst_openUTF8FromInvariant()
395 UText pattern = UTEXT_INITIALIZER; in doRegexLMTestUTF8()
398 UText inputText = UTEXT_INITIALIZER; in doRegexLMTestUTF8()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dutexttst.c67 UText utLoc = UTEXT_INITIALIZER; in TestAPI()
70 UText *uta; in TestAPI()
71 UText *utb; in TestAPI()
93 UText *uta; in TestAPI()
94 UText *utb; in TestAPI()
112 UText *uta; in TestAPI()
190 UText *uta; in TestAPI()
212 UText *uta; in TestAPI()
260 UText *uta; in TestAPI()
Dreapits.c97 static UBool equals_utf8_utext(const char *utf8, UText *utext) { in equals_utf8_utext()
118 static void test_assert_utext(const char *expected, UText *actual, const char *file, int line) { in test_assert_utext()
142 static UBool testUTextEqual(UText *uta, UText *utb) { in testUTextEqual()
1409 UText patternText = UTEXT_INITIALIZER; in TestUTextAPI()
1505 UText *resultText; in TestUTextAPI()
1551 UText text1 = UTEXT_INITIALIZER; in TestUTextAPI()
1552 UText text2 = UTEXT_INITIALIZER; in TestUTextAPI()
1598 UText text1 = UTEXT_INITIALIZER; in TestUTextAPI()
1599 UText text2 = UTEXT_INITIALIZER; in TestUTextAPI()
1601 UText *resultText; in TestUTextAPI()
[all …]
/external/icu/icu4c/source/i18n/
Duregex.cpp150 UText patText = UTEXT_INITIALIZER; in uregex_open()
187 uregex_openUText(UText *pattern, in uregex_openUText()
233 UText patText = UTEXT_INITIALIZER; in uregex_openUText()
343 U_CAPI UText * U_EXPORT2
394 UText input = UTEXT_INITIALIZER; in uregex_setText()
408 UText *text, in uregex_setUText()
447 UText *inputText = regexp->fMatcher->inputText(); in uregex_getText()
476 U_CAPI UText * U_EXPORT2
478 UText *dest, in uregex_getUText()
495 UText *text, in uregex_refreshUText()
[all …]
Drematch.cpp96 UText inputText = UTEXT_INITIALIZER; in RegexMatcher()
105 RegexMatcher::RegexMatcher(UText *regexp, UText *input, in RegexMatcher()
137 RegexMatcher::RegexMatcher(UText *regexp, in RegexMatcher()
238 void RegexMatcher::init2(UText *input, UErrorCode &status) { in init2()
280 UText replacementText = UTEXT_INITIALIZER; in appendReplacement()
284 UText resultText = UTEXT_INITIALIZER; in appendReplacement()
300 RegexMatcher &RegexMatcher::appendReplacement(UText *dest, in appendReplacement()
301 UText *replacement, in appendReplacement()
492 UText resultText = UTEXT_INITIALIZER; in appendTail()
506 UText *RegexMatcher::appendTail(UText *dest, UErrorCode &status) { in appendTail()
[all …]
Drepattrn.cpp357 RegexPattern::compile(UText *regex, in compile()
419 RegexPattern::compile(UText *regex, in compile()
444 RegexPattern::compile(UText *regex, in compile()
535 UBool U_EXPORT2 RegexPattern::matches(UText *regex, in matches()
536 UText *input, in matches()
595 UText *RegexPattern::patternText(UErrorCode &status) const { in patternText()
663 int32_t RegexPattern::split(UText *input, in split()
664 UText *dest[], in split()
/external/icu/libandroidicu/static_shim/
Dshim.cpp718 void ubrk_refreshUText_android(UBreakIterator * bi, UText * text, UErrorCode * status) { in ubrk_refreshUText_android()
727 void ubrk_setUText_android(UBreakIterator * bi, UText * text, UErrorCode * status) { in ubrk_setUText_android()
2139 …_appendReplacementUText_android(URegularExpression * regexp, UText * replacementText, UText * dest… in uregex_appendReplacementUText_android()
2145 UText * uregex_appendTailUText_android(URegularExpression * regexp, UText * dest, UErrorCode * stat… in uregex_appendTailUText_android()
2187 UText * uregex_getUText_android(URegularExpression * regexp, UText * dest, UErrorCode * status) { in uregex_getUText_android()
2202 UText * uregex_groupUText_android(URegularExpression * regexp, int32_t groupNum, UText * dest, int6… in uregex_groupUText_android()
2232 URegularExpression * uregex_openUText_android(UText * pattern, uint32_t flags, UParseError * pe, UE… in uregex_openUText_android()
2238 UText * uregex_patternUText_android(const URegularExpression * regexp, UErrorCode * status) { in uregex_patternUText_android()
2241 void uregex_refreshUText_android(URegularExpression * regexp, UText * text, UErrorCode * status) { in uregex_refreshUText_android()
2259 UText * uregex_replaceAllUText_android(URegularExpression * regexp, UText * replacement, UText * de… in uregex_replaceAllUText_android()
[all …]

12