Home
last modified time | relevance | path

Searched refs:pairs (Results 1 – 6 of 6) sorted by relevance

/optee_benchmark/libyaml/tests/
A Drun-dumper.c61 for (pair = node->data.mapping.pairs.start; in copy_document()
62 pair < node->data.mapping.pairs.top; pair ++) { in copy_document()
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()
116 if (!compare_nodes(document1, node1->data.mapping.pairs.start[k].key, in compare_nodes()
117 document2, node2->data.mapping.pairs.start[k].key, level)) return 0; in compare_nodes()
118 if (!compare_nodes(document1, node1->data.mapping.pairs.start[k].value, in compare_nodes()
119 document2, node2->data.mapping.pairs.start[k].value, level)) return 0; in compare_nodes()
/optee_benchmark/libyaml/src/
A Dloader.c392 } pairs = { NULL, NULL, NULL }; in yaml_parser_load_mapping() local
405 if (!STACK_INIT(parser, pairs, INITIAL_STACK_SIZE)) goto error; in yaml_parser_load_mapping()
407 MAPPING_NODE_INIT(node, tag, pairs.start, pairs.end, in yaml_parser_load_mapping()
422 parser->document->nodes.start[index-1].data.mapping.pairs, in yaml_parser_load_mapping()
430 parser->document->nodes.start[index-1].data.mapping.pairs, in yaml_parser_load_mapping()
A Ddumper.c190 STACK_DEL(emitter, node.data.mapping.pairs); in yaml_emitter_delete_document_and_anchors()
224 for (pair = node->data.mapping.pairs.start; in yaml_emitter_anchor_node()
225 pair < node->data.mapping.pairs.top; pair ++) { in yaml_emitter_anchor_node()
383 for (pair = node->data.mapping.pairs.start; in yaml_emitter_dump_mapping()
384 pair < node->data.mapping.pairs.top; pair ++) { in yaml_emitter_dump_mapping()
A Dapi.c1139 STACK_DEL(&context, node.data.mapping.pairs); in yaml_document_delete()
1301 } pairs = { NULL, NULL, NULL }; in yaml_document_add_mapping() local
1314 if (!STACK_INIT(&context, pairs, INITIAL_STACK_SIZE)) goto error; in yaml_document_add_mapping()
1316 MAPPING_NODE_INIT(node, tag_copy, pairs.start, pairs.end, in yaml_document_add_mapping()
1323 STACK_DEL(&context, pairs); in yaml_document_add_mapping()
1386 document->nodes.start[mapping-1].data.mapping.pairs, pair)) in yaml_document_append_mapping_pair()
A Dyaml_private.h655 (node).data.mapping.pairs.start = (node_pairs_start), \
656 (node).data.mapping.pairs.end = (node_pairs_end), \
657 (node).data.mapping.pairs.top = (node_pairs_start), \
/optee_benchmark/libyaml/include/
A Dyaml.h765 } pairs; member

Completed in 15 milliseconds