Home
last modified time | relevance | path

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

12

/external/libxml2/
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.c1931 ret = xmlStrdup(value); in xmlSchemaWhiteSpaceReplace()
1977 start = xmlStrdup(start); in xmlSchemaCollapseString()
2017 val = xmlStrdup(value); in xmlSchemaValAtomicListNode()
2178 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2222 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2252 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2620 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2638 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2652 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2719 v->value.qname.name = xmlStrdup(value); in xmlSchemaValAtomicType()
[all …]
Dentities.c168 ret->name = xmlStrdup(name); in xmlCreateEntity()
170 ret->ExternalID = xmlStrdup(ExternalID); in xmlCreateEntity()
172 ret->SystemID = xmlStrdup(SystemID); in xmlCreateEntity()
672 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1"); in xmlEncodeEntitiesInternal()
705 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1"); in xmlEncodeEntitiesInternal()
923 cur->name = xmlStrdup(ent->name); in xmlCopyEntity()
925 cur->ExternalID = xmlStrdup(ent->ExternalID); in xmlCopyEntity()
927 cur->SystemID = xmlStrdup(ent->SystemID); in xmlCopyEntity()
929 cur->content = xmlStrdup(ent->content); in xmlCopyEntity()
931 cur->orig = xmlStrdup(ent->orig); in xmlCopyEntity()
[all …]
Duri.c1680 return(xmlStrdup(str)); in xmlURIEscapeStr()
1916 val = xmlStrdup(URI); in xmlBuildURI()
2190 ref->path = (char *)xmlStrdup(URI); in xmlBuildRelativeURI()
2196 val = xmlStrdup (URI); in xmlBuildRelativeURI()
2207 bas->path = (char *)xmlStrdup(base); in xmlBuildRelativeURI()
2217 val = xmlStrdup (URI); in xmlBuildRelativeURI()
2221 val = xmlStrdup(BAD_CAST ""); in xmlBuildRelativeURI()
2225 val = xmlStrdup((xmlChar *)ref->path); in xmlBuildRelativeURI()
2271 val = xmlStrdup(BAD_CAST ""); in xmlBuildRelativeURI()
2414 return xmlStrdup((const xmlChar *) path); in xmlCanonicPath()
[all …]
Dxmlreader.c956 qname = xmlStrdup(node->ns->prefix); in xmlTextReaderValidatePush()
1047 qname = xmlStrdup(node->ns->prefix); in xmlTextReaderValidatePop()
1800 return(xmlStrdup(node->content)); in xmlTextReaderReadString()
2201 ret->ctxt->directory = (char *) xmlStrdup((xmlChar *) directory); in xmlNewTextReaderFilename()
2357 return(xmlStrdup(ns->href)); in xmlTextReaderGetAttributeNo()
2370 if (ret == NULL) return(xmlStrdup((xmlChar *)"")); in xmlTextReaderGetAttributeNo()
2411 return(xmlStrdup(ns->href)); in xmlTextReaderGetAttribute()
2427 ret = xmlStrdup(ns->href); in xmlTextReaderGetAttribute()
2481 return xmlStrdup(ns->href); in xmlTextReaderGetAttributeNs()
2566 return(xmlStrdup(ns->href)); in xmlTextReaderLookupNamespace()
[all …]
Dtree.c296 ret = xmlStrdup(&name[len + 1]); in xmlSplitQName2()
760 cur->href = xmlStrdup(href); in xmlNewNs()
762 cur->prefix = xmlStrdup(prefix); in xmlNewNs()
896 cur->name = xmlStrdup(name); in xmlNewDtd()
898 cur->ExternalID = xmlStrdup(ExternalID); in xmlNewDtd()
900 cur->SystemID = xmlStrdup(SystemID); in xmlNewDtd()
970 cur->name = xmlStrdup(name); in xmlCreateIntSubset()
978 cur->ExternalID = xmlStrdup(ExternalID); in xmlCreateIntSubset()
988 cur->SystemID = xmlStrdup(SystemID); in xmlCreateIntSubset()
1071 cpy = xmlStrdup((const xmlChar *)(str)); }
[all …]
Dxmlwriter.c217 ret->ichar = xmlStrdup(BAD_CAST " "); in xmlNewTextWriter()
563 writer->doc->encoding = xmlStrdup((xmlChar *)writer->out->encoder->name); in xmlTextWriterStartDocument()
1018 p->name = xmlStrdup(name); in xmlTextWriterStartElement()
1072 buf = xmlStrdup(prefix); in xmlTextWriterStartElementNS()
1093 buf = xmlStrdup(BAD_CAST "xmlns"); in xmlTextWriterStartElementNS()
1100 p->uri = xmlStrdup(namespaceURI); in xmlTextWriterStartElementNS()
1850 buf = xmlStrdup(BAD_CAST "xmlns"); in xmlTextWriterStartAttributeNS()
1884 p->uri = xmlStrdup(namespaceURI); in xmlTextWriterStartAttributeNS()
1899 buf = xmlStrdup(prefix); in xmlTextWriterStartAttributeNS()
2443 p->name = xmlStrdup(target); in xmlTextWriterStartPI()
[all …]
Dvalid.c967 ret->name = xmlStrdup(name); in xmlNewDocElementContent()
973 ret->name = xmlStrdup(tmp); in xmlNewDocElementContent()
1029 ret->name = xmlStrdup(cur->name); in xmlCopyDocElementContent()
1036 ret->prefix = xmlStrdup(cur->prefix); in xmlCopyDocElementContent()
1059 tmp->name = xmlStrdup(cur->name); in xmlCopyDocElementContent()
1066 tmp->prefix = xmlStrdup(cur->prefix); in xmlCopyDocElementContent()
1521 ret->name = xmlStrdup(name); in xmlAddElementDecl()
1627 cur->name = xmlStrdup(elem->name); in xmlCopyElement()
1631 cur->prefix = xmlStrdup(elem->prefix); in xmlCopyElement()
1765 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()
874 return(xmlStrdup(result)); in xmlCatalogUnWrapURN()
1056 ret = xmlStrdup(pubID); in xmlCatalogNormalizePublic()
1537 cur->value = xmlStrdup(replace); in xmlAddXMLCatalog()
1538 cur->URL = xmlStrdup(replace); in xmlAddXMLCatalog()
1662 return(xmlStrdup(cur->URL)); in xmlCatalogXMLResolve()
1689 ret = xmlStrdup(rewrite->URL); in xmlCatalogXMLResolve()
1755 return(xmlStrdup(cur->URL)); in xmlCatalogXMLResolve()
[all …]
Dhash.c597 entry->name = xmlStrdup(name); in xmlHashAddEntry3()
598 entry->name2 = xmlStrdup(name2); in xmlHashAddEntry3()
599 entry->name3 = xmlStrdup(name3); in xmlHashAddEntry3()
727 entry->name = xmlStrdup(name); in xmlHashUpdateEntry3()
728 entry->name2 = xmlStrdup(name2); in xmlHashUpdateEntry3()
729 entry->name3 = xmlStrdup(name3); in xmlHashUpdateEntry3()
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()
376 content = xmlStrdup(buf->content); in installResources()
1016 contributor = xmlStrdup(BAD_CAST "Unknown"); in xstcMetadata()
1020 name = xmlStrdup(BAD_CAST "Unknown"); in xstcMetadata()
Dxinclude.c241 ret->URI = xmlStrdup(URI); in xmlXIncludeNewRef()
344 ctxt->url = ctxt->urlTab[ctxt->urlNr] = xmlStrdup(value); in xmlXIncludeURLPush()
515 href = xmlStrdup(BAD_CAST ""); /* @@@@ href is now optional */ in xmlXIncludeAddNode()
712 newctxt->base = xmlStrdup(ctxt->base); in xmlXIncludeRecurseDoc()
793 ctxt->txturlTab[ctxt->txtNr] = xmlStrdup(url); in xmlXIncludeAddTxt()
1290 ret->URI = xmlStrdup(ent->URI); in xmlXIncludeMergeEntity()
1432 fragment = xmlStrdup(ctxt->incTab[nr]->fragment); in xmlXIncludeLoadDoc()
1511 URL = xmlStrdup(doc->URL); in xmlXIncludeLoadDoc()
1977 newctxt->base = xmlStrdup(ctxt->base); /* Inherit the base from the existing context */ in xmlXIncludeLoadFallback()
2050 href = xmlStrdup(BAD_CAST ""); /* @@@@ href is now optional */ in xmlXIncludeLoadNode()
[all …]
Dxmlstring.c66 xmlStrdup(const xmlChar *cur) { in xmlStrdup() function
495 return(xmlStrdup(str1)); in xmlStrncatNew()
530 return(xmlStrdup(add)); in xmlStrcat()
DSAX2.c1019 doc->encoding = xmlStrdup(ctxt->encoding); in xmlSAX2StartDocument()
1073 ctxt->myDoc->encoding = xmlStrdup(ctxt->inputTab[0]->encoding); in xmlSAX2EndDocument()
1106 name = xmlStrdup(fullname); in xmlSAX2AttributeInternal()
1128 name = xmlStrdup(fullname); in xmlSAX2AttributeInternal()
1141 nval = xmlStrdup(fullname); in xmlSAX2AttributeInternal()
1464 fulln = xmlStrdup(attr->prefix); in xmlCheckDefaultedAttributes()
1468 fulln = xmlStrdup(attr->name); in xmlCheckDefaultedAttributes()
2000 ret->name = xmlStrdup(localname); in xmlSAX2AttributeNs()
2259 ret->name = xmlStrdup(localname); in xmlSAX2StartElementNs()
2575 lastChild->content = xmlStrdup(lastChild->content); in xmlSAX2Characters()
[all …]
Dtestdict.c44 strings1[i] = xmlStrdup((const xmlChar *) seeds1[i]); in fill_strings()
83 strings2[i] = xmlStrdup((const xmlChar *) seeds2[i]); in fill_strings()
Drunxmlconf.c70 if (dir == NULL) return(xmlStrdup(path)); in composeDir()
74 return(xmlStrdup((const xmlChar *) buf)); in composeDir()
Dxpath.c644 ctxt->lastError.message = (char *) xmlStrdup(buf); in xmlXPathErrMemory()
647 xmlStrdup(BAD_CAST "Memory allocation failed\n"); in xmlXPathErrMemory()
727 ctxt->context->lastError.str1 = (char *) xmlStrdup(ctxt->base); in xmlXPathErr()
2465 ret->stringval = xmlStrdup(BAD_CAST val); in xmlXPathCacheNewCString()
2479 ret->stringval = xmlStrdup(BAD_CAST val); in xmlXPathCacheNewCString()
2514 ret->stringval = xmlStrdup(val); in xmlXPathCacheNewString()
2516 ret->stringval = xmlStrdup((const xmlChar *)""); in xmlXPathCacheNewString()
2531 ret->stringval = xmlStrdup(val); in xmlXPathCacheNewString()
2533 ret->stringval = xmlStrdup((const xmlChar *)""); in xmlXPathCacheNewString()
3490 cur->href = xmlStrdup(ns->href); in xmlXPathNodeSetDupNs()
[all …]
Dxmlmodule.c95 module->name = xmlStrdup((const xmlChar *) name); in xmlModuleOpen()
DparserInternals.c1081 ctxt->encoding = xmlStrdup(ctxt->input->encoding); in xmlSwitchEncoding()
1466 input->filename = (char *) xmlStrdup((xmlChar *) entity->URI); in xmlNewEntityInputStream()
1550 URI = xmlStrdup((xmlChar *) filename); in xmlNewInputFromFile()
1552 URI = xmlStrdup((xmlChar *) inputStream->filename); in xmlNewInputFromFile()
1561 ctxt->directory = (char *) xmlStrdup((const xmlChar *) directory); in xmlNewInputFromFile()
Dxmlschemas.c1298 *buf = xmlStrdup(BAD_CAST "{"); in xmlSchemaFormatQName()
1522 *retValue = xmlStrdup(BAD_CAST ""); in xmlSchemaGetCanonValueWhtspExt()
1524 *retValue = xmlStrdup(value); in xmlSchemaGetCanonValueWhtspExt()
1584 *buf = xmlStrdup(itemDes); in xmlSchemaFormatItemForReport()
1591 *buf = xmlStrdup(BAD_CAST "atomic type 'xs:"); in xmlSchemaFormatItemForReport()
1593 *buf = xmlStrdup(BAD_CAST "list type 'xs:"); in xmlSchemaFormatItemForReport()
1595 *buf = xmlStrdup(BAD_CAST "union type 'xs:"); in xmlSchemaFormatItemForReport()
1597 *buf = xmlStrdup(BAD_CAST "simple type 'xs:"); in xmlSchemaFormatItemForReport()
1606 *buf = xmlStrdup(BAD_CAST""); in xmlSchemaFormatItemForReport()
1608 *buf = xmlStrdup(BAD_CAST "local "); in xmlSchemaFormatItemForReport()
[all …]
Dglobals.c134 xmlStrdupFunc xmlMemStrdup = (xmlStrdupFunc) xmlStrdup;
539 gs->xmlMemStrdup = (xmlStrdupFunc) xmlStrdup; in xmlInitializeGlobalState()
/external/libxml2/optim/
Dhash_dict.patch119 - entry->name = xmlStrdup(name);
120 - entry->name2 = xmlStrdup(name2);
121 - entry->name3 = xmlStrdup(name3);
167 - entry->name = xmlStrdup(name);
168 - entry->name2 = xmlStrdup(name2);
169 - entry->name3 = xmlStrdup(name3);
/external/libxml2/include/libxml/
Dxmlstring.h41 xmlStrdup (const xmlChar *cur);
/external/libxml2/os400/libxmlrpg/
Dxmlstring.rpgle27 d xmlStrdup pr * extproc('xmlStrdup') xmlChar *
/external/libxml2/doc/examples/
Dxpath1.c156 nsListDup = xmlStrdup(nsList); in register_namespaces()

12