Home
last modified time | relevance | path

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

/optee_benchmark/libyaml/src/
A Dreader.c197 unsigned int width = 0; in yaml_parser_update_buffer() local
231 width = (octet & 0x80) == 0x00 ? 1 : in yaml_parser_update_buffer()
238 if (!width) in yaml_parser_update_buffer()
245 if (width > raw_unread) { in yaml_parser_update_buffer()
264 for (k = 1; k < width; k ++) in yaml_parser_update_buffer()
282 if (!((width == 1) || in yaml_parser_update_buffer()
283 (width == 2 && value >= 0x80) || in yaml_parser_update_buffer()
359 width = 4; in yaml_parser_update_buffer()
391 width = 2; in yaml_parser_update_buffer()
422 parser->raw_buffer.pointer += width; in yaml_parser_update_buffer()
[all …]
A Dwriter.c73 unsigned int width; in yaml_emitter_flush() local
86 width = (octet & 0x80) == 0x00 ? 1 : in yaml_emitter_flush()
96 for (k = 1; k < width; k ++) { in yaml_emitter_flush()
101 emitter->buffer.pointer += width; in yaml_emitter_flush()
A Dapi.c546 emitter->best_width = (width >= 0) ? width : -1; in yaml_emitter_set_width()
627 unsigned int width; in yaml_check_utf8() local
632 width = (octet & 0x80) == 0x00 ? 1 : in yaml_check_utf8()
640 if (!width) return 0; in yaml_check_utf8()
641 if (pointer+width > end) return 0; in yaml_check_utf8()
642 for (k = 1; k < width; k ++) { in yaml_check_utf8()
647 if (!((width == 1) || in yaml_check_utf8()
648 (width == 2 && value >= 0x80) || in yaml_check_utf8()
649 (width == 3 && value >= 0x800) || in yaml_check_utf8()
650 (width == 4 && value >= 0x10000))) return 0; in yaml_check_utf8()
[all …]
A Demitter.c1876 int width = WIDTH(string); in yaml_emitter_write_tag_content() local
1878 while (width --) { in yaml_emitter_write_tag_content()
2035 unsigned int width; in yaml_emitter_write_double_quoted_scalar() local
2040 width = (octet & 0x80) == 0x00 ? 1 : in yaml_emitter_write_double_quoted_scalar()
2048 for (k = 1; k < (int)width; k ++) { in yaml_emitter_write_double_quoted_scalar()
2052 string.pointer += width; in yaml_emitter_write_double_quoted_scalar()
2121 width = 2; in yaml_emitter_write_double_quoted_scalar()
2125 width = 4; in yaml_emitter_write_double_quoted_scalar()
2129 width = 8; in yaml_emitter_write_double_quoted_scalar()
2131 for (k = (width-1)*4; k >= 0; k -= 4) { in yaml_emitter_write_double_quoted_scalar()
A Dscanner.c2668 int width = 0; in yaml_parser_scan_uri_escapes() local
2694 if (!width) in yaml_parser_scan_uri_escapes()
2696 width = (octet & 0x80) == 0x00 ? 1 : in yaml_parser_scan_uri_escapes()
2700 if (!width) { in yaml_parser_scan_uri_escapes()
2724 } while (--width); in yaml_parser_scan_uri_escapes()
/optee_benchmark/libyaml/include/
A Dyaml.h1873 yaml_emitter_set_width(yaml_emitter_t *emitter, int width);

Completed in 19 milliseconds