Searched refs:UText (Results 1 - 25 of 40) sorted by relevance

12

/external/icu/icu4c/source/common/unicode/
H A Dutext.h32 * UTF-16 strings, to be placed in a UText wrapper and then passed to ICU services.
34 * There are three general classes of usage for UText:
38 * the resulting UText to the desired ICU service.
41 * operate on input presented to them as a UText. These implementations
42 * will need to use the iteration and related UText functions to gain
45 * The third class of UText users are "text providers." These are the
46 * UText implementations for the various text storage formats. An application
48 * UText provider functions for that format, which will then allow
54 * Here is sample code for a forward iteration over the contents of a UText
58 * UText *u
153 typedef struct UText UText; /**< C typedef for struct UText. @stable ICU 3.6 */ typedef in typeref:struct:UText
1345 struct UText { struct
[all...]
H A Drbbi.h58 * The UText through which this BreakIterator accesses the text
61 UText *fText;
64 * A character iterator that refers to the same text as the UText, above.
78 * When the input text is provided by a UText, this
326 * When the break iterator is operating on text supplied via a UText,
342 * Get a UText for the text being analyzed.
343 * The returned UText is a shallow clone of the UText used internally
348 * @param fillIn A UText to be filled in. If NULL, a new UText wil
[all...]
H A Dbrkiter.h155 * Get a UText for the text being analyzed.
156 * The returned UText is a shallow clone of the UText used internally
161 * @param fillIn A UText to be filled in. If NULL, a new UText will be
164 * @return The current UText for this break iterator. If an input
165 * UText was provided, it will always be returned.
168 virtual UText *getUText(UText *fillIn, UErrorCode &status) const = 0;
185 * the UText
[all...]
H A Dubrk.h385 * native indices from the UText. For example, when breaking UTF-8
391 * This function makes a shallow clone of the supplied UText. This means
393 * UText that was passed as a parameter, but that the underlying text itself
400 UText* text,
575 * ICU that the string has been relocated, and providing a new UText to access the
595 UText *text,
/external/icu/icu4c/source/i18n/unicode/
H A Dregex.h196 * to by this UText must not be deleted during the lifetime of the
205 static RegexPattern * U_EXPORT2 compile( UText *regex,
254 * to by this UText must not be deleted during the lifetime of the
264 static RegexPattern * U_EXPORT2 compile( UText *regex,
311 * to by this UText must not be deleted during the lifetime of the
319 static RegexPattern * U_EXPORT2 compile( UText *regex,
359 * or in a UText, using
360 * <code>utext_openUChars(UText *ut, const char16_t *text, int64_t textLength, UErrorCode *status);</code>
415 static UBool U_EXPORT2 matches(UText *regex,
416 UText *inpu
[all...]
H A Duregex.h147 * The contents of the pattern UText will be extracted and saved. Ownership of the
148 * UText struct itself remains with the caller. This is to match the behavior of
165 uregex_openUText(UText *pattern,
255 * This function will work even if the pattern was originally specified as a UText.
286 U_STABLE UText * U_EXPORT2
348 UText *text,
358 * This function will work even if the input was originally specified as a UText.
383 * @param dest A mutable UText in which to store the current input.
384 * If NULL, a new UText will be created as an immutable shallow clone
388 * If a pre-allocated UText wa
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dutxttest.h9 * Tests for the UText and UTextIterator text abstraction classses
50 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.
58 int32_t nativeStart, // Range to be replaced, in UText native units.
H A Dregextst.h18 struct UText;
19 typedef struct UText UText; typedef in typeref:struct:UText
63 virtual void assertUText(const char *expected, UText *actual, const char *file, int line);
64 virtual void assertUTextInvariant(const char *invariant, UText *actual, const char *file, int line);
H A Dutxttest.cpp9 * Tests for the UText and UTextIterator text abstraction classses
30 UText *openFragmentedUnicodeString(UText *ut, UnicodeString *s, UErrorCode *status);
81 // Top Level function for UText testing.
157 // TestString() Run a suite of UText tests on a string.
166 UText *ut = NULL;
290 // ut UText containing the same test text.
292 // nativeMap Mapping from code points to native indexes for the UText.
295 // This function runs a whole series of opertions on each incoming UText.
296 // The UText i
[all...]
/external/icu/icu4c/source/i18n/
H A Dregexst.h51 UText *fEmptyText; // An empty string, to be used when a matcher
H A Dregextxt.h11 // This file contains utility code for supporting UText in the regular expression engine.
38 UText *text;
H A Duregex.cpp95 // !!! Not sure how to update this with the new UText backing, which is stored in re->fMatcher anyway
142 // For compiling the pattern, we will use a UText wrapper around
150 UText patText = UTEXT_INITIALIZER;
187 uregex_openUText(UText *pattern,
226 // For compiling the pattern, we will use a read-only UText wrapper
233 UText patText = UTEXT_INITIALIZER;
343 U_CAPI UText * U_EXPORT2
394 UText input = UTEXT_INITIALIZER;
408 UText *text,
447 UText *inputTex
[all...]
H A Dregeximp.h360 // Case folded UText Iterator helper class.
361 // Wraps a UText, provides a case-folded enumeration over its contents.
367 CaseFoldingUTextIterator(UText &text);
374 // folding of the same code point from the orignal UText.
376 UText &fUText;
398 // folding of the same code point from the orignal UText.
H A Drepattrn.cpp354 // compile, UText mode
357 RegexPattern::compile(UText *regex,
416 // compile with default flags, UText mode
419 RegexPattern::compile(UText *regex,
441 // compile with no UParseErr parameter, UText mode
444 RegexPattern::compile(UText *regex,
533 // matches, UText mode
535 UBool U_EXPORT2 RegexPattern::matches(UText *regex,
536 UText *input,
595 UText *RegexPatter
[all...]
H A Dregeximp.cpp21 CaseFoldingUTextIterator::CaseFoldingUTextIterator(UText &text) :
32 // Start handling the next char from the input UText.
79 // Start handling the next char from the input UText.
H A Drematch.cpp96 UText inputText = UTEXT_INITIALIZER;
105 RegexMatcher::RegexMatcher(UText *regexp, UText *input,
137 RegexMatcher::RegexMatcher(UText *regexp,
238 void RegexMatcher::init2(UText *input, UErrorCode &status) {
280 UText replacementText = UTEXT_INITIALIZER;
284 UText resultText = UTEXT_INITIALIZER;
298 // appendReplacement, UText mode
300 RegexMatcher &RegexMatcher::appendReplacement(UText *dest,
301 UText *replacemen
[all...]
/external/icu/icu4c/source/common/
H A Ddictbe.h86 * @param text A UText representing the text. The iterator is left at
95 virtual int32_t findBreaks( UText *text,
120 * @param text A UText representing the text
126 virtual int32_t divideUpDictionaryRange( UText *text,
177 * @param text A UText representing the text
183 virtual int32_t divideUpDictionaryRange( UText *text,
233 * @param text A UText representing the text
239 virtual int32_t divideUpDictionaryRange( UText *text,
289 * @param text A UText representing the text
295 virtual int32_t divideUpDictionaryRange( UText *tex
[all...]
H A Dutext.cpp39 utext_access(UText *ut, int64_t index, UBool forward) {
46 utext_moveIndex32(UText *ut, int32_t delta) {
86 utext_nativeLength(UText *ut) {
92 utext_isLengthExpensive(const UText *ut) {
99 utext_getNativeIndex(const UText *ut) {
109 utext_setNativeIndex(UText *ut, int64_t index) {
143 utext_getPreviousNativeIndex(UText *ut) {
182 // UText iteration position is always on a code point boundary,
186 utext_current32(UText *ut) {
240 utext_char32At(UText *u
[all...]
H A 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 {
98 void WholeStringBreakIterator::setText(UText *text, UErrorCode &errorCode) {
132 UText * /*input*/, UErrorCode &errorCode) {
H A Ddictionarydata.h75 * at the current position of the UText.
77 * units of the UText.
82 * of the UText. May be NULL.
93 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,
H A Dbrkeng.h66 * @param text A UText representing the text. The
75 virtual int32_t findBreaks( UText *text,
188 * @param text A UText representing the text (TODO: UText). The
197 virtual int32_t findBreaks( UText *text,
H A Ducasemap_titlecase_brkiter.cpp41 UText utext = UTEXT_INITIALIZER;
65 UText utext=UTEXT_INITIALIZER;
109 UText utext=UTEXT_INITIALIZER;
H A Dubrk.cpp191 UText ut = UTEXT_INITIALIZER;
194 // A stack allocated UText wrapping a UChar * string
202 UText *text,
315 UText *text,
H A Ddictbe.cpp46 DictionaryBreakEngine::findBreaks( UText *text,
113 int32_t candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd );
116 int32_t acceptMarked( UText *text );
120 UBool backUp( UText *text );
134 int32_t PossibleWord::candidates( UText *text, DictionaryMatcher *dict, int32_t rangeEnd ) {
154 PossibleWord::acceptMarked( UText *text ) {
161 PossibleWord::backUp( UText *text ) {
226 ThaiBreakEngine::divideUpDictionaryRange( UText *text,
240 int32_t cuWordLength = 0; // Word length in code units (UText native indexing)
293 // Set UText positio
[all...]
/external/icu/icu4c/source/test/cintltst/
H A Dutexttst.c52 * TestAPI verify that the UText API is accessible from C programs.
67 UText utLoc = UTEXT_INITIALIZER;
70 UText *uta;
71 UText *utb;
93 UText *uta;
94 UText *utb;
112 UText *uta;
188 * UText opened on a NULL string with zero length
190 UText *uta;
212 UText *ut
[all...]

Completed in 313 milliseconds

12