Searched refs:UTF16OffsetToIndex (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/ui/gfx/ |
D | utf16_indexing_unittest.cc | 25 EXPECT_EQ(adjusted_j, UTF16OffsetToIndex(s, i, offset)); in TEST() 27 EXPECT_EQ(adjusted_i, UTF16OffsetToIndex(s, j, -offset)); in TEST()
|
D | utf16_indexing.h | 43 GFX_EXPORT size_t UTF16OffsetToIndex(const base::string16& s,
|
D | utf16_indexing.cc | 33 size_t UTF16OffsetToIndex(const base::string16& s, in UTF16OffsetToIndex() function
|
D | render_text_pango.cc | 262 return gfx::UTF16OffsetToIndex(text(), 0, offset); in LayoutIndexToTextIndex()
|
D | render_text_win.cc | 729 const size_t text_index = gfx::UTF16OffsetToIndex(text(), 0, index); in LayoutIndexToTextIndex()
|
/external/chromium_org/ui/views/controls/textfield/ |
D | textfield_views_model.cc | 387 gfx::UTF16OffsetToIndex(GetText(), cursor_position, -1); in Backspace()
|