Lines Matching refs:codepoint
69 static bool isprint32(char32_t codepoint) { in isprint32() argument
70 if (codepoint <= 0x1F || codepoint == 0x7F) // C0 in isprint32()
74 if (codepoint >= 0x80 && codepoint <= 0x9F) // C1 in isprint32()
78 if (codepoint == 0x2028 || codepoint == 0x2029) // line/paragraph separators in isprint32()
82 if (codepoint == 0x200E || codepoint == 0x200F || in isprint32()
83 (codepoint >= 0x202A && in isprint32()
84 codepoint <= 0x202E)) // bidirectional text control in isprint32()
88 if (codepoint >= 0xFFF9 && in isprint32()
89 codepoint <= 0xFFFF) // interlinears and generally specials in isprint32()
180 llvm::UTF32 codepoint = 0; in GetPrintableImpl() local
183 &buffer_for_conversion, buffer_end, &codepoint, llvm::strictConversion); in GetPrintableImpl()
192 DecodedCharBuffer retval = attemptASCIIEscape(codepoint, escape_style); in GetPrintableImpl()
195 if (isprint32(codepoint)) in GetPrintableImpl()
204 escaped_len = sprintf((char *)data, "\\U%08x", codepoint); in GetPrintableImpl()
208 escaped_len = sprintf((char *)data, "\\u{%x}", codepoint); in GetPrintableImpl()