Home
last modified time | relevance | path

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

/external/chromium_org/ui/gfx/
Dutf16_indexing_unittest.cc25 EXPECT_EQ(adjusted_j, UTF16OffsetToIndex(s, i, offset)); in TEST()
27 EXPECT_EQ(adjusted_i, UTF16OffsetToIndex(s, j, -offset)); in TEST()
Dutf16_indexing.h43 GFX_EXPORT size_t UTF16OffsetToIndex(const base::string16& s,
Dutf16_indexing.cc33 size_t UTF16OffsetToIndex(const base::string16& s, in UTF16OffsetToIndex() function
Drender_text_pango.cc262 return gfx::UTF16OffsetToIndex(text(), 0, offset); in LayoutIndexToTextIndex()
Drender_text_win.cc729 const size_t text_index = gfx::UTF16OffsetToIndex(text(), 0, index); in LayoutIndexToTextIndex()
/external/chromium_org/ui/views/controls/textfield/
Dtextfield_views_model.cc387 gfx::UTF16OffsetToIndex(GetText(), cursor_position, -1); in Backspace()