Lines Matching refs:itemnode
54 yaml_node_t *itemnode = yaml_document_get_node(doc, *item); in PetscParseLayerYAML() local
55 PetscCheck(itemnode, comm, PETSC_ERR_LIB, "Corrupt YAML document"); in PetscParseLayerYAML()
56 …PetscCheck(itemnode->type == YAML_MAPPING_NODE, comm, PETSC_ERR_SUP, "Unsupported YAML node type: … in PetscParseLayerYAML()
57 PetscCall(PetscParseLayerYAML(options, doc, itemnode, source)); in PetscParseLayerYAML()
86 yaml_node_t *itemnode = yaml_document_get_node(doc, *item); in PetscParseLayerYAML() local
90 PetscCheck(itemnode, comm, PETSC_ERR_LIB, "Corrupt YAML document"); in PetscParseLayerYAML()
92 if (itemnode->type == YAML_SCALAR_NODE) { in PetscParseLayerYAML()
93 itemstr = STR(itemnode); in PetscParseLayerYAML()
95 } else if (itemnode->type == YAML_MAPPING_NODE) { in PetscParseLayerYAML()
96 yaml_node_pair_t *kvn = itemnode->data.mapping.pairs.start; in PetscParseLayerYAML()
97 yaml_node_pair_t *top = itemnode->data.mapping.pairs.top; in PetscParseLayerYAML()
118 PetscCall(PetscParseLayerYAML(options, doc, itemnode, source)); in PetscParseLayerYAML()