Searched refs:char_iterator (Results 1 – 19 of 19) 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()
586 base::i18n::UTF16CharIterator char_iterator(&out_composition->text); in ExtractCompositionText() local588 char16_offsets.push_back(char_iterator.array_pos()); in ExtractCompositionText()589 } 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()
800 icu::StringCharacterIterator char_iterator(string.c_str()); in TruncateString() local801 char_iterator.setIndex(index); in TruncateString()802 while (char_iterator.hasPrevious()) { in TruncateString()803 char_iterator.previous(); in TruncateString()804 if (!(u_isspace(char_iterator.current()) || in TruncateString()805 u_charType(char_iterator.current()) == U_CONTROL_CHAR || in TruncateString()806 u_charType(char_iterator.current()) == U_NON_SPACING_MARK)) { in TruncateString()809 char_iterator.next(); in TruncateString()813 if (char_iterator.hasPrevious()) { in TruncateString()815 index = char_iterator.getIndex(); in TruncateString()
409 base::i18n::UTF16CharIterator char_iterator(text.c_str() + start, length); in ScriptInterval() local410 size_t scripts_size = GetScriptExtensions(char_iterator.get(), scripts); in ScriptInterval()413 while (char_iterator.Advance()) { in ScriptInterval()414 ScriptSetIntersect(char_iterator.get(), scripts, &scripts_size); in ScriptInterval()416 return char_iterator.array_pos(); in ScriptInterval()
31 base/i18n/char_iterator.cc \
974 'i18n/char_iterator.cc',975 'i18n/char_iterator.h',
953 "i18n/char_iterator.cc",954 "i18n/char_iterator.h",