Home
last modified time | relevance | path

Searched refs:breakType (Results 1 – 25 of 28) sorted by relevance

12

/external/icu/icu4c/source/common/
Dbrkeng.cpp73 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 …]
Dbrkeng.h58 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);
Ddictbe.h78 virtual UBool handles( UChar32 c, int32_t breakType ) const;
98 int32_t breakType,
Ddictbe.cpp38 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()
Drbbi.cpp1776 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/
DUnhandledBreakEngine.java27 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()
DLanguageBreakEngine.java23 boolean handles(int c, int breakType); in handles() argument
39 boolean reverse, int breakType, DictionaryBreakEngine.DequeI foundBreaks); in findBreaks() argument
DDictionaryBreakEngine.java167 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
DKhmerBreakEngine.java83 public boolean handles(int c, int breakType) { in handles() argument
84 if (breakType == BreakIterator.KIND_WORD || breakType == BreakIterator.KIND_LINE) { in handles()
DBurmeseBreakEngine.java79 public boolean handles(int c, int breakType) { in handles() argument
80 if (breakType == BreakIterator.KIND_WORD || breakType == BreakIterator.KIND_LINE) { in handles()
DLaoBreakEngine.java82 public boolean handles(int c, int breakType) { in handles() argument
83 if (breakType == BreakIterator.KIND_WORD || breakType == BreakIterator.KIND_LINE) { in handles()
DThaiBreakEngine.java94 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/
DUnhandledBreakEngine.java26 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()
DLanguageBreakEngine.java22 boolean handles(int c, int breakType); in handles() argument
38 boolean reverse, int breakType, DictionaryBreakEngine.DequeI foundBreaks); in findBreaks() argument
DDictionaryBreakEngine.java166 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
DLaoBreakEngine.java81 public boolean handles(int c, int breakType) { in handles() argument
82 if (breakType == BreakIterator.KIND_WORD || breakType == BreakIterator.KIND_LINE) { in handles()
DKhmerBreakEngine.java82 public boolean handles(int c, int breakType) { in handles() argument
83 if (breakType == BreakIterator.KIND_WORD || breakType == BreakIterator.KIND_LINE) { in handles()
DBurmeseBreakEngine.java78 public boolean handles(int c, int breakType) { in handles() argument
79 if (breakType == BreakIterator.KIND_WORD || breakType == BreakIterator.KIND_LINE) { in handles()
DThaiBreakEngine.java93 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/
DBreakIteratorPerformanceTest.java122 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/
Dzh-break.js44 types.push(iterator.breakType());
Den-break.js43 types.push(iterator.breakType());
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterCaseTest.java314 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/
DUCharacterCaseTest.java310 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/
Drbbitst.cpp4004 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()

12