Home
last modified time | relevance | path

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

12

/external/libxml2/
Derror.c490 str = (char *) xmlStrdup(BAD_CAST "No error message provided"); in __xmlRaiseError()
540 to->file = (char *) xmlStrdup((const xmlChar *) file); in __xmlRaiseError()
572 to->file = (char *) xmlStrdup(baseptr->doc->URL); in __xmlRaiseError()
574 to->file = (char *) xmlStrdup(node->doc->URL); in __xmlRaiseError()
580 to->str1 = (char *) xmlStrdup((const xmlChar *) str1); in __xmlRaiseError()
582 to->str2 = (char *) xmlStrdup((const xmlChar *) str2); in __xmlRaiseError()
584 to->str3 = (char *) xmlStrdup((const xmlChar *) str3); in __xmlRaiseError()
951 message = (char *) xmlStrdup((xmlChar *) from->message); in xmlCopyError()
952 file = (char *) xmlStrdup ((xmlChar *) from->file); in xmlCopyError()
953 str1 = (char *) xmlStrdup ((xmlChar *) from->str1); in xmlCopyError()
[all …]
Dentities.c192 ret->name = xmlStrdup(name); in xmlAddEntity()
194 ret->ExternalID = xmlStrdup(ExternalID); in xmlAddEntity()
196 ret->SystemID = xmlStrdup(SystemID); in xmlAddEntity()
576 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1"); in xmlEncodeEntitiesReentrant()
609 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1"); in xmlEncodeEntitiesReentrant()
784 cur->name = xmlStrdup(ent->name); in xmlCopyEntity()
786 cur->ExternalID = xmlStrdup(ent->ExternalID); in xmlCopyEntity()
788 cur->SystemID = xmlStrdup(ent->SystemID); in xmlCopyEntity()
790 cur->content = xmlStrdup(ent->content); in xmlCopyEntity()
792 cur->orig = xmlStrdup(ent->orig); in xmlCopyEntity()
[all …]
Dxmlschemastypes.c1923 ret = xmlStrdup(value); in xmlSchemaWhiteSpaceReplace()
1969 start = xmlStrdup(start); in xmlSchemaCollapseString()
2009 val = xmlStrdup(value); in xmlSchemaValAtomicListNode()
2167 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2211 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2241 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2602 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2620 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2634 v->value.str = xmlStrdup(value); in xmlSchemaValAtomicType()
2701 v->value.qname.name = xmlStrdup(value); in xmlSchemaValAtomicType()
[all …]
Duri.c914 return(xmlStrdup(str)); in xmlURIEscapeStr()
1932 val = xmlStrdup(URI); in xmlBuildURI()
2207 ref->path = (char *)xmlStrdup(URI); in xmlBuildRelativeURI()
2213 val = xmlStrdup (URI); in xmlBuildRelativeURI()
2224 bas->path = (char *)xmlStrdup(base); in xmlBuildRelativeURI()
2234 val = xmlStrdup (URI); in xmlBuildRelativeURI()
2238 val = xmlStrdup(BAD_CAST ""); in xmlBuildRelativeURI()
2242 val = xmlStrdup((xmlChar *)ref->path); in xmlBuildRelativeURI()
2288 val = xmlStrdup(BAD_CAST ""); in xmlBuildRelativeURI()
2423 return xmlStrdup(path); in xmlCanonicPath()
[all …]
Dxmlreader.c908 qname = xmlStrdup(node->ns->prefix); in xmlTextReaderValidatePush()
999 qname = xmlStrdup(node->ns->prefix); in xmlTextReaderValidatePop()
1749 return(xmlStrdup(node->content)); in xmlTextReaderReadString()
2139 ret->ctxt->directory = (char *) xmlStrdup((xmlChar *) directory); in xmlNewTextReaderFilename()
2294 return(xmlStrdup(ns->href)); in xmlTextReaderGetAttributeNo()
2307 if (ret == NULL) return(xmlStrdup((xmlChar *)"")); in xmlTextReaderGetAttributeNo()
2348 return(xmlStrdup(ns->href)); in xmlTextReaderGetAttribute()
2364 ret = xmlStrdup(ns->href); in xmlTextReaderGetAttribute()
2418 return xmlStrdup(ns->href); in xmlTextReaderGetAttributeNs()
2503 return(xmlStrdup(ns->href)); in xmlTextReaderLookupNamespace()
[all …]
Dxmlwriter.c209 ret->ichar = xmlStrdup(BAD_CAST " "); in xmlNewTextWriter()
553 writer->doc->encoding = xmlStrdup((xmlChar *)writer->out->encoder->name); in xmlTextWriterStartDocument()
1004 p->name = xmlStrdup(name); in xmlTextWriterStartElement()
1058 buf = xmlStrdup(prefix); in xmlTextWriterStartElementNS()
1079 buf = xmlStrdup(BAD_CAST "xmlns"); in xmlTextWriterStartElementNS()
1086 p->uri = xmlStrdup(namespaceURI); in xmlTextWriterStartElementNS()
1827 buf = xmlStrdup(BAD_CAST "xmlns"); in xmlTextWriterStartAttributeNS()
1861 p->uri = xmlStrdup(namespaceURI); in xmlTextWriterStartAttributeNS()
1876 buf = xmlStrdup(prefix); in xmlTextWriterStartAttributeNS()
2418 p->name = xmlStrdup(target); in xmlTextWriterStartPI()
[all …]
Dtree.c289 ret = xmlStrdup(&name[len + 1]); in xmlSplitQName2()
733 cur->href = xmlStrdup(href); in xmlNewNs()
735 cur->prefix = xmlStrdup(prefix); in xmlNewNs()
867 cur->name = xmlStrdup(name); in xmlNewDtd()
869 cur->ExternalID = xmlStrdup(ExternalID); in xmlNewDtd()
871 cur->SystemID = xmlStrdup(SystemID); in xmlNewDtd()
941 cur->name = xmlStrdup(name); in xmlCreateIntSubset()
949 cur->ExternalID = xmlStrdup(ExternalID); in xmlCreateIntSubset()
959 cur->SystemID = xmlStrdup(SystemID); in xmlCreateIntSubset()
1042 cpy = xmlStrdup((const xmlChar *)(str)); }
[all …]
Dvalid.c964 ret->name = xmlStrdup(name); in xmlNewDocElementContent()
970 ret->name = xmlStrdup(tmp); in xmlNewDocElementContent()
1026 ret->name = xmlStrdup(cur->name); in xmlCopyDocElementContent()
1033 ret->prefix = xmlStrdup(cur->prefix); in xmlCopyDocElementContent()
1056 tmp->name = xmlStrdup(cur->name); in xmlCopyDocElementContent()
1063 tmp->prefix = xmlStrdup(cur->prefix); in xmlCopyDocElementContent()
1518 ret->name = xmlStrdup(name); in xmlAddElementDecl()
1624 cur->name = xmlStrdup(elem->name); in xmlCopyElement()
1628 cur->prefix = xmlStrdup(elem->prefix); in xmlCopyElement()
1762 ret->name = xmlStrdup(name); in xmlCreateEnumeration()
[all …]
Dcatalog.c291 ret->name = xmlStrdup(name); in xmlNewCatalogEntry()
297 ret->value = xmlStrdup(value); in xmlNewCatalogEntry()
303 ret->URL = xmlStrdup(URL); in xmlNewCatalogEntry()
870 return(xmlStrdup(result)); in xmlCatalogUnWrapURN()
1053 ret = xmlStrdup(pubID); in xmlCatalogNormalizePublic()
1536 cur->value = xmlStrdup(replace); in xmlAddXMLCatalog()
1537 cur->URL = xmlStrdup(replace); in xmlAddXMLCatalog()
1661 return(xmlStrdup(cur->URL)); in xmlCatalogXMLResolve()
1688 ret = xmlStrdup(rewrite->URL); in xmlCatalogXMLResolve()
1754 return(xmlStrdup(cur->URL)); in xmlCatalogXMLResolve()
[all …]
Dhash.c566 entry->name = xmlStrdup(name); in xmlHashAddEntry3()
567 entry->name2 = xmlStrdup(name2); in xmlHashAddEntry3()
568 entry->name3 = xmlStrdup(name3); in xmlHashAddEntry3()
696 entry->name = xmlStrdup(name); in xmlHashUpdateEntry3()
697 entry->name2 = xmlStrdup(name2); in xmlHashUpdateEntry3()
698 entry->name3 = xmlStrdup(name3); in xmlHashUpdateEntry3()
Dxinclude.c239 ret->URI = xmlStrdup(URI); in xmlXIncludeNewRef()
342 ctxt->url = ctxt->urlTab[ctxt->urlNr] = xmlStrdup(value); in xmlXIncludeURLPush()
462 pctxt->directory = (char *) xmlStrdup((xmlChar *) directory); in xmlXIncludeParseFile()
516 href = xmlStrdup(BAD_CAST ""); /* @@@@ href is now optional */ in xmlXIncludeAddNode()
701 newctxt->base = xmlStrdup(ctxt->base); in xmlXIncludeRecurseDoc()
782 ctxt->txturlTab[ctxt->txtNr] = xmlStrdup(url); in xmlXIncludeAddTxt()
1271 ret->URI = xmlStrdup(ent->URI); in xmlXIncludeMergeEntity()
1413 fragment = xmlStrdup(ctxt->incTab[nr]->fragment); in xmlXIncludeLoadDoc()
1492 URL = xmlStrdup(doc->URL); in xmlXIncludeLoadDoc()
1930 newctxt->base = xmlStrdup(ctxt->base); /* Inherit the base from the existing context */ in xmlXIncludeLoadFallback()
[all …]
Dxmlstring.c66 xmlStrdup(const xmlChar *cur) { in xmlStrdup() function
490 return(xmlStrdup(str1)); in xmlStrncatNew()
523 return(xmlStrdup(add)); in xmlStrcat()
DSAX2.c976 doc->encoding = xmlStrdup(ctxt->encoding); in xmlSAX2StartDocument()
1030 ctxt->myDoc->encoding = xmlStrdup(ctxt->inputTab[0]->encoding); in xmlSAX2EndDocument()
1063 name = xmlStrdup(fullname); in xmlSAX2AttributeInternal()
1085 name = xmlStrdup(fullname); in xmlSAX2AttributeInternal()
1404 fulln = xmlStrdup(attr->prefix); in xmlCheckDefaultedAttributes()
1408 fulln = xmlStrdup(attr->name); in xmlCheckDefaultedAttributes()
1924 ret->name = xmlStrdup(localname); in xmlSAX2AttributeNs()
2165 ret->name = xmlStrdup(localname); in xmlSAX2StartElementNs()
2440 lastChild->content = xmlStrdup(lastChild->content); in xmlSAX2Characters()
2444 lastChild->content = xmlStrdup(lastChild->content); in xmlSAX2Characters()
Dxpath.c276 ctxt->lastError.message = (char *) xmlStrdup(buf); in xmlXPathErrMemory()
279 xmlStrdup(BAD_CAST "Memory allocation failed\n"); in xmlXPathErrMemory()
359 ctxt->context->lastError.str1 = (char *) xmlStrdup(ctxt->base); in xmlXPathErr()
2088 ret->stringval = xmlStrdup(BAD_CAST val); in xmlXPathCacheNewCString()
2102 ret->stringval = xmlStrdup(BAD_CAST val); in xmlXPathCacheNewCString()
2137 ret->stringval = xmlStrdup(val); in xmlXPathCacheNewString()
2139 ret->stringval = xmlStrdup((const xmlChar *)""); in xmlXPathCacheNewString()
2154 ret->stringval = xmlStrdup(val); in xmlXPathCacheNewString()
2156 ret->stringval = xmlStrdup((const xmlChar *)""); in xmlXPathCacheNewString()
3342 cur->href = xmlStrdup(ns->href); in xmlXPathNodeSetDupNs()
[all …]
Dxmlmodule.c91 module->name = xmlStrdup((const xmlChar *) name); in xmlModuleOpen()
Dglobals.c133 xmlStrdupFunc xmlMemStrdup = (xmlStrdupFunc) xmlStrdup;
530 gs->xmlMemStrdup = (xmlStrdupFunc) xmlStrdup; in xmlInitializeGlobalState()
Dxmlschemas.c1293 *buf = xmlStrdup(BAD_CAST "{"); in xmlSchemaFormatQName()
1517 *retValue = xmlStrdup(BAD_CAST ""); in xmlSchemaGetCanonValueWhtspExt()
1519 *retValue = xmlStrdup(value); in xmlSchemaGetCanonValueWhtspExt()
1579 *buf = xmlStrdup(itemDes); in xmlSchemaFormatItemForReport()
1586 *buf = xmlStrdup(BAD_CAST "atomic type 'xs:"); in xmlSchemaFormatItemForReport()
1588 *buf = xmlStrdup(BAD_CAST "list type 'xs:"); in xmlSchemaFormatItemForReport()
1590 *buf = xmlStrdup(BAD_CAST "union type 'xs:"); in xmlSchemaFormatItemForReport()
1592 *buf = xmlStrdup(BAD_CAST "simple type 'xs:"); in xmlSchemaFormatItemForReport()
1601 *buf = xmlStrdup(BAD_CAST""); in xmlSchemaFormatItemForReport()
1603 *buf = xmlStrdup(BAD_CAST "local "); in xmlSchemaFormatItemForReport()
[all …]
DparserInternals.c1060 ctxt->encoding = xmlStrdup(ctxt->input->encoding); in xmlSwitchEncoding()
1484 URI = xmlStrdup((xmlChar *) filename); in xmlNewInputFromFile()
1486 URI = xmlStrdup((xmlChar *) inputStream->filename); in xmlNewInputFromFile()
1497 ctxt->directory = (char *) xmlStrdup((const xmlChar *) directory); in xmlNewInputFromFile()
Dxmlregexp.c507 stringMap[nbatoms] = xmlStrdup(value); in xmlRegEpxFromParse()
682 ret->string = xmlStrdup(string); in xmlRegNewParserCtxt()
756 ret->blockName = xmlStrdup(range->blockName); in xmlRegCopyRange()
3547 exec->inputStack[exec->inputStackNr].value = xmlStrdup(value); in xmlFARegExecSaveInputString()
3678 exec->errString = xmlStrdup(value); in xmlRegCompactPushString()
3964 exec->errString = xmlStrdup(value); in xmlRegExecPushStringInternal()
4012 exec->errString = xmlStrdup(value); in xmlRegExecPushStringInternal()
5673 atom->valuep = xmlStrdup(token); in xmlAutomataNewTransition()
5712 atom->valuep = xmlStrdup(token); in xmlAutomataNewTransition2()
5774 atom->valuep = xmlStrdup(token); in xmlAutomataNewNegTrans()
[all …]
Drelaxng.c1641 ret->href = xmlStrdup(URL); in xmlRelaxNGLoadInclude()
1800 cur->arg1 = xmlStrdup(arg1); in xmlRelaxNGValidErrorPush()
1801 cur->arg2 = xmlStrdup(arg2); in xmlRelaxNGValidErrorPush()
1971 ret->href = xmlStrdup(URL); in xmlRelaxNGLoadExternalRef()
2214 return (xmlStrdup((xmlChar *) msg)); in xmlRelaxNGGetErrorString()
2775 lib->namespace = xmlStrdup(namespace); in xmlRelaxNGRegisterTypeLibrary()
3511 xmlStrdup(BAD_CAST "http://relaxng.org/ns/structure/1.0"); in xmlRelaxNGParseValue()
3540 def->value = xmlStrdup(BAD_CAST ""); in xmlRelaxNGParseValue()
3604 xmlStrdup(BAD_CAST "http://relaxng.org/ns/structure/1.0"); in xmlRelaxNGParseData()
6611 ret->URL = xmlStrdup((const xmlChar *) URL); in xmlRelaxNGNewParserCtxt()
[all …]
DxmlIO.c1700 ctxt->uri = (char *) xmlStrdup((const xmlChar *)post_uri); in xmlIOHTTPOpenW()
3590 ret->encoding = xmlStrdup(BAD_CAST encoding); in xmlCheckHTTPInput()
3605 (char *) xmlStrdup((const xmlChar *) redir); in xmlCheckHTTPInput()
3684 resource = xmlStrdup((const xmlChar *) URL); in xmlResolveResourceFromCatalog()
Dxmlsave.c394 ret->encoding = xmlStrdup((const xmlChar *)encoding); in xmlNewSaveCtxt()
1808 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1"); in xmlAttrSerializeTxtContent()
1839 doc->encoding = xmlStrdup(BAD_CAST "ISO-8859-1"); in xmlAttrSerializeTxtContent()
DHTMLparser.c3273 val = xmlStrdup(name); in htmlParseAttribute()
3317 ctxt->input->encoding = xmlStrdup(encoding); in htmlCheckEncoding()
3811 currentNode = xmlStrdup(ctxt->name); in htmlParseContent()
4060 currentNode = xmlStrdup(ctxt->name); in htmlParseElement()
4424 ctxt->input->encoding = xmlStrdup((const xmlChar *) encoding); in htmlCreateDocParserCtxt()
5965 ctxt->input->filename = (char *) xmlStrdup((const xmlChar *) URL); in htmlDoRead()
/external/webkit/WebCore/dom/
DXMLTokenizerLibxml2.cpp81 callback->xmlLocalName = xmlStrdup(xmlLocalName); in appendStartElementNSCallback()
82 callback->xmlPrefix = xmlStrdup(xmlPrefix); in appendStartElementNSCallback()
83 callback->xmlURI = xmlStrdup(xmlURI); in appendStartElementNSCallback()
87 callback->namespaces[i] = xmlStrdup(namespaces[i]); in appendStartElementNSCallback()
96 callback->attributes[i * 5 + j] = xmlStrdup(attributes[i * 5 + j]); in appendStartElementNSCallback()
128 callback->target = xmlStrdup(target); in appendProcessingInstructionCallback()
129 callback->data = xmlStrdup(data); in appendProcessingInstructionCallback()
148 callback->s = xmlStrdup(s); in appendCommentCallback()
157 callback->name = xmlStrdup(name); in appendInternalSubsetCallback()
158 callback->externalID = xmlStrdup(externalID); in appendInternalSubsetCallback()
[all …]
/external/libxml2/include/libxml/
Dxmlstring.h41 xmlStrdup (const xmlChar *cur);

12