Searched refs:node2 (Results 1 – 1 of 1) sorted by relevance
84 yaml_node_t *node2 = yaml_document_get_node(document2, index2); in compare_nodes() local88 assert(node2); 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()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()104 (node2->data.sequence.items.top - node2->data.sequence.items.start)) in compare_nodes()108 document2, node2->data.sequence.items.start[k], level)) return 0; in compare_nodes()113 (node2->data.mapping.pairs.top - node2->data.mapping.pairs.start)) in compare_nodes()117 document2, node2->data.mapping.pairs.start[k].key, level)) return 0; in compare_nodes()[all …]
Completed in 2 milliseconds