Home
last modified time | relevance | path

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

/optee_benchmark/libyaml/tests/
A Drun-emitter.c123 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()
154 if ((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()
[all …]
A Drun-dumper.c32 node->data.scalar.value, node->data.scalar.length, 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()
103 if ((node1->data.sequence.items.top - node1->data.sequence.items.start) != in compare_nodes()
104 (node2->data.sequence.items.top - node2->data.sequence.items.start)) in compare_nodes()
106 … for (k = 0; k < (node1->data.sequence.items.top - node1->data.sequence.items.start); k ++) { in compare_nodes()
112 if ((node1->data.mapping.pairs.top - node1->data.mapping.pairs.start) != in compare_nodes()
113 (node2->data.mapping.pairs.top - node2->data.mapping.pairs.start)) in compare_nodes()
115 … for (k = 0; k < (node1->data.mapping.pairs.top - node1->data.mapping.pairs.start); k ++) { in compare_nodes()
166 char data[BUFFER_SIZE]; in print_output() local
[all …]
A Dexample-deconstructor-alt.c154 if (input_event.data.stream_start.encoding) in main()
360 input_event.data.alias.anchor, -1, in main()
383 if (input_event.data.scalar.anchor) in main()
398 if (input_event.data.scalar.tag) in main()
417 input_event.data.scalar.value, in main()
418 input_event.data.scalar.length, in main()
463 if (input_event.data.scalar.style) in main()
518 if (input_event.data.sequence_start.tag) in main()
545 if (input_event.data.sequence_start.style) in main()
596 if (input_event.data.mapping_start.anchor) in main()
[all …]
A Dexample-deconstructor.c166 if (input_event.data.stream_start.encoding) in main()
529 if (input_event.data.scalar.anchor) in main()
553 if (input_event.data.scalar.tag) in main()
590 input_event.data.scalar.value, in main()
591 input_event.data.scalar.length, in main()
666 if (input_event.data.scalar.style) in main()
745 if (input_event.data.sequence_start.tag) in main()
789 if (input_event.data.sequence_start.style) in main()
862 if (input_event.data.mapping_start.anchor) in main()
886 if (input_event.data.mapping_start.tag) in main()
[all …]
A Drun-tests.sh23 rm -fr tests/run-test-suite/data
/optee_benchmark/libyaml/tests/run-test-suite/src/
A Dlibyaml-parser.c46 if (!event.data.document_start.implicit) in main()
52 if (!event.data.document_end.implicit) in main()
58 if (event.data.mapping_start.anchor) in main()
60 if (event.data.mapping_start.tag) in main()
68 if (event.data.sequence_start.anchor) in main()
70 if (event.data.sequence_start.tag) in main()
78 if (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()
[all …]
/optee_benchmark/libyaml/src/
A Dloader.c179 = first_event->data.document_start.implicit; in yaml_parser_load_document()
228 yaml_alias_data_t data; in yaml_parser_register_anchor() local
233 data.anchor = anchor; in yaml_parser_register_anchor()
234 data.index = index; in yaml_parser_register_anchor()
247 if (!PUSH(parser, parser->aliases, data)) { in yaml_parser_register_anchor()
287 yaml_char_t *tag = first_event->data.scalar.tag; in yaml_parser_load_scalar()
298 first_event->data.scalar.length, first_event->data.scalar.style, 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()
345 first_event->data.sequence_start.style, in yaml_parser_load_sequence()
[all …]
A Dyaml_private.h513 (token).data.alias.value = (token_value))
517 (token).data.anchor.value = (token_value))
522 (token).data.tag.suffix = (token_suffix))
528 (token).data.scalar.style = (token_style))
571 (event).data.alias.anchor = (event_anchor))
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))
[all …]
A Ddumper.c183 yaml_free(node.data.scalar.value); in yaml_emitter_delete_document_and_anchors()
187 STACK_DEL(emitter, node.data.sequence.items); in yaml_emitter_delete_document_and_anchors()
190 STACK_DEL(emitter, node.data.mapping.pairs); in yaml_emitter_delete_document_and_anchors()
218 for (item = node->data.sequence.items.start; in yaml_emitter_anchor_node()
224 for (pair = node->data.mapping.pairs.start; in yaml_emitter_anchor_node()
329 node->data.scalar.style, mark, mark); in yaml_emitter_dump_scalar()
350 node->data.sequence.style, mark, mark); in yaml_emitter_dump_sequence()
353 for (item = node->data.sequence.items.start; in yaml_emitter_dump_sequence()
380 node->data.mapping.style, mark, mark); in yaml_emitter_dump_mapping()
383 for (pair = node->data.mapping.pairs.start; in yaml_emitter_dump_mapping()
[all …]
A Dapi.c246 yaml_parser_t *parser = data; in yaml_string_read_handler()
272 yaml_parser_t *parser = data; in yaml_file_read_handler()
321 yaml_read_handler_t *handler, void *data) in yaml_parser_set_input() argument
328 parser->read_handler_data = data; in yaml_parser_set_input()
416 yaml_emitter_t *emitter = data; in yaml_string_write_handler()
442 yaml_emitter_t *emitter = data; in yaml_file_write_handler()
497 emitter->write_handler_data = data; in yaml_emitter_set_output()
590 yaml_free(token->data.alias.value); in yaml_token_delete()
598 yaml_free(token->data.tag.handle); in yaml_token_delete()
599 yaml_free(token->data.tag.suffix); in yaml_token_delete()
[all …]
A Demitter.c585 implicit = event->data.document_start.implicit; in yaml_emitter_emit_document_start()
698 if (!event->data.document_end.implicit) { in yaml_emitter_emit_document_end()
1181 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()
1224 if (no_tag && !event->data.scalar.quoted_implicit in yaml_emitter_select_scalar_style()
1695 event->data.alias.anchor, 1)) in yaml_emitter_analyze_event()
1700 if (event->data.scalar.anchor) { in yaml_emitter_analyze_event()
1712 event->data.scalar.value, event->data.scalar.length)) in yaml_emitter_analyze_event()
1717 if (event->data.sequence_start.anchor) { in yaml_emitter_analyze_event()
[all …]
A Dparser.c546 ALIAS_EVENT_INIT(*event, token->data.alias.value, in yaml_parser_parse_node()
558 anchor = token->data.anchor.value; in yaml_parser_parse_node()
566 tag_handle = token->data.tag.handle; in yaml_parser_parse_node()
567 tag_suffix = token->data.tag.suffix; in yaml_parser_parse_node()
577 tag_handle = token->data.tag.handle; in yaml_parser_parse_node()
578 tag_suffix = token->data.tag.suffix; in yaml_parser_parse_node()
586 anchor = token->data.anchor.value; in yaml_parser_parse_node()
653 token->data.scalar.value, token->data.scalar.length, in yaml_parser_parse_node()
1267 if (token->data.version_directive.major != 1 in yaml_parser_process_directives()
1284 value.handle = token->data.tag_directive.handle; in yaml_parser_process_directives()
[all …]
/optee_benchmark/libyaml/tests/run-test-suite/
A DMakefile16 test: data src/libyaml-parser
20 rm -fr data
22 data: target
/optee_benchmark/
A Dmain.c40 void sigint_handler(int data) in sigint_handler() argument
42 (void)data; in sigint_handler()
261 char data[MAX_SCALAR]; in fill_timestamp() local
272 snprintf(data, MAX_SCALAR, "%" PRIu32, core); in fill_timestamp()
273 fill_map("core", data); in fill_timestamp()
275 snprintf(data, MAX_SCALAR, "%" PRIu64, count); in fill_timestamp()
276 fill_map("counter", data); in fill_timestamp()
278 snprintf(data, MAX_SCALAR, "0x%" PRIx64, addr); in fill_timestamp()
279 fill_map("address", data); in fill_timestamp()
281 snprintf(data, MAX_SCALAR, "%s", subsystem); in fill_timestamp()
[all …]
/optee_benchmark/libyaml/include/
A Dyaml.h329 } data; member
471 } data; member
770 } data; member
988 typedef int yaml_read_handler_t(void *data, unsigned char *buffer, size_t size,
1370 yaml_read_handler_t *handler, void *data);
1478 typedef int yaml_write_handler_t(void *data, unsigned char *buffer, size_t size);
1832 yaml_write_handler_t *handler, void *data);
/optee_benchmark/libyaml/
A D.gitignore52 /tests/run-test-suite/data
A D.makefile61 rm -fr tests/run-test-suite/data

Completed in 32 milliseconds