Home
last modified time | relevance | path

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

/optee_benchmark/libyaml/tests/run-test-suite/src/
A Dlibyaml-parser.c31 yaml_event_type_t type; in main() local
36 type = event.type; in main()
38 if (type == YAML_NO_EVENT) in main()
40 else if (type == YAML_STREAM_START_EVENT) in main()
42 else if (type == YAML_STREAM_END_EVENT) in main()
50 else if (type == YAML_DOCUMENT_END_EVENT) { in main()
64 else if (type == YAML_MAPPING_END_EVENT) in main()
74 else if (type == YAML_SEQUENCE_END_EVENT) in main()
76 else if (type == YAML_SCALAR_EVENT) { in main()
104 else if (type == YAML_ALIAS_EVENT) in main()
[all …]
/optee_benchmark/libyaml/src/
A Dparser.c543 if (token->type == YAML_ALIAS_TOKEN) in yaml_parser_parse_node()
556 if (token->type == YAML_ANCHOR_TOKEN) in yaml_parser_parse_node()
850 if (token->type == YAML_KEY_TOKEN) in yaml_parser_parse_block_mapping_key()
856 if (token->type != YAML_KEY_TOKEN && in yaml_parser_parse_block_mapping_key()
909 if (token->type == YAML_VALUE_TOKEN) in yaml_parser_parse_block_mapping_value()
915 if (token->type != YAML_KEY_TOKEN && in yaml_parser_parse_block_mapping_value()
982 if (token->type == YAML_KEY_TOKEN) { in yaml_parser_parse_flow_sequence_entry()
1021 if (token->type != YAML_VALUE_TOKEN && token->type != YAML_FLOW_ENTRY_TOKEN in yaml_parser_parse_flow_sequence_entry_mapping_key()
1051 if (token->type == YAML_VALUE_TOKEN) { in yaml_parser_parse_flow_sequence_entry_mapping_value()
1134 if (token->type == YAML_KEY_TOKEN) { in yaml_parser_parse_flow_mapping_key()
[all …]
A Dloader.c80 assert(event.type == YAML_STREAM_START_EVENT); in yaml_parser_load()
89 if (event.type == YAML_STREAM_END_EVENT) { in yaml_parser_load()
169 assert(first_event->type == YAML_DOCUMENT_START_EVENT); in yaml_parser_load_document()
187 assert(event.type == YAML_DOCUMENT_END_EVENT); in yaml_parser_load_document()
203 switch (first_event->type) { in yaml_parser_load_node()
357 while (event.type != YAML_SEQUENCE_END_EVENT) { in yaml_parser_load_sequence()
420 while (event.type != YAML_MAPPING_END_EVENT) { in yaml_parser_load_mapping()
A Ddumper.c182 if (node.type == YAML_SCALAR_NODE) { in yaml_emitter_delete_document_and_anchors()
186 if (node.type == YAML_SEQUENCE_NODE) { in yaml_emitter_delete_document_and_anchors()
189 if (node.type == YAML_MAPPING_NODE) { in yaml_emitter_delete_document_and_anchors()
216 switch (node->type) { in yaml_emitter_anchor_node()
281 switch (node->type) { in yaml_emitter_dump_node()
A Dscanner.c639 yaml_token_type_t type);
643 yaml_token_type_t type);
647 yaml_token_type_t type);
704 yaml_token_type_t type);
770 if (token->type == YAML_STREAM_END_TOKEN) { in yaml_parser_scan()
1236 TOKEN_INIT(token, type, mark, mark); in yaml_parser_roll_indent()
1406 yaml_token_type_t type) in yaml_parser_fetch_document_indicator() argument
1451 yaml_token_type_t type) in yaml_parser_fetch_flow_collection_start() argument
1494 yaml_token_type_t type) in yaml_parser_fetch_flow_collection_end() argument
2323 yaml_token_type_t type) in yaml_parser_scan_anchor() argument
[all …]
A Demitter.c318 switch (emitter->events.head->type) { in yaml_emitter_need_more_events()
336 switch (event->type) { in yaml_emitter_need_more_events()
498 if (event->type == YAML_STREAM_START_EVENT) in yaml_emitter_emit_stream_start()
694 if (event->type == YAML_DOCUMENT_END_EVENT) in yaml_emitter_emit_document_end()
741 if (event->type == YAML_SEQUENCE_END_EVENT) in yaml_emitter_emit_flow_sequence_item()
790 if (event->type == YAML_MAPPING_END_EVENT) in yaml_emitter_emit_flow_mapping_key()
876 if (event->type == YAML_SEQUENCE_END_EVENT) in yaml_emitter_emit_block_sequence_item()
909 if (event->type == YAML_MAPPING_END_EVENT) in yaml_emitter_emit_block_mapping_key()
978 switch (event->type) in yaml_emitter_emit_node()
1133 switch (event->type) in yaml_emitter_check_simple_key()
[all …]
A Dapi.c582 switch (token->type) in yaml_token_delete()
985 switch (event->type) in yaml_event_delete()
1131 switch (node.type) { in yaml_document_delete()
1345 assert(document->nodes.start[sequence-1].type == YAML_SEQUENCE_NODE); in yaml_document_append_sequence_item()
1375 assert(document->nodes.start[mapping-1].type == YAML_MAPPING_NODE); in yaml_document_append_mapping_pair()
A Dyaml_private.h500 (token).type = (token_type), \
546 (event).type = (event_type), \
632 (node).type = (node_type), \
/optee_benchmark/libyaml/include/
A Dyaml.h30 # define YAML_DECLARE(type) type argument
33 # define YAML_DECLARE(type) type
35 # define YAML_DECLARE(type) __declspec(dllexport) type
37 # define YAML_DECLARE(type) __declspec(dllimport) type
40 # define YAML_DECLARE(type) type
272 yaml_token_type_t type; member
389 yaml_event_type_t type; member
722 yaml_node_type_t type; member
/optee_benchmark/libyaml/tests/
A Drun-emitter.c17 switch (event_from->type) in copy_event()
82 if (event1->type != event2->type) in compare_events()
85 switch (event1->type) in compare_events()
289 done = (event.type == YAML_STREAM_END_EVENT); in main()
310 done = (event.type == YAML_STREAM_END_EVENT); in main()
A Drun-dumper.c29 switch (node->type) { in copy_document()
51 switch (node->type) { in copy_document()
90 if (node1->type != node2->type) in compare_nodes()
95 switch (node1->type) { in compare_nodes()
A Drun-parser.c47 done = (event.type == YAML_STREAM_END_EVENT); in main()
A Drun-scanner.c47 done = (token.type == YAML_STREAM_END_TOKEN); in main()
A Dexample-reformatter.c96 if (event.type == YAML_STREAM_END_EVENT) { in main()
A Dexample-deconstructor-alt.c123 if (input_event.type == YAML_STREAM_END_EVENT) { in main()
137 switch (input_event.type) in main()
A Dexample-deconstructor.c127 if (input_event.type == YAML_STREAM_END_EVENT) { in main()
142 switch (input_event.type) in main()
/optee_benchmark/libyaml/doc/
A Ddoxygen.cfg182 PREDEFINED = "YAML_DECLARE(type)=type"

Completed in 30 milliseconds