Searched refs:SkUTF8_LeadByteToCount (Results 1 – 2 of 2) sorted by relevance
48 int SkUTF8_LeadByteToCount(unsigned c);50 #define SkUTF8_LeadByteToCount(c) ((((0xE5 << 24) >> ((unsigned)c >> 4 << 1)) & 3) + 1) macro55 return SkUTF8_LeadByteToCount(*(const uint8_t*)utf8); in SkUTF8_CountUTF8Bytes()
146 int SkUTF8_LeadByteToCount(unsigned c) { in SkUTF8_LeadByteToCount() function164 utf8 += SkUTF8_LeadByteToCount(c); in SkUTF8_CountUnichars()177 utf8 += SkUTF8_LeadByteToCount(*(const uint8_t*)utf8); in SkUTF8_CountUnichars()