doc 44 cib/cibio.h extern int activateCibXml(xmlNode * doc, gboolean to_disk, const char *op); doc 350 lib/cib/cib_utils.c } else if(cib_filtered && (*output)->doc == cib_filtered->doc) { doc 354 lib/cib/cib_utils.c } else if((*output)->doc == current_cib->doc) { doc 352 lib/common/schemas.c validate_with_dtd(xmlDocPtr doc, gboolean to_logs, const char *dtd_file) doc 359 lib/common/schemas.c CRM_CHECK(doc != NULL, return FALSE); doc 380 lib/common/schemas.c if (!xmlValidateDtd(cvp, doc, dtd)) { doc 420 lib/common/schemas.c validate_with_relaxng(xmlDocPtr doc, gboolean to_logs, const char *relaxng_file, doc 427 lib/common/schemas.c CRM_CHECK(doc != NULL, return FALSE); doc 478 lib/common/schemas.c rc = xmlRelaxNGValidateDoc(ctx->valid, doc); doc 552 lib/common/schemas.c xmlDocPtr doc = NULL; doc 565 lib/common/schemas.c doc = getDocPtr(xml); doc 573 lib/common/schemas.c valid = validate_with_dtd(doc, to_logs, file); doc 577 lib/common/schemas.c validate_with_relaxng(doc, to_logs, file, doc 625 lib/common/schemas.c xmlDoc *doc = NULL; doc 638 lib/common/schemas.c doc = xmlParseFile(filename); doc 639 lib/common/schemas.c xml = xmlDocGetRootElement(doc); doc 718 lib/common/schemas.c xmlDocPtr doc = NULL; doc 722 lib/common/schemas.c doc = getDocPtr(xml); doc 738 lib/common/schemas.c res = xsltApplyStylesheet(xslt, doc, NULL); doc 116 lib/common/xml.c if(xml == NULL || xml->doc == NULL || xml->doc->_private == NULL) { doc 118 lib/common/xml.c } else if(is_set(((xml_private_t *)xml->doc->_private)->flags, xpf_tracking)) { doc 180 lib/common/xml.c if(xml && xml->doc && xml->doc->_private){ doc 182 lib/common/xml.c xml_private_t *p = xml->doc->_private; doc 386 lib/common/xml.c if(target == NULL || target->doc == NULL || target->doc->_private == NULL){ doc 388 lib/common/xml.c CRM_ASSERT(target->doc); doc 389 lib/common/xml.c CRM_ASSERT(target->doc->_private); doc 397 lib/common/xml.c p = target->doc->_private; doc 547 lib/common/xml.c p = xml->doc->_private; doc 552 lib/common/xml.c p = xml->doc->_private; doc 590 lib/common/xml.c p = xml->doc->_private; doc 602 lib/common/xml.c if(target == NULL || target->doc == NULL || target->doc->_private == NULL) { doc 606 lib/common/xml.c p = target->doc->_private; doc 706 lib/common/xml.c xml_private_t *doc = NULL; doc 724 lib/common/xml.c doc = target->doc->_private; doc 725 lib/common/xml.c for(aIter = doc->acls; aIter != NULL && target; aIter = aIter->next) { doc 758 lib/common/xml.c if(doc->acls) { doc 759 lib/common/xml.c g_list_free_full(doc->acls, __xml_acl_free); doc 760 lib/common/xml.c doc->acls = NULL; doc 763 lib/common/xml.c crm_trace("Ordinary user '%s' cannot access the CIB without any defined ACLs", doc->user); doc 803 lib/common/xml.c if(xml != xmlDocGetRootElement(xml->doc)) { doc 824 lib/common/xml.c if(xml && xml->doc && xml->doc->_private){ doc 825 lib/common/xml.c xml_private_t *p = xml->doc->_private; doc 836 lib/common/xml.c xml_private_t *p = xml->doc->_private; doc 848 lib/common/xml.c if(xml && xml->doc && xml->doc->_private){ doc 849 lib/common/xml.c xml_private_t *p = xml->doc->_private; doc 877 lib/common/xml.c } else if(is_set(((xml_private_t *)xml->doc->_private)->flags, xpf_tracking)) { doc 885 lib/common/xml.c if(xml != NULL && xml->doc && xml->doc->_private) { doc 886 lib/common/xml.c xml_private_t *doc = xml->doc->_private; doc 888 lib/common/xml.c return is_set(doc->flags, xpf_dirty); doc 1114 lib/common/xml.c if(xml->doc && xml->doc->_private) { doc 1115 lib/common/xml.c p = xml->doc->_private; doc 1219 lib/common/xml.c xml_private_t *doc = NULL; doc 1235 lib/common/xml.c CRM_ASSERT(target->doc); doc 1236 lib/common/xml.c doc = target->doc->_private; doc 1263 lib/common/xml.c for(gIter = doc->deleted_objs; gIter; gIter = gIter->next) { doc 1545 lib/common/xml.c xml_private_t *doc = NULL; doc 1548 lib/common/xml.c CRM_ASSERT(xml->doc); doc 1550 lib/common/xml.c doc = xml->doc->_private; doc 1551 lib/common/xml.c if(is_not_set(doc->flags, xpf_dirty)) { doc 1555 lib/common/xml.c for(gIter = doc->deleted_objs; gIter; gIter = gIter->next) { doc 1576 lib/common/xml.c xml_private_t *doc = NULL; doc 1583 lib/common/xml.c doc = xml->doc->_private; doc 1584 lib/common/xml.c top = xmlDocGetRootElement(xml->doc); doc 1586 lib/common/xml.c __xml_private_clean(xml->doc->_private); doc 1588 lib/common/xml.c if(is_not_set(doc->flags, xpf_dirty)) { doc 1589 lib/common/xml.c doc->flags = xpf_none; doc 1593 lib/common/xml.c doc->flags = xpf_none; doc 1951 lib/common/xml.c xmlNode *target = (xmlNode*)top->doc; doc 2048 lib/common/xml.c crm_debug("No %s match for %s in %p", op, xpath, xml->doc); doc 2052 lib/common/xml.c crm_err("No %s match for %s in %p", op, xpath, xml->doc); doc 2068 lib/common/xml.c child = xmlDocCopyNode(change->children, match->doc, 1); doc 2391 lib/common/xml.c xmlDoc *doc = NULL; doc 2395 lib/common/xml.c doc = node->doc; doc 2396 lib/common/xml.c if (doc == NULL) { doc 2397 lib/common/xml.c doc = xmlNewDoc((const xmlChar *)"1.0"); doc 2398 lib/common/xml.c xmlDocSetRootElement(doc, node); doc 2399 lib/common/xml.c xmlSetTreeDoc(node, doc); doc 2401 lib/common/xml.c return doc; doc 2408 lib/common/xml.c xmlDoc *doc = getDocPtr(parent); doc 2412 lib/common/xml.c child = xmlDocCopyNode(src_node, doc, 1); doc 2430 lib/common/xml.c CRM_ASSERT(xml->doc); doc 2431 lib/common/xml.c CRM_ASSERT(xml->doc->_private); doc 2439 lib/common/xml.c xml_private_t *docp = xml->doc->_private; doc 2590 lib/common/xml.c xmlDoc *doc = NULL; doc 2599 lib/common/xml.c doc = xmlNewDoc((const xmlChar *)"1.0"); doc 2600 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (const xmlChar *)name, NULL); doc 2601 lib/common/xml.c xmlDocSetRootElement(doc, node); doc 2604 lib/common/xml.c doc = getDocPtr(parent); doc 2605 lib/common/xml.c node = xmlNewDocRawNode(doc, NULL, (const xmlChar *)name, NULL); doc 2647 lib/common/xml.c xmlDoc *doc = child->doc; doc 2650 lib/common/xml.c if (doc != NULL) { doc 2651 lib/common/xml.c top = xmlDocGetRootElement(doc); doc 2654 lib/common/xml.c if (doc != NULL && top == child) { doc 2656 lib/common/xml.c xmlFreeDoc(doc); doc 2667 lib/common/xml.c if(doc && TRACKING_CHANGES(child) && is_not_set(p->flags, xpf_created)) { doc 2674 lib/common/xml.c crm_trace("Deleting %s %p from %p", buffer, child, doc); doc 2689 lib/common/xml.c p = doc->_private; doc 2714 lib/common/xml.c xmlDoc *doc = xmlNewDoc((const xmlChar *)"1.0"); doc 2715 lib/common/xml.c xmlNode *copy = xmlDocCopyNode(src, doc, 1); doc 2717 lib/common/xml.c xmlDocSetRootElement(doc, copy); doc 2718 lib/common/xml.c xmlSetTreeDoc(copy, doc); doc 3718 lib/common/xml.c xmlDoc *doc = NULL; doc 3722 lib/common/xml.c doc = getDocPtr(data); doc 3724 lib/common/xml.c CRM_CHECK(doc != NULL, return); doc 3740 lib/common/xml.c *max = xmlNodeDump(xml_buffer, doc, data, 0, (options & xml_log_option_formatted)); doc 4055 lib/common/xml.c p = new->doc->_private; doc 4137 lib/common/xml.c xmlNode *top = xmlDocGetRootElement(candidate->doc); doc 4780 lib/common/xml.c xmlDoc *doc = tmp->doc; doc 4792 lib/common/xml.c xmlDocSetRootElement(doc, old); doc 147 lib/common/xpath.c xmlDocPtr doc = NULL; doc 156 lib/common/xpath.c doc = getDocPtr(xml_top); doc 158 lib/common/xpath.c xpathCtx = xmlXPathNewContext(doc);