Home
last modified time | relevance | path

Searched refs:UText (Results 1 – 25 of 36) 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.h70 UText *fText;
364 virtual UText *getUText(UText *fillIn, UErrorCode &status) const;
401 virtual void setText(UText *text, UErrorCode &status);
639 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;
616 virtual BreakIterator &refreshInputText(UText *input, UErrorCode &status) = 0;
Dubrk.h371 UText* text,
566 UText *text,
/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.h96 virtual int32_t findBreaks( UText *text,
128 virtual int32_t divideUpDictionaryRange( UText *text,
185 virtual int32_t divideUpDictionaryRange( UText *text,
241 virtual int32_t divideUpDictionaryRange( UText *text,
297 virtual int32_t divideUpDictionaryRange( UText *text,
353 virtual int32_t divideUpDictionaryRange( UText *text,
417 virtual int32_t divideUpDictionaryRange( UText *text,
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,
Ddictbe.cpp46 DictionaryBreakEngine::findBreaks( UText *text, in findBreaks()
135 int32_t candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd );
138 int32_t acceptMarked( UText *text );
142 UBool backUp( UText *text );
156 int32_t PossibleWord::candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd ) { in candidates()
176 PossibleWord::acceptMarked( UText *text ) { in acceptMarked()
183 PossibleWord::backUp( UText *text ) { in backUp()
248 ThaiBreakEngine::divideUpDictionaryRange( UText *text, in divideUpDictionaryRange()
487 LaoBreakEngine::divideUpDictionaryRange( UText *text, in divideUpDictionaryRange()
680 BurmeseBreakEngine::divideUpDictionaryRange( UText *text, in divideUpDictionaryRange()
[all …]
Dbrkeng.h76 virtual int32_t findBreaks( UText *text,
201 virtual int32_t findBreaks( UText *text,
Dubrk.cpp169 UText ut = UTEXT_INITIALIZER; in ubrk_setText()
180 UText *text, in ubrk_setUText()
292 UText *text, in ubrk_refreshUText()
Ducasemap_titlecase_brkiter.cpp50 UText utext=UTEXT_INITIALIZER; in ucasemap_utf8ToTitle()
/external/icu/icu4c/source/test/intltest/
Dutxttest.h49 void TestAccess(const UnicodeString &us, UText *ut, int cpCount, m *cpMap);
50 void TestAccessNoClone(const UnicodeString &us, UText *ut, int cpCount, m *cpMap);
51 void TestCMR (const UnicodeString &us, UText *ut, int cpCount, m *nativeMap, m *utf16Map);
52 void TestCopyMove(const UnicodeString &us, UText *ut, UBool move,
56 UText *ut, // UnicodeText object under test.
Dutxttest.cpp29 UText *openFragmentedUnicodeString(UText *ut, UnicodeString *s, UErrorCode *status);
173 UText *ut = NULL; in TestString()
305 void UTextTest::TestCMR(const UnicodeString &us, UText *ut, int cpCount, m *nativeMap, m *u16Map) { in TestCMR()
412 void UTextTest::TestCopyMove(const UnicodeString &us, UText *ut, UBool move, in TestCopyMove()
417 UText *targetUT = NULL; in TestCopyMove()
487 UText *ut, // UnicodeText object under test. in TestReplace()
495 UText *targetUT = NULL; in TestReplace()
559 void UTextTest::TestAccess(const UnicodeString &us, UText *ut, int cpCount, m *cpMap) { in TestAccess()
566 UText *shallowClone = utext_clone(NULL, ut, FALSE /*deep*/, FALSE /*readOnly*/, &status); in TestAccess()
577 UText *deepClone = utext_clone(NULL, shallowClone, TRUE, FALSE, &status); in TestAccess()
[all …]
Dregextst.h18 struct UText;
19 typedef struct UText UText; typedef
61 virtual void assertUText(const char *expected, UText *actual, const char *file, int line);
62 …virtual void assertUTextInvariant(const char *invariant, UText *actual, const char *file, int line…
Dregextst.cpp177 static UText* regextst_openUTF8FromInvariant(UText* ut, const char *inv, int64_t length, UErrorCode…
185 static void utextToPrintable(char *buf, int32_t bufLen, UText *text) { in utextToPrintable()
265 static UBool testUTextEqual(UText *uta, UText *utb) { in testUTextEqual()
284 void RegexTest::assertUText(const char *expected, UText *actual, const char *file, int line) { in assertUText()
286 UText expectedText = UTEXT_INITIALIZER; in assertUText()
310 void RegexTest::assertUTextInvariant(const char *expected, UText *actual, const char *file, int lin… in assertUTextInvariant()
312 UText expectedText = UTEXT_INITIALIZER; in assertUTextInvariant()
352 static UText* regextst_openUTF8FromInvariant(UText *ut, const char *inv, int64_t length, UErrorCode… in regextst_openUTF8FromInvariant()
456 UText pattern = UTEXT_INITIALIZER; in doRegexLMTestUTF8()
459 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.c96 static UBool equals_utf8_utext(const char *utf8, UText *utext) { in equals_utf8_utext()
117 static void test_assert_utext(const char *expected, UText *actual, const char *file, int line) { in test_assert_utext()
141 static UBool testUTextEqual(UText *uta, UText *utb) { in testUTextEqual()
1408 UText patternText = UTEXT_INITIALIZER; in TestUTextAPI()
1504 UText *resultText; in TestUTextAPI()
1550 UText text1 = UTEXT_INITIALIZER; in TestUTextAPI()
1551 UText text2 = UTEXT_INITIALIZER; in TestUTextAPI()
1597 UText text1 = UTEXT_INITIALIZER; in TestUTextAPI()
1598 UText text2 = UTEXT_INITIALIZER; in TestUTextAPI()
1600 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()
Dregeximp.h367 CaseFoldingUTextIterator(UText &text);
376 UText &fUText;
Dregexst.h51 UText *fEmptyText; // An empty string, to be used when a matcher
Dregextxt.h38 UText *text;

12