Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 17 of 17) sorted by relevance

/optee_benchmark/libyaml/tests/
A Drun-emitter.c44 event_from->data.scalar.tag, in copy_event()
64 event_from->data.mapping_start.tag, in copy_event()
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()
154 if ((event1->data.sequence_start.tag && !event2->data.sequence_start.tag) in compare_events()
155 || (!event1->data.sequence_start.tag && event2->data.sequence_start.tag) in compare_events()
156 || (event1->data.sequence_start.tag && event2->data.sequence_start.tag in compare_events()
172 if ((event1->data.mapping_start.tag && !event2->data.mapping_start.tag) in compare_events()
173 || (!event1->data.mapping_start.tag && event2->data.mapping_start.tag) in compare_events()
[all …]
A Dexample-deconstructor-alt.c251 yaml_tag_directive_t *tag; in main() local
264 for (tag = input_event.data.document_start.tag_directives.start; in main()
266 tag ++) in main()
282 tag->handle, -1, YAML_DOUBLE_QUOTED_SCALAR_STYLE); in main()
293 tag->prefix, -1, YAML_DOUBLE_QUOTED_SCALAR_STYLE); in main()
398 if (input_event.data.scalar.tag) in main()
404 input_event.data.scalar.tag, -1, in main()
518 if (input_event.data.sequence_start.tag) in main()
524 input_event.data.sequence_start.tag, -1, in main()
611 if (input_event.data.mapping_start.tag) in main()
[all …]
A Dexample-deconstructor.c315 yaml_tag_directive_t *tag; in main() local
335 for (tag = input_event.data.document_start.tag_directives.start; in main()
337 tag ++) in main()
361 tag->handle, -1, in main()
380 tag->prefix, -1, in main()
553 if (input_event.data.scalar.tag) in main()
568 input_event.data.scalar.tag, -1, in main()
745 if (input_event.data.sequence_start.tag) in main()
760 input_event.data.sequence_start.tag, -1, in main()
886 if (input_event.data.mapping_start.tag) in main()
[all …]
A Drun-dumper.c31 if (!yaml_document_add_scalar(document_to, node->tag, in copy_document()
36 if (!yaml_document_add_sequence(document_to, node->tag, in copy_document()
40 if (!yaml_document_add_mapping(document_to, node->tag, in copy_document()
93 if (strcmp((char *)node1->tag, (char *)node2->tag) != 0) return 0; in compare_nodes()
/optee_benchmark/libyaml/src/
A Dloader.c287 yaml_char_t *tag = first_event->data.scalar.tag; in yaml_parser_load_scalar() local
291 if (!tag || strcmp((char *)tag, "!") == 0) { in yaml_parser_load_scalar()
292 yaml_free(tag); in yaml_parser_load_scalar()
311 yaml_free(tag); in yaml_parser_load_scalar()
332 yaml_char_t *tag = first_event->data.sequence_start.tag; in yaml_parser_load_sequence() local
336 if (!tag || strcmp((char *)tag, "!") == 0) { in yaml_parser_load_sequence()
337 yaml_free(tag); in yaml_parser_load_sequence()
374 yaml_free(tag); in yaml_parser_load_sequence()
395 yaml_char_t *tag = first_event->data.mapping_start.tag; in yaml_parser_load_mapping() local
399 if (!tag || strcmp((char *)tag, "!") == 0) { in yaml_parser_load_mapping()
[all …]
A Dapi.c835 if (tag) { in yaml_scalar_event_initialize()
836 if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error; in yaml_scalar_event_initialize()
885 if (tag) { in yaml_sequence_start_event_initialize()
886 if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error; in yaml_sequence_start_event_initialize()
940 if (tag) { in yaml_mapping_start_event_initialize()
1209 if (!tag) { in yaml_document_add_scalar()
1213 if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error; in yaml_document_add_scalar()
1261 if (!tag) { in yaml_document_add_sequence()
1265 if (!yaml_check_utf8(tag, strlen((char *)tag))) goto error; in yaml_document_add_sequence()
1306 if (!tag) { in yaml_document_add_mapping()
[all …]
A Dparser.c536 yaml_char_t *tag = NULL; in yaml_parser_parse_node() local
577 tag_handle = token->data.tag.handle; in yaml_parser_parse_node()
578 tag_suffix = token->data.tag.suffix; in yaml_parser_parse_node()
596 tag = tag_suffix; in yaml_parser_parse_node()
609 if (!tag) { in yaml_parser_parse_node()
622 if (!tag) { in yaml_parser_parse_node()
631 implicit = (!tag || !*tag); in yaml_parser_parse_node()
645 || (tag && strcmp((char *)tag, "!") == 0)) { in yaml_parser_parse_node()
648 else if (!tag) { in yaml_parser_parse_node()
687 else if (anchor || tag) { in yaml_parser_parse_node()
[all …]
A Ddumper.c181 yaml_free(node.tag); in yaml_emitter_delete_document_and_anchors()
322 int plain_implicit = (strcmp((char *)node->tag, in yaml_emitter_dump_scalar()
324 int quoted_implicit = (strcmp((char *)node->tag, in yaml_emitter_dump_scalar()
327 SCALAR_EVENT_INIT(event, anchor, node->tag, node->data.scalar.value, in yaml_emitter_dump_scalar()
345 int implicit = (strcmp((char *)node->tag, YAML_DEFAULT_SEQUENCE_TAG) == 0); in yaml_emitter_dump_sequence()
349 SEQUENCE_START_EVENT_INIT(event, anchor, node->tag, implicit, in yaml_emitter_dump_sequence()
375 int implicit = (strcmp((char *)node->tag, YAML_DEFAULT_MAPPING_TAG) == 0); in yaml_emitter_dump_mapping()
379 MAPPING_START_EVENT_INIT(event, anchor, node->tag, implicit, in yaml_emitter_dump_mapping()
A Dyaml_private.h521 (token).data.tag.handle = (token_handle), \
522 (token).data.tag.suffix = (token_suffix))
577 (event).data.scalar.tag = (event_tag), \
588 (event).data.sequence_start.tag = (event_tag), \
599 (event).data.mapping_start.tag = (event_tag), \
633 (node).tag = (node_tag), \
A Demitter.c202 yaml_char_t *tag);
1437 yaml_char_t *tag) in yaml_emitter_analyze_tag() argument
1443 tag_length = strlen((char *)tag); in yaml_emitter_analyze_tag()
1444 STRING_ASSIGN(string, tag, tag_length); in yaml_emitter_analyze_tag()
1705 if (event->data.scalar.tag && (emitter->canonical || in yaml_emitter_analyze_event()
1708 if (!yaml_emitter_analyze_tag(emitter, event->data.scalar.tag)) in yaml_emitter_analyze_event()
1722 if (event->data.sequence_start.tag && (emitter->canonical || in yaml_emitter_analyze_event()
1725 event->data.sequence_start.tag)) in yaml_emitter_analyze_event()
1736 if (event->data.mapping_start.tag && (emitter->canonical || in yaml_emitter_analyze_event()
1739 event->data.mapping_start.tag)) in yaml_emitter_analyze_event()
/optee_benchmark/libyaml/tests/run-test-suite/src/
A Dlibyaml-emitter.c10 char *get_tag(char *line, char *tag);
44 char tag[256]; in main() local
64 … get_tag(line, tag), 0, YAML_BLOCK_MAPPING_STYLE); in main()
72 … get_tag(line, tag), 0, YAML_BLOCK_SEQUENCE_STYLE); in main()
82 implicit = (get_tag(line, tag) == NULL); in main()
85 …get_anchor('&', line, anchor), (yaml_char_t *) get_tag(line, tag), (yaml_char_t *) value, -1, impl… in main()
167 char *get_tag(char *line, char *tag) in get_tag() argument
175 memcpy(tag, start + 1, end - start - 1); in get_tag()
176 tag[end - start - 1] = '\0'; in get_tag()
177 return tag; in get_tag()
A Dlibyaml-parser.c60 if (event.data.mapping_start.tag) in main()
61 printf(" <%s>", event.data.mapping_start.tag); in main()
70 if (event.data.sequence_start.tag) in main()
71 printf(" <%s>", event.data.sequence_start.tag); in main()
80 if (event.data.scalar.tag) in main()
81 printf(" <%s>", event.data.scalar.tag); in main()
/optee_benchmark/libyaml/examples/
A Dglobal-tag.yaml1 %TAG ! tag:clarkevans.com,2002:
4 # tag:clarkevans.com,2002:circle
/optee_benchmark/libyaml/include/
A Dyaml.h301 } tag; member
434 yaml_char_t *tag; member
452 yaml_char_t *tag; member
464 yaml_char_t *tag; member
581 yaml_char_t *anchor, yaml_char_t *tag,
604 yaml_char_t *anchor, yaml_char_t *tag, int implicit,
636 yaml_char_t *anchor, yaml_char_t *tag, int implicit,
725 yaml_char_t *tag; member
899 yaml_char_t *tag, yaml_char_t *value, int length,
916 yaml_char_t *tag, yaml_sequence_style_t style);
[all …]
/optee_benchmark/libyaml/tests/run-test-suite/src/test/
A Dexample-2.27-invoice.out1 --- !<tag:clarkevans.com,2002:invoice>
A Dexample-2.27-invoice.yaml1 --- !<tag:clarkevans.com,2002:invoice>
A Dexample-2.27-invoice.events3 +MAP <tag:clarkevans.com,2002:invoice>

Completed in 26 milliseconds