Home
last modified time | relevance | path

Searched refs:xmlStrdup (Results 1 – 25 of 75) sorted by relevance

123

/third_party/libxml2/
Dentities.c156 ret->name = xmlStrdup(name); in xmlCreateEntity()
158 ret->ExternalID = xmlStrdup(ExternalID); in xmlCreateEntity()
160 ret->SystemID = xmlStrdup(SystemID); in xmlCreateEntity()
163 ret->ExternalID = xmlStrdup(ExternalID); in xmlCreateEntity()
164 ret->SystemID = xmlStrdup(SystemID); in xmlCreateEntity()
706 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1"); in xmlEncodeEntitiesInternal()
739 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1"); in xmlEncodeEntitiesInternal()
957 cur->name = xmlStrdup(ent->name); in xmlCopyEntity()
959 cur->ExternalID = xmlStrdup(ent->ExternalID); in xmlCopyEntity()
961 cur->SystemID = xmlStrdup(ent->SystemID); in xmlCopyEntity()
[all …]
Derror.c499 str = (char *) xmlStrdup(BAD_CAST "No error message provided"); in __xmlRaiseError()
551 to->file = (char *) xmlStrdup((const xmlChar *) file); in __xmlRaiseError()
583 to->file = (char *) xmlStrdup(baseptr->doc->URL); in __xmlRaiseError()
585 to->file = (char *) xmlStrdup(node->doc->URL); in __xmlRaiseError()
590 to->str1 = (char *) xmlStrdup((const xmlChar *) str1); in __xmlRaiseError()
592 to->str2 = (char *) xmlStrdup((const xmlChar *) str2); in __xmlRaiseError()
594 to->str3 = (char *) xmlStrdup((const xmlChar *) str3); in __xmlRaiseError()
963 message = (char *) xmlStrdup((xmlChar *) from->message); in xmlCopyError()
964 file = (char *) xmlStrdup ((xmlChar *) from->file); in xmlCopyError()
965 str1 = (char *) xmlStrdup ((xmlChar *) from->str1); in xmlCopyError()
[all …]
Dxmlschemastypes.c2004 ret = xmlStrdup(value); in xmlSchemaWhiteSpaceReplace()
2050 start = xmlStrdup(start); in xmlSchemaCollapseString()
2090 val = xmlStrdup(value); in xmlSchemaValAtomicListNode()
2289 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2333 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2363 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2731 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2750 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2764 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2831 v->value.qname.name = xmlStrdup(value); in xmlSchemaValAtomicType()
[all …]
Duri.c1688 return(xmlStrdup(str)); in xmlURIEscapeStr()
1925 val = xmlStrdup(URI); in xmlBuildURI()
2200 ref->path = (char *)xmlStrdup(URI); in xmlBuildRelativeURI()
2206 val = xmlStrdup (URI); in xmlBuildRelativeURI()
2217 bas->path = (char *)xmlStrdup(base); in xmlBuildRelativeURI()
2227 val = xmlStrdup (URI); in xmlBuildRelativeURI()
2231 val = xmlStrdup(BAD_CAST ""); in xmlBuildRelativeURI()
2235 val = xmlStrdup((xmlChar *)ref->path); in xmlBuildRelativeURI()
2267 val = xmlStrdup(BAD_CAST ""); in xmlBuildRelativeURI()
2294 val = xmlStrdup(BAD_CAST "./"); in xmlBuildRelativeURI()
[all …]
Dxmlreader.c302 ref->name = xmlStrdup(attr->name); in xmlTextReaderWalkRemoveRef()
1040 qname = xmlStrdup(node->ns->prefix); in xmlTextReaderValidatePush()
1130 qname = xmlStrdup(node->ns->prefix); in xmlTextReaderValidatePop()
1870 return(xmlStrdup(node->content)); in xmlTextReaderReadString()
2268 ret->ctxt->directory = (char *) xmlStrdup((xmlChar *) directory); in xmlNewTextReaderFilename()
2430 return(xmlStrdup(ns->href)); in xmlTextReaderGetAttributeNo()
2443 if (ret == NULL) return(xmlStrdup((xmlChar *)"")); in xmlTextReaderGetAttributeNo()
2484 return(xmlStrdup(ns->href)); in xmlTextReaderGetAttribute()
2500 ret = xmlStrdup(ns->href); in xmlTextReaderGetAttribute()
2554 return xmlStrdup(ns->href); in xmlTextReaderGetAttributeNs()
[all …]
Dxmlwriter.c213 ret->ichar = xmlStrdup(BAD_CAST " "); in xmlNewTextWriter()
557 writer->doc->encoding = xmlStrdup((xmlChar *)writer->out->encoder->name); in xmlTextWriterStartDocument()
1012 p->name = xmlStrdup(name); in xmlTextWriterStartElement()
1066 buf = xmlStrdup(prefix); in xmlTextWriterStartElementNS()
1087 buf = xmlStrdup(BAD_CAST "xmlns"); in xmlTextWriterStartElementNS()
1094 p->uri = xmlStrdup(namespaceURI); in xmlTextWriterStartElementNS()
1844 buf = xmlStrdup(BAD_CAST "xmlns"); in xmlTextWriterStartAttributeNS()
1878 p->uri = xmlStrdup(namespaceURI); in xmlTextWriterStartAttributeNS()
1893 buf = xmlStrdup(prefix); in xmlTextWriterStartAttributeNS()
2437 p->name = xmlStrdup(target); in xmlTextWriterStartPI()
[all …]
Dtree.c302 ret = xmlStrdup(&name[len + 1]); in xmlSplitQName2()
766 cur->href = xmlStrdup(href); in xmlNewNs()
768 cur->prefix = xmlStrdup(prefix); in xmlNewNs()
902 cur->name = xmlStrdup(name); in xmlNewDtd()
904 cur->ExternalID = xmlStrdup(ExternalID); in xmlNewDtd()
906 cur->SystemID = xmlStrdup(SystemID); in xmlNewDtd()
976 cur->name = xmlStrdup(name); in xmlCreateIntSubset()
984 cur->ExternalID = xmlStrdup(ExternalID); in xmlCreateIntSubset()
994 cur->SystemID = xmlStrdup(SystemID); in xmlCreateIntSubset()
1077 cpy = xmlStrdup((const xmlChar *)(str)); }
[all …]
Dvalid.c996 ret->name = xmlStrdup(name); in xmlNewDocElementContent()
1002 ret->name = xmlStrdup(tmp); in xmlNewDocElementContent()
1058 ret->name = xmlStrdup(cur->name); in xmlCopyDocElementContent()
1065 ret->prefix = xmlStrdup(cur->prefix); in xmlCopyDocElementContent()
1088 tmp->name = xmlStrdup(cur->name); in xmlCopyDocElementContent()
1095 tmp->prefix = xmlStrdup(cur->prefix); in xmlCopyDocElementContent()
1599 ret->name = xmlStrdup(name); in xmlAddElementDecl()
1711 cur->name = xmlStrdup(elem->name); in xmlCopyElement()
1715 cur->prefix = xmlStrdup(elem->prefix); in xmlCopyElement()
1849 ret->name = xmlStrdup(name); in xmlCreateEnumeration()
[all …]
Dcatalog.c295 ret->name = xmlStrdup(name); in xmlNewCatalogEntry()
301 ret->value = xmlStrdup(value); in xmlNewCatalogEntry()
307 ret->URL = xmlStrdup(URL); in xmlNewCatalogEntry()
879 return(xmlStrdup(result)); in xmlCatalogUnWrapURN()
1062 ret = xmlStrdup(pubID); in xmlCatalogNormalizePublic()
1543 cur->value = xmlStrdup(replace); in xmlAddXMLCatalog()
1544 cur->URL = xmlStrdup(replace); in xmlAddXMLCatalog()
1668 return(xmlStrdup(cur->URL)); in xmlCatalogXMLResolve()
1695 ret = xmlStrdup(rewrite->URL); in xmlCatalogXMLResolve()
1761 return(xmlStrdup(cur->URL)); in xmlCatalogXMLResolve()
[all …]
Dhash.c616 entry->name = xmlStrdup(name); in xmlHashAddEntry3()
617 entry->name2 = xmlStrdup(name2); in xmlHashAddEntry3()
618 entry->name3 = xmlStrdup(name3); in xmlHashAddEntry3()
746 entry->name = xmlStrdup(name); in xmlHashUpdateEntry3()
747 entry->name2 = xmlStrdup(name2); in xmlHashUpdateEntry3()
748 entry->name3 = xmlStrdup(name3); in xmlHashUpdateEntry3()
Dxinclude.c242 ret->URI = xmlStrdup(URI); in xmlXIncludeNewRef()
345 ctxt->url = ctxt->urlTab[ctxt->urlNr] = xmlStrdup(value); in xmlXIncludeURLPush()
524 href = xmlStrdup(BAD_CAST ""); /* @@@@ href is now optional */ in xmlXIncludeAddNode()
723 newctxt->base = xmlStrdup(ctxt->base); in xmlXIncludeRecurseDoc()
806 ctxt->txtTab[ctxt->txtNr] = xmlStrdup(txt); in xmlXIncludeAddTxt()
807 ctxt->txturlTab[ctxt->txtNr] = xmlStrdup(url); in xmlXIncludeAddTxt()
1304 ret->URI = xmlStrdup(ent->URI); in xmlXIncludeMergeEntity()
1446 fragment = xmlStrdup(ctxt->incTab[nr]->fragment); in xmlXIncludeLoadDoc()
1525 URL = xmlStrdup(doc->URL); in xmlXIncludeLoadDoc()
1982 newctxt->base = xmlStrdup(ctxt->base); /* Inherit the base from the existing context */ in xmlXIncludeLoadFallback()
[all …]
Drunsuite.c65 if (dir == NULL) return(xmlStrdup(path)); in composeDir()
69 return(xmlStrdup((const xmlChar *) buf)); in composeDir()
138 xmlStrdup((xmlChar *)testEntitiesName[i]); in testExternalEntityLoader()
374 content = xmlStrdup(buf->content); in installResources()
1001 contributor = xmlStrdup(BAD_CAST "Unknown"); in xstcMetadata()
1005 name = xmlStrdup(BAD_CAST "Unknown"); in xstcMetadata()
Dxmlstring.c67 xmlStrdup(const xmlChar *cur) { in xmlStrdup() function
499 return(xmlStrdup(str1)); in xmlStrncatNew()
535 return(xmlStrdup(add)); in xmlStrcat()
/third_party/gettext/gnulib-local/lib/libxml/
Derror.c528 str = (char *) xmlStrdup(BAD_CAST "No error message provided"); in __xmlRaiseError()
580 to->file = (char *) xmlStrdup((const xmlChar *) file); in __xmlRaiseError()
612 to->file = (char *) xmlStrdup(baseptr->doc->URL); in __xmlRaiseError()
614 to->file = (char *) xmlStrdup(node->doc->URL); in __xmlRaiseError()
619 to->str1 = (char *) xmlStrdup((const xmlChar *) str1); in __xmlRaiseError()
621 to->str2 = (char *) xmlStrdup((const xmlChar *) str2); in __xmlRaiseError()
623 to->str3 = (char *) xmlStrdup((const xmlChar *) str3); in __xmlRaiseError()
992 message = (char *) xmlStrdup((xmlChar *) from->message); in xmlCopyError()
993 file = (char *) xmlStrdup ((xmlChar *) from->file); in xmlCopyError()
994 str1 = (char *) xmlStrdup ((xmlChar *) from->str1); in xmlCopyError()
[all …]
Dentities.c202 ret->name = xmlStrdup(name); in xmlCreateEntity()
204 ret->ExternalID = xmlStrdup(ExternalID); in xmlCreateEntity()
206 ret->SystemID = xmlStrdup(SystemID); in xmlCreateEntity()
706 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1"); in xmlEncodeEntitiesInternal()
739 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1"); in xmlEncodeEntitiesInternal()
957 cur->name = xmlStrdup(ent->name); in xmlCopyEntity()
959 cur->ExternalID = xmlStrdup(ent->ExternalID); in xmlCopyEntity()
961 cur->SystemID = xmlStrdup(ent->SystemID); in xmlCopyEntity()
963 cur->content = xmlStrdup(ent->content); in xmlCopyEntity()
965 cur->orig = xmlStrdup(ent->orig); in xmlCopyEntity()
[all …]
Dxmlschemastypes.c1970 ret = xmlStrdup(value); in xmlSchemaWhiteSpaceReplace()
2016 start = xmlStrdup(start); in xmlSchemaCollapseString()
2056 val = xmlStrdup(value); in xmlSchemaValAtomicListNode()
2217 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2261 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2291 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2659 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2677 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2691 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2758 v->value.qname.name = xmlStrdup(value); in xmlSchemaValAtomicType()
[all …]
Duri.c1708 return(xmlStrdup(str)); in xmlURIEscapeStr()
1944 val = xmlStrdup(URI); in xmlBuildURI()
2219 ref->path = (char *)xmlStrdup(URI); in xmlBuildRelativeURI()
2225 val = xmlStrdup (URI); in xmlBuildRelativeURI()
2236 bas->path = (char *)xmlStrdup(base); in xmlBuildRelativeURI()
2246 val = xmlStrdup (URI); in xmlBuildRelativeURI()
2250 val = xmlStrdup(BAD_CAST ""); in xmlBuildRelativeURI()
2254 val = xmlStrdup((xmlChar *)ref->path); in xmlBuildRelativeURI()
2286 val = xmlStrdup(BAD_CAST ""); in xmlBuildRelativeURI()
2313 val = xmlStrdup(BAD_CAST "./"); in xmlBuildRelativeURI()
[all …]
Dxmlreader.c990 qname = xmlStrdup(node->ns->prefix); in xmlTextReaderValidatePush()
1081 qname = xmlStrdup(node->ns->prefix); in xmlTextReaderValidatePop()
1836 return(xmlStrdup(node->content)); in xmlTextReaderReadString()
2234 ret->ctxt->directory = (char *) xmlStrdup((xmlChar *) directory); in xmlNewTextReaderFilename()
2390 return(xmlStrdup(ns->href)); in xmlTextReaderGetAttributeNo()
2403 if (ret == NULL) return(xmlStrdup((xmlChar *)"")); in xmlTextReaderGetAttributeNo()
2444 return(xmlStrdup(ns->href)); in xmlTextReaderGetAttribute()
2460 ret = xmlStrdup(ns->href); in xmlTextReaderGetAttribute()
2514 return xmlStrdup(ns->href); in xmlTextReaderGetAttributeNs()
2599 return(xmlStrdup(ns->href)); in xmlTextReaderLookupNamespace()
[all …]
Dtree.c331 ret = xmlStrdup(&name[len + 1]); in xmlSplitQName2()
795 cur->href = xmlStrdup(href); in xmlNewNs()
797 cur->prefix = xmlStrdup(prefix); in xmlNewNs()
931 cur->name = xmlStrdup(name); in xmlNewDtd()
933 cur->ExternalID = xmlStrdup(ExternalID); in xmlNewDtd()
935 cur->SystemID = xmlStrdup(SystemID); in xmlNewDtd()
1005 cur->name = xmlStrdup(name); in xmlCreateIntSubset()
1013 cur->ExternalID = xmlStrdup(ExternalID); in xmlCreateIntSubset()
1023 cur->SystemID = xmlStrdup(SystemID); in xmlCreateIntSubset()
1106 cpy = xmlStrdup((const xmlChar *)(str)); }
[all …]
Dxmlwriter.c240 ret->ichar = xmlStrdup(BAD_CAST " "); in xmlNewTextWriter()
584 writer->doc->encoding = xmlStrdup((xmlChar *)writer->out->encoder->name); in xmlTextWriterStartDocument()
1039 p->name = xmlStrdup(name); in xmlTextWriterStartElement()
1093 buf = xmlStrdup(prefix); in xmlTextWriterStartElementNS()
1114 buf = xmlStrdup(BAD_CAST "xmlns"); in xmlTextWriterStartElementNS()
1121 p->uri = xmlStrdup(namespaceURI); in xmlTextWriterStartElementNS()
1871 buf = xmlStrdup(BAD_CAST "xmlns"); in xmlTextWriterStartAttributeNS()
1905 p->uri = xmlStrdup(namespaceURI); in xmlTextWriterStartAttributeNS()
1920 buf = xmlStrdup(prefix); in xmlTextWriterStartAttributeNS()
2464 p->name = xmlStrdup(target); in xmlTextWriterStartPI()
[all …]
Dvalid.c996 ret->name = xmlStrdup(name); in xmlNewDocElementContent()
1002 ret->name = xmlStrdup(tmp); in xmlNewDocElementContent()
1058 ret->name = xmlStrdup(cur->name); in xmlCopyDocElementContent()
1065 ret->prefix = xmlStrdup(cur->prefix); in xmlCopyDocElementContent()
1088 tmp->name = xmlStrdup(cur->name); in xmlCopyDocElementContent()
1095 tmp->prefix = xmlStrdup(cur->prefix); in xmlCopyDocElementContent()
1556 ret->name = xmlStrdup(name); in xmlAddElementDecl()
1668 cur->name = xmlStrdup(elem->name); in xmlCopyElement()
1672 cur->prefix = xmlStrdup(elem->prefix); in xmlCopyElement()
1806 ret->name = xmlStrdup(name); in xmlCreateEnumeration()
[all …]
Dcatalog.c324 ret->name = xmlStrdup(name); in xmlNewCatalogEntry()
330 ret->value = xmlStrdup(value); in xmlNewCatalogEntry()
336 ret->URL = xmlStrdup(URL); in xmlNewCatalogEntry()
908 return(xmlStrdup(result)); in xmlCatalogUnWrapURN()
1090 ret = xmlStrdup(pubID); in xmlCatalogNormalizePublic()
1571 cur->value = xmlStrdup(replace); in xmlAddXMLCatalog()
1572 cur->URL = xmlStrdup(replace); in xmlAddXMLCatalog()
1696 return(xmlStrdup(cur->URL)); in xmlCatalogXMLResolve()
1723 ret = xmlStrdup(rewrite->URL); in xmlCatalogXMLResolve()
1789 return(xmlStrdup(cur->URL)); in xmlCatalogXMLResolve()
[all …]
Dhash.c620 entry->name = xmlStrdup(name); in xmlHashAddEntry3()
621 entry->name2 = xmlStrdup(name2); in xmlHashAddEntry3()
622 entry->name3 = xmlStrdup(name3); in xmlHashAddEntry3()
750 entry->name = xmlStrdup(name); in xmlHashUpdateEntry3()
751 entry->name2 = xmlStrdup(name2); in xmlHashUpdateEntry3()
752 entry->name3 = xmlStrdup(name3); in xmlHashUpdateEntry3()
Dxinclude.c270 ret->URI = xmlStrdup(URI); in xmlXIncludeNewRef()
373 ctxt->url = ctxt->urlTab[ctxt->urlNr] = xmlStrdup(value); in xmlXIncludeURLPush()
544 href = xmlStrdup(BAD_CAST ""); /* @@@@ href is now optional */ in xmlXIncludeAddNode()
741 newctxt->base = xmlStrdup(ctxt->base); in xmlXIncludeRecurseDoc()
822 ctxt->txturlTab[ctxt->txtNr] = xmlStrdup(url); in xmlXIncludeAddTxt()
1321 ret->URI = xmlStrdup(ent->URI); in xmlXIncludeMergeEntity()
1463 fragment = xmlStrdup(ctxt->incTab[nr]->fragment); in xmlXIncludeLoadDoc()
1542 URL = xmlStrdup(doc->URL); in xmlXIncludeLoadDoc()
2008 newctxt->base = xmlStrdup(ctxt->base); /* Inherit the base from the existing context */ in xmlXIncludeLoadFallback()
2081 href = xmlStrdup(BAD_CAST ""); /* @@@@ href is now optional */ in xmlXIncludeLoadNode()
[all …]
Dxmlstring.c95 xmlStrdup(const xmlChar *cur) { in xmlStrdup() function
524 return(xmlStrdup(str1)); in xmlStrncatNew()
560 return(xmlStrdup(add)); in xmlStrcat()

123