Home
last modified time | relevance | path

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

/external/skia/modules/skplaintexteditor/src/
Dword_boundaries.cpp35 ICUBrk wordBreakIterator(ubrk_open(UBRK_WORD, locale, nullptr, 0, &status)); in GetUtf8WordBoundaries() local
36 if (!wordBreakIterator || U_FAILURE(status)) { in GetUtf8WordBoundaries()
41 ubrk_setUText(&*wordBreakIterator, utf8UText.get(), &status); in GetUtf8WordBoundaries()
47 int32_t pos = ubrk_first(&*wordBreakIterator); in GetUtf8WordBoundaries()
52 pos = ubrk_next(&*wordBreakIterator); in GetUtf8WordBoundaries()