Home | History | Annotate | Download | only in tests

Lines Matching defs:dst

19 static size_t uni_to_utf8(const SkUnichar src[], void* dst, int count) {
20 char* u8 = (char*)dst;
25 return u8 - (char*)dst;
28 static size_t uni_to_utf16(const SkUnichar src[], void* dst, int count) {
29 uint16_t* u16 = (uint16_t*)dst;
34 return (char*)u16 - (char*)dst;
37 static size_t uni_to_utf32(const SkUnichar src[], void* dst, int count) {
38 SkUnichar* u32 = (SkUnichar*)dst;
64 SkUnichar dst[NGLYPHS]; // used for utf8, utf16, utf32 storage
67 size_t (*fSeedTextProc)(const SkUnichar[], void* dst, int count);
91 size_t len = gRec[k].fSeedTextProc(src, dst, NGLYPHS);
95 bool contains = paint.containsText(dst, len);
96 int nglyphs = paint.textToGlyphs(dst, len, glyphs0);
97 int first = face->charsToGlyphs(dst, paint2encoding(paint), glyphs1, NGLYPHS);