Lines Matching refs:xmlNodePtr

56 xmlNewReconciliedNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns);
85 xmlTreeErr(int code, xmlNodePtr node, const char *extra) in xmlTreeErr()
125 xmlNodePtr ulccur = (n)->children; \
728 xmlNewNs(xmlNodePtr node, const xmlChar *href, const xmlChar *prefix) { in xmlNewNs()
801 xmlSetNs(xmlNodePtr node, xmlNsPtr ns) { in xmlSetNs()
906 xmlRegisterNodeDefaultValue((xmlNodePtr)cur); in xmlNewDtd()
920 xmlNodePtr cur; in xmlGetIntSubset()
1004 doc->children = (xmlNodePtr) cur; in xmlCreateIntSubset()
1005 doc->last = (xmlNodePtr) cur; in xmlCreateIntSubset()
1008 xmlNodePtr prev; in xmlCreateIntSubset()
1011 prev->prev = (xmlNodePtr) cur; in xmlCreateIntSubset()
1013 doc->children = (xmlNodePtr) cur; in xmlCreateIntSubset()
1015 xmlNodePtr next; in xmlCreateIntSubset()
1022 cur->prev->next = (xmlNodePtr) cur; in xmlCreateIntSubset()
1024 doc->last = (xmlNodePtr) cur; in xmlCreateIntSubset()
1029 doc->children = (xmlNodePtr) cur; in xmlCreateIntSubset()
1031 cur->prev->next = (xmlNodePtr) cur; in xmlCreateIntSubset()
1032 next->prev = (xmlNodePtr) cur; in xmlCreateIntSubset()
1039 xmlRegisterNodeDefaultValue((xmlNodePtr)cur); in xmlCreateIntSubset()
1107 xmlDeregisterNodeDefaultValue((xmlNodePtr)cur); in xmlFreeDtd()
1110 xmlNodePtr next, c = cur->children; in xmlFreeDtd()
1192 xmlRegisterNodeDefaultValue((xmlNodePtr)cur); in xmlNewDoc()
1223 xmlDeregisterNodeDefaultValue((xmlNodePtr)cur); in xmlFreeDoc()
1237 xmlUnlinkNode((xmlNodePtr) cur->extSubset); in xmlFreeDoc()
1242 xmlUnlinkNode((xmlNodePtr) cur->intSubset); in xmlFreeDoc()
1268 xmlNodePtr
1270 xmlNodePtr ret = NULL, last = NULL; in xmlStringLenGetNodeList()
1271 xmlNodePtr node; in xmlStringLenGetNodeList()
1312 xmlTreeErr(XML_TREE_INVALID_HEX, (xmlNodePtr) doc, in xmlStringLenGetNodeList()
1336 xmlTreeErr(XML_TREE_INVALID_DEC, (xmlNodePtr) doc, in xmlStringLenGetNodeList()
1358 xmlTreeErr(XML_TREE_UNTERMINATED_ENTITY, (xmlNodePtr) doc, in xmlStringLenGetNodeList()
1402 xmlNodePtr temp; in xmlStringLenGetNodeList()
1409 temp->parent = (xmlNodePtr)ent; in xmlStringLenGetNodeList()
1476 xmlNodePtr
1478 xmlNodePtr ret = NULL, last = NULL; in xmlStringGetNodeList()
1479 xmlNodePtr node; in xmlStringGetNodeList()
1517 xmlTreeErr(XML_TREE_INVALID_HEX, (xmlNodePtr) doc, in xmlStringGetNodeList()
1535 xmlTreeErr(XML_TREE_INVALID_DEC, (xmlNodePtr) doc, in xmlStringGetNodeList()
1555 (xmlNodePtr) doc, (const char *) q); in xmlStringGetNodeList()
1594 xmlNodePtr temp; in xmlStringGetNodeList()
1601 temp->parent = (xmlNodePtr)ent; in xmlStringGetNodeList()
1826 xmlNewPropInternal(xmlNodePtr node, xmlNsPtr ns, in xmlNewPropInternal()
1872 xmlNodePtr tmp; in xmlNewPropInternal()
1875 xmlTreeErr(XML_TREE_NOT_UTF8, (xmlNodePtr) doc, in xmlNewPropInternal()
1884 tmp->parent = (xmlNodePtr) cur; in xmlNewPropInternal()
1912 xmlRegisterNodeDefaultValue((xmlNodePtr) cur); in xmlNewPropInternal()
1928 xmlNewProp(xmlNodePtr node, const xmlChar *name, const xmlChar *value) { in xmlNewProp()
1953 xmlNewNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name, in xmlNewNsProp()
1978 xmlNewNsPropEatName(xmlNodePtr node, xmlNsPtr ns, xmlChar *name, in xmlNewNsPropEatName()
2030 xmlNodePtr tmp; in xmlNewDocProp()
2037 tmp->parent = (xmlNodePtr) cur; in xmlNewDocProp()
2045 xmlRegisterNodeDefaultValue((xmlNodePtr)cur); in xmlNewDocProp()
2080 xmlDeregisterNodeDefaultValue((xmlNodePtr)cur); in xmlFreeProp()
2151 xmlNodePtr
2153 xmlNodePtr cur; in xmlNewDocPI()
2166 cur = (xmlNodePtr) xmlMalloc(sizeof(xmlNode)); in xmlNewDocPI()
2184 xmlRegisterNodeDefaultValue((xmlNodePtr)cur); in xmlNewDocPI()
2198 xmlNodePtr
2213 xmlNodePtr
2215 xmlNodePtr cur; in xmlNewNode()
2228 cur = (xmlNodePtr) xmlMalloc(sizeof(xmlNode)); in xmlNewNode()
2255 xmlNodePtr
2257 xmlNodePtr cur; in xmlNewNodeEatName()
2270 cur = (xmlNodePtr) xmlMalloc(sizeof(xmlNode)); in xmlNewNodeEatName()
2283 xmlRegisterNodeDefaultValue((xmlNodePtr)cur); in xmlNewNodeEatName()
2303 xmlNodePtr
2306 xmlNodePtr cur; in xmlNewDocNode()
2340 xmlNodePtr
2343 xmlNodePtr cur; in xmlNewDocNodeEatName()
2374 xmlNodePtr
2377 xmlNodePtr cur; in xmlNewDocRawNode()
2397 xmlNodePtr
2399 xmlNodePtr cur; in xmlNewDocFragment()
2404 cur = (xmlNodePtr) xmlMalloc(sizeof(xmlNode)); in xmlNewDocFragment()
2427 xmlNodePtr
2429 xmlNodePtr cur; in xmlNewText()
2434 cur = (xmlNodePtr) xmlMalloc(sizeof(xmlNode)); in xmlNewText()
2472 xmlNodePtr
2473 xmlNewTextChild(xmlNodePtr parent, xmlNsPtr ns, in xmlNewTextChild()
2475 xmlNodePtr cur, prev; in xmlNewTextChild()
2542 xmlNodePtr
2544 xmlNodePtr cur; in xmlNewCharRef()
2552 cur = (xmlNodePtr) xmlMalloc(sizeof(xmlNode)); in xmlNewCharRef()
2585 xmlNodePtr
2587 xmlNodePtr cur; in xmlNewReference()
2596 cur = (xmlNodePtr) xmlMalloc(sizeof(xmlNode)); in xmlNewReference()
2624 cur->children = (xmlNodePtr) ent; in xmlNewReference()
2625 cur->last = (xmlNodePtr) ent; in xmlNewReference()
2641 xmlNodePtr
2643 xmlNodePtr cur; in xmlNewDocText()
2658 xmlNodePtr
2660 xmlNodePtr cur; in xmlNewTextLen()
2665 cur = (xmlNodePtr) xmlMalloc(sizeof(xmlNode)); in xmlNewTextLen()
2693 xmlNodePtr
2695 xmlNodePtr cur; in xmlNewDocTextLen()
2709 xmlNodePtr
2711 xmlNodePtr cur; in xmlNewComment()
2716 cur = (xmlNodePtr) xmlMalloc(sizeof(xmlNode)); in xmlNewComment()
2743 xmlNodePtr
2745 xmlNodePtr cur; in xmlNewCDataBlock()
2750 cur = (xmlNodePtr) xmlMalloc(sizeof(xmlNode)); in xmlNewCDataBlock()
2776 xmlNodePtr
2778 xmlNodePtr cur; in xmlNewDocComment()
2793 xmlSetTreeDoc(xmlNodePtr tree, xmlDocPtr doc) { in xmlSetTreeDoc()
2840 xmlSetListDoc(xmlNodePtr list, xmlDocPtr doc) { in xmlSetListDoc()
2841 xmlNodePtr cur; in xmlSetListDoc()
2871 xmlNodePtr
2872 xmlNewChild(xmlNodePtr parent, xmlNsPtr ns, in xmlNewChild()
2874 xmlNodePtr cur, prev; in xmlNewChild()
2946 static xmlNodePtr
2947 xmlAddPropSibling(xmlNodePtr prev, xmlNodePtr cur, xmlNodePtr prop) { in xmlAddPropSibling()
2998 xmlNodePtr
2999 xmlAddNextSibling(xmlNodePtr cur, xmlNodePtr elem) { in xmlAddNextSibling()
3076 xmlNodePtr
3077 xmlAddPrevSibling(xmlNodePtr cur, xmlNodePtr elem) { in xmlAddPrevSibling()
3152 xmlNodePtr
3153 xmlAddSibling(xmlNodePtr cur, xmlNodePtr elem) { in xmlAddSibling()
3154 xmlNodePtr parent; in xmlAddSibling()
3228 xmlNodePtr
3229 xmlAddChildList(xmlNodePtr parent, xmlNodePtr cur) { in xmlAddChildList()
3230 xmlNodePtr prev; in xmlAddChildList()
3314 xmlNodePtr
3315 xmlAddChild(xmlNodePtr parent, xmlNodePtr cur) { in xmlAddChild()
3316 xmlNodePtr prev; in xmlAddChild()
3399 xmlUnlinkNode((xmlNodePtr) lastattr); in xmlAddChild()
3438 xmlNodePtr
3468 xmlChildElementCount(xmlNodePtr parent) { in xmlChildElementCount()
3470 xmlNodePtr cur = NULL; in xmlChildElementCount()
3504 xmlNodePtr
3505 xmlFirstElementChild(xmlNodePtr parent) { in xmlFirstElementChild()
3506 xmlNodePtr cur = NULL; in xmlFirstElementChild()
3540 xmlNodePtr
3541 xmlLastElementChild(xmlNodePtr parent) { in xmlLastElementChild()
3542 xmlNodePtr cur = NULL; in xmlLastElementChild()
3577 xmlNodePtr
3578 xmlPreviousElementSibling(xmlNodePtr node) { in xmlPreviousElementSibling()
3616 xmlNodePtr
3617 xmlNextElementSibling(xmlNodePtr node) { in xmlNextElementSibling()
3654 xmlFreeNodeList(xmlNodePtr cur) { in xmlFreeNodeList()
3655 xmlNodePtr next; in xmlFreeNodeList()
3724 xmlFreeNode(xmlNodePtr cur) { in xmlFreeNode()
3799 xmlUnlinkNode(xmlNodePtr cur) { in xmlUnlinkNode()
3842 xmlNodePtr parent; in xmlUnlinkNode()
3874 xmlNodePtr
3875 xmlReplaceNode(xmlNodePtr old, xmlNodePtr cur) { in xmlReplaceNode()
3991 static xmlNodePtr
3992 xmlStaticCopyNodeList(xmlNodePtr node, xmlDocPtr doc, xmlNodePtr parent);
3995 xmlCopyPropInternal(xmlDocPtr doc, xmlNodePtr target, xmlAttrPtr cur) { in xmlCopyPropInternal()
4026 xmlNodePtr root = target; in xmlCopyPropInternal()
4027 xmlNodePtr pred = NULL; in xmlCopyPropInternal()
4033 if (root == (xmlNodePtr) target->doc) { in xmlCopyPropInternal()
4061 xmlNodePtr tmp; in xmlCopyPropInternal()
4063 ret->children = xmlStaticCopyNodeList(cur->children, ret->doc, (xmlNodePtr) ret); in xmlCopyPropInternal()
4102 xmlCopyProp(xmlNodePtr target, xmlAttrPtr cur) { in xmlCopyProp()
4116 xmlCopyPropList(xmlNodePtr target, xmlAttrPtr cur) { in xmlCopyPropList()
4157 static xmlNodePtr
4158 xmlStaticCopyNode(xmlNodePtr node, xmlDocPtr doc, xmlNodePtr parent, in xmlStaticCopyNode()
4160 xmlNodePtr ret; in xmlStaticCopyNode()
4176 return((xmlNodePtr) xmlCopyPropInternal(doc, parent, (xmlAttrPtr) node)); in xmlStaticCopyNode()
4178 return((xmlNodePtr) xmlCopyNamespaceList((xmlNsPtr) node)); in xmlStaticCopyNode()
4186 return((xmlNodePtr) xmlCopyDoc((xmlDocPtr) node, extended)); in xmlStaticCopyNode()
4200 ret = (xmlNodePtr) xmlMalloc(sizeof(xmlNode)); in xmlStaticCopyNode()
4233 xmlNodePtr tmp; in xmlStaticCopyNode()
4241 xmlRegisterNodeDefaultValue((xmlNodePtr)ret); in xmlStaticCopyNode()
4267 xmlNodePtr root = ret; in xmlStaticCopyNode()
4292 ret->children = (xmlNodePtr) xmlGetDocEntity(doc, ret->name); in xmlStaticCopyNode()
4306 xmlRegisterNodeDefaultValue((xmlNodePtr)ret); in xmlStaticCopyNode()
4310 static xmlNodePtr
4311 xmlStaticCopyNodeList(xmlNodePtr node, xmlDocPtr doc, xmlNodePtr parent) { in xmlStaticCopyNodeList()
4312 xmlNodePtr ret = NULL; in xmlStaticCopyNodeList()
4313 xmlNodePtr p = NULL,q; in xmlStaticCopyNodeList()
4323 q = (xmlNodePtr) xmlCopyDtd( (xmlDtdPtr) node ); in xmlStaticCopyNodeList()
4330 q = (xmlNodePtr) doc->intSubset; in xmlStaticCopyNodeList()
4362 xmlNodePtr
4363 xmlCopyNode(xmlNodePtr node, int extended) { in xmlCopyNode()
4364 xmlNodePtr ret; in xmlCopyNode()
4382 xmlNodePtr
4383 xmlDocCopyNode(xmlNodePtr node, xmlDocPtr doc, int extended) { in xmlDocCopyNode()
4384 xmlNodePtr ret; in xmlDocCopyNode()
4399 xmlNodePtr xmlDocCopyNodeList(xmlDocPtr doc, xmlNodePtr node) { in xmlDocCopyNodeList()
4400 xmlNodePtr ret = xmlStaticCopyNodeList(node, doc, NULL); in xmlDocCopyNodeList()
4413 xmlNodePtr xmlCopyNodeList(xmlNodePtr node) { in xmlCopyNodeList()
4414 xmlNodePtr ret = xmlStaticCopyNodeList(node, NULL, NULL); in xmlCopyNodeList()
4430 xmlNodePtr cur, p = NULL, q; in xmlCopyDtd()
4461 q = (xmlNodePtr) xmlGetEntityFromDtd(ret, tmp->name); in xmlCopyDtd()
4465 q = (xmlNodePtr) in xmlCopyDtd()
4473 q = (xmlNodePtr) in xmlCopyDtd()
4477 q = (xmlNodePtr) in xmlCopyDtd()
4494 q->parent = (xmlNodePtr) ret; in xmlCopyDtd()
4543 xmlSetTreeDoc((xmlNodePtr)ret->intSubset, ret); in xmlCopyDoc()
4550 xmlNodePtr tmp; in xmlCopyDoc()
4553 (xmlNodePtr)ret); in xmlCopyDoc()
4894 xmlNodePtr
4896 xmlNodePtr ret; in xmlDocGetRootElement()
4920 xmlNodePtr
4921 xmlDocSetRootElement(xmlDocPtr doc, xmlNodePtr root) { in xmlDocSetRootElement()
4922 xmlNodePtr old = NULL; in xmlDocSetRootElement()
4929 root->parent = (xmlNodePtr) doc; in xmlDocSetRootElement()
4960 xmlNodeSetLang(xmlNodePtr cur, const xmlChar *lang) { in xmlNodeSetLang()
5034 xmlNodeSetSpacePreserve(xmlNodePtr cur, int val) { in xmlNodeSetSpacePreserve()
5122 xmlNodeSetName(xmlNodePtr cur, const xmlChar *name) { in xmlNodeSetName()
5186 xmlNodeSetBase(xmlNodePtr cur, const xmlChar* uri) { in xmlNodeSetBase()
5433 xmlNodePtr tmp = attr->children; in xmlBufGetNodeContent()
5450 xmlNodePtr tmp; in xmlBufGetNodeContent()
5578 xmlBufGetNodeContent(buf, (xmlNodePtr) cur); in xmlNodeGetContent()
5619 xmlNodeSetContent(xmlNodePtr cur, const xmlChar *content) { in xmlNodeSetContent()
5696 xmlNodeSetContentLen(xmlNodePtr cur, const xmlChar *content, int len) { in xmlNodeSetContentLen()
5770 xmlNodeAddContentLen(xmlNodePtr cur, const xmlChar *content, int len) { in xmlNodeAddContentLen()
5782 xmlNodePtr last, newNode, tmp; in xmlNodeAddContentLen()
5845 xmlNodeAddContent(xmlNodePtr cur, const xmlChar *content) { in xmlNodeAddContent()
5868 xmlNodePtr
5869 xmlTextMerge(xmlNodePtr first, xmlNodePtr second) { in xmlTextMerge()
5998 xmlSearchNs(xmlDocPtr doc, xmlNodePtr node, const xmlChar *nameSpace) { in xmlSearchNs()
6086 xmlNsInScope(xmlDocPtr doc ATTRIBUTE_UNUSED, xmlNodePtr node, in xmlNsInScope()
6087 xmlNodePtr ancestor, const xmlChar * prefix) in xmlNsInScope()
6127 xmlSearchNsByHref(xmlDocPtr doc, xmlNodePtr node, const xmlChar * href) in xmlSearchNsByHref()
6130 xmlNodePtr orig = node; in xmlSearchNsByHref()
6219 xmlNewReconciliedNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns) { in xmlNewReconciliedNs()
6288 xmlReconciliateNs(xmlDocPtr doc, xmlNodePtr tree) { in xmlReconciliateNs()
6295 xmlNodePtr node = tree; in xmlReconciliateNs()
6777 xmlUnsetProp(xmlNodePtr node, const xmlChar *name) { in xmlUnsetProp()
6783 xmlUnlinkNode((xmlNodePtr) prop); in xmlUnsetProp()
6798 xmlUnsetNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name) { in xmlUnsetNsProp()
6804 xmlUnlinkNode((xmlNodePtr) prop); in xmlUnsetNsProp()
6826 xmlSetProp(xmlNodePtr node, const xmlChar *name, const xmlChar *value) { in xmlSetProp()
6862 xmlSetNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name, in xmlSetNsProp()
6884 xmlNodePtr tmp; in xmlSetNsProp()
6887 xmlTreeErr(XML_TREE_NOT_UTF8, (xmlNodePtr) node->doc, in xmlSetNsProp()
6896 tmp->parent = (xmlNodePtr) prop; in xmlSetNsProp()
6968 xmlTextConcat(xmlNodePtr node, const xmlChar *content, int len) { in xmlTextConcat()
8071 xmlNodePtr node) in xmlDOMWrapNSNormGatherInScopeNs()
8073 xmlNodePtr cur; in xmlDOMWrapNSNormGatherInScopeNs()
8086 while ((cur != NULL) && (cur != (xmlNodePtr) cur->doc)) { in xmlDOMWrapNSNormGatherInScopeNs()
8208 xmlNodePtr node, int options ATTRIBUTE_UNUSED) in xmlDOMWrapRemoveNode()
8291 node = (xmlNodePtr) node->properties; in xmlDOMWrapRemoveNode()
8340 xmlSearchNsByNamespaceStrict(xmlDocPtr doc, xmlNodePtr node, in xmlSearchNsByNamespaceStrict()
8344 xmlNodePtr cur, prev = NULL, out = NULL; in xmlSearchNsByNamespaceStrict()
8442 xmlSearchNsByPrefixStrict(xmlDocPtr doc, xmlNodePtr node, in xmlSearchNsByPrefixStrict()
8446 xmlNodePtr cur; in xmlSearchNsByPrefixStrict()
8508 xmlNodePtr elem, in xmlDOMWrapNSNormDeclareNsForced()
8533 ((xmlNodePtr) elem->parent->doc != elem->parent)) { in xmlDOMWrapNSNormDeclareNsForced()
8587 xmlNodePtr elem, in xmlDOMWrapNSNormAquireNormalizedNs()
8729 xmlNodePtr elem, in xmlDOMWrapReconcileNamespaces()
8735 xmlNodePtr cur, curElem = NULL; in xmlDOMWrapReconcileNamespaces()
8766 ((xmlNodePtr) elem->parent->doc != elem->parent)) { in xmlDOMWrapReconcileNamespaces()
8850 ((xmlNodePtr) elem->parent->doc != elem->parent)) { in xmlDOMWrapReconcileNamespaces()
8901 cur = (xmlNodePtr) cur->properties; in xmlDOMWrapReconcileNamespaces()
8993 xmlNodePtr node, in xmlDOMWrapAdoptBranch()
8995 xmlNodePtr destParent, in xmlDOMWrapAdoptBranch()
8999 xmlNodePtr cur, curElem = NULL; in xmlDOMWrapAdoptBranch()
9200 cur = (xmlNodePtr) cur->properties; in xmlDOMWrapAdoptBranch()
9239 cur->children = (xmlNodePtr) ent; in xmlDOMWrapAdoptBranch()
9240 cur->last = (xmlNodePtr) ent; in xmlDOMWrapAdoptBranch()
9361 xmlNodePtr node, in xmlDOMWrapCloneNode()
9362 xmlNodePtr *resNode, in xmlDOMWrapCloneNode()
9364 xmlNodePtr destParent, in xmlDOMWrapCloneNode()
9369 xmlNodePtr cur, curElem = NULL; in xmlDOMWrapCloneNode()
9383 xmlNodePtr resultClone = NULL, clone = NULL, parentClone = NULL, prevClone = NULL; in xmlDOMWrapCloneNode()
9453 clone = (xmlNodePtr) xmlMalloc(sizeof(xmlNode)); in xmlDOMWrapCloneNode()
9477 clone = (xmlNodePtr) xmlMalloc(sizeof(xmlAttr)); in xmlDOMWrapCloneNode()
9636 clone->children = (xmlNodePtr) ent; in xmlDOMWrapCloneNode()
9637 clone->last = (xmlNodePtr) ent; in xmlDOMWrapCloneNode()
9762 cur = (xmlNodePtr) cur->properties; in xmlDOMWrapCloneNode()
9890 xmlNodePtr destParent, in xmlDOMWrapAdoptAttr()
9893 xmlNodePtr cur; in xmlDOMWrapAdoptAttr()
9964 cur->children = (xmlNodePtr) ent; in xmlDOMWrapAdoptAttr()
9965 cur->last = (xmlNodePtr) ent; in xmlDOMWrapAdoptAttr()
9977 if (cur == (xmlNodePtr) attr) in xmlDOMWrapAdoptAttr()
10021 xmlNodePtr node, in xmlDOMWrapAdoptNode()
10023 xmlNodePtr destParent, in xmlDOMWrapAdoptNode()
10072 xmlNodePtr cur = node; in xmlDOMWrapAdoptNode()
10102 node->children = (xmlNodePtr) ent; in xmlDOMWrapAdoptNode()
10103 node->last = (xmlNodePtr) ent; in xmlDOMWrapAdoptNode()