Lines Matching refs:xmlNsPtr

61 static xmlNsPtr
62 xmlNewReconciliedNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns);
733 xmlNsPtr
735 xmlNsPtr cur; in xmlNewNs()
757 cur = (xmlNsPtr) xmlMalloc(sizeof(xmlNs)); in xmlNewNs()
778 xmlNsPtr prev = node->nsDef; in xmlNewNs()
807 xmlSetNs(xmlNodePtr node, xmlNsPtr ns) { in xmlSetNs()
827 xmlFreeNs(xmlNsPtr cur) { in xmlFreeNs()
847 xmlFreeNsList(xmlNsPtr cur) { in xmlFreeNsList()
848 xmlNsPtr next; in xmlFreeNsList()
1837 xmlNewPropInternal(xmlNodePtr node, xmlNsPtr ns, in xmlNewPropInternal()
1964 xmlNewNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name, in xmlNewNsProp()
1989 xmlNewNsPropEatName(xmlNodePtr node, xmlNsPtr ns, xmlChar *name, in xmlNewNsPropEatName()
2225 xmlNewNode(xmlNsPtr ns, const xmlChar *name) { in xmlNewNode()
2267 xmlNewNodeEatName(xmlNsPtr ns, xmlChar *name) { in xmlNewNodeEatName()
2315 xmlNewDocNode(xmlDocPtr doc, xmlNsPtr ns, in xmlNewDocNode()
2352 xmlNewDocNodeEatName(xmlDocPtr doc, xmlNsPtr ns, in xmlNewDocNodeEatName()
2386 xmlNewDocRawNode(xmlDocPtr doc, xmlNsPtr ns, in xmlNewDocRawNode()
2484 xmlNewTextChild(xmlNodePtr parent, xmlNsPtr ns, in xmlNewTextChild()
2883 xmlNewChild(xmlNodePtr parent, xmlNsPtr ns, in xmlNewChild()
3671 xmlFreeNsList((xmlNsPtr) cur); in xmlFreeNodeList()
3746 xmlFreeNs((xmlNsPtr) cur); in xmlFreeNode()
3957 xmlNsPtr
3958 xmlCopyNamespace(xmlNsPtr cur) { in xmlCopyNamespace()
3959 xmlNsPtr ret; in xmlCopyNamespace()
3984 xmlNsPtr
3985 xmlCopyNamespaceList(xmlNsPtr cur) { in xmlCopyNamespaceList()
3986 xmlNsPtr ret = NULL; in xmlCopyNamespaceList()
3987 xmlNsPtr p = NULL,q; in xmlCopyNamespaceList()
4026 xmlNsPtr ns; in xmlCopyPropInternal()
4189 return((xmlNodePtr) xmlCopyNamespaceList((xmlNsPtr) node)); in xmlStaticCopyNode()
4267 xmlNsPtr ns; in xmlStaticCopyNode()
4972 xmlNsPtr ns; in xmlNodeSetLang()
5046 xmlNsPtr ns; in xmlNodeSetSpacePreserve()
5198 xmlNsPtr ns; in xmlNodeSetBase()
5503 xmlBufCat(buf, ((xmlNsPtr) cur)->href); in xmlBufGetNodeContent()
5598 tmp = xmlStrdup(((xmlNsPtr) cur)->href); in xmlNodeGetContent()
5904 xmlNsPtr *
5907 xmlNsPtr cur; in xmlGetNsList()
5908 xmlNsPtr *ret = NULL; in xmlGetNsList()
5922 (xmlNsPtr *) xmlMalloc((maxns + 1) * in xmlGetNsList()
5923 sizeof(xmlNsPtr)); in xmlGetNsList()
5938 ret = (xmlNsPtr *) xmlRealloc(ret, in xmlGetNsList()
5941 sizeof(xmlNsPtr)); in xmlGetNsList()
5968 static xmlNsPtr
5976 xmlNsPtr ns; in xmlTreeEnsureXMLDecl()
5977 ns = (xmlNsPtr) xmlMalloc(sizeof(xmlNs)); in xmlTreeEnsureXMLDecl()
6008 xmlNsPtr
6011 xmlNsPtr cur; in xmlSearchNs()
6023 cur = (xmlNsPtr) xmlMalloc(sizeof(xmlNs)); in xmlSearchNs()
6100 xmlNsPtr tst; in xmlNsInScope()
6137 xmlNsPtr
6140 xmlNsPtr cur; in xmlSearchNsByHref()
6156 cur = (xmlNsPtr) xmlMalloc(sizeof(xmlNs)); in xmlSearchNsByHref()
6229 static xmlNsPtr
6230 xmlNewReconciliedNs(xmlDocPtr doc, xmlNodePtr tree, xmlNsPtr ns) { in xmlNewReconciliedNs()
6231 xmlNsPtr def; in xmlNewReconciliedNs()
6300 xmlNsPtr *oldNs = NULL; in xmlReconciliateNs()
6301 xmlNsPtr *newNs = NULL; in xmlReconciliateNs()
6305 xmlNsPtr n; in xmlReconciliateNs()
6323 oldNs = (xmlNsPtr *) xmlMalloc(sizeCache * in xmlReconciliateNs()
6324 sizeof(xmlNsPtr)); in xmlReconciliateNs()
6329 newNs = (xmlNsPtr *) xmlMalloc(sizeCache * in xmlReconciliateNs()
6330 sizeof(xmlNsPtr)); in xmlReconciliateNs()
6354 oldNs = (xmlNsPtr *) xmlRealloc(oldNs, sizeCache * in xmlReconciliateNs()
6355 sizeof(xmlNsPtr)); in xmlReconciliateNs()
6361 newNs = (xmlNsPtr *) xmlRealloc(newNs, sizeCache * in xmlReconciliateNs()
6362 sizeof(xmlNsPtr)); in xmlReconciliateNs()
6387 oldNs = (xmlNsPtr *) xmlMalloc(sizeCache * in xmlReconciliateNs()
6388 sizeof(xmlNsPtr)); in xmlReconciliateNs()
6393 newNs = (xmlNsPtr *) xmlMalloc(sizeCache * in xmlReconciliateNs()
6394 sizeof(xmlNsPtr)); in xmlReconciliateNs()
6418 oldNs = (xmlNsPtr *) xmlRealloc(oldNs, in xmlReconciliateNs()
6419 sizeCache * sizeof(xmlNsPtr)); in xmlReconciliateNs()
6425 newNs = (xmlNsPtr *) xmlRealloc(newNs, in xmlReconciliateNs()
6426 sizeCache * sizeof(xmlNsPtr)); in xmlReconciliateNs()
6552 xmlNsPtr *nsList, *cur; in xmlGetPropNodeInternal()
6809 xmlUnsetNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name) { in xmlUnsetNsProp()
6849 xmlNsPtr ns; in xmlSetProp()
6873 xmlSetNsProp(xmlNodePtr node, xmlNsPtr ns, const xmlChar *name, in xmlSetNsProp()
7811 xmlNsPtr oldNs; /* old ns decl reference */
7812 xmlNsPtr newNs; /* new ns decl reference */
7883 xmlNsPtr oldNs, xmlNsPtr newNs, int depth) in xmlDOMWrapNsMapAddItem()
7967 static xmlNsPtr
7972 xmlNsPtr ns; in xmlDOMWrapStoreNs()
8051 static xmlNsPtr
8052 xmlTreeNSListLookupByPrefix(xmlNsPtr nsList, const xmlChar *prefix) in xmlTreeNSListLookupByPrefix()
8057 xmlNsPtr ns; in xmlTreeNSListLookupByPrefix()
8085 xmlNsPtr ns; in xmlDOMWrapNSNormGatherInScopeNs()
8174 xmlDOMWrapNSNormAddNsMapItem2(xmlNsPtr **list, int *size, int *number, in xmlDOMWrapNSNormAddNsMapItem2()
8175 xmlNsPtr oldNs, xmlNsPtr newNs) in xmlDOMWrapNSNormAddNsMapItem2()
8178 *list = (xmlNsPtr *) xmlMalloc(6 * sizeof(xmlNsPtr)); in xmlDOMWrapNSNormAddNsMapItem2()
8187 *list = (xmlNsPtr *) xmlRealloc(*list, in xmlDOMWrapNSNormAddNsMapItem2()
8188 (*size) * 2 * sizeof(xmlNsPtr)); in xmlDOMWrapNSNormAddNsMapItem2()
8221 xmlNsPtr *list = NULL; in xmlDOMWrapRemoveNode()
8223 xmlNsPtr ns; in xmlDOMWrapRemoveNode()
8353 xmlNsPtr *retNs, int prefixed) in xmlSearchNsByNamespaceStrict()
8356 xmlNsPtr ns, prevns; in xmlSearchNsByNamespaceStrict()
8455 xmlNsPtr *retNs) in xmlSearchNsByPrefixStrict()
8458 xmlNsPtr ns; in xmlSearchNsByPrefixStrict()
8517 static xmlNsPtr
8525 xmlNsPtr ret; in xmlDOMWrapNSNormDeclareNsForced()
8557 xmlNsPtr ns2 = elem->nsDef; in xmlDOMWrapNSNormDeclareNsForced()
8599 xmlNsPtr ns, in xmlDOMWrapNSNormAquireNormalizedNs()
8600 xmlNsPtr *retNs, in xmlDOMWrapNSNormAquireNormalizedNs()
8666 xmlNsPtr tmpns; in xmlDOMWrapNSNormAquireNormalizedNs()
8684 xmlNsPtr tmpns; in xmlDOMWrapNSNormAquireNormalizedNs()
8744 xmlNsPtr ns, prevns; in xmlDOMWrapReconcileNamespaces()
8753 xmlNsPtr *listRedund = NULL; in xmlDOMWrapReconcileNamespaces()
9013 xmlNsPtr ns = NULL; in xmlDOMWrapAdoptBranch()
9383 xmlNsPtr ns; in xmlDOMWrapCloneNode()
9395 xmlNsPtr cloneNs = NULL, *cloneNsDefSlot = NULL; in xmlDOMWrapCloneNode()
9569 cloneNs = (xmlNsPtr) xmlMalloc(sizeof(xmlNs)); in xmlDOMWrapCloneNode()
9912 xmlNsPtr ns = NULL; in xmlDOMWrapAdoptAttr()