Home
last modified time | relevance | path

Searched refs:utf8Text (Results 1 – 8 of 8) sorted by relevance

/external/skia/modules/skplaintexteditor/src/
Dshape.cpp29 RunHandler(const char* utf8Text, size_t) : fUtf8Text(utf8Text) {} in RunHandler() argument
31 const char* utf8Text,
184 const char* utf8Text, in set_character_bounds() argument
236 int codePointCount = SkUTF::CountUTF8(utf8Text + textBegin, textCount); in set_character_bounds()
244 const char* ptr = utf8Text + textBegin; in set_character_bounds()
245 const char* end = utf8Text + textEnd; in set_character_bounds()
250 int firstIndex = ptr - utf8Text; in set_character_bounds()
259 ShapeResult SkPlainTextEditor::Shape(const char* utf8Text, in Shape() argument
266 if (SkUTF::CountUTF8(utf8Text, textByteLen) < 0) { in Shape()
267 utf8Text = nullptr; in Shape()
[all …]
Deditor.cpp146 Editor::TextPosition Editor::insert(TextPosition pos, const char* utf8Text, size_t byteLen) { in insert() argument
147 if (!valid_utf8(utf8Text, byteLen) || 0 == byteLen) { in insert()
153 fLines[pos.fParagraphIndex].fText.insert(pos.fTextByteIndex, utf8Text, byteLen); in insert()
158 fLines.push_back(Editor::TextLine(StringSlice(utf8Text, byteLen))); in insert()
/external/skia/modules/skshaper/include/
DSkShaper.h259 SkTextBlobBuilderRunHandler(const char* utf8Text, SkPoint offset) in SkTextBlobBuilderRunHandler() argument
260 : fUtf8Text(utf8Text) in SkTextBlobBuilderRunHandler()
/external/skia/modules/skplaintexteditor/include/
Deditor.h77 TextPosition insert(TextPosition, const char* utf8Text, size_t byteLen);
/external/skqp/tests/
DPDFPrimitivesTest.cpp387 size_t utf8TextByteLength, const char* utf8Text) { in make_run() argument
391 SkSpan<const char>{utf8Text, utf8TextByteLength}, in make_run()
/external/skia/tests/
DPDFPrimitivesTest.cpp391 size_t utf8TextByteLength, const char* utf8Text) { in make_run() argument
395 SkSpan<const char>{utf8Text, utf8TextByteLength}, in make_run()
/external/icu/icu4c/source/test/intltest/
Dutxttest.cpp1472 UText *utf8Text = utext_openUTF8(NULL, utf8_string, -1, &status); in Ticket10562() local
1474 UText *deepClone = utext_clone(NULL, utf8Text, TRUE, FALSE, &status); in Ticket10562()
1480 utext_close(utf8Text); in Ticket10562()
/external/skia/modules/skshaper/src/
DSkShaper_harfbuzz.cpp674 void shape(const char* utf8Text, size_t textBytes,
682 void shape(const char* utf8Text, size_t textBytes,