Searched refs:SkUTF8_LeadByteToCount (Results 1 – 2 of 2) sorted by relevance
62 int SkUTF8_LeadByteToCount(unsigned c);64 #define SkUTF8_LeadByteToCount(c) ((((0xE5 << 24) >> ((unsigned)c >> 4 << 1)) & 3) + 1) macro70 return SkUTF8_LeadByteToCount(*(const uint8_t*)utf8); in SkUTF8_CountUTF8Bytes()
168 int SkUTF8_LeadByteToCount(unsigned c) in SkUTF8_LeadByteToCount() function189 utf8 += SkUTF8_LeadByteToCount(c); in SkUTF8_CountUnichars()204 utf8 += SkUTF8_LeadByteToCount(*(const uint8_t*)utf8); in SkUTF8_CountUnichars()