Home
last modified time | relevance | path

Searched refs:utfN (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/core/
DSkUtils.h45 static inline int SkUTFN_CountUnichars(SkTypeface::Encoding enc, const void* utfN, size_t bytes) { in SkUTFN_CountUnichars() argument
47 case SkTypeface::kUTF8_Encoding: return SkUTF::CountUTF8((const char*)utfN, bytes); in SkUTFN_CountUnichars()
48 case SkTypeface::kUTF16_Encoding: return SkUTF::CountUTF16((const uint16_t*)utfN, bytes); in SkUTFN_CountUnichars()
49 case SkTypeface::kUTF32_Encoding: return SkUTF::CountUTF32((const int32_t*)utfN, bytes); in SkUTFN_CountUnichars()
/external/skia/src/core/
DSkUtils.h45 static inline int SkUTFN_CountUnichars(SkTextEncoding enc, const void* utfN, size_t bytes) { in SkUTFN_CountUnichars() argument
47 case SkTextEncoding::kUTF8: return SkUTF::CountUTF8((const char*)utfN, bytes); in SkUTFN_CountUnichars()
48 case SkTextEncoding::kUTF16: return SkUTF::CountUTF16((const uint16_t*)utfN, bytes); in SkUTFN_CountUnichars()
49 case SkTextEncoding::kUTF32: return SkUTF::CountUTF32((const int32_t*)utfN, bytes); in SkUTFN_CountUnichars()