Lines Matching refs:xmlNsPtr
52 xmlNsPtr xmlNewReconciliedNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns);
711 xmlNsPtr
713 xmlNsPtr cur;
724 cur = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
745 xmlNsPtr prev = node->nsDef;
774 xmlSetNs(xmlNodePtr node, xmlNsPtr ns) {
792 xmlFreeNs(xmlNsPtr cur) {
812 xmlFreeNsList(xmlNsPtr cur) {
813 xmlNsPtr next;
1775 xmlNewPropInternal(xmlNodePtr node, xmlNsPtr ns,
1894 xmlNewNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name,
1919 xmlNewNsPropEatName(xmlNodePtr node, xmlNsPtr ns, xmlChar *name,
2155 xmlNewNode(xmlNsPtr ns, const xmlChar *name) {
2197 xmlNewNodeEatName(xmlNsPtr ns, xmlChar *name) {
2245 xmlNewDocNode(xmlDocPtr doc, xmlNsPtr ns,
2282 xmlNewDocNodeEatName(xmlDocPtr doc, xmlNsPtr ns,
2311 xmlNewDocRawNode(xmlDocPtr doc, xmlNsPtr ns,
2409 xmlNewTextChild(xmlNodePtr parent, xmlNsPtr ns,
2789 xmlNewChild(xmlNodePtr parent, xmlNsPtr ns,
3365 xmlFreeNsList((xmlNsPtr) cur);
3440 xmlFreeNs((xmlNsPtr) cur);
3615 * Returns: a new #xmlNsPtr, or NULL in case of error.
3617 xmlNsPtr
3618 xmlCopyNamespace(xmlNsPtr cur) {
3619 xmlNsPtr ret;
3642 * Returns: a new #xmlNsPtr, or NULL in case of error.
3644 xmlNsPtr
3645 xmlCopyNamespaceList(xmlNsPtr cur) {
3646 xmlNsPtr ret = NULL;
3647 xmlNsPtr p = NULL,q;
3684 xmlNsPtr ns;
3845 return((xmlNodePtr) xmlCopyNamespaceList((xmlNsPtr) node));
3922 xmlNsPtr ns;
4586 xmlNsPtr ns;
4658 xmlNsPtr ns;
4803 xmlNsPtr ns;
5078 xmlBufferCat(buffer, ((xmlNsPtr) cur)->href);
5175 tmp = xmlStrdup(((xmlNsPtr) cur)->href);
5465 * Returns an NULL terminated array of all the #xmlNsPtr found
5469 xmlNsPtr *
5472 xmlNsPtr cur;
5473 xmlNsPtr *ret = NULL;
5484 (xmlNsPtr *) xmlMalloc((maxns + 1) *
5485 sizeof(xmlNsPtr));
5500 ret = (xmlNsPtr *) xmlRealloc(ret,
5503 sizeof(xmlNsPtr));
5530 static xmlNsPtr
5538 xmlNsPtr ns;
5539 ns = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
5570 xmlNsPtr
5573 xmlNsPtr cur;
5585 cur = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
5662 xmlNsPtr tst;
5699 xmlNsPtr
5702 xmlNsPtr cur;
5718 cur = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
5791 xmlNsPtr
5792 xmlNewReconciliedNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns) {
5793 xmlNsPtr def;
5862 xmlNsPtr *oldNs = NULL;
5863 xmlNsPtr *newNs = NULL;
5867 xmlNsPtr n;
5885 oldNs = (xmlNsPtr *) xmlMalloc(sizeCache *
5886 sizeof(xmlNsPtr));
5891 newNs = (xmlNsPtr *) xmlMalloc(sizeCache *
5892 sizeof(xmlNsPtr));
5916 oldNs = (xmlNsPtr *) xmlRealloc(oldNs, sizeCache *
5917 sizeof(xmlNsPtr));
5923 newNs = (xmlNsPtr *) xmlRealloc(newNs, sizeCache *
5924 sizeof(xmlNsPtr));
5949 oldNs = (xmlNsPtr *) xmlMalloc(sizeCache *
5950 sizeof(xmlNsPtr));
5955 newNs = (xmlNsPtr *) xmlMalloc(sizeCache *
5956 sizeof(xmlNsPtr));
5980 oldNs = (xmlNsPtr *) xmlRealloc(oldNs,
5981 sizeCache * sizeof(xmlNsPtr));
5987 newNs = (xmlNsPtr *) xmlRealloc(newNs,
5988 sizeCache * sizeof(xmlNsPtr));
6114 xmlNsPtr *nsList, *cur;
6371 xmlUnsetNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name) {
6411 xmlNsPtr ns;
6435 xmlSetNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name,
7235 xmlNsPtr oldNs; /* old ns decl reference */
7236 xmlNsPtr newNs; /* new ns decl reference */
7307 xmlNsPtr oldNs, xmlNsPtr newNs, int depth)
7392 static xmlNsPtr
7397 xmlNsPtr ns;
7473 static xmlNsPtr
7474 xmlTreeNSListLookupByPrefix(xmlNsPtr nsList, const xmlChar *prefix)
7479 xmlNsPtr ns;
7507 xmlNsPtr ns;
7594 xmlDOMWrapNSNormAddNsMapItem2(xmlNsPtr **list, int *size, int *number,
7595 xmlNsPtr oldNs, xmlNsPtr newNs)
7598 *list = (xmlNsPtr *) xmlMalloc(6 * sizeof(xmlNsPtr));
7607 *list = (xmlNsPtr *) xmlRealloc(*list,
7608 (*size) * 2 * sizeof(xmlNsPtr));
7641 xmlNsPtr *list = NULL;
7643 xmlNsPtr ns;
7773 xmlNsPtr *retNs, int prefixed)
7776 xmlNsPtr ns, prevns;
7873 xmlNsPtr *retNs)
7876 xmlNsPtr ns;
7935 static xmlNsPtr
7943 xmlNsPtr ret;
7972 xmlNsPtr ns2 = elem->nsDef;
8014 xmlNsPtr ns,
8015 xmlNsPtr *retNs,
8081 xmlNsPtr tmpns;
8099 xmlNsPtr tmpns;
8159 xmlNsPtr ns, prevns;
8168 xmlNsPtr *listRedund = NULL;
8428 xmlNsPtr ns = NULL;
8795 xmlNsPtr ns;
8807 xmlNsPtr cloneNs = NULL, *cloneNsDefSlot = NULL;
8978 cloneNs = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
9320 xmlNsPtr ns = NULL;