Searched refs:wordBreakIterator (Results 1 – 1 of 1) sorted by relevance
35 ICUBrk wordBreakIterator(ubrk_open(UBRK_WORD, locale, nullptr, 0, &status)); in GetUtf8WordBoundaries() local36 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()