Home
last modified time | relevance | path

Searched refs:textBytes (Results 1 – 11 of 11) sorted by relevance

/external/skqp/modules/skshaper/src/
DSkShaper_primitive.cpp37 size_t textBytes, in shape() argument
46 int glyphCount = font.countText(utf8text, textBytes, SkTextEncoding::kUTF8); in shape()
57 { font.measureText(utf8text, textBytes, SkTextEncoding::kUTF8), 0 }, in shape()
62 const auto buffer = handler->newRunBuffer(info, font, glyphCount, textBytes); in shape()
63 SkAssertResult(font.textToGlyphs(utf8text, textBytes, SkTextEncoding::kUTF8, buffer.glyphs, in shape()
68 memcpy(buffer.utf8text, utf8text, textBytes); in shape()
77 SkASSERT(txtPtr <= utf8text + textBytes); in shape()
/external/skia/modules/skshaper/src/
DSkShaper_primitive.cpp23 size_t textBytes,
146 size_t textBytes, in shape() argument
152 int glyphCount = font.countText(utf8text, textBytes, SkTextEncoding::kUTF8); in shape()
158 font.textToGlyphs(utf8text, textBytes, SkTextEncoding::kUTF8, glyphs.get(), glyphCount); in shape()
168 while (0 < textBytes) { in shape()
172 size_t bytesConsumed = linebreak(utf8text, utf8text + textBytes, font, width, in shape()
197 SkUTF::NextUTF8(&txtPtr, utf8text + textBytes); in shape()
206 textBytes -= bytesConsumed; in shape()
DSkShaper_harfbuzz.cpp815 size_t textBytes,
/external/skqp/modules/skshaper/include/
DSkShaper.h57 size_t textBytes,
/external/skqp/tools/
Dusing_skia_and_harfbuzz.cpp141 void WriteLine(const SkShaper& shaper, const char *text, size_t textBytes) { in WriteLine() argument
143 SkPoint endPoint = shaper.shape(&textBlobBuilder, font, text, textBytes, true, in WriteLine()
/external/skia/tools/
Dusing_skia_and_harfbuzz.cpp141 void WriteLine(const SkShaper& shaper, const char *text, size_t textBytes) { in WriteLine() argument
143 SkPoint endPoint = shaper.shape(&textBlobBuilder, font, text, textBytes, true, in WriteLine()
/external/skia/modules/skshaper/include/
DSkShaper.h68 size_t textBytes,
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/
DTestCharsetDetector.java1185 byte[] textBytes; in TestBug6889()
1187 textBytes = text.getBytes("ISO-8859-1"); in TestBug6889()
1195 det.setText(textBytes); in TestBug6889()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/charsetdet/
DTestCharsetDetector.java1188 byte[] textBytes; in TestBug6889()
1190 textBytes = text.getBytes("ISO-8859-1"); in TestBug6889()
1198 det.setText(textBytes); in TestBug6889()
/external/skia/include/core/
DSkTextBlob.h387 int count, int textBytes, SkPoint offset, const SkRect* bounds);
/external/skqp/include/core/
DSkTextBlob.h387 int count, int textBytes, SkPoint offset, const SkRect* bounds);