Home
last modified time | relevance | path

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

/optee_benchmark/libyaml/tests/
A Drun-dumper.c83 yaml_node_t *node1 = yaml_document_get_node(document1, index1); in compare_nodes() local
87 assert(node1); in compare_nodes()
90 if (node1->type != node2->type) in compare_nodes()
93 if (strcmp((char *)node1->tag, (char *)node2->tag) != 0) return 0; in compare_nodes()
95 switch (node1->type) { in compare_nodes()
97 if (node1->data.scalar.length != node2->data.scalar.length) in compare_nodes()
100 node1->data.scalar.length) != 0) return 0; in compare_nodes()
103 if ((node1->data.sequence.items.top - node1->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()
[all …]

Completed in 2 milliseconds