Home
last modified time | relevance | path

Searched refs:CountUTF8 (Results 1 – 16 of 16) sorted by relevance

/external/skqp/tests/
DSkUTFTest.cpp45 int n = SkUTF::CountUTF8(p, strlen(p)); in DEF_TEST()
92 REPORTER_ASSERT(r, testCase.expectedCount == SkUTF::CountUTF8(str, strlen(str))); in DEF_TEST()
/external/skia/tests/
DSkUTFTest.cpp45 int n = SkUTF::CountUTF8(p, strlen(p)); in DEF_TEST()
92 REPORTER_ASSERT(r, testCase.expectedCount == SkUTF::CountUTF8(str, strlen(str))); in DEF_TEST()
/external/skia/modules/skshaper/src/
DSkShaper_primitive.cpp176 int numGlyphs = SkUTF::CountUTF8(utf8text, bytesVisible); in shape()
203 glyphOffset += SkUTF::CountUTF8(utf8text, bytesConsumed); in shape()
/external/skia/src/utils/
DSkUTF.h16 int CountUTF8(const char* utf8, size_t byteLength);
DSkUTF.cpp47 int SkUTF::CountUTF8(const char* utf8, size_t byteLength) { in CountUTF8() function in SkUTF
/external/skqp/src/utils/
DSkUTF.h16 int CountUTF8(const char* utf8, size_t byteLength);
DSkUTF.cpp47 int SkUTF::CountUTF8(const char* utf8, size_t byteLength) { in CountUTF8() function in SkUTF
/external/skqp/src/core/
DSkUtils.h47 case SkTypeface::kUTF8_Encoding: return SkUTF::CountUTF8((const char*)utfN, bytes); in SkUTFN_CountUnichars()
DSkFont.cpp418 case kUTF8_SkTextEncoding: return SkUTF::CountUTF8((const char*)text, length); in ValidCountText()
463 return SkUTF::CountUTF8(reinterpret_cast<const char*>(text), byteLength); in CountTextElements()
/external/skia/src/core/
DSkUtils.h47 case SkTypeface::kUTF8_Encoding: return SkUTF::CountUTF8((const char*)utfN, bytes); in SkUTFN_CountUnichars()
DSkFont.cpp449 return SkUTF::CountUTF8(reinterpret_cast<const char*>(text), byteLength); in CountTextElements()
/external/skia/bench/
DTypefaceBench.cpp263 result->glyphCount = SkUTF::CountUTF8(cursor, len); in convertLine()
/external/skia/gm/
Datlastext.cpp34 int cnt = SkUTF::CountUTF8(text.c_str(), text.size()); in draw_string()
/external/skqp/gm/
Datlastext.cpp34 int cnt = SkUTF::CountUTF8(text.c_str(), text.size()); in draw_string()
/external/skia/modules/skottie/src/
DSkottieTextLayer.cpp194 if (!jfamily || !jstyle || (SkUTF::CountUTF8(ch_ptr, ch_len) != 1)) { in parseFonts()
/external/skqp/modules/skottie/src/
DSkottieTextLayer.cpp194 if (!jfamily || !jstyle || (SkUTF::CountUTF8(ch_ptr, ch_len) != 1)) { in parseFonts()