Home
last modified time | relevance | path

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

12

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIAPITest.java21 import android.icu.text.RuleBasedBreakIterator;
40RuleBasedBreakIterator bi1 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestCloneEquals()
41RuleBasedBreakIterator biequal = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Local… in TestCloneEquals()
42RuleBasedBreakIterator bi3 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestCloneEquals()
43RuleBasedBreakIterator bi2 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.getDefa… in TestCloneEquals()
58 RuleBasedBreakIterator bi1clone = (RuleBasedBreakIterator) bi1.clone(); in TestCloneEquals()
59 RuleBasedBreakIterator bi2clone = (RuleBasedBreakIterator) bi2.clone(); in TestCloneEquals()
82RuleBasedBreakIterator bi1 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestToString()
83RuleBasedBreakIterator bi2 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.getDefa… in TestToString()
86 RuleBasedBreakIterator bi3 = (RuleBasedBreakIterator) bi1.clone(); in TestToString()
[all …]
DRBBITest.java24 import android.icu.text.RuleBasedBreakIterator;
48 RuleBasedBreakIterator rbbi = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(); in TestDefaultRuleBasedCharacterIteration()
54 RuleBasedBreakIterator charIterDefault = null; in TestDefaultRuleBasedCharacterIteration()
56 charIterDefault = new RuleBasedBreakIterator(defaultRules); in TestDefaultRuleBasedCharacterIteration()
131 RuleBasedBreakIterator rbbi = (RuleBasedBreakIterator) BreakIterator.getWordInstance(); in TestDefaultRuleBasedWordIteration()
135 RuleBasedBreakIterator wordIterDefault = null; in TestDefaultRuleBasedWordIteration()
137 wordIterDefault = new RuleBasedBreakIterator(defaultRules); in TestDefaultRuleBasedWordIteration()
184 RuleBasedBreakIterator rbbi = (RuleBasedBreakIterator) BreakIterator.getSentenceInstance(); in TestDefaultRuleBasedSentenceIteration()
188 RuleBasedBreakIterator sentIterDefault = null; in TestDefaultRuleBasedSentenceIteration()
190 sentIterDefault = new RuleBasedBreakIterator(defaultRules); in TestDefaultRuleBasedSentenceIteration()
[all …]
DSimpleBITest.java14 import android.icu.text.RuleBasedBreakIterator;
167 iter = new RuleBasedBreakIterator(rules); in createTestIterator()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIAPITest.java20 import com.ibm.icu.text.RuleBasedBreakIterator;
36RuleBasedBreakIterator bi1 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestCloneEquals()
37RuleBasedBreakIterator biequal = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Local… in TestCloneEquals()
38RuleBasedBreakIterator bi3 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestCloneEquals()
39RuleBasedBreakIterator bi2 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.getDefa… in TestCloneEquals()
54 RuleBasedBreakIterator bi1clone = (RuleBasedBreakIterator) bi1.clone(); in TestCloneEquals()
55 RuleBasedBreakIterator bi2clone = (RuleBasedBreakIterator) bi2.clone(); in TestCloneEquals()
78RuleBasedBreakIterator bi1 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestToString()
79RuleBasedBreakIterator bi2 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.getDefa… in TestToString()
82 RuleBasedBreakIterator bi3 = (RuleBasedBreakIterator) bi1.clone(); in TestToString()
[all …]
DRBBITest.java23 import com.ibm.icu.text.RuleBasedBreakIterator;
44 RuleBasedBreakIterator rbbi = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(); in TestDefaultRuleBasedCharacterIteration()
50 RuleBasedBreakIterator charIterDefault = null; in TestDefaultRuleBasedCharacterIteration()
52 charIterDefault = new RuleBasedBreakIterator(defaultRules); in TestDefaultRuleBasedCharacterIteration()
127 RuleBasedBreakIterator rbbi = (RuleBasedBreakIterator) BreakIterator.getWordInstance(); in TestDefaultRuleBasedWordIteration()
131 RuleBasedBreakIterator wordIterDefault = null; in TestDefaultRuleBasedWordIteration()
133 wordIterDefault = new RuleBasedBreakIterator(defaultRules); in TestDefaultRuleBasedWordIteration()
180 RuleBasedBreakIterator rbbi = (RuleBasedBreakIterator) BreakIterator.getSentenceInstance(); in TestDefaultRuleBasedSentenceIteration()
184 RuleBasedBreakIterator sentIterDefault = null; in TestDefaultRuleBasedSentenceIteration()
186 sentIterDefault = new RuleBasedBreakIterator(defaultRules); in TestDefaultRuleBasedSentenceIteration()
[all …]
DSimpleBITest.java13 import com.ibm.icu.text.RuleBasedBreakIterator;
163 iter = new RuleBasedBreakIterator(rules); in createTestIterator()
/external/icu/icu4c/source/common/
Drbbi.cpp53 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(RuleBasedBreakIterator) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument
64 RuleBasedBreakIterator::RuleBasedBreakIterator(RBBIDataHeader* data, UErrorCode &status) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
78 RuleBasedBreakIterator::RuleBasedBreakIterator(const RBBIDataHeader* data, enum EDontAdopt, UErrorC… in RuleBasedBreakIterator() function in RuleBasedBreakIterator
94 RuleBasedBreakIterator::RuleBasedBreakIterator(const uint8_t *compiledRules, in RuleBasedBreakIterator() function in RuleBasedBreakIterator
125 RuleBasedBreakIterator::RuleBasedBreakIterator(UDataMemory* udm, UErrorCode &status) in RuleBasedBreakIterator() function in RuleBasedBreakIterator
143 RuleBasedBreakIterator::RuleBasedBreakIterator( const UnicodeString &rules, in RuleBasedBreakIterator() function in RuleBasedBreakIterator
149 RuleBasedBreakIterator *bi = (RuleBasedBreakIterator *) in RuleBasedBreakIterator()
168 RuleBasedBreakIterator::RuleBasedBreakIterator() { in RuleBasedBreakIterator() function in RuleBasedBreakIterator
179 RuleBasedBreakIterator::RuleBasedBreakIterator(const RuleBasedBreakIterator& other) in RuleBasedBreakIterator() function in RuleBasedBreakIterator
190 RuleBasedBreakIterator::~RuleBasedBreakIterator() { in ~RuleBasedBreakIterator()
[all …]
Drbbirb.cpp305 RuleBasedBreakIterator *This = new RuleBasedBreakIterator(data, status); in createRuleBasedBreakIterator()
Dbrkiter.cpp64 RuleBasedBreakIterator *result = NULL; in buildInstance()
115 result = new RuleBasedBreakIterator(file, status); in buildInstance()
/external/icu/icu4c/source/test/intltest/
Drbbiapts.cpp45RuleBasedBreakIterator* bi1 = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacter… in TestCloneEquals()
46RuleBasedBreakIterator* biequal = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacter… in TestCloneEquals()
47RuleBasedBreakIterator* bi3 = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacter… in TestCloneEquals()
48RuleBasedBreakIterator* bi2 = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createWordInsta… in TestCloneEquals()
83RuleBasedBreakIterator *bix = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::… in TestCloneEquals()
89 RuleBasedBreakIterator biDefault, biDefault2; in TestCloneEquals()
127 RuleBasedBreakIterator* bi1clone=(RuleBasedBreakIterator*)bi1->clone(); in TestCloneEquals()
128 RuleBasedBreakIterator* bi2clone=(RuleBasedBreakIterator*)bi2->clone(); in TestCloneEquals()
184RuleBasedBreakIterator* bi1=(RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInstan… in TestgetRules()
185RuleBasedBreakIterator* bi2=(RuleBasedBreakIterator*)RuleBasedBreakIterator::createWordInstance(Lo… in TestgetRules()
[all …]
Drbbitst.h92 void generalIteratorTest(RuleBasedBreakIterator& bi, BITestData &td);
96 void testFirstAndNext(RuleBasedBreakIterator& bi, BITestData &td);
100 void testLastAndPrevious(RuleBasedBreakIterator& bi, BITestData &td);
104 void testFollowing(RuleBasedBreakIterator& bi, BITestData &td);
108 void testPreceding(RuleBasedBreakIterator& bi, BITestData &td);
112 void testIsBoundary(RuleBasedBreakIterator& bi, BITestData &td);
117 void doMultipleSelectionTest(RuleBasedBreakIterator& iterator, BITestData &td);
123 void runUnicodeTestData(const char *fileName, RuleBasedBreakIterator *bi);
129 RuleBasedBreakIterator *bi);
Drbbitst.cpp337 BreakIterator *bi = new RuleBasedBreakIterator(rulesString1, parseError, status); in TestStatusReturn()
447 void RBBITest::generalIteratorTest(RuleBasedBreakIterator& bi, BITestData &td) in generalIteratorTest()
467 void RBBITest::testFirstAndNext(RuleBasedBreakIterator& bi, BITestData &td) in testFirstAndNext()
478 for (p=bi.first(); p!=RuleBasedBreakIterator::DONE; p=bi.next()) { in testFirstAndNext()
496 void RBBITest::testLastAndPrevious(RuleBasedBreakIterator& bi, BITestData &td) in testLastAndPrevious()
507 for (p=bi.last(); p!=RuleBasedBreakIterator::DONE; p=bi.previous()) { in testLastAndPrevious()
526 void RBBITest::testFollowing(RuleBasedBreakIterator& bi, BITestData &td) in testFollowing()
548 if (p == RuleBasedBreakIterator::DONE) { in testFollowing()
571 void RBBITest::testPreceding(RuleBasedBreakIterator& bi, BITestData &td) { in testPreceding()
590 if (p == RuleBasedBreakIterator::DONE) { in testPreceding()
[all …]
Drbbiapts.h107 class RBBIWithProtectedFunctions: public RuleBasedBreakIterator {
/external/icu/icu4c/source/common/unicode/
Drbbi.h65 class U_COMMON_API RuleBasedBreakIterator /*U_FINAL*/ : public BreakIterator {
196 RuleBasedBreakIterator(RBBIDataHeader* data, UErrorCode &status);
206RuleBasedBreakIterator(const RBBIDataHeader* data, enum EDontAdopt dontAdopt, UErrorCode &status);
222 RuleBasedBreakIterator();
230 RuleBasedBreakIterator(const RuleBasedBreakIterator& that);
240 RuleBasedBreakIterator( const UnicodeString &rules,
267 RuleBasedBreakIterator(const uint8_t *compiledRules,
283 RuleBasedBreakIterator(UDataMemory* image, UErrorCode &status);
289 virtual ~RuleBasedBreakIterator();
298 RuleBasedBreakIterator& operator=(const RuleBasedBreakIterator& that);
[all …]
Ddbbi.h32 typedef RuleBasedBreakIterator DictionaryBasedBreakIterator;
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
DRBBIPerf.java24 RuleBasedBreakIterator bi;
59 … bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getCharacterInstance(); in setup()
61 bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getWordInstance(); in setup()
63 bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getLineInstance(); in setup()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRuleBasedBreakIterator.java38 public class RuleBasedBreakIterator extends BreakIterator { class
46 private RuleBasedBreakIterator() { in RuleBasedBreakIterator() method in RuleBasedBreakIterator
67 …public static RuleBasedBreakIterator getInstanceFromCompiledRules(InputStream is) throws IOExcepti… in getInstanceFromCompiledRules()
68 RuleBasedBreakIterator This = new RuleBasedBreakIterator(); in getInstanceFromCompiledRules()
90 …public static RuleBasedBreakIterator getInstanceFromCompiledRules(ByteBuffer bytes) throws IOExcep… in getInstanceFromCompiledRules()
91 RuleBasedBreakIterator This = new RuleBasedBreakIterator(); in getInstanceFromCompiledRules()
101 public RuleBasedBreakIterator(String rules) { in RuleBasedBreakIterator() method in RuleBasedBreakIterator
130 RuleBasedBreakIterator result = (RuleBasedBreakIterator)super.clone(); in clone()
150 RuleBasedBreakIterator other = (RuleBasedBreakIterator) that; in equals()
DBreakIterator.java871 if (result instanceof RuleBasedBreakIterator) { in getBreakInstance()
872 RuleBasedBreakIterator rbbi = (RuleBasedBreakIterator)result; in getBreakInstance()
DBreakIteratorFactory.java115 RuleBasedBreakIterator iter = null; in createBreakInstance()
145 iter = RuleBasedBreakIterator.getInstanceFromCompiledRules(bytes); in createBreakInstance()
DRBBIDataWrapper.java317 …if (RuleBasedBreakIterator.fDebugEnv!=null && RuleBasedBreakIterator.fDebugEnv.indexOf("data")>=0)… in get()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedBreakIterator.java39 public class RuleBasedBreakIterator extends BreakIterator { class
47 private RuleBasedBreakIterator() { in RuleBasedBreakIterator() method in RuleBasedBreakIterator
67 …public static RuleBasedBreakIterator getInstanceFromCompiledRules(InputStream is) throws IOExcepti… in getInstanceFromCompiledRules()
68 RuleBasedBreakIterator This = new RuleBasedBreakIterator(); in getInstanceFromCompiledRules()
90 …public static RuleBasedBreakIterator getInstanceFromCompiledRules(ByteBuffer bytes) throws IOExcep… in getInstanceFromCompiledRules()
91 RuleBasedBreakIterator This = new RuleBasedBreakIterator(); in getInstanceFromCompiledRules()
100 public RuleBasedBreakIterator(String rules) { in RuleBasedBreakIterator() method in RuleBasedBreakIterator
128 RuleBasedBreakIterator result = (RuleBasedBreakIterator)super.clone(); in clone()
147 RuleBasedBreakIterator other = (RuleBasedBreakIterator) that; in equals()
DBreakIterator.java822 if (result instanceof RuleBasedBreakIterator) { in getBreakInstance()
823 RuleBasedBreakIterator rbbi = (RuleBasedBreakIterator)result; in getBreakInstance()
DBreakIteratorFactory.java116 RuleBasedBreakIterator iter = null; in createBreakInstance()
146 iter = RuleBasedBreakIterator.getInstanceFromCompiledRules(bytes); in createBreakInstance()
/external/icu/icu4c/source/tools/genbrk/
Dgenbrk.cpp292 RuleBasedBreakIterator *bi = new RuleBasedBreakIterator(ruleSourceS, parseError, status); in main()
/external/llvm/test/Transforms/InstCombine/
Dcrash.ll159 %class.RuleBasedBreakIterator = type { i64 ()* }
162 define i32 @_ZN22RuleBasedBreakIterator15checkDictionaryEi(%class.RuleBasedBreakIterator* %this, i3…
185 …%tmp4 = getelementptr inbounds %class.RuleBasedBreakIterator, %class.RuleBasedBreakIterator* %this…

12