Lines Matching refs:codepoint
36 static bool isprint(char32_t codepoint) { in isprint() argument
37 if (codepoint <= 0x1F || codepoint == 0x7F) // C0 in isprint()
41 if (codepoint >= 0x80 && codepoint <= 0x9F) // C1 in isprint()
45 if (codepoint == 0x2028 || codepoint == 0x2029) // line/paragraph separators in isprint()
49 if (codepoint == 0x200E || codepoint == 0x200F || in isprint()
50 (codepoint >= 0x202A && in isprint()
51 codepoint <= 0x202E)) // bidirectional text control in isprint()
55 if (codepoint >= 0xFFF9 && in isprint()
56 codepoint <= 0xFFFF) // interlinears and generally specials in isprint()
144 char32_t codepoint = 0; in GetPrintableImpl() local
151 codepoint = ConvertUTF8ToCodePoint((unsigned char)*buffer, in GetPrintableImpl()
155 codepoint = ConvertUTF8ToCodePoint((unsigned char)*buffer, in GetPrintableImpl()
160 codepoint = ConvertUTF8ToCodePoint( in GetPrintableImpl()
172 if (codepoint) { in GetPrintableImpl()
173 switch (codepoint) { in GetPrintableImpl()
205 if (isprint(codepoint)) in GetPrintableImpl()
209 sprintf((char *)data, "\\U%08x", (unsigned)codepoint); in GetPrintableImpl()