Home
last modified time | relevance | path

Searched refs:raw_buffer (Results 1 – 4 of 4) sorted by relevance

/optee_benchmark/libyaml/src/
A Dreader.c64 if (parser->raw_buffer.last - parser->raw_buffer.pointer >= 2 in yaml_parser_determine_encoding()
70 else if (parser->raw_buffer.last - parser->raw_buffer.pointer >= 2 in yaml_parser_determine_encoding()
76 else if (parser->raw_buffer.last - parser->raw_buffer.pointer >= 3 in yaml_parser_determine_encoding()
100 if (parser->raw_buffer.start == parser->raw_buffer.pointer in yaml_parser_update_raw_buffer()
101 && parser->raw_buffer.last == parser->raw_buffer.end) in yaml_parser_update_raw_buffer()
110 if (parser->raw_buffer.start < parser->raw_buffer.pointer in yaml_parser_update_raw_buffer()
111 && parser->raw_buffer.pointer < parser->raw_buffer.last) { in yaml_parser_update_raw_buffer()
112 memmove(parser->raw_buffer.start, parser->raw_buffer.pointer, in yaml_parser_update_raw_buffer()
113 parser->raw_buffer.last - parser->raw_buffer.pointer); in yaml_parser_update_raw_buffer()
116 parser->raw_buffer.pointer - parser->raw_buffer.start; in yaml_parser_update_raw_buffer()
[all …]
A Dwriter.c107 emitter->raw_buffer.last[high] = value >> 8; in yaml_emitter_flush()
108 emitter->raw_buffer.last[low] = value & 0xFF; in yaml_emitter_flush()
110 emitter->raw_buffer.last += 2; in yaml_emitter_flush()
117 emitter->raw_buffer.last[high] = 0xD8 + (value >> 18); in yaml_emitter_flush()
118 emitter->raw_buffer.last[low] = (value >> 10) & 0xFF; in yaml_emitter_flush()
120 emitter->raw_buffer.last[low+2] = value & 0xFF; in yaml_emitter_flush()
122 emitter->raw_buffer.last += 4; in yaml_emitter_flush()
129 emitter->raw_buffer.start, in yaml_emitter_flush()
130 emitter->raw_buffer.last - emitter->raw_buffer.start)) { in yaml_emitter_flush()
133 emitter->raw_buffer.last = emitter->raw_buffer.start; in yaml_emitter_flush()
[all …]
A Dapi.c176 if (!BUFFER_INIT(parser, parser->raw_buffer, INPUT_RAW_BUFFER_SIZE)) in yaml_parser_initialize()
197 BUFFER_DEL(parser, parser->raw_buffer); in yaml_parser_initialize()
218 BUFFER_DEL(parser, parser->raw_buffer); in yaml_parser_delete()
356 if (!BUFFER_INIT(emitter, emitter->raw_buffer, OUTPUT_RAW_BUFFER_SIZE)) in yaml_emitter_initialize()
372 BUFFER_DEL(emitter, emitter->raw_buffer); in yaml_emitter_initialize()
391 BUFFER_DEL(emitter, emitter->raw_buffer); in yaml_emitter_delete()
/optee_benchmark/libyaml/include/
A Dyaml.h1164 } raw_buffer; member
1592 } raw_buffer; member

Completed in 10 milliseconds