Lines Matching defs:parent
168 xmlNodePtr node_create(xmlNodePtr parent, const xmlChar *name);
169 static xmlNodePtr node_create_with_id(xmlNodePtr parent, const xmlChar *name);
308 * node_create() creates a child node of type name of the supplied parent in
309 * the supplied document. If the parent or document is NULL, create the node
310 * but do not associate it with a parent or document.
313 node_create(xmlNodePtr parent, const xmlChar *name)
317 if (parent == NULL)
320 node = xmlNewChild(parent, NULL, name, NULL);
326 * parent with the ref_id generated by get_unique_id(). Actual node creation
331 node_create_with_id(xmlNodePtr parent, const xmlChar *name)
334 xmlNodePtr node = node_create(parent, name);
438 property_create(xmlNodePtr parent, const char *name, pool_value_class_t type)
444 if ((element = node_create(parent, BAD_CAST "property")) == NULL) {
1483 pool_elem_t *parent;
1491 /* Now create the XML component and add to it's parent */
1493 * If we know the class of an element, we know it's parent.
1494 * PEC_POOL, the parent must be the system node
1496 * PEC_COMP, we don't know the parent, leave this up to the
1506 if ((parent = pool_system_elem(parent_system)) == NULL) {
1516 ((pool_xml_elem_t *)parent)->pxe_node,
1529 if ((parent = pool_system_elem(parent_system)) == NULL) {
1539 (((pool_xml_elem_t *)parent)->pxe_node,
1901 xmlNodePtr parent;
1905 parent = pxc->pxe_node->parent;
1910 (void) xmlAddChild(parent, pxc->pxe_node);
1926 return ((pool_elem_t *)pxc->pxe_node->parent->_private);