/optee_benchmark/libyaml/tests/ |
A D | run-emitter.c | 39 event_from->data.alias.anchor); in copy_event() 43 event_from->data.scalar.anchor, 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() 148 if ((event1->data.sequence_start.anchor && !event2->data.sequence_start.anchor) in compare_events() 149 || (!event1->data.sequence_start.anchor && event2->data.sequence_start.anchor) in compare_events() 150 || (event1->data.sequence_start.anchor && event2->data.sequence_start.anchor in compare_events() 166 if ((event1->data.mapping_start.anchor && !event2->data.mapping_start.anchor) in compare_events() 167 || (!event1->data.mapping_start.anchor && event2->data.mapping_start.anchor) in compare_events() [all …]
|
A D | example-deconstructor-alt.c | 360 input_event.data.alias.anchor, -1, in main() 383 if (input_event.data.scalar.anchor) in main() 389 input_event.data.scalar.anchor, -1, in main() 503 if (input_event.data.sequence_start.anchor) in main() 509 input_event.data.sequence_start.anchor, -1, in main() 596 if (input_event.data.mapping_start.anchor) in main() 602 input_event.data.mapping_start.anchor, -1, in main()
|
A D | example-deconstructor.c | 499 input_event.data.alias.anchor, -1, in main() 529 if (input_event.data.scalar.anchor) in main() 544 input_event.data.scalar.anchor, -1, in main() 721 if (input_event.data.sequence_start.anchor) in main() 736 input_event.data.sequence_start.anchor, -1, in main() 862 if (input_event.data.mapping_start.anchor) in main() 877 input_event.data.mapping_start.anchor, -1, in main()
|
/optee_benchmark/libyaml/src/ |
A D | dumper.c | 47 yaml_char_t *anchor); 51 yaml_char_t *anchor); 55 yaml_char_t *anchor); 252 if (!anchor) return NULL; in yaml_emitter_generate_anchor() 256 return anchor; in yaml_emitter_generate_anchor() 268 yaml_char_t *anchor = NULL; in yaml_emitter_dump_node() local 272 if (!anchor) return 0; in yaml_emitter_dump_node() 306 ALIAS_EVENT_INIT(event, anchor, mark, mark); in yaml_emitter_dump_alias() 317 yaml_char_t *anchor) in yaml_emitter_dump_scalar() argument 340 yaml_char_t *anchor) in yaml_emitter_dump_sequence() argument [all …]
|
A D | loader.c | 31 int index, yaml_char_t *anchor); 226 int index, yaml_char_t *anchor) in yaml_parser_register_anchor() argument 231 if (!anchor) return 1; in yaml_parser_register_anchor() 233 data.anchor = anchor; in yaml_parser_register_anchor() 239 if (strcmp((char *)alias_data->anchor, (char *)anchor) == 0) { in yaml_parser_register_anchor() 240 yaml_free(anchor); in yaml_parser_register_anchor() 248 yaml_free(anchor); in yaml_parser_register_anchor() 262 yaml_char_t *anchor = first_event->data.alias.anchor; in yaml_parser_load_alias() local 267 if (strcmp((char *)alias_data->anchor, (char *)anchor) == 0) { in yaml_parser_load_alias() 268 yaml_free(anchor); in yaml_parser_load_alias() [all …]
|
A D | api.c | 799 if (!yaml_check_utf8(anchor, strlen((char *)anchor))) return 0; in yaml_alias_event_initialize() 801 anchor_copy = yaml_strdup(anchor); in yaml_alias_event_initialize() 829 if (anchor) { in yaml_scalar_event_initialize() 830 if (!yaml_check_utf8(anchor, strlen((char *)anchor))) goto error; in yaml_scalar_event_initialize() 831 anchor_copy = yaml_strdup(anchor); in yaml_scalar_event_initialize() 879 if (anchor) { in yaml_sequence_start_event_initialize() 880 if (!yaml_check_utf8(anchor, strlen((char *)anchor))) goto error; in yaml_sequence_start_event_initialize() 881 anchor_copy = yaml_strdup(anchor); in yaml_sequence_start_event_initialize() 934 if (anchor) { in yaml_mapping_start_event_initialize() 935 if (!yaml_check_utf8(anchor, strlen((char *)anchor))) goto error; in yaml_mapping_start_event_initialize() [all …]
|
A D | parser.c | 533 yaml_char_t *anchor = NULL; in yaml_parser_parse_node() local 558 anchor = token->data.anchor.value; in yaml_parser_parse_node() 586 anchor = token->data.anchor.value; in yaml_parser_parse_node() 635 SEQUENCE_START_EVENT_INIT(*event, anchor, tag, implicit, in yaml_parser_parse_node() 652 SCALAR_EVENT_INIT(*event, anchor, tag, in yaml_parser_parse_node() 662 SEQUENCE_START_EVENT_INIT(*event, anchor, tag, implicit, in yaml_parser_parse_node() 669 MAPPING_START_EVENT_INIT(*event, anchor, tag, implicit, in yaml_parser_parse_node() 683 MAPPING_START_EVENT_INIT(*event, anchor, tag, implicit, in yaml_parser_parse_node() 687 else if (anchor || tag) { in yaml_parser_parse_node() 695 SCALAR_EVENT_INIT(*event, anchor, tag, value, 0, in yaml_parser_parse_node() [all …]
|
A D | emitter.c | 198 yaml_char_t *anchor, int alias); 1243 if (!emitter->anchor_data.anchor) in yaml_emitter_process_anchor() 1401 yaml_char_t *anchor, int alias) in yaml_emitter_analyze_anchor() argument 1406 anchor_length = strlen((char *)anchor); in yaml_emitter_analyze_anchor() 1407 STRING_ASSIGN(string, anchor, anchor_length); in yaml_emitter_analyze_anchor() 1424 emitter->anchor_data.anchor = string.start; in yaml_emitter_analyze_anchor() 1682 emitter->anchor_data.anchor = NULL; in yaml_emitter_analyze_event() 1695 event->data.alias.anchor, 1)) in yaml_emitter_analyze_event() 1700 if (event->data.scalar.anchor) { in yaml_emitter_analyze_event() 1717 if (event->data.sequence_start.anchor) { in yaml_emitter_analyze_event() [all …]
|
A D | yaml_private.h | 517 (token).data.anchor.value = (token_value)) 571 (event).data.alias.anchor = (event_anchor)) 576 (event).data.scalar.anchor = (event_anchor), \ 587 (event).data.sequence_start.anchor = (event_anchor), \ 598 (event).data.mapping_start.anchor = (event_anchor), \
|
/optee_benchmark/libyaml/tests/run-test-suite/src/ |
A D | libyaml-parser.c | 58 if (event.data.mapping_start.anchor) in main() 59 printf(" &%s", event.data.mapping_start.anchor); in main() 68 if (event.data.sequence_start.anchor) in main() 69 printf(" &%s", event.data.sequence_start.anchor); in main() 78 if (event.data.scalar.anchor) in main() 79 printf(" &%s", event.data.scalar.anchor); in main() 105 printf("=ALI *%s\n", event.data.alias.anchor); in main()
|
A D | libyaml-emitter.c | 9 char *get_anchor(char sigil, char *line, char *anchor); 43 char anchor[256]; in main() local 63 get_anchor('&', line, anchor), (yaml_char_t *) in main() 71 get_anchor('&', line, anchor), (yaml_char_t *) in main() 85 …get_anchor('&', line, anchor), (yaml_char_t *) get_tag(line, tag), (yaml_char_t *) value, -1, impl… in main() 89 get_anchor('*', line, anchor) in main() 153 char *get_anchor(char sigil, char *line, char *anchor) in get_anchor() argument 162 memcpy(anchor, start, end - start); in get_anchor() 163 anchor[end - start] = '\0'; in get_anchor() 164 return anchor; in get_anchor()
|
/optee_benchmark/libyaml/include/ |
A D | yaml.h | 293 } anchor; member 426 yaml_char_t *anchor; member 432 yaml_char_t *anchor; member 450 yaml_char_t *anchor; member 462 yaml_char_t *anchor; 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, 1069 yaml_char_t *anchor; member 1691 yaml_char_t *anchor; member [all …]
|