Searched refs:encoding (Results 1 – 11 of 11) sorted by relevance
| /optee_benchmark/libyaml/src/ |
| A D | writer.c | 38 assert(emitter->encoding); /* Output encoding must be set. */ in yaml_emitter_flush() 51 if (emitter->encoding == YAML_UTF8_ENCODING) in yaml_emitter_flush() 67 low = (emitter->encoding == YAML_UTF16LE_ENCODING ? 0 : 1); in yaml_emitter_flush() 68 high = (emitter->encoding == YAML_UTF16LE_ENCODING ? 1 : 0); in yaml_emitter_flush()
|
| A D | reader.c | 66 parser->encoding = YAML_UTF16LE_ENCODING; in yaml_parser_determine_encoding() 72 parser->encoding = YAML_UTF16BE_ENCODING; in yaml_parser_determine_encoding() 78 parser->encoding = YAML_UTF8_ENCODING; in yaml_parser_determine_encoding() 83 parser->encoding = YAML_UTF8_ENCODING; in yaml_parser_determine_encoding() 160 if (!parser->encoding) { in yaml_parser_update_buffer() 204 switch (parser->encoding) in yaml_parser_update_buffer() 302 low = (parser->encoding == YAML_UTF16LE_ENCODING ? 0 : 1); in yaml_parser_update_buffer() 303 high = (parser->encoding == YAML_UTF16LE_ENCODING ? 1 : 0); in yaml_parser_update_buffer()
|
| A D | api.c | 336 yaml_parser_set_encoding(yaml_parser_t *parser, yaml_encoding_t encoding) in yaml_parser_set_encoding() argument 339 assert(!parser->encoding); /* Encoding is already set or detected. */ in yaml_parser_set_encoding() 341 parser->encoding = encoding; in yaml_parser_set_encoding() 505 yaml_emitter_set_encoding(yaml_emitter_t *emitter, yaml_encoding_t encoding) in yaml_emitter_set_encoding() argument 508 assert(!emitter->encoding); /* You can set encoding only once. */ in yaml_emitter_set_encoding() 510 emitter->encoding = encoding; in yaml_emitter_set_encoding() 664 yaml_encoding_t encoding) in yaml_stream_start_event_initialize() argument 670 STREAM_START_EVENT_INIT(*event, encoding, mark, mark); in yaml_stream_start_event_initialize()
|
| A D | emitter.c | 500 if (!emitter->encoding) { in yaml_emitter_emit_stream_start() 501 emitter->encoding = event->data.stream_start.encoding; in yaml_emitter_emit_stream_start() 504 if (!emitter->encoding) { in yaml_emitter_emit_stream_start() 505 emitter->encoding = YAML_UTF8_ENCODING; in yaml_emitter_emit_stream_start() 532 if (emitter->encoding != YAML_UTF8_ENCODING) { in yaml_emitter_emit_stream_start()
|
| A D | yaml_private.h | 506 (token).data.stream_start.encoding = (token_encoding)) 552 (event).data.stream_start.encoding = (event_encoding))
|
| A D | parser.c | 326 STREAM_START_EVENT_INIT(*event, token->data.stream_start.encoding, in yaml_parser_parse_stream_start()
|
| A D | scanner.c | 1317 STREAM_START_TOKEN_INIT(token, parser->encoding, in yaml_parser_fetch_stream_start()
|
| /optee_benchmark/libyaml/include/ |
| A D | yaml.h | 280 yaml_encoding_t encoding; member 397 yaml_encoding_t encoding; member 491 yaml_encoding_t encoding); 1167 yaml_encoding_t encoding; member 1380 yaml_parser_set_encoding(yaml_parser_t *parser, yaml_encoding_t encoding); 1595 yaml_encoding_t encoding; member 1842 yaml_emitter_set_encoding(yaml_emitter_t *emitter, yaml_encoding_t encoding);
|
| /optee_benchmark/libyaml/tests/ |
| A D | example-deconstructor.c | 166 if (input_event.data.stream_start.encoding) in main() 168 yaml_encoding_t encoding in main() local 169 = input_event.data.stream_start.encoding; in main() 184 (yaml_char_t *)(encoding == YAML_UTF8_ENCODING ? "utf-8" : in main() 185 encoding == YAML_UTF16LE_ENCODING ? "utf-16-le" : in main() 186 encoding == YAML_UTF16BE_ENCODING ? "utf-16-be" : in main()
|
| A D | example-deconstructor-alt.c | 154 if (input_event.data.stream_start.encoding) in main() 156 yaml_encoding_t encoding in main() local 157 = input_event.data.stream_start.encoding; in main() 163 (yaml_char_t *)(encoding == YAML_UTF8_ENCODING ? "utf-8" : in main() 164 encoding == YAML_UTF16LE_ENCODING ? "utf-16-le" : in main() 165 encoding == YAML_UTF16BE_ENCODING ? "utf-16-be" : in main()
|
| A D | run-emitter.c | 21 event_from->data.stream_start.encoding); in copy_event()
|
Completed in 43 milliseconds