Lines Matching refs:xmlNsPtr
52 xmlNsPtr xmlNewReconciliedNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns);
716 xmlNsPtr
718 xmlNsPtr cur;
729 cur = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
750 xmlNsPtr prev = node->nsDef;
779 xmlSetNs(xmlNodePtr node, xmlNsPtr ns) {
797 xmlFreeNs(xmlNsPtr cur) {
817 xmlFreeNsList(xmlNsPtr cur) {
818 xmlNsPtr next;
1782 xmlNewPropInternal(xmlNodePtr node, xmlNsPtr ns,
1908 xmlNewNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name,
1933 xmlNewNsPropEatName(xmlNodePtr node, xmlNsPtr ns, xmlChar *name,
2169 xmlNewNode(xmlNsPtr ns, const xmlChar *name) {
2211 xmlNewNodeEatName(xmlNsPtr ns, xmlChar *name) {
2259 xmlNewDocNode(xmlDocPtr doc, xmlNsPtr ns,
2296 xmlNewDocNodeEatName(xmlDocPtr doc, xmlNsPtr ns,
2330 xmlNewDocRawNode(xmlDocPtr doc, xmlNsPtr ns,
2428 xmlNewTextChild(xmlNodePtr parent, xmlNsPtr ns,
2808 xmlNewChild(xmlNodePtr parent, xmlNsPtr ns,
3384 xmlFreeNsList((xmlNsPtr) cur);
3459 xmlFreeNs((xmlNsPtr) cur);
3661 * Returns: a new #xmlNsPtr, or NULL in case of error.
3663 xmlNsPtr
3664 xmlCopyNamespace(xmlNsPtr cur) {
3665 xmlNsPtr ret;
3688 * Returns: a new #xmlNsPtr, or NULL in case of error.
3690 xmlNsPtr
3691 xmlCopyNamespaceList(xmlNsPtr cur) {
3692 xmlNsPtr ret = NULL;
3693 xmlNsPtr p = NULL,q;
3730 xmlNsPtr ns;
3891 return((xmlNodePtr) xmlCopyNamespaceList((xmlNsPtr) node));
3968 xmlNsPtr ns;
4632 xmlNsPtr ns;
4704 xmlNsPtr ns;
4849 xmlNsPtr ns;
5124 xmlBufferCat(buffer, ((xmlNsPtr) cur)->href);
5221 tmp = xmlStrdup(((xmlNsPtr) cur)->href);
5523 * Returns an NULL terminated array of all the #xmlNsPtr found
5527 xmlNsPtr *
5530 xmlNsPtr cur;
5531 xmlNsPtr *ret = NULL;
5542 (xmlNsPtr *) xmlMalloc((maxns + 1) *
5543 sizeof(xmlNsPtr));
5558 ret = (xmlNsPtr *) xmlRealloc(ret,
5561 sizeof(xmlNsPtr));
5588 static xmlNsPtr
5596 xmlNsPtr ns;
5597 ns = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
5628 xmlNsPtr
5631 xmlNsPtr cur;
5643 cur = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
5720 xmlNsPtr tst;
5757 xmlNsPtr
5760 xmlNsPtr cur;
5776 cur = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
5849 xmlNsPtr
5850 xmlNewReconciliedNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns) {
5851 xmlNsPtr def;
5920 xmlNsPtr *oldNs = NULL;
5921 xmlNsPtr *newNs = NULL;
5925 xmlNsPtr n;
5943 oldNs = (xmlNsPtr *) xmlMalloc(sizeCache *
5944 sizeof(xmlNsPtr));
5949 newNs = (xmlNsPtr *) xmlMalloc(sizeCache *
5950 sizeof(xmlNsPtr));
5974 oldNs = (xmlNsPtr *) xmlRealloc(oldNs, sizeCache *
5975 sizeof(xmlNsPtr));
5981 newNs = (xmlNsPtr *) xmlRealloc(newNs, sizeCache *
5982 sizeof(xmlNsPtr));
6007 oldNs = (xmlNsPtr *) xmlMalloc(sizeCache *
6008 sizeof(xmlNsPtr));
6013 newNs = (xmlNsPtr *) xmlMalloc(sizeCache *
6014 sizeof(xmlNsPtr));
6038 oldNs = (xmlNsPtr *) xmlRealloc(oldNs,
6039 sizeCache * sizeof(xmlNsPtr));
6045 newNs = (xmlNsPtr *) xmlRealloc(newNs,
6046 sizeCache * sizeof(xmlNsPtr));
6172 xmlNsPtr *nsList, *cur;
6429 xmlUnsetNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name) {
6469 xmlNsPtr ns;
6493 xmlSetNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name,
7379 xmlNsPtr oldNs; /* old ns decl reference */
7380 xmlNsPtr newNs; /* new ns decl reference */
7451 xmlNsPtr oldNs, xmlNsPtr newNs, int depth)
7536 static xmlNsPtr
7541 xmlNsPtr ns;
7617 static xmlNsPtr
7618 xmlTreeNSListLookupByPrefix(xmlNsPtr nsList, const xmlChar *prefix)
7623 xmlNsPtr ns;
7651 xmlNsPtr ns;
7738 xmlDOMWrapNSNormAddNsMapItem2(xmlNsPtr **list, int *size, int *number,
7739 xmlNsPtr oldNs, xmlNsPtr newNs)
7742 *list = (xmlNsPtr *) xmlMalloc(6 * sizeof(xmlNsPtr));
7751 *list = (xmlNsPtr *) xmlRealloc(*list,
7752 (*size) * 2 * sizeof(xmlNsPtr));
7785 xmlNsPtr *list = NULL;
7787 xmlNsPtr ns;
7917 xmlNsPtr *retNs, int prefixed)
7920 xmlNsPtr ns, prevns;
8017 xmlNsPtr *retNs)
8020 xmlNsPtr ns;
8079 static xmlNsPtr
8087 xmlNsPtr ret;
8116 xmlNsPtr ns2 = elem->nsDef;
8158 xmlNsPtr ns,
8159 xmlNsPtr *retNs,
8225 xmlNsPtr tmpns;
8243 xmlNsPtr tmpns;
8303 xmlNsPtr ns, prevns;
8312 xmlNsPtr *listRedund = NULL;
8572 xmlNsPtr ns = NULL;
8939 xmlNsPtr ns;
8951 xmlNsPtr cloneNs = NULL, *cloneNsDefSlot = NULL;
9122 cloneNs = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
9464 xmlNsPtr ns = NULL;