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

1 2

  /external/icu4c/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
364 * When the break iterator is operating on text supplied via a UText,
380 * Get a UText for the text being analyzed.
381 * The returned UText is a shallow clone of the UText used internally
386 * @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"
319 * This function makes a shallow clone of the supplied UText. This means
321 * UText that was passed as a parameter, but that the underlying text itself
328 UText* text,
  /external/icu4c/i18n/unicode/
regex.h 51 #include "unicode/utext.h"
210 * to by this UText must not be deleted during the lifetime of the
219 static RegexPattern * U_EXPORT2 compile( UText *regex,
269 * to by this UText must not be deleted during the lifetime of the
279 static RegexPattern * U_EXPORT2 compile( UText *regex,
328 * to by this UText must not be deleted during the lifetime of the
336 static RegexPattern * U_EXPORT2 compile( UText *regex,
377 * or in a UText, using
378 * <code>utext_openUChars(UText *ut, const UChar *text, int64_t textLength, UErrorCode *status);</code>
435 static UBool U_EXPORT2 matches(UText *regex
    [all...]
uregex.h 26 #include "unicode/utext.h"
146 * The contents of the pattern UText will be extracted and saved. Ownership of the
147 * UText struct itself remains with the caller. This is to match the behavior of
164 uregex_openUText(UText *pattern,
254 * This function will work even if the pattern was originally specified as a UText.
285 U_DRAFT UText * U_EXPORT2
348 UText *text,
358 * This function will work even if the input was originally specified as a UText.
384 * @param dest A mutable UText in which to store the current input.
385 * If NULL, a new UText will be created as an immutable shallow clon
    [all...]
  /external/icu4c/test/intltest/
regextst.h 16 struct UText;
17 typedef struct UText UText;
51 virtual void assertUText(const char *expected, UText *actual, const char *file, int line);
52 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"
45 void TestAccess(const UnicodeString &us, UText *ut, int cpCount, m *cpMap);
46 void TestAccessNoClone(const UnicodeString &us, UText *ut, int cpCount, m *cpMap);
47 void TestCMR (const UnicodeString &us, UText *ut, int cpCount, m *nativeMap, m *utf16Map);
48 void TestCopyMove(const UnicodeString &us, UText *ut, UBool move,
52 UText *ut, // UnicodeText object under test.
53 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);
80 // Top Level function for UText testing.
156 // TestString() Run a suite of UText tests on a string.
165 UText *ut = NULL;
289 // ut UText containing the same test text.
291 // nativeMap Mapping from code points to native indexes for the UText.
294 // This function runs a whole series of opertions on each incoming UText
    [all...]
regextst.cpp 143 static UText* regextst_openUTF8FromInvariant(UText* ut, const char *inv, int64_t length, UErrorCode *status);
151 static void utextToPrintable(char *buf, int32_t bufLen, UText *text) {
227 #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);}
249 void RegexTest::assertUText(const char *expected, UText *actual, const char *file, int line) {
251 UText expectedText = UTEXT_INITIALIZER;
275 void RegexTest::assertUTextInvariant(const char *expected, UText *actual, const char *file, int line) {
277 UText expectedText = UTEXT_INITIALIZER;
317 static UText* regextst_openUTF8FromInvariant(UText *ut, const char *inv, int64_t length, UErrorCode *status)
    [all...]
  /external/icu4c/common/
dictbe.h 13 #include "unicode/utext.h"
82 * @param text A UText representing the text. The
93 virtual int32_t findBreaks( UText *text,
119 * @param text A UText representing the text
125 virtual int32_t divideUpDictionaryRange( UText *text,
176 * @param text A UText representing the text
182 virtual int32_t divideUpDictionaryRange( UText *text,
233 * @param text A UText representing the text
239 virtual int32_t divideUpDictionaryRange( UText *text,
triedict.h 13 #include "unicode/utext.h"
78 * @param text A UText representing the text. The
87 virtual int32_t matches( UText *text,
125 * A UText for internal use
129 UText *fIter;
152 * @param text A UText representing the text. The
160 virtual int32_t matches( UText *text,
200 * @param text A UText representing the text. The
210 virtual int32_t search( UText *text,
283 * @param text A UText representing the text. Th
    [all...]
utext.cpp 8 * file name: utext.cpp
21 #include "unicode/utext.h"
34 utext_access(UText *ut, int64_t index, UBool forward) {
41 utext_moveIndex32(UText *ut, int32_t delta) {
81 utext_nativeLength(UText *ut) {
87 utext_isLengthExpensive(const UText *ut) {
94 utext_getNativeIndex(const UText *ut) {
104 utext_setNativeIndex(UText *ut, int64_t index) {
138 utext_getPreviousNativeIndex(UText *ut) {
177 // 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,
dictbe.cpp 44 DictionaryBreakEngine::findBreaks( UText *text,
122 int candidates( UText *text, const TrieWordDictionary *dict, int32_t rangeEnd );
125 int32_t acceptMarked( UText *text );
129 UBool backUp( UText *text );
148 PossibleWord::candidates( UText *text, const TrieWordDictionary *dict, int32_t rangeEnd ) {
168 PossibleWord::acceptMarked( UText *text ) {
174 PossibleWord::backUp( UText *text ) {
244 ThaiBreakEngine::divideUpDictionaryRange( UText *text,
323 //TODO: This section will need a rework for UText.
331 // in the BMP. This should get fixed with the UText rework
    [all...]
ubrk.cpp 180 UText ut = UTEXT_INITIALIZER;
183 // A stack allocated UText wrapping a UCHar * string
191 UText *text,
  /external/icu4c/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 92 // !!! Not sure how to update this with the new UText backing, which is stored in re->fMatcher anyway
139 // For compiling the pattern, we will use a UText wrapper around
147 UText patText = UTEXT_INITIALIZER;
184 uregex_openUText(UText *pattern,
223 // For compiling the pattern, we will use a read-only UText wrapper
230 UText patText = UTEXT_INITIALIZER;
340 U_CAPI UText * U_EXPORT2
391 UText input = UTEXT_INITIALIZER;
405 UText *text,
444 UText *inputText = regexp->fMatcher->inputText()
    [all...]
repattrn.cpp 321 // compile, UText mode
324 RegexPattern::compile(UText *regex,
383 // compile with default flags, UText mode
386 RegexPattern::compile(UText *regex,
408 // compile with no UParseErr parameter, UText mode
411 RegexPattern::compile(UText *regex,
500 // matches, UText mode
502 UBool U_EXPORT2 RegexPattern::matches(UText *regex,
503 UText *input,
562 UText *RegexPattern::patternText(UErrorCode &status) const
    [all...]
rematch.cpp 103 UText inputText = UTEXT_INITIALIZER;
112 RegexMatcher::RegexMatcher(UText *regexp, UText *input,
144 RegexMatcher::RegexMatcher(UText *regexp,
249 void RegexMatcher::init2(UText *input, UErrorCode &status) {
282 UText replacementText = UTEXT_INITIALIZER;
286 UText resultText = UTEXT_INITIALIZER;
300 // appendReplacement, UText mode
302 RegexMatcher &RegexMatcher::appendReplacement(UText *dest,
303 UText *replacement
    [all...]
regexcmp.h 57 void compile(UText *pat, UParseError &pp, UErrorCode &e);
  /external/icu4c/test/cintltst/
utexttst.c 17 #include "unicode/utext.h"
50 * TestAPI verify that the UText API is accessible from C programs.
64 UText utLoc = UTEXT_INITIALIZER;
67 UText *uta;
68 UText *utb;
90 UText *uta;
91 UText *utb;
109 UText *uta;
185 * UText opened on a NULL string with zero length
187 UText *uta
    [all...]
reapits.c 29 #include "unicode/utext.h"
93 static void test_assert_utext(const char *expected, UText *actual, const char *file, int line) {
95 UText expectedText = UTEXT_INITIALIZER;
    [all...]
  /external/icu4c/test/perf/dicttrieperf/
dicttrieperf.cpp 33 #include "unicode/utext.h"
367 UText text=UTEXT_INITIALIZER;
398 UText *text, int32_t textLimit,
425 // Note: Why do we have both a text limit and a UText that knows its length?
441 // Note: CompactTrieDictionary::matches() comments say that it leaves the UText
491 UText text=UTEXT_INITIALIZER;
597 UText *text, int32_t textLimit,
640 UText text=UTEXT_INITIALIZER;

Completed in 247 milliseconds

1 2