Lines Matching +full:flip +full:- +full:vertical
2 * Markus Kuhn -- 2007-05-26 (Unicode 5.0)
11 #define TEKEN_UTF8_INVALID_CODEPOINT -1
32 max = mid - 1; in bisearch()
44 * Sorted list of non-overlapping intervals of non-spacing characters. in teken_wcwidth()
45 * Generated by "uniset +cat=Me +cat=Mn +cat=Cf -00AD +1160-11FF +200B c" in teken_wcwidth()
98 /* Test for 8-bit control characters */ in teken_wcwidth()
102 return (-1); in teken_wcwidth()
104 /* Binary search in table of non-spacing characters */ in teken_wcwidth()
106 sizeof(struct interval) - 1)) in teken_wcwidth()
120 (ucs >= 0xfe10 && ucs <= 0xfe19) || /* Vertical forms */ in teken_wcwidth()
129 * Converts an UTF-8 byte sequence to a codepoint as specified in
130 * https://datatracker.ietf.org/doc/html/rfc3629#section-3 . The function
141 * indicating the length of a UTF-8 byte sequence. in teken_utf8_bytes_to_codepoint()
143 * 0xxxxxxx -> 1 byte in teken_utf8_bytes_to_codepoint()
144 * 110xxxxx -> 2 bytes in teken_utf8_bytes_to_codepoint()
145 * 1110xxxx -> 3 bytes in teken_utf8_bytes_to_codepoint()
146 * 11110xxx -> 4 bytes in teken_utf8_bytes_to_codepoint()
148 * The length is determined by the higher-order bits in the leading in teken_utf8_bytes_to_codepoint()
150 * length of 1). Here we flip the 4 upper bits and count the leading in teken_utf8_bytes_to_codepoint()