Searched refs:char_iterator (Results 1 – 17 of 17) sorted by relevance
32 base::i18n::UTF16CharIterator char_iterator(&composition->text); in ExtractCompositionTextFromGtkPreedit() local34 char16_offsets.push_back(char_iterator.array_pos()); in ExtractCompositionTextFromGtkPreedit()35 } while (char_iterator.Advance()); in ExtractCompositionTextFromGtkPreedit()
588 base::i18n::UTF16CharIterator char_iterator(&out_composition->text); in ExtractCompositionText() local590 char16_offsets.push_back(char_iterator.array_pos()); in ExtractCompositionText()591 } while (char_iterator.Advance()); in ExtractCompositionText()
46 base::i18n::UTF16CharIterator char_iterator(&utf16_string); in GetOffsetInUTF16() local48 char_iterator.Advance(); in GetOffsetInUTF16()49 return char_iterator.array_pos(); in GetOffsetInUTF16()
796 icu::StringCharacterIterator char_iterator(string.c_str()); in TruncateString() local802 char_iterator.setIndex(index); in TruncateString()803 while (char_iterator.hasPrevious()) { in TruncateString()804 char_iterator.previous(); in TruncateString()805 if (!(u_isspace(char_iterator.current()) || in TruncateString()806 u_charType(char_iterator.current()) == U_CONTROL_CHAR || in TruncateString()807 u_charType(char_iterator.current()) == U_NON_SPACING_MARK)) { in TruncateString()810 char_iterator.next(); in TruncateString()814 if (char_iterator.hasPrevious()) { in TruncateString()816 index = char_iterator.getIndex(); in TruncateString()
380 base::i18n::UTF16CharIterator char_iterator(text.c_str() + start, length); in ScriptInterval() local381 size_t scripts_size = GetScriptExtensions(char_iterator.get(), scripts); in ScriptInterval()384 while (char_iterator.Advance()) { in ScriptInterval()385 ScriptSetIntersect(char_iterator.get(), scripts, &scripts_size); in ScriptInterval()387 return char_iterator.array_pos(); in ScriptInterval()
32 base/i18n/char_iterator.cc \
973 'i18n/char_iterator.cc',974 'i18n/char_iterator.h',
912 "i18n/char_iterator.cc",913 "i18n/char_iterator.h",