Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/history/
Dsnippet.cc108 int32_t* utf8_pos, in AdvanceAndReturnUTF16Pos() argument
110 DCHECK(offset >= *utf8_pos && offset <= utf8_length); in AdvanceAndReturnUTF16Pos()
113 while (*utf8_pos < offset) { in AdvanceAndReturnUTF16Pos()
114 U8_NEXT(utf8_string, *utf8_pos, utf8_length, wide_char); in AdvanceAndReturnUTF16Pos()
123 void MoveByNGraphemes(icu::BreakIterator* bi, int count, size_t* utf8_pos) { in MoveByNGraphemes() argument
129 bi->isBoundary(*utf8_pos); in MoveByNGraphemes()
131 *utf8_pos = static_cast<size_t>(bi->current()); in MoveByNGraphemes()
190 int32_t utf8_pos = 0; in ConvertMatchPositionsToWide() local
197 i->first, &utf8_pos, &utf16_pos); in ConvertMatchPositionsToWide()
199 i->second, &utf8_pos, &utf16_pos); in ConvertMatchPositionsToWide()