Home
last modified time | relevance | path

Searched refs:RuleBasedBreakIterator (Results 1 – 25 of 52) sorted by relevance

123

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIAPITest.java32 import android.icu.text.RuleBasedBreakIterator;
47RuleBasedBreakIterator bi1 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestCloneEquals()
48RuleBasedBreakIterator biequal = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Local… in TestCloneEquals()
49RuleBasedBreakIterator bi3 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestCloneEquals()
50RuleBasedBreakIterator bi2 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.getDefa… in TestCloneEquals()
65 RuleBasedBreakIterator bi1clone = (RuleBasedBreakIterator) bi1.clone(); in TestCloneEquals()
66 RuleBasedBreakIterator bi2clone = (RuleBasedBreakIterator) bi2.clone(); in TestCloneEquals()
90RuleBasedBreakIterator bi1 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestToString()
91RuleBasedBreakIterator bi2 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.getDefa… in TestToString()
94 RuleBasedBreakIterator bi3 = (RuleBasedBreakIterator) bi1.clone(); in TestToString()
[all …]
DRBBITest.java32 import android.icu.text.RuleBasedBreakIterator;
115 … if (((RuleBasedBreakIterator)brk).getRuleStatusVec(fillInArray) != 1 || fillInArray[0] != 0) { in TestThaiDictionaryBreakIterator()
225 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestClone()
228 if (((RuleBasedBreakIterator) rbbi.clone()).getText() != null) in TestClone()
241 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestEquals()
242 RuleBasedBreakIterator rbbi1 = new RuleBasedBreakIterator(".;"); in TestEquals()
278 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestFirst()
293 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestLast()
307 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestFollowing()
321 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestPreceding()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIAPITest.java31 import com.ibm.icu.text.RuleBasedBreakIterator;
44RuleBasedBreakIterator bi1 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestCloneEquals()
45RuleBasedBreakIterator biequal = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Local… in TestCloneEquals()
46RuleBasedBreakIterator bi3 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestCloneEquals()
47RuleBasedBreakIterator bi2 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.getDefa… in TestCloneEquals()
62 RuleBasedBreakIterator bi1clone = (RuleBasedBreakIterator) bi1.clone(); in TestCloneEquals()
63 RuleBasedBreakIterator bi2clone = (RuleBasedBreakIterator) bi2.clone(); in TestCloneEquals()
87RuleBasedBreakIterator bi1 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestToString()
88RuleBasedBreakIterator bi2 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.getDefa… in TestToString()
91 RuleBasedBreakIterator bi3 = (RuleBasedBreakIterator) bi1.clone(); in TestToString()
[all …]
DRBBITest.java31 import com.ibm.icu.text.RuleBasedBreakIterator;
112 … if (((RuleBasedBreakIterator)brk).getRuleStatusVec(fillInArray) != 1 || fillInArray[0] != 0) { in TestThaiDictionaryBreakIterator()
222 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestClone()
225 if (((RuleBasedBreakIterator) rbbi.clone()).getText() != null) in TestClone()
238 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestEquals()
239 RuleBasedBreakIterator rbbi1 = new RuleBasedBreakIterator(".;"); in TestEquals()
275 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestFirst()
290 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestLast()
304 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestFollowing()
318 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestPreceding()
[all …]
/external/icu/icu4c/source/common/
Drbbi.cpp54 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(RuleBasedBreakIterator) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
65 RuleBasedBreakIterator::RuleBasedBreakIterator(RBBIDataHeader* data, UErrorCode &status) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
89 RuleBasedBreakIterator::RuleBasedBreakIterator(const uint8_t *compiledRules, in RuleBasedBreakIterator() function in RuleBasedBreakIterator
130 RuleBasedBreakIterator::RuleBasedBreakIterator(UDataMemory* udm, UErrorCode &status) in RuleBasedBreakIterator() function in RuleBasedBreakIterator
157 RuleBasedBreakIterator::RuleBasedBreakIterator( const UnicodeString &rules, in RuleBasedBreakIterator() function in RuleBasedBreakIterator
164 RuleBasedBreakIterator *bi = (RuleBasedBreakIterator *) in RuleBasedBreakIterator()
183 RuleBasedBreakIterator::RuleBasedBreakIterator() in RuleBasedBreakIterator() function in RuleBasedBreakIterator
197 RuleBasedBreakIterator::RuleBasedBreakIterator(const RuleBasedBreakIterator& other) in RuleBasedBreakIterator() function in RuleBasedBreakIterator
210 RuleBasedBreakIterator::~RuleBasedBreakIterator() { in ~RuleBasedBreakIterator()
244 RuleBasedBreakIterator&
[all …]
Drbbi_cache.cpp28 RuleBasedBreakIterator::DictionaryCache::DictionaryCache(RuleBasedBreakIterator *bi, UErrorCode &st… in DictionaryCache()
33 RuleBasedBreakIterator::DictionaryCache::~DictionaryCache() { in ~DictionaryCache()
36 void RuleBasedBreakIterator::DictionaryCache::reset() { in reset()
45 UBool RuleBasedBreakIterator::DictionaryCache::following(int32_t fromPos, int32_t *result, int32_t … in following()
81 UBool RuleBasedBreakIterator::DictionaryCache::preceding(int32_t fromPos, int32_t *result, int32_t … in preceding()
120 void RuleBasedBreakIterator::DictionaryCache::populateDictionary(int32_t startPos, int32_t endPos, in populateDictionary()
207 RuleBasedBreakIterator::BreakCache::BreakCache(RuleBasedBreakIterator *bi, UErrorCode &status) : in BreakCache()
213 RuleBasedBreakIterator::BreakCache::~BreakCache() { in ~BreakCache()
217 void RuleBasedBreakIterator::BreakCache::reset(int32_t pos, int32_t ruleStatus) { in reset()
227 int32_t RuleBasedBreakIterator::BreakCache::current() { in current()
[all …]
Drbbi_cache.h34 class RuleBasedBreakIterator::DictionaryCache: public UMemory {
36 DictionaryCache(RuleBasedBreakIterator *bi, UErrorCode &status);
57 RuleBasedBreakIterator *fBI;
86 class RuleBasedBreakIterator::BreakCache: public UMemory {
88 BreakCache(RuleBasedBreakIterator *bi, UErrorCode &status);
186 RuleBasedBreakIterator *fBI;
Dubrk.cpp135 …LocalPointer<RuleBasedBreakIterator> lpRBBI(new RuleBasedBreakIterator(binaryRules, rulesLength, *… in ubrk_openBinaryRules()
346 RuleBasedBreakIterator* rbbi; in ubrk_getBinaryRules()
347 …if ((rbbi = dynamic_cast<RuleBasedBreakIterator*>(reinterpret_cast<BreakIterator*>(bi))) == NULL) { in ubrk_getBinaryRules()
Drbbirb.cpp267 RuleBasedBreakIterator *This = new RuleBasedBreakIterator(data, status); in createRuleBasedBreakIterator()
/external/icu/libicu/cts_headers/unicode/
Drbbi.h57 class U_COMMON_API RuleBasedBreakIterator /*U_FINAL*/ : public BreakIterator {
164 RuleBasedBreakIterator(RBBIDataHeader* data, UErrorCode &status);
177 RuleBasedBreakIterator();
185 RuleBasedBreakIterator(const RuleBasedBreakIterator& that);
195 RuleBasedBreakIterator( const UnicodeString &rules,
222 RuleBasedBreakIterator(const uint8_t *compiledRules,
238 RuleBasedBreakIterator(UDataMemory* image, UErrorCode &status);
244 virtual ~RuleBasedBreakIterator();
253 RuleBasedBreakIterator& operator=(const RuleBasedBreakIterator& that);
284 virtual RuleBasedBreakIterator* clone() const;
[all …]
Ddbbi.h38 typedef RuleBasedBreakIterator DictionaryBasedBreakIterator;
/external/icu/icu4c/source/common/unicode/
Drbbi.h57 class U_COMMON_API RuleBasedBreakIterator /*U_FINAL*/ : public BreakIterator {
164 RuleBasedBreakIterator(RBBIDataHeader* data, UErrorCode &status);
177 RuleBasedBreakIterator();
185 RuleBasedBreakIterator(const RuleBasedBreakIterator& that);
195 RuleBasedBreakIterator( const UnicodeString &rules,
222 RuleBasedBreakIterator(const uint8_t *compiledRules,
238 RuleBasedBreakIterator(UDataMemory* image, UErrorCode &status);
244 virtual ~RuleBasedBreakIterator();
253 RuleBasedBreakIterator& operator=(const RuleBasedBreakIterator& that);
284 virtual RuleBasedBreakIterator* clone() const;
[all …]
Ddbbi.h38 typedef RuleBasedBreakIterator DictionaryBasedBreakIterator;
/external/icu/icu4c/source/test/intltest/
Drbbiapts.cpp53RuleBasedBreakIterator* bi1 = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacter… in TestCloneEquals()
54RuleBasedBreakIterator* biequal = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacter… in TestCloneEquals()
55RuleBasedBreakIterator* bi3 = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacter… in TestCloneEquals()
56RuleBasedBreakIterator* bi2 = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createWordInsta… in TestCloneEquals()
91RuleBasedBreakIterator *bix = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::… in TestCloneEquals()
97 RuleBasedBreakIterator biDefault, biDefault2; in TestCloneEquals()
135 RuleBasedBreakIterator* bi1clone = bi1->clone(); in TestCloneEquals()
136 RuleBasedBreakIterator* bi2clone = bi2->clone(); in TestCloneEquals()
192 LocalPointer<RuleBasedBreakIterator> bi1( in TestgetRules()
193 …(RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInstance(Locale::getDefault(), sta… in TestgetRules()
[all …]
Drbbitst.h83 void TestReverse(std::unique_ptr<RuleBasedBreakIterator>bi);
118 void runUnicodeTestData(const char *fileName, RuleBasedBreakIterator *bi);
124 RuleBasedBreakIterator *bi);
Drbbitst.cpp884 tp.bi = new RuleBasedBreakIterator(rules, pe, status); in TestExtended()
895 RuleBasedBreakIterator bi(rules, pe, ec); in TestExtended()
1147 RuleBasedBreakIterator bi(rules, parseError, status); in TestDictRules()
1155 if (position == RuleBasedBreakIterator::DONE) { in TestDictRules()
1293 RuleBasedBreakIterator *bi; in TestUnicodeFiles()
1296 …bi = (RuleBasedBreakIterator *)BreakIterator::createCharacterInstance(Locale::getEnglish(), statu… in TestUnicodeFiles()
1303 bi = (RuleBasedBreakIterator *)BreakIterator::createWordInstance(Locale::getEnglish(), status); in TestUnicodeFiles()
1310 …bi = (RuleBasedBreakIterator *)BreakIterator::createSentenceInstance(Locale::getEnglish(), status… in TestUnicodeFiles()
1317 bi = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::getEnglish(), status); in TestUnicodeFiles()
1392 void RBBITest::runUnicodeTestData(const char *fileName, RuleBasedBreakIterator *bi) { in runUnicodeTestData()
[all …]
Drbbimonkeytest.h136 RuleBasedBreakIterator *createICUBreakIterator(UErrorCode &status);
193 LocalPointer<RuleBasedBreakIterator> fBI;
/external/icu/libicu/cts_headers/
Drbbi_cache.h34 class RuleBasedBreakIterator::DictionaryCache: public UMemory {
36 DictionaryCache(RuleBasedBreakIterator *bi, UErrorCode &status);
57 RuleBasedBreakIterator *fBI;
86 class RuleBasedBreakIterator::BreakCache: public UMemory {
88 BreakCache(RuleBasedBreakIterator *bi, UErrorCode &status);
186 RuleBasedBreakIterator *fBI;
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DRBBIPerf.java16 import com.ibm.icu.text.RuleBasedBreakIterator;
28 RuleBasedBreakIterator bi;
63 … bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getCharacterInstance(); in setup()
65 bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getWordInstance(); in setup()
67 bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getLineInstance(); in setup()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java40 public class RuleBasedBreakIterator extends BreakIterator { class
48 private RuleBasedBreakIterator() { in RuleBasedBreakIterator() method in RuleBasedBreakIterator
70 …public static RuleBasedBreakIterator getInstanceFromCompiledRules(InputStream is) throws IOExcepti… in getInstanceFromCompiledRules()
71 RuleBasedBreakIterator This = new RuleBasedBreakIterator(); in getInstanceFromCompiledRules()
94 …public static RuleBasedBreakIterator getInstanceFromCompiledRules(ByteBuffer bytes) throws IOExcep… in getInstanceFromCompiledRules()
95 RuleBasedBreakIterator This = new RuleBasedBreakIterator(); in getInstanceFromCompiledRules()
106 public RuleBasedBreakIterator(String rules) { in RuleBasedBreakIterator() method in RuleBasedBreakIterator
136 RuleBasedBreakIterator result; in clone()
137 result = (RuleBasedBreakIterator)super.clone(); in clone()
165 RuleBasedBreakIterator other = (RuleBasedBreakIterator) that; in equals()
DBreakIteratorFactory.java123 RuleBasedBreakIterator iter = null; in createBreakInstance()
154 iter = RuleBasedBreakIterator.getInstanceFromCompiledRules(bytes); in createBreakInstance()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedBreakIterator.java41 public class RuleBasedBreakIterator extends BreakIterator { class
49 private RuleBasedBreakIterator() { in RuleBasedBreakIterator() method in RuleBasedBreakIterator
70 …public static RuleBasedBreakIterator getInstanceFromCompiledRules(InputStream is) throws IOExcepti… in getInstanceFromCompiledRules()
71 RuleBasedBreakIterator This = new RuleBasedBreakIterator(); in getInstanceFromCompiledRules()
94 …public static RuleBasedBreakIterator getInstanceFromCompiledRules(ByteBuffer bytes) throws IOExcep… in getInstanceFromCompiledRules()
95 RuleBasedBreakIterator This = new RuleBasedBreakIterator(); in getInstanceFromCompiledRules()
105 public RuleBasedBreakIterator(String rules) { in RuleBasedBreakIterator() method in RuleBasedBreakIterator
134 RuleBasedBreakIterator result; in clone()
135 result = (RuleBasedBreakIterator)super.clone(); in clone()
162 RuleBasedBreakIterator other = (RuleBasedBreakIterator) that; in equals()
DBreakIteratorFactory.java124 RuleBasedBreakIterator iter = null; in createBreakInstance()
155 iter = RuleBasedBreakIterator.getInstanceFromCompiledRules(bytes); in createBreakInstance()
/external/icu/icu4c/source/tools/genbrk/
Dgenbrk.cpp294 RuleBasedBreakIterator *bi = new RuleBasedBreakIterator(ruleSourceS, parseError, status); in main()
/external/cldr/tools/java/org/unicode/cldr/util/
DTestUtilities.java39 import com.ibm.icu.text.RuleBasedBreakIterator;
455 RuleBasedBreakIterator b; in testBreakIterator()
457 b = (RuleBasedBreakIterator) BreakIterator.getWordInstance(); in testBreakIterator()
459 b = (RuleBasedBreakIterator) BreakIterator.getLineInstance(); in testBreakIterator()
461 b = (RuleBasedBreakIterator) BreakIterator.getSentenceInstance(); in testBreakIterator()
463 b = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(); in testBreakIterator()

123