Lines Matching refs:node
17 yaml_node_t *node; in copy_document() local
27 for (node = document_from->nodes.start; in copy_document()
28 node < document_from->nodes.top; node ++) { in copy_document()
29 switch (node->type) { in copy_document()
31 if (!yaml_document_add_scalar(document_to, node->tag, in copy_document()
32 node->data.scalar.value, node->data.scalar.length, in copy_document()
33 node->data.scalar.style)) goto error; in copy_document()
36 if (!yaml_document_add_sequence(document_to, node->tag, in copy_document()
37 node->data.sequence.style)) goto error; in copy_document()
40 if (!yaml_document_add_mapping(document_to, node->tag, in copy_document()
41 node->data.mapping.style)) goto error; in copy_document()
49 for (node = document_from->nodes.start; in copy_document()
50 node < document_from->nodes.top; node ++) { in copy_document()
51 switch (node->type) { in copy_document()
53 for (item = node->data.sequence.items.start; in copy_document()
54 item < node->data.sequence.items.top; item ++) { in copy_document()
56 node - document_from->nodes.start + 1, in copy_document()
61 for (pair = node->data.mapping.pairs.start; in copy_document()
62 pair < node->data.mapping.pairs.top; pair ++) { in copy_document()
64 node - document_from->nodes.start + 1, in copy_document()