/external/icu/icu4c/source/common/ |
D | brkeng.cpp | 73 UnhandledEngine::handles(UChar32 c, int32_t breakType) const { in handles() 74 return (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0])) in handles() 75 && fHandled[breakType] != 0 && fHandled[breakType]->contains(c)); in handles() 83 int32_t breakType, in findBreaks() argument 85 if (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0]))) { in findBreaks() 88 … while((int32_t)utext_getNativeIndex(text) > startPos && fHandled[breakType]->contains(c)) { in findBreaks() 93 … while((int32_t)utext_getNativeIndex(text) < endPos && fHandled[breakType]->contains(c)) { in findBreaks() 103 UnhandledEngine::handleCharacter(UChar32 c, int32_t breakType) { in handleCharacter() argument 104 if (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0]))) { in handleCharacter() 105 if (fHandled[breakType] == 0) { in handleCharacter() [all …]
|
D | brkeng.h | 58 virtual UBool handles(UChar32 c, int32_t breakType) const = 0; 78 int32_t breakType, 132 virtual const LanguageBreakEngine *getEngineFor(UChar32 c, int32_t breakType) = 0; 183 virtual UBool handles(UChar32 c, int32_t breakType) const; 203 int32_t breakType, 212 virtual void handleCharacter(UChar32 c, int32_t breakType); 260 virtual const LanguageBreakEngine *getEngineFor(UChar32 c, int32_t breakType); 273 virtual const LanguageBreakEngine *loadEngineFor(UChar32 c, int32_t breakType); 283 virtual DictionaryMatcher *loadDictionaryMatcherFor(UScriptCode script, int32_t breakType);
|
D | dictbe.h | 78 virtual UBool handles( UChar32 c, int32_t breakType ) const; 98 int32_t breakType,
|
D | dictbe.cpp | 38 DictionaryBreakEngine::handles(UChar32 c, int32_t breakType) const { in handles() 39 return (breakType >= 0 && breakType < 32 && (((uint32_t)1 << breakType) & fTypes) in handles() 48 int32_t breakType, in findBreaks() argument 89 if (breakType >= 0 && breakType < 32 && (((uint32_t)1 << breakType) & fTypes)) { in findBreaks()
|
D | rbbi.cpp | 1776 getLanguageBreakEngineFromFactory(UChar32 c, int32_t breakType) in getLanguageBreakEngineFromFactory() argument 1787 lbe = factory->getEngineFor(c, breakType); in getLanguageBreakEngineFromFactory()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | UnhandledBreakEngine.java | 27 public boolean handles(int c, int breakType) { in handles() argument 28 return (breakType >= 0 && breakType < fHandled.length) && in handles() 29 (fHandled[breakType].contains(c)); in handles() 33 boolean reverse, int breakType, DictionaryBreakEngine.DequeI foundBreaks) { in findBreaks() argument 38 public synchronized void handleChar(int c, int breakType) { in handleChar() argument 39 if (breakType >= 0 && breakType < fHandled.length && c != DONE32) { in handleChar() 40 if (!fHandled[breakType].contains(c)) { in handleChar() 42 fHandled[breakType].applyIntPropertyValue(UProperty.SCRIPT, script); in handleChar()
|
D | LanguageBreakEngine.java | 23 boolean handles(int c, int breakType); in handles() argument 39 boolean reverse, int breakType, DictionaryBreakEngine.DequeI foundBreaks); in findBreaks() argument
|
D | DictionaryBreakEngine.java | 167 public boolean handles(int c, int breakType) { in handles() argument 168 return fTypes.get(breakType) && // this type can use us in handles() 173 boolean reverse, int breakType, DequeI foundBreaks) { in findBreaks() argument
|
D | KhmerBreakEngine.java | 83 public boolean handles(int c, int breakType) { in handles() argument 84 if (breakType == BreakIterator.KIND_WORD || breakType == BreakIterator.KIND_LINE) { in handles()
|
D | BurmeseBreakEngine.java | 79 public boolean handles(int c, int breakType) { in handles() argument 80 if (breakType == BreakIterator.KIND_WORD || breakType == BreakIterator.KIND_LINE) { in handles()
|
D | LaoBreakEngine.java | 82 public boolean handles(int c, int breakType) { in handles() argument 83 if (breakType == BreakIterator.KIND_WORD || breakType == BreakIterator.KIND_LINE) { in handles()
|
D | ThaiBreakEngine.java | 94 public boolean handles(int c, int breakType) { in handles() argument 95 if (breakType == BreakIterator.KIND_WORD || breakType == BreakIterator.KIND_LINE) { in handles()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | UnhandledBreakEngine.java | 26 public boolean handles(int c, int breakType) { in handles() argument 27 return (breakType >= 0 && breakType < fHandled.length) && in handles() 28 (fHandled[breakType].contains(c)); in handles() 32 boolean reverse, int breakType, DictionaryBreakEngine.DequeI foundBreaks) { in findBreaks() argument 37 public synchronized void handleChar(int c, int breakType) { in handleChar() argument 38 if (breakType >= 0 && breakType < fHandled.length && c != DONE32) { in handleChar() 39 if (!fHandled[breakType].contains(c)) { in handleChar() 41 fHandled[breakType].applyIntPropertyValue(UProperty.SCRIPT, script); in handleChar()
|
D | LanguageBreakEngine.java | 22 boolean handles(int c, int breakType); in handles() argument 38 boolean reverse, int breakType, DictionaryBreakEngine.DequeI foundBreaks); in findBreaks() argument
|
D | DictionaryBreakEngine.java | 166 public boolean handles(int c, int breakType) { in handles() argument 167 return fTypes.get(breakType) && // this type can use us in handles() 172 boolean reverse, int breakType, DequeI foundBreaks) { in findBreaks() argument
|
D | LaoBreakEngine.java | 81 public boolean handles(int c, int breakType) { in handles() argument 82 if (breakType == BreakIterator.KIND_WORD || breakType == BreakIterator.KIND_LINE) { in handles()
|
D | KhmerBreakEngine.java | 82 public boolean handles(int c, int breakType) { in handles() argument 83 if (breakType == BreakIterator.KIND_WORD || breakType == BreakIterator.KIND_LINE) { in handles()
|
D | BurmeseBreakEngine.java | 78 public boolean handles(int c, int breakType) { in handles() argument 79 if (breakType == BreakIterator.KIND_WORD || breakType == BreakIterator.KIND_LINE) { in handles()
|
D | ThaiBreakEngine.java | 93 public boolean handles(int c, int breakType) { in handles() argument 94 if (breakType == BreakIterator.KIND_WORD || breakType == BreakIterator.KIND_LINE) { in handles()
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | BreakIteratorPerformanceTest.java | 122 final String breakType) { in createTestICU() argument 130 … throw new RuntimeException("ICU4J BreakIterator gave the wrong answer for " + breakType + " " in createTestICU() 133 … throw new RuntimeException("ICU4J BreakIterator gave the wrong number of " + breakType in createTestICU() 143 …eateTestJava(final java.text.BreakIterator jIter, final String[] correct, final String breakType) { 150 … throw new RuntimeException("Java BreakIterator gave the wrong answer for " + breakType + " " 153 … throw new RuntimeException("Java BreakIterator gave the wrong number of " + breakType
|
/external/v8/test/intl/break-iterator/ |
D | zh-break.js | 44 types.push(iterator.breakType());
|
D | en-break.js | 43 types.push(iterator.breakType());
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UCharacterCaseTest.java | 314 int breakType = Integer.parseInt(TITLE_DATA_[i++]); in TestTitle() local 317 breakType >= 0 ? in TestTitle() 318 BreakIterator.getBreakInstance(locale, breakType) : in TestTitle() 319 breakType == -2 ? in TestTitle()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UCharacterCaseTest.java | 310 int breakType = Integer.parseInt(TITLE_DATA_[i++]); in TestTitle() local 313 breakType >= 0 ? in TestTitle() 314 BreakIterator.getBreakInstance(locale, breakType) : in TestTitle() 315 breakType == -2 ? in TestTitle()
|
/external/icu/icu4c/source/test/intltest/ |
D | rbbitst.cpp | 4004 UnicodeString breakType = "all"; in TestMonkey() local 4019 breakType = m.group(1, status); in TestMonkey() 4045 if (breakType == "char" || breakType == "all") { in TestMonkey() 4050 if (breakType == "all" && useUText==FALSE) { in TestMonkey() 4061 if (breakType == "word" || breakType == "all") { in TestMonkey() 4074 if (breakType == "line" || breakType == "all") { in TestMonkey() 4090 if (breakType == "sent" || breakType == "all" ) { in TestMonkey()
|