HomeSort by relevance Sort by last modified time
    Searched full:utext (Results 1 - 25 of 25) sorted by null

  /external/icu4c/test/intltest/
utxttest.h 7 * Tests for the UText and UTextIterator text abstraction classses
17 #include "unicode/utext.h"
44 void TestAccess(const UnicodeString &us, UText *ut, int cpCount, m *cpMap);
45 void TestAccessNoClone(const UnicodeString &us, UText *ut, int cpCount, m *cpMap);
46 void TestCMR (const UnicodeString &us, UText *ut, int cpCount, m *nativeMap, m *utf16Map);
47 void TestCopyMove(const UnicodeString &us, UText *ut, UBool move,
51 UText *ut, // UnicodeText object under test.
52 int32_t nativeStart, // Range to be replaced, in UText native units.
utxttest.cpp 7 * Tests for the UText and UTextIterator text abstraction classses
16 #include <unicode/utext.h>
26 UText *openFragmentedUnicodeString(UText *ut, UnicodeString *s, UErrorCode *status);
79 // Top Level function for UText testing.
155 // TestString() Run a suite of UText tests on a string.
164 UText *ut = NULL;
288 // ut UText containing the same test text.
290 // nativeMap Mapping from code points to native indexes for the UText.
293 // This function runs a whole series of opertions on each incoming UText
    [all...]
rbbiapts.cpp 23 #include "unicode/utext.h"
295 // (With the change of the break engine to working with UText internally,
307 // UText API
309 // Quick test to see if UText is working at all.
316 UText *ut = utext_openUTF8(NULL, s1, -1, &status);
333 UText *ut2 = utext_openUTF8(NULL, s2, -1, &status);
358 UText *gut2 = utext_openUnicodeString(NULL, &sEmpty, &status);
    [all...]
rbbitst.cpp 26 #include "unicode/utext.h"
    [all...]
  /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...]
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...]
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
334 * When the break iterator is operating on text supplied via a UText,
350 * Get a UText for the text being analyzed.
351 * The returned UText is a shallow clone of the UText used internally
356 * @param fillIn A UText to be filled in. If NULL, a new UText will b
    [all...]
ubrk.h 13 #include "unicode/utext.h"
299 * This function makes a shallow clone of the supplied UText. This means
301 * UText that was passed as a parameter, but that the underlying text itself
308 UText* text,
  /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...]
cbiapts.c 31 #include "unicode/utext.h"
320 UText *ut = NULL;
673 UText *ut = utext_openUTF8(NULL, UTF8Str, -1, &status);
  /external/icu4c/common/
utext.cpp 8 * file name: utext.cpp
21 #include "unicode/utext.h"
33 utext_access(UText *ut, int64_t index, UBool forward) {
40 utext_moveIndex32(UText *ut, int32_t delta) {
80 utext_nativeLength(UText *ut) {
86 utext_isLengthExpensive(const UText *ut) {
93 utext_getNativeIndex(const UText *ut) {
103 utext_setNativeIndex(UText *ut, int64_t index) {
137 utext_getPreviousNativeIndex(UText *ut) {
176 // UText iteration position is always on a code point boundary
    [all...]
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,
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...]
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...]
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,
ubrk.cpp 170 UText ut = UTEXT_INITIALIZER;
173 // A stack allocated UText wrapping a UCHar * string
181 UText *text,
ucasemap.c 25 #include "unicode/utext.h"
274 UText utext=UTEXT_INITIALIZER; local
280 utext_openUTF8(&utext, (const char *)src, srcLength, pErrorCode);
289 ubrk_setUText(csm->iter, &utext, pErrorCode);
291 utext_close(&utext);
401 utext_close(&utext);
Android.mk 91 ustrenum.cpp utext.cpp \
brkeng.cpp 75 UnhandledEngine::findBreaks( UText *text,
Makefile.in 80 utf_impl.o ustring.o ustrcase.o ucasemap.o cstring.o ustrfmt.o ustrtrns.o ustr_wcs.o utext.o \
Makefile.org 79 utf_impl.o ustring.o ustrcase.o ucasemap.o cstring.o ustrfmt.o ustrtrns.o ustr_wcs.o utext.o \
rbbi.cpp 326 void RuleBasedBreakIterator::setText(UText *ut, UErrorCode &status) {
334 // calls getText(). With input from UText, there is no reasonable
358 UText *RuleBasedBreakIterator::getUText(UText *fillIn, UErrorCode &status) const {
359 UText *result = utext_clone(fillIn, fText, FALSE, TRUE, &status);
793 // the underlying implmentation is using UText, which snaps any non-code-point-boundary
804 // TODO: change RBBI behavior for off-boundary indices to match that of UText?
    [all...]
triedict.cpp 110 MutableTrieDictionary::search( UText *text,
218 MutableTrieDictionary::matches( UText *text,
465 CompactTrieDictionary::matches( UText *text,
    [all...]
common.vcproj     [all...]
  /external/icu4c/i18n/
usearch.cpp     [all...]

Completed in 1071 milliseconds