/external/icu/icu4c/source/common/unicode/ |
utext.h | 10 * file name: utext.h 32 * 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 [all...] |
rbbi.h | 58 * 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 will b [all...] |
brkiter.h | 52 #include "unicode/utext.h" 155 * 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 [all...] |
ubrk.h | 15 #include "unicode/utext.h" 385 * 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/ |
regex.h | 53 #include "unicode/utext.h" 196 * 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 [all...] |
uregex.h | 28 #include "unicode/utext.h" 147 * 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 clon [all...] |
/external/icu/icu4c/source/test/intltest/ |
regextst.h | 18 struct UText; 19 typedef struct UText 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);
|
utxttest.h | 9 * Tests for the UText and UTextIterator text abstraction classses 19 #include "unicode/utext.h" 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.
|
utxttest.cpp | 9 * Tests for the UText and UTextIterator text abstraction classses 17 #include "unicode/utext.h" 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 [all...] |
/external/icu/icu4c/source/common/ |
dictbe.h | 15 #include "unicode/utext.h" 86 * @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 [all...] |
dictionarydata.h | 21 #include "unicode/utext.h" 75 * 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,
|
utext.cpp | 10 * file name: utext.cpp 23 #include "unicode/utext.h" 39 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 [all...] |
brkeng.h | 15 #include "unicode/utext.h" 66 * @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,
|
ustr_titlecase_brkiter.cpp | 30 #include "unicode/utext.h" 52 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) {
|
ucasemap_titlecase_brkiter.cpp | 41 UText utext = UTEXT_INITIALIZER; local 42 utext_openUTF8(&utext, src.data(), src.length(), &errorCode); 46 utext_close(&utext); 49 iter->setText(&utext, errorCode); 54 utext_close(&utext); 65 UText utext=UTEXT_INITIALIZER; local 66 utext_openUTF8(&utext, src, srcLength, &errorCode); 70 utext_close(&utext); 109 UText utext=UTEXT_INITIALIZER; local [all...] |
ubrk.cpp | 191 UText ut = UTEXT_INITIALIZER; 194 // A stack allocated UText wrapping a UChar * string 202 UText *text, 315 UText *text,
|
/external/icu/icu4c/source/i18n/ |
regexst.h | 24 #include "unicode/utext.h" 51 UText *fEmptyText; // An empty string, to be used when a matcher
|
regextxt.h | 11 // This file contains utility code for supporting UText in the regular expression engine. 21 #include "unicode/utext.h" 38 UText *text;
|
uregex.cpp | 95 // !!! 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 *inputText = regexp->fMatcher->inputText() [all...] |
regeximp.h | 20 #include "unicode/utext.h" 360 // 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.
|
repattrn.cpp | 354 // 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 *RegexPattern::patternText(UErrorCode &status) const [all...] |
regeximp.cpp | 21 CaseFoldingUTextIterator::CaseFoldingUTextIterator(UText &text) : 32 // Start handling the next char from the input UText. 79 // Start handling the next char from the input UText.
|
rematch.cpp | 96 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 *replacement [all...] |
/external/icu/icu4c/source/test/cintltst/ |
utexttst.c | 19 #include "unicode/utext.h" 52 * 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 [all...] |
/frameworks/minikin/libs/minikin/ |
WordBreaker.h | 139 UText mUText = UTEXT_INITIALIZER;
|