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 8 * file name: utext.h
30 * UTF-16 strings, to be placed in a UText wrapper and then passed to ICU services.
32 * There are three general classes of usage for UText:
36 * the resulting UText to the desired ICU service.
39 * operate on input presented to them as a UText. These implementations
40 * will need to use the iteration and related UText functions to gain
43 * The third class of UText users are "text providers." These are the
44 * UText implementations for the various text storage formats. An application
46 * UText provider functions for that format, which will then allow
52 * Here is sample code for a forward iteration over the contents of a UText
    [all...]
rbbi.h 69 * The UText through which this BreakIterator accesses the text
72 UText *fText;
75 * A character iterator that refers to the same text as the UText, above.
89 * When the input text is provided by a UText, this
362 * When the break iterator is operating on text supplied via a UText,
378 * Get a UText for the text being analyzed.
379 * The returned UText is a shallow clone of the UText used internally
384 * @param fillIn A UText to be filled in. If NULL, a new UText will b
    [all...]
brkiter.h 50 #include "unicode/utext.h"
153 * Get a UText for the text being analyzed.
154 * The returned UText is a shallow clone of the UText used internally
159 * @param fillIn A UText to be filled in. If NULL, a new UText will be
162 * @return The current UText for this break iterator. If an input
163 * UText was provided, it will always be returned.
166 virtual UText *getUText(UText *fillIn, UErrorCode &status) const = 0
    [all...]
ubrk.h 13 #include "unicode/utext.h"
325 * native indices from the UText. For example, when breaking UTF-8
331 * This function makes a shallow clone of the supplied UText. This means
333 * UText that was passed as a parameter, but that the underlying text itself
340 UText* text,
515 * ICU that the string has been relocated, and providing a new UText to access the
535 UText *text,
  /external/icu/icu4c/source/i18n/unicode/
regex.h 51 #include "unicode/utext.h"
194 * to by this UText must not be deleted during the lifetime of the
203 static RegexPattern * U_EXPORT2 compile( UText *regex,
252 * to by this UText must not be deleted during the lifetime of the
262 static RegexPattern * U_EXPORT2 compile( UText *regex,
309 * to by this UText must not be deleted during the lifetime of the
317 static RegexPattern * U_EXPORT2 compile( UText *regex,
357 * or in a UText, using
358 * <code>utext_openUChars(UText *ut, const UChar *text, int64_t textLength, UErrorCode *status);</code>
413 static UBool U_EXPORT2 matches(UText *regex
    [all...]
uregex.h 26 #include "unicode/utext.h"
145 * The contents of the pattern UText will be extracted and saved. Ownership of the
146 * UText struct itself remains with the caller. This is to match the behavior of
163 uregex_openUText(UText *pattern,
253 * This function will work even if the pattern was originally specified as a UText.
284 U_STABLE UText * U_EXPORT2
346 UText *text,
356 * This function will work even if the input was originally specified as a UText.
381 * @param dest A mutable UText in which to store the current input.
382 * If NULL, a new UText will be created as an immutable shallow clon
    [all...]
  /external/icu/icu4c/source/test/intltest/
regextst.h 16 struct UText;
17 typedef struct UText UText;
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);
utxttest.h 7 * Tests for the UText and UTextIterator text abstraction classses
17 #include "unicode/utext.h"
46 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.
54 int32_t nativeStart, // Range to be replaced, in UText native units.
utxttest.cpp 7 * Tests for the UText and UTextIterator text abstraction classses
15 #include "unicode/utext.h"
25 UText *openFragmentedUnicodeString(UText *ut, UnicodeString *s, UErrorCode *status);
82 // Top Level function for UText testing.
158 // TestString() Run a suite of UText tests on a string.
167 UText *ut = NULL;
291 // ut UText containing the same test text.
293 // nativeMap Mapping from code points to native indexes for the UText.
296 // This function runs a whole series of opertions on each incoming UText
    [all...]
regextst.cpp 172 static UText* regextst_openUTF8FromInvariant(UText* ut, const char *inv, int64_t length, UErrorCode *status);
180 static void utextToPrintable(char *buf, int32_t bufLen, UText *text) {
235 #define REGEX_VERBOSE_TEXT(text) {char buf[200];utextToPrintable(buf,sizeof(buf)/sizeof(buf[0]),text);logln("%s:%d: UText %s=\"%s\"", __FILE__, __LINE__, #text, buf);}
260 static UBool testUTextEqual(UText *uta, UText *utb) {
279 void RegexTest::assertUText(const char *expected, UText *actual, const char *file, int line) {
281 UText expectedText = UTEXT_INITIALIZER;
305 void RegexTest::assertUTextInvariant(const char *expected, UText *actual, const char *file, int line) {
307 UText expectedText = UTEXT_INITIALIZER
    [all...]
  /external/icu/icu4c/source/common/
dictbe.h 13 #include "unicode/utext.h"
83 * @param text A UText representing the text. The iterator is left at
94 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 19 #include "unicode/utext.h"
73 * at the current position of the UText.
75 * units of the UText.
80 * of the UText. May be NULL.
91 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,
utext.cpp 8 * file name: utext.cpp
21 #include "unicode/utext.h"
37 utext_access(UText *ut, int64_t index, UBool forward) {
44 utext_moveIndex32(UText *ut, int32_t delta) {
84 utext_nativeLength(UText *ut) {
90 utext_isLengthExpensive(const UText *ut) {
97 utext_getNativeIndex(const UText *ut) {
107 utext_setNativeIndex(UText *ut, int64_t index) {
141 utext_getPreviousNativeIndex(UText *ut) {
180 // UText iteration position is always on a code point boundary
    [all...]
brkeng.h 13 #include "unicode/utext.h"
63 * @param text A UText representing the text. The
74 virtual int32_t findBreaks( UText *text,
188 * @param text A UText representing the text (TODO: UText). The
199 virtual int32_t findBreaks( UText *text,
ucasemap_titlecase_brkiter.cpp 48 UText utext=UTEXT_INITIALIZER; local
49 utext_openUTF8(&utext, (const char *)src, srcLength, pErrorCode);
58 ubrk_setUText(csm->iter, &utext, pErrorCode);
63 utext_close(&utext);
ubrk.cpp 168 UText ut = UTEXT_INITIALIZER;
171 // A stack allocated UText wrapping a UChar * string
179 UText *text,
292 UText *text,
dictbe.cpp 44 DictionaryBreakEngine::findBreaks( UText *text,
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 ) {
174 PossibleWord::acceptMarked( UText *text ) {
181 PossibleWord::backUp( UText *text ) {
246 ThaiBreakEngine::divideUpDictionaryRange( UText *text,
260 int32_t cuWordLength = 0; // Word length in code units (UText native indexing)
313 // Set UText position to after the accepted word
    [all...]
  /external/icu/icu4c/source/i18n/
regexst.h 22 #include "unicode/utext.h"
49 UText *fEmptyText; // An empty string, to be used when a matcher
regextxt.h 9 // This file contains utility code for supporting UText in the regular expression engine.
19 #include "unicode/utext.h"
36 UText *text;
uregex.cpp 93 // !!! Not sure how to update this with the new UText backing, which is stored in re->fMatcher anyway
140 // For compiling the pattern, we will use a UText wrapper around
148 UText patText = UTEXT_INITIALIZER;
185 uregex_openUText(UText *pattern,
224 // For compiling the pattern, we will use a read-only UText wrapper
231 UText patText = UTEXT_INITIALIZER;
341 U_CAPI UText * U_EXPORT2
392 UText input = UTEXT_INITIALIZER;
406 UText *text,
445 UText *inputText = regexp->fMatcher->inputText()
    [all...]
regeximp.h 18 #include "unicode/utext.h"
358 // Case folded UText Iterator helper class.
359 // Wraps a UText, provides a case-folded enumeration over its contents.
365 CaseFoldingUTextIterator(UText &text);
372 // folding of the same code point from the orignal UText.
374 UText &fUText;
397 // folding of the same code point from the orignal UText.
repattrn.cpp 350 // compile, UText mode
353 RegexPattern::compile(UText *regex,
412 // compile with default flags, UText mode
415 RegexPattern::compile(UText *regex,
437 // compile with no UParseErr parameter, UText mode
440 RegexPattern::compile(UText *regex,
529 // matches, UText mode
531 UBool U_EXPORT2 RegexPattern::matches(UText *regex,
532 UText *input,
591 UText *RegexPattern::patternText(UErrorCode &status) const
    [all...]
regeximp.cpp 19 CaseFoldingUTextIterator::CaseFoldingUTextIterator(UText &text) :
31 // Start handling the next char from the input UText.
79 // Start handling the next char from the input UText.
rematch.cpp 92 UText inputText = UTEXT_INITIALIZER;
101 RegexMatcher::RegexMatcher(UText *regexp, UText *input,
133 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 17 #include "unicode/utext.h"
50 * TestAPI verify that the UText API is accessible from C programs.
65 UText utLoc = UTEXT_INITIALIZER;
68 UText *uta;
69 UText *utb;
91 UText *uta;
92 UText *utb;
110 UText *uta;
186 * UText opened on a NULL string with zero length
188 UText *uta
    [all...]

Completed in 688 milliseconds

1 2