Lines Matching defs:codepoint
897 long unsigned int codepoint = 0;
949 /* calculate the unicode codepoint from the surrogate pair */
950 codepoint = 0x10000 + (((first_code & 0x3FF) << 10) | (second_code & 0x3FF));
955 codepoint = first_code;
961 if (codepoint < 0x80)
966 else if (codepoint < 0x800)
972 else if (codepoint < 0x10000)
978 else if (codepoint <= 0x10FFFF)
986 /* invalid unicode codepoint */
994 (*output_pointer)[utf8_position] = (unsigned char)((codepoint | 0x80) & 0xBF);
995 codepoint >>= 6;
1000 (*output_pointer)[0] = (unsigned char)((codepoint | first_byte_mark) & 0xFF);
1004 (*output_pointer)[0] = (unsigned char)(codepoint & 0x7F);
1253 /* escape and print as unicode codepoint */