Home
last modified time | relevance | path

Searched refs:BreakType (Results 1 – 9 of 9) sorted by relevance

/third_party/skia/modules/skunicode/src/
DSkUnicode_icu.cpp69 static UBreakIteratorType convertType(SkUnicode::BreakType type) { in convertType()
71 case SkUnicode::BreakType::kLines: return UBRK_LINE; in convertType()
72 case SkUnicode::BreakType::kGraphemes: return UBRK_CHARACTER; in convertType()
73 case SkUnicode::BreakType::kWords: return UBRK_WORD; in convertType()
223 SkTHashMap<SkUnicode::BreakType, ICUBreakIterator> fBreakCache;
232 ICUBreakIterator makeBreakIterator(SkUnicode::BreakType type) { in makeBreakIterator()
337 … ICUBreakIterator iterator = SkIcuBreakIteratorCache::get().makeBreakIterator(BreakType::kWords); in extractWords()
367 (const char utf8[], int utf8Units, BreakType type, std::function<void(int, int)> setBreak) { in extractPositions()
392 auto status = type == SkUnicode::BreakType::kLines in extractPositions()
399 if (type == SkUnicode::BreakType::kLines) { in extractPositions()
[all …]
/third_party/skia/modules/skunicode/include/
DSkUnicode.h101 enum class BreakType { enum
126 (const char locale[], BreakType breakType) = 0;
127 virtual std::unique_ptr<SkBreakIterator> makeBreakIterator(BreakType type) = 0;
229 …void forEachBreak(const char16_t utf16[], int utf16Units, SkUnicode::BreakType type, Callback&& ca… in forEachBreak()
/third_party/flutter/skia/modules/skparagraph/src/
DRun.h190 enum BreakType { enum
236 void setBreakType(BreakType type) { fBreakType = type; } in setBreakType()
286 BreakType fBreakType;
DParagraphImpl.cpp265 ? Cluster::BreakType::HardLineBreak in markLineBreaks()
266 : Cluster::BreakType::SoftLineBreak); in markLineBreaks()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_exec.h356 enum tgsi_break_type BreakType; member
Dtgsi_exec.c3355 if (mach->BreakType == TGSI_EXEC_BREAK_INSIDE_LOOP) { in exec_break()
3361 assert(mach->BreakType == TGSI_EXEC_BREAK_INSIDE_SWITCH); in exec_break()
3381 mach->BreakStack[mach->BreakStackTop++] = mach->BreakType; in exec_switch()
3382 mach->BreakType = TGSI_EXEC_BREAK_INSIDE_SWITCH; in exec_switch()
3432 mach->BreakType = mach->BreakStack[--mach->BreakStackTop]; in exec_endswitch()
5280 mach->BreakStack[mach->BreakStackTop++] = mach->BreakType; in exec_instruction()
5327 mach->BreakType = mach->BreakStack[mach->BreakStackTop]; in exec_instruction()
5476 mach->BreakStack[mach->BreakStackTop++] = mach->BreakType; in exec_instruction()
5477 mach->BreakType = TGSI_EXEC_BREAK_INSIDE_LOOP; in exec_instruction()
5500 mach->BreakType = mach->BreakStack[--mach->BreakStackTop]; in exec_instruction()
[all …]
/third_party/skia/experimental/sktext/src/
DText.cpp46 …this->fUnicode->forEachBreak((char16_t*)utf16.data(), utf16.size(), SkUnicode::BreakType::kGraphem… in initialize()
51 … this->fUnicode->forEachBreak((char16_t*)utf16.data(), utf16.size(), SkUnicode::BreakType::kLines, in initialize()
/third_party/skia/modules/skparagraph/src/
DRun.h256 enum BreakType { enum
/third_party/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp761 auto lineIter = unicode->makeBreakIterator("th", SkUnicode::BreakType::kLines); in MakeHarfBuzz()
765 auto graphIter = unicode->makeBreakIterator("th", SkUnicode::BreakType::kGraphemes); in MakeHarfBuzz()