Searched refs:UTF16IndexToOffset (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/ui/gfx/ |
D | utf16_indexing_unittest.cc | 22 EXPECT_EQ(offset, UTF16IndexToOffset(s, i, j)); in TEST() 23 EXPECT_EQ(-offset, UTF16IndexToOffset(s, j, i)); in TEST()
|
D | utf16_indexing.h | 40 GFX_EXPORT ptrdiff_t UTF16IndexToOffset(const base::string16& s,
|
D | utf16_indexing.cc | 17 ptrdiff_t UTF16IndexToOffset(const base::string16& s, size_t base, size_t pos) { in UTF16IndexToOffset() function
|
D | render_text_pango.cc | 251 ptrdiff_t offset = gfx::UTF16IndexToOffset(text(), 0, index); in TextIndexToLayoutIndex() 274 ptrdiff_t offset = gfx::UTF16IndexToOffset(text(), 0, position); in IsCursorablePosition()
|
D | render_text.cc | 1092 static_cast<size_t>(gfx::UTF16IndexToOffset(text_, 0, text_.length())); in UpdateLayoutText() 1106 static_cast<size_t>(gfx::UTF16IndexToOffset(text_, 0, start)); in UpdateLayoutText()
|
D | render_text_win.cc | 718 ptrdiff_t i = obscured() ? gfx::UTF16IndexToOffset(text(), 0, index) : index; in TextIndexToLayoutIndex()
|