Lines Matching refs:xmlNsPtr
52 static xmlNsPtr
53 xmlNewReconciliedNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns);
717 xmlNsPtr
719 xmlNsPtr cur;
741 cur = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
762 xmlNsPtr prev = node->nsDef;
791 xmlSetNs(xmlNodePtr node, xmlNsPtr ns) {
809 xmlFreeNs(xmlNsPtr cur) {
829 xmlFreeNsList(xmlNsPtr cur) {
830 xmlNsPtr next;
1792 xmlNewPropInternal(xmlNodePtr node, xmlNsPtr ns,
1919 xmlNewNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name,
1944 xmlNewNsPropEatName(xmlNodePtr node, xmlNsPtr ns, xmlChar *name,
2180 xmlNewNode(xmlNsPtr ns, const xmlChar *name) {
2222 xmlNewNodeEatName(xmlNsPtr ns, xmlChar *name) {
2270 xmlNewDocNode(xmlDocPtr doc, xmlNsPtr ns,
2307 xmlNewDocNodeEatName(xmlDocPtr doc, xmlNsPtr ns,
2341 xmlNewDocRawNode(xmlDocPtr doc, xmlNsPtr ns,
2439 xmlNewTextChild(xmlNodePtr parent, xmlNsPtr ns,
2819 xmlNewChild(xmlNodePtr parent, xmlNsPtr ns,
3602 xmlFreeNsList((xmlNsPtr) cur);
3677 xmlFreeNs((xmlNsPtr) cur);
3881 * Returns: a new #xmlNsPtr, or NULL in case of error.
3883 xmlNsPtr
3884 xmlCopyNamespace(xmlNsPtr cur) {
3885 xmlNsPtr ret;
3908 * Returns: a new #xmlNsPtr, or NULL in case of error.
3910 xmlNsPtr
3911 xmlCopyNamespaceList(xmlNsPtr cur) {
3912 xmlNsPtr ret = NULL;
3913 xmlNsPtr p = NULL,q;
3950 xmlNsPtr ns;
4111 return((xmlNodePtr) xmlCopyNamespaceList((xmlNsPtr) node));
4189 xmlNsPtr ns;
4856 xmlNsPtr ns;
4928 xmlNsPtr ns;
5073 xmlNsPtr ns;
5348 xmlBufferCat(buffer, ((xmlNsPtr) cur)->href);
5445 tmp = xmlStrdup(((xmlNsPtr) cur)->href);
5747 * Returns an NULL terminated array of all the #xmlNsPtr found
5751 xmlNsPtr *
5754 xmlNsPtr cur;
5755 xmlNsPtr *ret = NULL;
5766 (xmlNsPtr *) xmlMalloc((maxns + 1) *
5767 sizeof(xmlNsPtr));
5782 ret = (xmlNsPtr *) xmlRealloc(ret,
5785 sizeof(xmlNsPtr));
5812 static xmlNsPtr
5820 xmlNsPtr ns;
5821 ns = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
5852 xmlNsPtr
5855 xmlNsPtr cur;
5867 cur = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
5944 xmlNsPtr tst;
5981 xmlNsPtr
5984 xmlNsPtr cur;
6000 cur = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
6073 static xmlNsPtr
6074 xmlNewReconciliedNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns) {
6075 xmlNsPtr def;
6144 xmlNsPtr *oldNs = NULL;
6145 xmlNsPtr *newNs = NULL;
6149 xmlNsPtr n;
6167 oldNs = (xmlNsPtr *) xmlMalloc(sizeCache *
6168 sizeof(xmlNsPtr));
6173 newNs = (xmlNsPtr *) xmlMalloc(sizeCache *
6174 sizeof(xmlNsPtr));
6198 oldNs = (xmlNsPtr *) xmlRealloc(oldNs, sizeCache *
6199 sizeof(xmlNsPtr));
6205 newNs = (xmlNsPtr *) xmlRealloc(newNs, sizeCache *
6206 sizeof(xmlNsPtr));
6231 oldNs = (xmlNsPtr *) xmlMalloc(sizeCache *
6232 sizeof(xmlNsPtr));
6237 newNs = (xmlNsPtr *) xmlMalloc(sizeCache *
6238 sizeof(xmlNsPtr));
6262 oldNs = (xmlNsPtr *) xmlRealloc(oldNs,
6263 sizeCache * sizeof(xmlNsPtr));
6269 newNs = (xmlNsPtr *) xmlRealloc(newNs,
6270 sizeCache * sizeof(xmlNsPtr));
6396 xmlNsPtr *nsList, *cur;
6653 xmlUnsetNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name) {
6693 xmlNsPtr ns;
6717 xmlSetNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name,
7611 xmlNsPtr oldNs; /* old ns decl reference */
7612 xmlNsPtr newNs; /* new ns decl reference */
7683 xmlNsPtr oldNs, xmlNsPtr newNs, int depth)
7768 static xmlNsPtr
7773 xmlNsPtr ns;
7852 static xmlNsPtr
7853 xmlTreeNSListLookupByPrefix(xmlNsPtr nsList, const xmlChar *prefix)
7858 xmlNsPtr ns;
7886 xmlNsPtr ns;
7973 xmlDOMWrapNSNormAddNsMapItem2(xmlNsPtr **list, int *size, int *number,
7974 xmlNsPtr oldNs, xmlNsPtr newNs)
7977 *list = (xmlNsPtr *) xmlMalloc(6 * sizeof(xmlNsPtr));
7986 *list = (xmlNsPtr *) xmlRealloc(*list,
7987 (*size) * 2 * sizeof(xmlNsPtr));
8020 xmlNsPtr *list = NULL;
8022 xmlNsPtr ns;
8152 xmlNsPtr *retNs, int prefixed)
8155 xmlNsPtr ns, prevns;
8252 xmlNsPtr *retNs)
8255 xmlNsPtr ns;
8314 static xmlNsPtr
8322 xmlNsPtr ret;
8351 xmlNsPtr ns2 = elem->nsDef;
8393 xmlNsPtr ns,
8394 xmlNsPtr *retNs,
8460 xmlNsPtr tmpns;
8478 xmlNsPtr tmpns;
8538 xmlNsPtr ns, prevns;
8547 xmlNsPtr *listRedund = NULL;
8807 xmlNsPtr ns = NULL;
9174 xmlNsPtr ns;
9186 xmlNsPtr cloneNs = NULL, *cloneNsDefSlot = NULL;
9357 cloneNs = (xmlNsPtr) xmlMalloc(sizeof(xmlNs));
9699 xmlNsPtr ns = NULL;