Home
last modified time | relevance | path

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

/external/chromium_org/ui/gfx/
Dutf16_indexing_unittest.cc22 EXPECT_EQ(offset, UTF16IndexToOffset(s, i, j)); in TEST()
23 EXPECT_EQ(-offset, UTF16IndexToOffset(s, j, i)); in TEST()
Dutf16_indexing.h40 GFX_EXPORT ptrdiff_t UTF16IndexToOffset(const base::string16& s,
Dutf16_indexing.cc17 ptrdiff_t UTF16IndexToOffset(const base::string16& s, size_t base, size_t pos) { in UTF16IndexToOffset() function
Drender_text_pango.cc251 ptrdiff_t offset = gfx::UTF16IndexToOffset(text(), 0, index); in TextIndexToLayoutIndex()
274 ptrdiff_t offset = gfx::UTF16IndexToOffset(text(), 0, position); in IsCursorablePosition()
Drender_text.cc1092 static_cast<size_t>(gfx::UTF16IndexToOffset(text_, 0, text_.length())); in UpdateLayoutText()
1106 static_cast<size_t>(gfx::UTF16IndexToOffset(text_, 0, start)); in UpdateLayoutText()
Drender_text_win.cc718 ptrdiff_t i = obscured() ? gfx::UTF16IndexToOffset(text(), 0, index) : index; in TextIndexToLayoutIndex()