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.h150 struct UText;
151 typedef struct UText UText; /**< C typedef for struct UText. @stable ICU 3.6 */ typedef
181 U_STABLE UText * U_EXPORT2
182 utext_close(UText *ut);
197 U_DEFINE_LOCAL_OPEN_POINTER(LocalUTextPointer, UText, utext_close);
224 U_STABLE UText * U_EXPORT2
225 utext_openUTF8(UText *ut, const char *s, int64_t length, UErrorCode *status);
242 U_STABLE UText * U_EXPORT2
243 utext_openUChars(UText *ut, const UChar *s, int64_t length, UErrorCode *status);
259 U_STABLE UText * U_EXPORT2
[all …]
Drbbi.h72 UText *fText;
391 virtual UText *getUText(UText *fillIn, UErrorCode &status) const;
423 virtual void setText(UText *text, UErrorCode &status);
661 virtual RuleBasedBreakIterator &refreshInputText(UText *input, UErrorCode &status);
Dbrkiter.h166 virtual UText *getUText(UText *fillIn, UErrorCode &status) const = 0;
194 virtual void setText(UText *text, UErrorCode &status) = 0;
609 virtual BreakIterator &refreshInputText(UText *input, UErrorCode &status) = 0;
Dubrk.h340 UText* text,
535 UText *text,
/external/icu/icu4c/source/i18n/unicode/
Dregex.h203 static RegexPattern * U_EXPORT2 compile( UText *regex,
262 static RegexPattern * U_EXPORT2 compile( UText *regex,
317 static RegexPattern * U_EXPORT2 compile( UText *regex,
413 static UBool U_EXPORT2 matches(UText *regex,
414 UText *input,
439 virtual UText *patternText(UErrorCode &status) const;
559 virtual int32_t split(UText *input,
560 UText *dest[],
583 UText *fPattern; // The original pattern string.
696 RegexMatcher(UText *regexp, uint32_t flags, UErrorCode &status);
[all …]
Duregex.h163 uregex_openUText(UText *pattern,
284 U_STABLE UText * U_EXPORT2
346 UText *text,
390 U_STABLE UText * U_EXPORT2
392 UText *dest,
422 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.cpp37 utext_access(UText *ut, int64_t index, UBool forward) { in utext_access()
44 utext_moveIndex32(UText *ut, int32_t delta) { in utext_moveIndex32()
84 utext_nativeLength(UText *ut) { in utext_nativeLength()
90 utext_isLengthExpensive(const UText *ut) { in utext_isLengthExpensive()
97 utext_getNativeIndex(const UText *ut) { in utext_getNativeIndex()
107 utext_setNativeIndex(UText *ut, int64_t index) { in utext_setNativeIndex()
141 utext_getPreviousNativeIndex(UText *ut) { in utext_getPreviousNativeIndex()
184 utext_current32(UText *ut) { in utext_current32()
238 utext_char32At(UText *ut, int64_t nativeIndex) { in utext_char32At()
265 utext_next32(UText *ut) { in utext_next32()
[all …]
Ddictbe.h94 virtual int32_t findBreaks( UText *text,
126 virtual int32_t divideUpDictionaryRange( UText *text,
183 virtual int32_t divideUpDictionaryRange( UText *text,
239 virtual int32_t divideUpDictionaryRange( UText *text,
295 virtual int32_t divideUpDictionaryRange( UText *text,
351 virtual int32_t divideUpDictionaryRange( UText *text,
415 virtual int32_t divideUpDictionaryRange( UText *text,
Ddictionarydata.h91 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
106 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
124 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
Ddictbe.cpp44 DictionaryBreakEngine::findBreaks( UText *text, in findBreaks()
133 int32_t candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd );
136 int32_t acceptMarked( UText *text );
140 UBool backUp( UText *text );
154 int32_t PossibleWord::candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd ) { in candidates()
174 PossibleWord::acceptMarked( UText *text ) { in acceptMarked()
181 PossibleWord::backUp( UText *text ) { in backUp()
246 ThaiBreakEngine::divideUpDictionaryRange( UText *text, in divideUpDictionaryRange()
485 LaoBreakEngine::divideUpDictionaryRange( UText *text, in divideUpDictionaryRange()
678 BurmeseBreakEngine::divideUpDictionaryRange( UText *text, in divideUpDictionaryRange()
[all …]
Dbrkeng.h74 virtual int32_t findBreaks( UText *text,
199 virtual int32_t findBreaks( UText *text,
Dubrk.cpp168 UText ut = UTEXT_INITIALIZER; in ubrk_setText()
179 UText *text, in ubrk_setUText()
292 UText *text, in ubrk_refreshUText()
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp25 UText *openFragmentedUnicodeString(UText *ut, UnicodeString *s, UErrorCode *status);
167 UText *ut = NULL; in TestString()
299 void UTextTest::TestCMR(const UnicodeString &us, UText *ut, int cpCount, m *nativeMap, m *u16Map) { in TestCMR()
406 void UTextTest::TestCopyMove(const UnicodeString &us, UText *ut, UBool move, in TestCopyMove()
411 UText *targetUT = NULL; in TestCopyMove()
481 UText *ut, // UnicodeText object under test. in TestReplace()
489 UText *targetUT = NULL; in TestReplace()
553 void UTextTest::TestAccess(const UnicodeString &us, UText *ut, int cpCount, m *cpMap) { in TestAccess()
560 UText *shallowClone = utext_clone(NULL, ut, FALSE /*deep*/, FALSE /*readOnly*/, &status); in TestAccess()
571 UText *deepClone = utext_clone(NULL, shallowClone, TRUE, FALSE, &status); in TestAccess()
[all …]
Dutxttest.h46 void TestAccess(const UnicodeString &us, UText *ut, int cpCount, m *cpMap);
47 void TestAccessNoClone(const UnicodeString &us, UText *ut, int cpCount, m *cpMap);
48 void TestCMR (const UnicodeString &us, UText *ut, int cpCount, m *nativeMap, m *utf16Map);
49 void TestCopyMove(const UnicodeString &us, UText *ut, UBool move,
53 UText *ut, // UnicodeText object under test.
Dregextst.h16 struct UText;
17 typedef struct UText UText; typedef
59 virtual void assertUText(const char *expected, UText *actual, const char *file, int line);
60 …virtual void assertUTextInvariant(const char *invariant, UText *actual, const char *file, int line…
Dregextst.cpp172 static UText* regextst_openUTF8FromInvariant(UText* ut, const char *inv, int64_t length, UErrorCode…
180 static void utextToPrintable(char *buf, int32_t bufLen, UText *text) { in utextToPrintable()
260 static UBool testUTextEqual(UText *uta, UText *utb) { in testUTextEqual()
279 void RegexTest::assertUText(const char *expected, UText *actual, const char *file, int line) { in assertUText()
281 UText expectedText = UTEXT_INITIALIZER; in assertUText()
305 void RegexTest::assertUTextInvariant(const char *expected, UText *actual, const char *file, int lin… in assertUTextInvariant()
307 UText expectedText = UTEXT_INITIALIZER; in assertUTextInvariant()
347 static UText* regextst_openUTF8FromInvariant(UText *ut, const char *inv, int64_t length, UErrorCode… in regextst_openUTF8FromInvariant()
451 UText pattern = UTEXT_INITIALIZER; in doRegexLMTestUTF8()
454 UText inputText = UTEXT_INITIALIZER; in doRegexLMTestUTF8()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dutexttst.c65 UText utLoc = UTEXT_INITIALIZER; in TestAPI()
68 UText *uta; in TestAPI()
69 UText *utb; in TestAPI()
91 UText *uta; in TestAPI()
92 UText *utb; in TestAPI()
110 UText *uta; in TestAPI()
188 UText *uta; in TestAPI()
210 UText *uta; in TestAPI()
258 UText *uta; in TestAPI()
Dreapits.c94 static UBool equals_utf8_utext(const char *utf8, UText *utext) { in equals_utf8_utext()
115 static void test_assert_utext(const char *expected, UText *actual, const char *file, int line) { in test_assert_utext()
139 static UBool testUTextEqual(UText *uta, UText *utb) { in testUTextEqual()
1406 UText patternText = UTEXT_INITIALIZER; in TestUTextAPI()
1502 UText *resultText; in TestUTextAPI()
1548 UText text1 = UTEXT_INITIALIZER; in TestUTextAPI()
1549 UText text2 = UTEXT_INITIALIZER; in TestUTextAPI()
1595 UText text1 = UTEXT_INITIALIZER; in TestUTextAPI()
1596 UText text2 = UTEXT_INITIALIZER; in TestUTextAPI()
1598 UText *resultText; in TestUTextAPI()
[all …]
/external/icu/icu4c/source/i18n/
Duregex.cpp148 UText patText = UTEXT_INITIALIZER; in uregex_open()
185 uregex_openUText(UText *pattern, in uregex_openUText()
231 UText patText = UTEXT_INITIALIZER; in uregex_openUText()
341 U_CAPI UText * U_EXPORT2
392 UText input = UTEXT_INITIALIZER; in uregex_setText()
406 UText *text, in uregex_setUText()
445 UText *inputText = regexp->fMatcher->inputText(); in uregex_getText()
474 U_CAPI UText * U_EXPORT2
476 UText *dest, in uregex_getUText()
493 UText *text, in uregex_refreshUText()
[all …]
Drepattrn.cpp353 RegexPattern::compile(UText *regex, in compile()
415 RegexPattern::compile(UText *regex, in compile()
440 RegexPattern::compile(UText *regex, in compile()
531 UBool U_EXPORT2 RegexPattern::matches(UText *regex, in matches()
532 UText *input, in matches()
591 UText *RegexPattern::patternText(UErrorCode &status) const { in patternText()
659 int32_t RegexPattern::split(UText *input, in split()
660 UText *dest[], in split()
Drematch.cpp92 UText inputText = UTEXT_INITIALIZER; in RegexMatcher()
101 RegexMatcher::RegexMatcher(UText *regexp, UText *input, in RegexMatcher()
133 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 …]
Dregeximp.h365 CaseFoldingUTextIterator(UText &text);
374 UText &fUText;
Dregexst.h49 UText *fEmptyText; // An empty string, to be used when a matcher
Dfilteredbrk.cpp153 virtual void setText(UText *text, UErrorCode &status) { fDelegate->setText(text,status); } in setText()
154 …virtual BreakIterator &refreshInputText(UText *input, UErrorCode &status) { fDelegate->refreshInpu… in refreshInputText()
159 …virtual UText *getUText(UText *fillIn, UErrorCode &status) const { return fDelegate->getUText(fill… in getUText()
Dregextxt.h36 UText *text;

12