Home
last modified time | relevance | path

Searched refs:scalar (Results 1 – 12 of 12) sorted by relevance

/optee_benchmark/libyaml/tests/
A Drun-emitter.c44 event_from->data.scalar.tag, in copy_event()
123 if ((event1->data.scalar.anchor && !event2->data.scalar.anchor) in compare_events()
124 || (!event1->data.scalar.anchor && event2->data.scalar.anchor) in compare_events()
125 || (event1->data.scalar.anchor && event2->data.scalar.anchor in compare_events()
129 if ((event1->data.scalar.tag && !event2->data.scalar.tag in compare_events()
131 || (!event1->data.scalar.tag && event2->data.scalar.tag in compare_events()
133 || (event1->data.scalar.tag && event2->data.scalar.tag in compare_events()
137 if ((event1->data.scalar.length != event2->data.scalar.length) in compare_events()
138 || memcmp(event1->data.scalar.value, event2->data.scalar.value, in compare_events()
141 if ((event1->data.scalar.plain_implicit != event2->data.scalar.plain_implicit) in compare_events()
[all …]
A Drun-dumper.c32 node->data.scalar.value, node->data.scalar.length, in copy_document()
33 node->data.scalar.style)) goto error; in copy_document()
97 if (node1->data.scalar.length != node2->data.scalar.length) in compare_nodes()
99 if (strncmp((char *)node1->data.scalar.value, (char *)node2->data.scalar.value, in compare_nodes()
100 node1->data.scalar.length) != 0) return 0; in compare_nodes()
A Dexample-deconstructor-alt.c383 if (input_event.data.scalar.anchor) in main()
389 input_event.data.scalar.anchor, -1, in main()
398 if (input_event.data.scalar.tag) in main()
404 input_event.data.scalar.tag, -1, in main()
417 input_event.data.scalar.value, in main()
418 input_event.data.scalar.length, in main()
443 (yaml_char_t *)(input_event.data.scalar.plain_implicit ? in main()
455 (yaml_char_t *)(input_event.data.scalar.quoted_implicit ? in main()
463 if (input_event.data.scalar.style) in main()
465 yaml_scalar_style_t style = input_event.data.scalar.style; in main()
A Dexample-deconstructor.c529 if (input_event.data.scalar.anchor) in main()
544 input_event.data.scalar.anchor, -1, in main()
553 if (input_event.data.scalar.tag) in main()
568 input_event.data.scalar.tag, -1, in main()
590 input_event.data.scalar.value, in main()
591 input_event.data.scalar.length, in main()
630 (yaml_char_t * )(input_event.data.scalar.plain_implicit ? in main()
650 (yaml_char_t *)(input_event.data.scalar.quoted_implicit ? in main()
666 if (input_event.data.scalar.style) in main()
668 yaml_scalar_style_t style = input_event.data.scalar.style; in main()
/optee_benchmark/libyaml/tests/run-test-suite/src/
A Dlibyaml-parser.c78 if (event.data.scalar.anchor) in main()
79 printf(" &%s", event.data.scalar.anchor); in main()
80 if (event.data.scalar.tag) in main()
81 printf(" <%s>", event.data.scalar.tag); in main()
82 switch (event.data.scalar.style) { in main()
101 print_escaped(event.data.scalar.value, event.data.scalar.length); in main()
/optee_benchmark/libyaml/src/
A Dyaml_private.h526 (token).data.scalar.value = (token_value), \
527 (token).data.scalar.length = (token_length), \
528 (token).data.scalar.style = (token_style))
576 (event).data.scalar.anchor = (event_anchor), \
577 (event).data.scalar.tag = (event_tag), \
578 (event).data.scalar.value = (event_value), \
579 (event).data.scalar.length = (event_length), \
580 (event).data.scalar.plain_implicit = (event_plain_implicit), \
581 (event).data.scalar.quoted_implicit = (event_quoted_implicit), \
582 (event).data.scalar.style = (event_style))
[all …]
A Dloader.c287 yaml_char_t *tag = first_event->data.scalar.tag; in yaml_parser_load_scalar()
297 SCALAR_NODE_INIT(node, tag, first_event->data.scalar.value, in yaml_parser_load_scalar()
298 first_event->data.scalar.length, first_event->data.scalar.style, in yaml_parser_load_scalar()
306 first_event->data.scalar.anchor)) return 0; in yaml_parser_load_scalar()
312 yaml_free(first_event->data.scalar.anchor); in yaml_parser_load_scalar()
313 yaml_free(first_event->data.scalar.value); in yaml_parser_load_scalar()
A Ddumper.c183 yaml_free(node.data.scalar.value); in yaml_emitter_delete_document_and_anchors()
327 SCALAR_EVENT_INIT(event, anchor, node->tag, node->data.scalar.value, in yaml_emitter_dump_scalar()
328 node->data.scalar.length, plain_implicit, quoted_implicit, in yaml_emitter_dump_scalar()
329 node->data.scalar.style, mark, mark); in yaml_emitter_dump_scalar()
A Demitter.c1181 yaml_scalar_style_t style = event->data.scalar.style; in yaml_emitter_select_scalar_style()
1184 if (no_tag && !event->data.scalar.plain_implicit in yaml_emitter_select_scalar_style()
1185 && !event->data.scalar.quoted_implicit) { in yaml_emitter_select_scalar_style()
1207 if (no_tag && !event->data.scalar.plain_implicit) in yaml_emitter_select_scalar_style()
1224 if (no_tag && !event->data.scalar.quoted_implicit in yaml_emitter_select_scalar_style()
1700 if (event->data.scalar.anchor) { in yaml_emitter_analyze_event()
1702 event->data.scalar.anchor, 0)) in yaml_emitter_analyze_event()
1705 if (event->data.scalar.tag && (emitter->canonical || in yaml_emitter_analyze_event()
1706 (!event->data.scalar.plain_implicit in yaml_emitter_analyze_event()
1707 && !event->data.scalar.quoted_implicit))) { in yaml_emitter_analyze_event()
[all …]
A Dapi.c603 yaml_free(token->data.scalar.value); in yaml_token_delete()
1003 yaml_free(event->data.scalar.anchor); in yaml_event_delete()
1004 yaml_free(event->data.scalar.tag); in yaml_event_delete()
1005 yaml_free(event->data.scalar.value); in yaml_event_delete()
1133 yaml_free(node.data.scalar.value); in yaml_document_delete()
A Dparser.c644 if ((token->data.scalar.style == YAML_PLAIN_SCALAR_STYLE && !tag) in yaml_parser_parse_node()
653 token->data.scalar.value, token->data.scalar.length, in yaml_parser_parse_node()
655 token->data.scalar.style, start_mark, end_mark); in yaml_parser_parse_node()
/optee_benchmark/libyaml/include/
A Dyaml.h311 } scalar; member
445 } scalar; member
738 } scalar; member

Completed in 24 milliseconds