/optee_benchmark/libyaml/tests/run-test-suite/src/ |
A D | libyaml-emitter.c | 11 void get_value(char *line, char *value, int *style); 79 int style; in main() local 81 get_value(line, value, &style); in main() 85 …anchor), (yaml_char_t *) get_tag(line, tag), (yaml_char_t *) value, -1, implicit, implicit, style); in main() 180 void get_value(char *line, char *value, int *style) in get_value() argument 191 *style = YAML_PLAIN_SCALAR_STYLE; in get_value() 193 *style = YAML_SINGLE_QUOTED_SCALAR_STYLE; in get_value() 195 *style = YAML_DOUBLE_QUOTED_SCALAR_STYLE; in get_value() 197 *style = YAML_LITERAL_SCALAR_STYLE; in get_value() 199 *style = YAML_FOLDED_SCALAR_STYLE; in get_value()
|
A D | libyaml-parser.c | 82 switch (event.data.scalar.style) { in main()
|
/optee_benchmark/libyaml/include/ |
A D | yaml.h | 310 yaml_scalar_style_t style; member 444 yaml_scalar_style_t style; member 456 yaml_sequence_style_t style; member 468 yaml_mapping_style_t style; member 584 yaml_scalar_style_t style); 605 yaml_sequence_style_t style); 637 yaml_mapping_style_t style); 737 yaml_scalar_style_t style; member 767 yaml_mapping_style_t style; member 900 yaml_scalar_style_t style); [all …]
|
/optee_benchmark/libyaml/tests/ |
A D | example-deconstructor-alt.c | 463 if (input_event.data.scalar.style) in main() 465 yaml_scalar_style_t style = input_event.data.scalar.style; in main() local 474 style == YAML_SINGLE_QUOTED_SCALAR_STYLE ? in main() 476 style == YAML_DOUBLE_QUOTED_SCALAR_STYLE ? in main() 545 if (input_event.data.sequence_start.style) in main() 547 yaml_sequence_style_t style in main() local 548 = input_event.data.sequence_start.style; in main() 557 style == YAML_FLOW_SEQUENCE_STYLE ? "flow" : in main() 638 if (input_event.data.sequence_start.style) in main() 640 yaml_sequence_style_t style in main() local [all …]
|
A D | example-deconstructor.c | 666 if (input_event.data.scalar.style) in main() 668 yaml_scalar_style_t style = input_event.data.scalar.style; in main() local 684 style == YAML_SINGLE_QUOTED_SCALAR_STYLE ? in main() 686 style == YAML_DOUBLE_QUOTED_SCALAR_STYLE ? in main() 789 if (input_event.data.sequence_start.style) in main() 791 yaml_sequence_style_t style in main() local 792 = input_event.data.sequence_start.style; in main() 930 if (input_event.data.mapping_start.style) in main() 932 yaml_mapping_style_t style in main() local 933 = input_event.data.mapping_start.style; in main() [all …]
|
A D | run-dumper.c | 33 node->data.scalar.style)) goto error; in copy_document() 37 node->data.sequence.style)) goto error; in copy_document() 41 node->data.mapping.style)) goto error; in copy_document()
|
A D | run-emitter.c | 49 event_from->data.scalar.style); in copy_event() 56 event_from->data.sequence_start.style); in copy_event() 66 event_from->data.mapping_start.style); in copy_event()
|
/optee_benchmark/libyaml/src/ |
A D | emitter.c | 1181 yaml_scalar_style_t style = event->data.scalar.style; in yaml_emitter_select_scalar_style() local 1190 if (style == YAML_ANY_SCALAR_STYLE) in yaml_emitter_select_scalar_style() 1191 style = YAML_PLAIN_SCALAR_STYLE; in yaml_emitter_select_scalar_style() 1194 style = YAML_DOUBLE_QUOTED_SCALAR_STYLE; in yaml_emitter_select_scalar_style() 1197 style = YAML_DOUBLE_QUOTED_SCALAR_STYLE; in yaml_emitter_select_scalar_style() 1199 if (style == YAML_PLAIN_SCALAR_STYLE) in yaml_emitter_select_scalar_style() 1211 if (style == YAML_SINGLE_QUOTED_SCALAR_STYLE) in yaml_emitter_select_scalar_style() 1217 if (style == YAML_LITERAL_SCALAR_STYLE || style == YAML_FOLDED_SCALAR_STYLE) in yaml_emitter_select_scalar_style() 1225 && style != YAML_PLAIN_SCALAR_STYLE) in yaml_emitter_select_scalar_style() 1231 emitter->scalar_data.style = style; in yaml_emitter_select_scalar_style() [all …]
|
A D | api.c | 819 yaml_scalar_style_t style) in yaml_scalar_event_initialize() argument 852 plain_implicit, quoted_implicit, style, mark, mark); in yaml_scalar_event_initialize() 871 yaml_sequence_style_t style) in yaml_sequence_start_event_initialize() argument 892 implicit, style, mark, mark); in yaml_sequence_start_event_initialize() 926 yaml_mapping_style_t style) in yaml_mapping_start_event_initialize() argument 947 implicit, style, mark, mark); in yaml_mapping_start_event_initialize() 1196 yaml_scalar_style_t style) in yaml_document_add_scalar() argument 1245 yaml_char_t *tag, yaml_sequence_style_t style) in yaml_document_add_sequence() argument 1272 style, mark, mark); in yaml_document_add_sequence() 1290 yaml_char_t *tag, yaml_mapping_style_t style) in yaml_document_add_mapping() argument [all …]
|
A D | yaml_private.h | 528 (token).data.scalar.style = (token_style)) 582 (event).data.scalar.style = (event_style)) 590 (event).data.sequence_start.style = (event_style)) 601 (event).data.mapping_start.style = (event_style)) 642 (node).data.scalar.style = (node_style)) 650 (node).data.sequence.style = (node_style)) 658 (node).data.mapping.style = (node_style))
|
A D | dumper.c | 329 node->data.scalar.style, mark, mark); in yaml_emitter_dump_scalar() 350 node->data.sequence.style, mark, mark); in yaml_emitter_dump_sequence() 380 node->data.mapping.style, mark, mark); in yaml_emitter_dump_mapping()
|
A D | loader.c | 298 first_event->data.scalar.length, first_event->data.scalar.style, in yaml_parser_load_scalar() 345 first_event->data.sequence_start.style, in yaml_parser_load_sequence() 408 first_event->data.mapping_start.style, in yaml_parser_load_mapping()
|
A D | parser.c | 644 if ((token->data.scalar.style == YAML_PLAIN_SCALAR_STYLE && !tag) in yaml_parser_parse_node() 655 token->data.scalar.style, start_mark, end_mark); in yaml_parser_parse_node()
|
/optee_benchmark/libyaml/tests/run-test-suite/test/ |
A D | libyaml-emitter.list | 95 N782: Fake markers in flow style
|