Home
last modified time | relevance | path

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

/external/chromium_org/ui/base/ime/
Dcomposition_text_util_pango.cc32 base::i18n::UTF16CharIterator char_iterator(&composition->text); in ExtractCompositionTextFromGtkPreedit() local
34 char16_offsets.push_back(char_iterator.array_pos()); in ExtractCompositionTextFromGtkPreedit()
35 } while (char_iterator.Advance()); in ExtractCompositionTextFromGtkPreedit()
Dinput_method_chromeos.cc588 base::i18n::UTF16CharIterator char_iterator(&out_composition->text); in ExtractCompositionText() local
590 char16_offsets.push_back(char_iterator.array_pos()); in ExtractCompositionText()
591 } while (char_iterator.Advance()); in ExtractCompositionText()
Dinput_method_chromeos_unittest.cc46 base::i18n::UTF16CharIterator char_iterator(&utf16_string); in GetOffsetInUTF16() local
48 char_iterator.Advance(); in GetOffsetInUTF16()
49 return char_iterator.array_pos(); in GetOffsetInUTF16()
/external/chromium_org/ui/gfx/
Dtext_elider.cc796 icu::StringCharacterIterator char_iterator(string.c_str()); in TruncateString() local
802 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()
Drender_text_harfbuzz.cc380 base::i18n::UTF16CharIterator char_iterator(text.c_str() + start, length); in ScriptInterval() local
381 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()
/external/chromium_org/base/
Dbase_i18n.target.darwin-arm64.mk32 base/i18n/char_iterator.cc \
Dbase_i18n.target.linux-arm64.mk32 base/i18n/char_iterator.cc \
Dbase_i18n.target.darwin-x86.mk32 base/i18n/char_iterator.cc \
Dbase_i18n.target.linux-x86.mk32 base/i18n/char_iterator.cc \
Dbase_i18n.target.darwin-mips.mk32 base/i18n/char_iterator.cc \
Dbase_i18n.target.linux-x86_64.mk32 base/i18n/char_iterator.cc \
Dbase_i18n.target.darwin-x86_64.mk32 base/i18n/char_iterator.cc \
Dbase_i18n.target.linux-mips.mk32 base/i18n/char_iterator.cc \
Dbase_i18n.target.linux-arm.mk32 base/i18n/char_iterator.cc \
Dbase_i18n.target.darwin-arm.mk32 base/i18n/char_iterator.cc \
Dbase.gypi973 'i18n/char_iterator.cc',
974 'i18n/char_iterator.h',
DBUILD.gn912 "i18n/char_iterator.cc",
913 "i18n/char_iterator.h",