Home
last modified time | relevance | path

Searched refs:BreakType (Results 1 - 12 of 12) sorted by relevance

/third_party/skia/modules/skunicode/src/
H A DSkUnicode_icu.cpp105 static UBreakIteratorType convertType(SkUnicode::BreakType type) { in convertType()
107 case SkUnicode::BreakType::kLines: return UBRK_LINE; in convertType()
108 case SkUnicode::BreakType::kGraphemes: return UBRK_CHARACTER; in convertType()
109 case SkUnicode::BreakType::kWords: return UBRK_WORD; in convertType()
166 SkTHashMap<SkUnicode::BreakType, ICUBreakIterator> fBreakCache;
175 ICUBreakIterator makeBreakIterator(SkUnicode::BreakType type) { in makeBreakIterator()
212 ICUBreakIterator iterator = SkIcuBreakIteratorCache::get().makeBreakIterator(BreakType::kWords); in extractWords()
242 (const char utf8[], int utf8Units, BreakType type, std::function<void(int, int)> setBreak) { in extractPositions()
267 int s = type == SkUnicode::BreakType::kLines in extractPositions()
274 if (type == SkUnicode::BreakType in extractPositions()
[all...]
H A DSkUnicode_client.cpp123 BreakType breakType) override;
124 std::unique_ptr<SkBreakIterator> makeBreakIterator(BreakType breakType) override;
358 BreakType breakType) { in makeBreakIterator()
361 std::unique_ptr<SkBreakIterator> SkUnicode_client::makeBreakIterator(BreakType breakType) { in makeBreakIterator()
/third_party/skia/modules/skunicode/include/
H A DSkUnicode.h109 enum class BreakType { class in SkUnicode
131 (const char locale[], BreakType breakType) = 0;
132 virtual std::unique_ptr<SkBreakIterator> makeBreakIterator(BreakType type) = 0;
262 void forEachBreak(const char16_t utf16[], int utf16Units, SkUnicode::BreakType type, Callback&& callback) { in forEachBreak()
/third_party/node/deps/v8/src/objects/
H A Djs-break-iterator.h53 static String BreakType(Isolate* isolate,
H A Djs-break-iterator.cc221 String JSV8BreakIterator::BreakType(Isolate* isolate, in BreakType() function in v8::internal::JSV8BreakIterator
224 // Keep return values in sync with JavaScript BreakType enum. in BreakType()
/third_party/skia/modules/skparagraph/src/
H A DTextWrapper.cpp406 breaks_.emplace_back(cumulativeLen_, Break::BreakType::BREAKTYPE_WHITE_SPACE, prevWasWhitespace); in moveForward()
410 breaks_.emplace_back(cumulativeLen_, Break::BreakType::BREAKTYPE_HARD, false); in moveForward()
414 breaks_.emplace_back(cumulativeLen_, Break::BreakType::BREAKTYPE_INTRA, false); in moveForward()
420 breaks_.emplace_back(cumulativeLen_, Break::BreakType::BREAKTYPE_FORCED, false); in moveForward()
475 if (lastBreakPos_ < breaks_.size() && breaks_[lastBreakPos_].type == Break::BreakType::BREAKTYPE_FORCED) { in moveForward()
488 Break::BreakType::BREAKTYPE_FORCED, false)); in moveForward()
652 enum class BreakType { in moveForward() class
659 Break(SkScalar w, BreakType t, bool ssws) : width(w), type(t), subsequentWhitespace(ssws) {} in moveForward()
662 BreakType type { BreakType in moveForward()
[all...]
H A DRun.h349 enum BreakType { enum in skia::textlayout::Cluster
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_exec.h356 enum tgsi_break_type BreakType; member
H A Dtgsi_exec.c3294 if (mach->BreakType == TGSI_EXEC_BREAK_INSIDE_LOOP) { in exec_break()
3300 assert(mach->BreakType == TGSI_EXEC_BREAK_INSIDE_SWITCH); in exec_break()
3320 mach->BreakStack[mach->BreakStackTop++] = mach->BreakType; in exec_switch()
3321 mach->BreakType = TGSI_EXEC_BREAK_INSIDE_SWITCH; in exec_switch()
3371 mach->BreakType = mach->BreakStack[--mach->BreakStackTop]; in exec_endswitch()
5201 mach->BreakStack[mach->BreakStackTop++] = mach->BreakType; in exec_instruction()
5248 mach->BreakType = mach->BreakStack[mach->BreakStackTop]; in exec_instruction()
5397 mach->BreakStack[mach->BreakStackTop++] = mach->BreakType; in exec_instruction()
5398 mach->BreakType = TGSI_EXEC_BREAK_INSIDE_LOOP; in exec_instruction()
5421 mach->BreakType in exec_instruction()
[all...]
/third_party/skia/experimental/sktext/src/
H A DText.cpp46 this->fUnicode->forEachBreak((char16_t*)utf16.data(), utf16.size(), SkUnicode::BreakType::kGraphemes, in initialize()
51 this->fUnicode->forEachBreak((char16_t*)utf16.data(), utf16.size(), SkUnicode::BreakType::kLines, in initialize()
/third_party/skia/modules/skshaper/src/
H A DSkShaper_harfbuzz.cpp935 auto lineIter = unicode->makeBreakIterator(lname.c_str(), SkUnicode::BreakType::kLines);
939 auto graphIter = unicode->makeBreakIterator(lname.c_str(), SkUnicode::BreakType::kGraphemes);
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-intl.cc1393 return JSV8BreakIterator::BreakType(isolate, break_iterator); in BUILTIN()

Completed in 21 milliseconds