Home
last modified time | relevance | path

Searched refs:octet (Results 1 – 6 of 6) sorted by relevance

/optee_benchmark/libyaml/src/
A Dwriter.c72 unsigned char octet; in yaml_emitter_flush() local
84 octet = emitter->buffer.pointer[0]; in yaml_emitter_flush()
86 width = (octet & 0x80) == 0x00 ? 1 : in yaml_emitter_flush()
87 (octet & 0xE0) == 0xC0 ? 2 : in yaml_emitter_flush()
88 (octet & 0xF0) == 0xE0 ? 3 : in yaml_emitter_flush()
89 (octet & 0xF8) == 0xF0 ? 4 : 0; in yaml_emitter_flush()
91 value = (octet & 0x80) == 0x00 ? octet & 0x7F : in yaml_emitter_flush()
92 (octet & 0xE0) == 0xC0 ? octet & 0x1F : in yaml_emitter_flush()
93 (octet & 0xF0) == 0xE0 ? octet & 0x0F : in yaml_emitter_flush()
94 (octet & 0xF8) == 0xF0 ? octet & 0x07 : 0; in yaml_emitter_flush()
[all …]
A Dreader.c196 unsigned char octet; in yaml_parser_update_buffer() local
230 octet = parser->raw_buffer.pointer[0]; in yaml_parser_update_buffer()
231 width = (octet & 0x80) == 0x00 ? 1 : in yaml_parser_update_buffer()
232 (octet & 0xE0) == 0xC0 ? 2 : in yaml_parser_update_buffer()
233 (octet & 0xF0) == 0xE0 ? 3 : in yaml_parser_update_buffer()
241 parser->offset, octet); in yaml_parser_update_buffer()
257 value = (octet & 0x80) == 0x00 ? octet & 0x7F : in yaml_parser_update_buffer()
258 (octet & 0xE0) == 0xC0 ? octet & 0x1F : in yaml_parser_update_buffer()
259 (octet & 0xF0) == 0xE0 ? octet & 0x0F : in yaml_parser_update_buffer()
260 (octet & 0xF8) == 0xF0 ? octet & 0x07 : 0; in yaml_parser_update_buffer()
[all …]
A Dapi.c626 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()
[all …]
A Demitter.c2034 unsigned char octet; in yaml_emitter_write_double_quoted_scalar() local
2039 octet = string.pointer[0]; in yaml_emitter_write_double_quoted_scalar()
2040 width = (octet & 0x80) == 0x00 ? 1 : in yaml_emitter_write_double_quoted_scalar()
2041 (octet & 0xE0) == 0xC0 ? 2 : in yaml_emitter_write_double_quoted_scalar()
2042 (octet & 0xF0) == 0xE0 ? 3 : in yaml_emitter_write_double_quoted_scalar()
2043 (octet & 0xF8) == 0xF0 ? 4 : 0; in yaml_emitter_write_double_quoted_scalar()
2044 value = (octet & 0x80) == 0x00 ? octet & 0x7F : in yaml_emitter_write_double_quoted_scalar()
2045 (octet & 0xE0) == 0xC0 ? octet & 0x1F : in yaml_emitter_write_double_quoted_scalar()
2046 (octet & 0xF0) == 0xE0 ? octet & 0x0F : in yaml_emitter_write_double_quoted_scalar()
2047 (octet & 0xF8) == 0xF0 ? octet & 0x07 : 0; in yaml_emitter_write_double_quoted_scalar()
[all …]
A Dyaml_private.h173 #define CHECK_AT(string,octet,offset) \ argument
174 ((string).pointer[offset] == (yaml_char_t)(octet))
180 #define CHECK(string,octet) CHECK_AT((string),(octet),0) argument
A Dscanner.c2674 unsigned char octet = 0; in yaml_parser_scan_uri_escapes() local
2690 octet = (AS_HEX_AT(parser->buffer, 1) << 4) + AS_HEX_AT(parser->buffer, 2); in yaml_parser_scan_uri_escapes()
2696 width = (octet & 0x80) == 0x00 ? 1 : in yaml_parser_scan_uri_escapes()
2697 (octet & 0xE0) == 0xC0 ? 2 : in yaml_parser_scan_uri_escapes()
2698 (octet & 0xF0) == 0xE0 ? 3 : in yaml_parser_scan_uri_escapes()
2699 (octet & 0xF8) == 0xF0 ? 4 : 0; in yaml_parser_scan_uri_escapes()
2710 if ((octet & 0xC0) != 0x80) { in yaml_parser_scan_uri_escapes()
2719 *(string->pointer++) = octet; in yaml_parser_scan_uri_escapes()

Completed in 16 milliseconds