HomeSort by relevance Sort by last modified time
    Searched refs:UText (Results 1 - 25 of 38) sorted by null

1 2

  /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 67 * The UText through which this BreakIterator accesses the text
70 UText *fText;
73 * A character iterator that refers to the same text as the UText, above.
87 * When the input text is provided by a UText, this
335 * When the break iterator is operating on text supplied via a UText,
351 * Get a UText for the text being analyzed.
352 * The returned UText is a shallow clone of the UText used internally
357 * @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"
356 * native indices from the UText. For example, when breaking UTF-8
362 * This function makes a shallow clone of the supplied UText. This means
364 * UText that was passed as a parameter, but that the underlying text itself
371 UText* text,
546 * ICU that the string has been relocated, and providing a new UText to access the
566 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 UChar *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;
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);
utxttest.h 9 * Tests for the UText and UTextIterator text abstraction classses
19 #include "unicode/utext.h"
49 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.
57 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"
29 UText *openFragmentedUnicodeString(UText *ut, UnicodeString *s, UErrorCode *status);
88 // Top Level function for UText testing.
164 // TestString() Run a suite of UText tests on a string.
173 UText *ut = NULL;
297 // ut UText containing the same test text.
299 // nativeMap Mapping from code points to native indexes for the UText.
302 // 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"
85 * @param text A UText representing the text. The iterator is left at
96 virtual int32_t findBreaks( UText *text,
122 * @param text A UText representing the text
128 virtual int32_t divideUpDictionaryRange( UText *text,
179 * @param text A UText representing the text
185 virtual int32_t divideUpDictionaryRange( UText *text,
235 * @param text A UText representing the text
241 virtual int32_t divideUpDictionaryRange( UText *text,
291 * @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"
65 * @param text A UText representing the text. The
76 virtual int32_t findBreaks( UText *text,
190 * @param text A UText representing the text (TODO: UText). The
201 virtual int32_t findBreaks( UText *text,
ucasemap_titlecase_brkiter.cpp 50 UText utext=UTEXT_INITIALIZER; local
51 utext_openUTF8(&utext, (const char *)src, srcLength, pErrorCode);
60 ubrk_setUText(csm->iter, &utext, pErrorCode);
65 utext_close(&utext);
ubrk.cpp 169 UText ut = UTEXT_INITIALIZER;
172 // A stack allocated UText wrapping a UChar * string
180 UText *text,
292 UText *text,
dictbe.cpp 46 DictionaryBreakEngine::findBreaks( UText *text,
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 ) {
176 PossibleWord::acceptMarked( UText *text ) {
183 PossibleWord::backUp( UText *text ) {
248 ThaiBreakEngine::divideUpDictionaryRange( UText *text,
262 int32_t cuWordLength = 0; // Word length in code units (UText native indexing)
315 // Set UText position to after the accepted word
    [all...]
  /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;
399 // 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) :
33 // Start handling the next char from the input UText.
81 // 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/include/minikin/
WordBreaker.h 63 UText mUText = UTEXT_INITIALIZER;

Completed in 456 milliseconds

1 2