Home
last modified time | relevance | path

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

/external/icu4c/common/
Dbrkeng.cpp69 UnhandledEngine::handles(UChar32 c, int32_t breakType) const { in handles()
70 return (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0])) in handles()
71 && fHandled[breakType] != 0 && fHandled[breakType]->contains(c)); in handles()
79 int32_t breakType, in findBreaks() argument
81 if (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0]))) { in findBreaks()
84 … while((int32_t)utext_getNativeIndex(text) > startPos && fHandled[breakType]->contains(c)) { in findBreaks()
89 … while((int32_t)utext_getNativeIndex(text) < endPos && fHandled[breakType]->contains(c)) { in findBreaks()
99 UnhandledEngine::handleCharacter(UChar32 c, int32_t breakType) { in handleCharacter() argument
100 if (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0]))) { in handleCharacter()
101 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);
274 virtual const LanguageBreakEngine *loadEngineFor(UChar32 c, int32_t breakType);
285 virtual const CompactTrieDictionary *loadDictionaryFor(UScriptCode script, 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
75 if (breakType >= 0 && breakType < 32 && (((uint32_t)1 << breakType) & fTypes)) { in findBreaks()
Ddictbe.h77 virtual UBool handles( UChar32 c, int32_t breakType ) const;
97 int32_t breakType,
Drbbi.cpp1732 getLanguageBreakEngineFromFactory(UChar32 c, int32_t breakType) in getLanguageBreakEngineFromFactory() argument
1768 lbe = factory->getEngineFor(c, breakType); in getLanguageBreakEngineFromFactory()
/external/chromium/third_party/icu/source/common/
Dbrkeng.cpp70 UnhandledEngine::handles(UChar32 c, int32_t breakType) const { in handles()
71 return (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0])) in handles()
72 && fHandled[breakType] != 0 && fHandled[breakType]->contains(c)); in handles()
80 int32_t breakType, in findBreaks() argument
82 if (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0]))) { in findBreaks()
85 … while((int32_t)utext_getNativeIndex(text) > startPos && fHandled[breakType]->contains(c)) { in findBreaks()
90 … while((int32_t)utext_getNativeIndex(text) < endPos && fHandled[breakType]->contains(c)) { in findBreaks()
100 UnhandledEngine::handleCharacter(UChar32 c, int32_t breakType) { in handleCharacter() argument
101 if (breakType >= 0 && breakType < (int32_t)(sizeof(fHandled)/sizeof(fHandled[0]))) { in handleCharacter()
102 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);
274 virtual const LanguageBreakEngine *loadEngineFor(UChar32 c, int32_t breakType);
285 virtual const CompactTrieDictionary *loadDictionaryFor(UScriptCode script, int32_t breakType);
Ddictbe.cpp43 DictionaryBreakEngine::handles(UChar32 c, int32_t breakType) const { in handles()
44 return (breakType >= 0 && breakType < 32 && (((uint32_t)1 << breakType) & fTypes) in handles()
53 int32_t breakType, in findBreaks() argument
80 if (breakType >= 0 && breakType < 32 && (((uint32_t)1 << breakType) & fTypes)) { in findBreaks()
Ddictbe.h77 virtual UBool handles( UChar32 c, int32_t breakType ) const;
97 int32_t breakType,
Drbbi.cpp1734 getLanguageBreakEngineFromFactory(UChar32 c, int32_t breakType) in getLanguageBreakEngineFromFactory() argument
1770 lbe = factory->getEngineFor(c, breakType); in getLanguageBreakEngineFromFactory()
/external/icu4c/test/intltest/
Drbbitst.cpp4311 UnicodeString breakType = "all"; in TestMonkey() local
4326 breakType = m.group(1, status); in TestMonkey()
4352 if (breakType == "char" || breakType == "all") { in TestMonkey()
4357 if (breakType == "all" && useUText==FALSE) { in TestMonkey()
4368 if (breakType == "word" || breakType == "all") { in TestMonkey()
4381 if (breakType == "line" || breakType == "all") { in TestMonkey()
4397 if (breakType == "sent" || breakType == "all" ) { in TestMonkey()
Dssearch.cpp2224 UnicodeString breakType = m.group(1, status); in monkeyTest() local
2227 if (breakType == strengthNames[s]) { in monkeyTest()
2361 UnicodeString breakType = m.group(1, status); in bmMonkeyTest() local
2364 if (breakType == strengthNames[s]) { in bmMonkeyTest()
/external/chromium/third_party/icu/source/test/intltest/
Drbbitst.cpp4622 UnicodeString breakType = "all"; in TestMonkey() local
4637 breakType = m.group(1, status); in TestMonkey()
4663 if (breakType == "char" || breakType == "all") { in TestMonkey()
4668 if (breakType == "all" && useUText==FALSE) { in TestMonkey()
4679 if (breakType == "word" || breakType == "all") { in TestMonkey()
4692 if (breakType == "line" || breakType == "all") { in TestMonkey()
4708 if (breakType == "sent" || breakType == "all" ) { in TestMonkey()
Dssearch.cpp2129 UnicodeString breakType = m.group(1, status); in monkeyTest() local
2132 if (breakType == strengthNames[s]) { in monkeyTest()
2266 UnicodeString breakType = m.group(1, status); in bmMonkeyTest() local
2269 if (breakType == strengthNames[s]) { in bmMonkeyTest()
/external/chromium/third_party/icu/patches/
Dsegmentation.patch.txt389 - * @param breakType The type of text break which the caller wants to determine
398 + * @param breakType The type of text break which the caller wants to determine
402 virtual UBool handles( UChar32 c, int32_t breakType ) const;
414 - * @param breakType The type of break desired, or -1.
428 + * @param breakType The type of break desired, or -1.
436 - int32_t breakType,
441 + int32_t breakType,