Lines Matching refs:octet
626 unsigned char octet; in yaml_check_utf8() local
631 octet = pointer[0]; in yaml_check_utf8()
632 width = (octet & 0x80) == 0x00 ? 1 : in yaml_check_utf8()
633 (octet & 0xE0) == 0xC0 ? 2 : in yaml_check_utf8()
634 (octet & 0xF0) == 0xE0 ? 3 : in yaml_check_utf8()
635 (octet & 0xF8) == 0xF0 ? 4 : 0; in yaml_check_utf8()
636 value = (octet & 0x80) == 0x00 ? octet & 0x7F : in yaml_check_utf8()
637 (octet & 0xE0) == 0xC0 ? octet & 0x1F : in yaml_check_utf8()
638 (octet & 0xF0) == 0xE0 ? octet & 0x0F : in yaml_check_utf8()
639 (octet & 0xF8) == 0xF0 ? octet & 0x07 : 0; in yaml_check_utf8()
643 octet = pointer[k]; in yaml_check_utf8()
644 if ((octet & 0xC0) != 0x80) return 0; in yaml_check_utf8()
645 value = (value << 6) + (octet & 0x3F); in yaml_check_utf8()