Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dbrkeng.cpp72 UnhandledEngine::handles(UChar32 c, int32_t breakType) const { in handles()
73 return (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0])) in handles()
74 && fHandled[breakType] != 0 && fHandled[breakType]->contains(c)); in handles()
82 int32_t breakType, in findBreaks() argument
84 if (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0]))) { in findBreaks()
87 … while((int32_t)utext_getNativeIndex(text) > startPos && fHandled[breakType]->contains(c)) { in findBreaks()
92 … while((int32_t)utext_getNativeIndex(text) < endPos && fHandled[breakType]->contains(c)) { in findBreaks()
102 UnhandledEngine::handleCharacter(UChar32 c, int32_t breakType) { in handleCharacter() argument
103 if (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0]))) { in handleCharacter()
104 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/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/v8/test/intl/break-iterator/
Den-break.js43 types.push(iterator.breakType());
Dzh-break.js44 types.push(iterator.breakType());
/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.cpp3993 UnicodeString breakType = "all"; in TestMonkey() local
4008 breakType = m.group(1, status); in TestMonkey()
4034 if (breakType == "char" || breakType == "all") { in TestMonkey()
4039 if (breakType == "all" && useUText==FALSE) { in TestMonkey()
4050 if (breakType == "word" || breakType == "all") { in TestMonkey()
4063 if (breakType == "line" || breakType == "all") { in TestMonkey()
4079 if (breakType == "sent" || breakType == "all" ) { in TestMonkey()
Dssearch.cpp1415 UnicodeString breakType = m.group(1, status); in monkeyTest() local
1418 if (breakType == strengthNames[s]) { in monkeyTest()
/external/v8/src/
Di18n.js1875 function breakType(iterator) { function
1884 addBoundMethod(Intl.v8BreakIterator, 'breakType', breakType, 0);
/external/chromium-trace/trace-viewer/tracing/test_data/
Dv8.log1293 code-creation,Function,0,0x4242ba00,228,"breakType v8/i18n:752",0x2343be64,