/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | RBBIAPITest.java | 31 import com.ibm.icu.text.RuleBasedBreakIterator; 44 …RuleBasedBreakIterator bi1 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestCloneEquals() 45 …RuleBasedBreakIterator biequal = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Local… in TestCloneEquals() 46 …RuleBasedBreakIterator bi3 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestCloneEquals() 47 …RuleBasedBreakIterator bi2 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.getDefa… in TestCloneEquals() 62 RuleBasedBreakIterator bi1clone = (RuleBasedBreakIterator) bi1.clone(); in TestCloneEquals() 63 RuleBasedBreakIterator bi2clone = (RuleBasedBreakIterator) bi2.clone(); in TestCloneEquals() 87 …RuleBasedBreakIterator bi1 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestToString() 88 …RuleBasedBreakIterator bi2 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.getDefa… in TestToString() 91 RuleBasedBreakIterator bi3 = (RuleBasedBreakIterator) bi1.clone(); in TestToString() [all …]
|
D | RBBITest.java | 31 import com.ibm.icu.text.RuleBasedBreakIterator; 110 … if (((RuleBasedBreakIterator)brk).getRuleStatusVec(fillInArray) != 1 || fillInArray[0] != 0) { in TestThaiDictionaryBreakIterator() 220 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestClone() 223 if (((RuleBasedBreakIterator) rbbi.clone()).getText() != null) in TestClone() 236 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestEquals() 237 RuleBasedBreakIterator rbbi1 = new RuleBasedBreakIterator(".;"); in TestEquals() 273 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestFirst() 288 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestLast() 302 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestFollowing() 316 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestPreceding() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBIAPITest.java | 32 import android.icu.text.RuleBasedBreakIterator; 47 …RuleBasedBreakIterator bi1 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestCloneEquals() 48 …RuleBasedBreakIterator biequal = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Local… in TestCloneEquals() 49 …RuleBasedBreakIterator bi3 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestCloneEquals() 50 …RuleBasedBreakIterator bi2 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.getDefa… in TestCloneEquals() 65 RuleBasedBreakIterator bi1clone = (RuleBasedBreakIterator) bi1.clone(); in TestCloneEquals() 66 RuleBasedBreakIterator bi2clone = (RuleBasedBreakIterator) bi2.clone(); in TestCloneEquals() 90 …RuleBasedBreakIterator bi1 = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(Locale.ge… in TestToString() 91 …RuleBasedBreakIterator bi2 = (RuleBasedBreakIterator) BreakIterator.getWordInstance(Locale.getDefa… in TestToString() 94 RuleBasedBreakIterator bi3 = (RuleBasedBreakIterator) bi1.clone(); in TestToString() [all …]
|
D | RBBITest.java | 32 import android.icu.text.RuleBasedBreakIterator; 113 … if (((RuleBasedBreakIterator)brk).getRuleStatusVec(fillInArray) != 1 || fillInArray[0] != 0) { in TestThaiDictionaryBreakIterator() 223 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestClone() 226 if (((RuleBasedBreakIterator) rbbi.clone()).getText() != null) in TestClone() 239 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestEquals() 240 RuleBasedBreakIterator rbbi1 = new RuleBasedBreakIterator(".;"); in TestEquals() 276 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestFirst() 291 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestLast() 305 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestFollowing() 319 RuleBasedBreakIterator rbbi = new RuleBasedBreakIterator(".;"); in TestPreceding() [all …]
|
/external/icu/icu4c/source/common/ |
D | rbbi.cpp | 58 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(RuleBasedBreakIterator) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument 69 RuleBasedBreakIterator::RuleBasedBreakIterator(RBBIDataHeader* data, UErrorCode &status) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 85 RuleBasedBreakIterator::RuleBasedBreakIterator(const uint8_t *compiledRules, in RuleBasedBreakIterator() function in RuleBasedBreakIterator 118 RuleBasedBreakIterator::RuleBasedBreakIterator(UDataMemory* udm, UErrorCode &status) in RuleBasedBreakIterator() function in RuleBasedBreakIterator 137 RuleBasedBreakIterator::RuleBasedBreakIterator( const UnicodeString &rules, in RuleBasedBreakIterator() function in RuleBasedBreakIterator 144 RuleBasedBreakIterator *bi = (RuleBasedBreakIterator *) in RuleBasedBreakIterator() 163 RuleBasedBreakIterator::RuleBasedBreakIterator() in RuleBasedBreakIterator() function in RuleBasedBreakIterator 177 RuleBasedBreakIterator::RuleBasedBreakIterator(const RuleBasedBreakIterator& other) in RuleBasedBreakIterator() function in RuleBasedBreakIterator 190 RuleBasedBreakIterator::~RuleBasedBreakIterator() { in ~RuleBasedBreakIterator() 220 RuleBasedBreakIterator& [all …]
|
D | rbbi_cache.cpp | 28 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() 83 UBool RuleBasedBreakIterator::DictionaryCache::preceding(int32_t fromPos, int32_t *result, int32_t … in preceding() 124 void RuleBasedBreakIterator::DictionaryCache::populateDictionary(int32_t startPos, int32_t endPos, in populateDictionary() 209 RuleBasedBreakIterator::BreakCache::BreakCache(RuleBasedBreakIterator *bi, UErrorCode &status) : in BreakCache() 215 RuleBasedBreakIterator::BreakCache::~BreakCache() { in ~BreakCache() 219 void RuleBasedBreakIterator::BreakCache::reset(int32_t pos, int32_t ruleStatus) { in reset() 229 int32_t RuleBasedBreakIterator::BreakCache::current() { in current() [all …]
|
D | rbbi_cache.h | 34 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;
|
D | ubrk.cpp | 135 …LocalPointer<RuleBasedBreakIterator> lpRBBI(new RuleBasedBreakIterator(binaryRules, rulesLength, *… in ubrk_openBinaryRules() 334 RuleBasedBreakIterator* rbbi; in ubrk_getBinaryRules() 335 …if ((rbbi = dynamic_cast<RuleBasedBreakIterator*>(reinterpret_cast<BreakIterator*>(bi))) == NULL) { in ubrk_getBinaryRules()
|
D | rbbirb.cpp | 241 RuleBasedBreakIterator *This = new RuleBasedBreakIterator(data, status); in createRuleBasedBreakIterator()
|
/external/icu/icu4c/source/test/intltest/ |
D | rbbiapts.cpp | 47 …RuleBasedBreakIterator* bi1 = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacter… in TestCloneEquals() 48 …RuleBasedBreakIterator* biequal = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacter… in TestCloneEquals() 49 …RuleBasedBreakIterator* bi3 = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacter… in TestCloneEquals() 50 …RuleBasedBreakIterator* bi2 = (RuleBasedBreakIterator*)RuleBasedBreakIterator::createWordInsta… in TestCloneEquals() 85 …RuleBasedBreakIterator *bix = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::… in TestCloneEquals() 91 RuleBasedBreakIterator biDefault, biDefault2; in TestCloneEquals() 129 RuleBasedBreakIterator* bi1clone = dynamic_cast<RuleBasedBreakIterator *>(bi1->clone()); in TestCloneEquals() 130 RuleBasedBreakIterator* bi2clone = dynamic_cast<RuleBasedBreakIterator *>(bi2->clone()); in TestCloneEquals() 186 LocalPointer<RuleBasedBreakIterator> bi1( in TestgetRules() 187 …(RuleBasedBreakIterator*)RuleBasedBreakIterator::createCharacterInstance(Locale::getDefault(), sta… in TestgetRules() [all …]
|
D | rbbitst.h | 83 void TestReverse(std::unique_ptr<RuleBasedBreakIterator>bi); 99 void runUnicodeTestData(const char *fileName, RuleBasedBreakIterator *bi); 105 RuleBasedBreakIterator *bi);
|
D | rbbitst.cpp | 851 tp.bi = new RuleBasedBreakIterator(rules, pe, status); in TestExtended() 862 RuleBasedBreakIterator bi(rules, pe, ec); in TestExtended() 1106 RuleBasedBreakIterator bi(rules, parseError, status); in TestDictRules() 1114 if (position == RuleBasedBreakIterator::DONE) { in TestDictRules() 1252 RuleBasedBreakIterator *bi; in TestUnicodeFiles() 1255 …bi = (RuleBasedBreakIterator *)BreakIterator::createCharacterInstance(Locale::getEnglish(), statu… in TestUnicodeFiles() 1262 bi = (RuleBasedBreakIterator *)BreakIterator::createWordInstance(Locale::getEnglish(), status); in TestUnicodeFiles() 1269 …bi = (RuleBasedBreakIterator *)BreakIterator::createSentenceInstance(Locale::getEnglish(), status… in TestUnicodeFiles() 1276 bi = (RuleBasedBreakIterator *)BreakIterator::createLineInstance(Locale::getEnglish(), status); in TestUnicodeFiles() 1331 void RBBITest::runUnicodeTestData(const char *fileName, RuleBasedBreakIterator *bi) { in runUnicodeTestData() [all …]
|
D | rbbimonkeytest.h | 136 RuleBasedBreakIterator *createICUBreakIterator(UErrorCode &status); 193 LocalPointer<RuleBasedBreakIterator> fBI;
|
D | rbbimonkeytest.cpp | 257 RuleBasedBreakIterator *BreakRules::createICUBreakIterator(UErrorCode &status) { in createICUBreakIterator() 261 RuleBasedBreakIterator *bi = NULL; in createICUBreakIterator() 264 …bi = dynamic_cast<RuleBasedBreakIterator *>(BreakIterator::createCharacterInstance(fLocale, status… in createICUBreakIterator() 267 … bi = dynamic_cast<RuleBasedBreakIterator *>(BreakIterator::createWordInstance(fLocale, status)); in createICUBreakIterator() 270 … bi = dynamic_cast<RuleBasedBreakIterator *>(BreakIterator::createLineInstance(fLocale, status)); in createICUBreakIterator() 273 …bi = dynamic_cast<RuleBasedBreakIterator *>(BreakIterator::createSentenceInstance(fLocale, status)… in createICUBreakIterator()
|
/external/icu/icu4c/source/common/unicode/ |
D | rbbi.h | 53 class U_COMMON_API RuleBasedBreakIterator /*U_FINAL*/ : public BreakIterator { 155 RuleBasedBreakIterator(RBBIDataHeader* data, UErrorCode &status); 168 RuleBasedBreakIterator(); 176 RuleBasedBreakIterator(const RuleBasedBreakIterator& that); 186 RuleBasedBreakIterator( const UnicodeString &rules, 213 RuleBasedBreakIterator(const uint8_t *compiledRules, 229 RuleBasedBreakIterator(UDataMemory* image, UErrorCode &status); 235 virtual ~RuleBasedBreakIterator(); 244 RuleBasedBreakIterator& operator=(const RuleBasedBreakIterator& that); 614 virtual RuleBasedBreakIterator &refreshInputText(UText *input, UErrorCode &status); [all …]
|
D | dbbi.h | 34 typedef RuleBasedBreakIterator DictionaryBasedBreakIterator;
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | RBBIPerf.java | 26 RuleBasedBreakIterator bi; 61 … bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getCharacterInstance(); in setup() 63 bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getWordInstance(); in setup() 65 bi = (RuleBasedBreakIterator)com.ibm.icu.text.BreakIterator.getLineInstance(); in setup()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | RuleBasedBreakIterator.java | 41 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() 93 …public static RuleBasedBreakIterator getInstanceFromCompiledRules(ByteBuffer bytes) throws IOExcep… in getInstanceFromCompiledRules() 94 RuleBasedBreakIterator This = new RuleBasedBreakIterator(); in getInstanceFromCompiledRules() 103 public RuleBasedBreakIterator(String rules) { in RuleBasedBreakIterator() method in RuleBasedBreakIterator 131 RuleBasedBreakIterator result; in clone() 132 result = (RuleBasedBreakIterator)super.clone(); in clone() 159 RuleBasedBreakIterator other = (RuleBasedBreakIterator) that; in equals()
|
D | BreakIteratorFactory.java | 124 RuleBasedBreakIterator iter = null; in createBreakInstance() 155 iter = RuleBasedBreakIterator.getInstanceFromCompiledRules(bytes); in createBreakInstance()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | RuleBasedBreakIterator.java | 40 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() 93 …public static RuleBasedBreakIterator getInstanceFromCompiledRules(ByteBuffer bytes) throws IOExcep… in getInstanceFromCompiledRules() 94 RuleBasedBreakIterator This = new RuleBasedBreakIterator(); in getInstanceFromCompiledRules() 104 public RuleBasedBreakIterator(String rules) { in RuleBasedBreakIterator() method in RuleBasedBreakIterator 133 RuleBasedBreakIterator result; in clone() 134 result = (RuleBasedBreakIterator)super.clone(); in clone() 162 RuleBasedBreakIterator other = (RuleBasedBreakIterator) that; in equals()
|
D | BreakIteratorFactory.java | 123 RuleBasedBreakIterator iter = null; in createBreakInstance() 154 iter = RuleBasedBreakIterator.getInstanceFromCompiledRules(bytes); in createBreakInstance()
|
/external/icu/icu4c/source/tools/genbrk/ |
D | genbrk.cpp | 294 RuleBasedBreakIterator *bi = new RuleBasedBreakIterator(ruleSourceS, parseError, status); in main()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | RBBIDataWrapper.java | 18 import com.ibm.icu.text.RuleBasedBreakIterator; 365 …if (RuleBasedBreakIterator.fDebugEnv!=null && RuleBasedBreakIterator.fDebugEnv.indexOf("data")>=0)… in get()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | RBBIDataWrapper.java | 19 import android.icu.text.RuleBasedBreakIterator; 369 …if (RuleBasedBreakIterator.fDebugEnv!=null && RuleBasedBreakIterator.fDebugEnv.indexOf("data")>=0)… in get()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | TestUtilities.java | 39 import com.ibm.icu.text.RuleBasedBreakIterator; 450 RuleBasedBreakIterator b; in testBreakIterator() 452 b = (RuleBasedBreakIterator) BreakIterator.getWordInstance(); in testBreakIterator() 454 b = (RuleBasedBreakIterator) BreakIterator.getLineInstance(); in testBreakIterator() 456 b = (RuleBasedBreakIterator) BreakIterator.getSentenceInstance(); in testBreakIterator() 458 b = (RuleBasedBreakIterator) BreakIterator.getCharacterInstance(); in testBreakIterator()
|