Home
last modified time | relevance | path

Searched refs:xmlFree (Results 1 – 25 of 92) sorted by relevance

1234

/external/libxml2/fuzz/
Duri.c22 xmlFree(xmlSaveUri(uri)); in LLVMFuzzerTestOneInput()
26 xmlFree(xmlSaveUri(uri)); in LLVMFuzzerTestOneInput()
29 xmlFree(xmlURIUnescapeString(str[0], -1, NULL)); in LLVMFuzzerTestOneInput()
30 xmlFree(xmlURIEscape(BAD_CAST str[0])); in LLVMFuzzerTestOneInput()
31 xmlFree(xmlCanonicPath(BAD_CAST str[0])); in LLVMFuzzerTestOneInput()
32 xmlFree(xmlPathToURI(BAD_CAST str[0])); in LLVMFuzzerTestOneInput()
35 xmlFree(xmlBuildURI(BAD_CAST str[1], BAD_CAST str[0])); in LLVMFuzzerTestOneInput()
36 xmlFree(xmlBuildRelativeURI(BAD_CAST str[1], BAD_CAST str[0])); in LLVMFuzzerTestOneInput()
37 xmlFree(xmlURIEscapeStr(BAD_CAST str[0], BAD_CAST str[1])); in LLVMFuzzerTestOneInput()
43 xmlFree(str[0]); in LLVMFuzzerTestOneInput()
[all …]
Dregexp.c41 xmlFree(str[0]); in LLVMFuzzerTestOneInput()
42 xmlFree(str[1]); in LLVMFuzzerTestOneInput()
/external/libxml2/
Dxinclude.c210 xmlFree(ref->URI); in xmlXIncludeFreeRef()
212 xmlFree(ref->fragment); in xmlXIncludeFreeRef()
213 xmlFree(ref); in xmlXIncludeFreeRef()
370 xmlFree(ret); in xmlXIncludeURLPop()
391 xmlFree(ctxt->urlTab); in xmlXIncludeFreeContext()
397 xmlFree(ctxt->incTab); in xmlXIncludeFreeContext()
401 xmlFree(ctxt->txtTab[i]); in xmlXIncludeFreeContext()
403 xmlFree(ctxt->txtTab); in xmlXIncludeFreeContext()
408 xmlFree(ctxt->txturlTab[i]); in xmlXIncludeFreeContext()
410 xmlFree(ctxt->txturlTab); in xmlXIncludeFreeContext()
[all …]
Dnanohttp.c263 xmlFree(proxy); in xmlNanoHTTPCleanup()
292 xmlFree(ctxt->protocol); in xmlNanoHTTPScanURL()
296 xmlFree(ctxt->hostname); in xmlNanoHTTPScanURL()
300 xmlFree(ctxt->path); in xmlNanoHTTPScanURL()
304 xmlFree(ctxt->query); in xmlNanoHTTPScanURL()
355 xmlFree(proxy); in xmlNanoHTTPScanProxy()
426 if (ctxt->hostname != NULL) xmlFree(ctxt->hostname); in xmlNanoHTTPFreeCtxt()
427 if (ctxt->protocol != NULL) xmlFree(ctxt->protocol); in xmlNanoHTTPFreeCtxt()
428 if (ctxt->path != NULL) xmlFree(ctxt->path); in xmlNanoHTTPFreeCtxt()
429 if (ctxt->query != NULL) xmlFree(ctxt->query); in xmlNanoHTTPFreeCtxt()
[all …]
Duri.c222 if (uri->scheme != NULL) xmlFree(uri->scheme); in xmlParse3986Scheme()
260 xmlFree(uri->fragment); in xmlParse3986Fragment()
296 xmlFree(uri->query); in xmlParse3986Query()
306 xmlFree (uri->query_raw); in xmlParse3986Query()
375 if (uri->user != NULL) xmlFree(uri->user); in xmlParse3986Userinfo()
488 if (uri->authority != NULL) xmlFree(uri->authority); in xmlParse3986Host()
490 if (uri->server != NULL) xmlFree(uri->server); in xmlParse3986Host()
600 if (uri->path != NULL) xmlFree(uri->path); in xmlParse3986PathAbEmpty()
646 if (uri->path != NULL) xmlFree(uri->path); in xmlParse3986PathAbsolute()
688 if (uri->path != NULL) xmlFree(uri->path); in xmlParse3986PathRootless()
[all …]
DtestC14N.c117 xmlFree(result); in test_c14n()
121 if(result != NULL) xmlFree(result); in test_c14n()
164 if(list != NULL) xmlFree(list); in main()
171 if(list != NULL) xmlFree(list); in main()
292 xmlFree(expr); in load_xpath_expr()
304 xmlFree(expr); in load_xpath_expr()
318 xmlFree(expr); in load_xpath_expr()
326 xmlFree(expr); in load_xpath_expr()
Dxzlib.c94 xmlFree(state->msg); in xz_error()
155 xmlFree(state); in xz_open()
170 xmlFree(state->path); in xz_open()
171 xmlFree(state); in xz_open()
228 xmlFree(path); in __libxml2_xzdopen()
399 xmlFree(state->out); in xz_head()
401 xmlFree(state->in); in xz_head()
412 xmlFree(state->out); in xz_head()
413 xmlFree(state->in); in xz_head()
427 xmlFree(state->out); in xz_head()
[all …]
DparserInternals.c1342 if (input->filename != NULL) xmlFree((char *) input->filename); in xmlFreeInputStream()
1343 if (input->directory != NULL) xmlFree((char *) input->directory); in xmlFreeInputStream()
1344 if (input->encoding != NULL) xmlFree((char *) input->encoding); in xmlFreeInputStream()
1345 if (input->version != NULL) xmlFree((char *) input->version); in xmlFreeInputStream()
1350 xmlFree(input); in xmlFreeInputStream()
1562 if (inputStream->filename != NULL) xmlFree((char *)inputStream->filename); in xmlNewInputFromFile()
1564 if (URI != NULL) xmlFree((char *) URI); in xmlNewInputFromFile()
1783 if (ctxt->spaceTab != NULL) xmlFree(ctxt->spaceTab); in xmlFreeParserCtxt()
1784 if (ctxt->nameTab != NULL) xmlFree((xmlChar * *)ctxt->nameTab); in xmlFreeParserCtxt()
1785 if (ctxt->nodeTab != NULL) xmlFree(ctxt->nodeTab); in xmlFreeParserCtxt()
[all …]
Dschematron.c368 xmlFree(tests->test); in xmlSchematronFreeTests()
372 xmlFree(tests->report); in xmlSchematronFreeTests()
373 xmlFree(tests); in xmlSchematronFreeTests()
462 xmlFree(rules->context); in xmlSchematronFreeRules()
466 xmlFree(rules->report); in xmlSchematronFreeRules()
467 xmlFree(rules); in xmlSchematronFreeRules()
525 xmlFree(patterns->name); in xmlSchematronFreePatterns()
526 xmlFree(patterns); in xmlSchematronFreePatterns()
572 xmlFree((char **) schema->namespaces); in xmlSchematronFree()
577 xmlFree(schema); in xmlSchematronFree()
[all …]
Dcatalog.c299 xmlFree(normid); in xmlNewCatalogEntry()
351 xmlFree(ret->name); in xmlFreeCatalogEntry()
353 xmlFree(ret->value); in xmlFreeCatalogEntry()
355 xmlFree(ret->URL); in xmlFreeCatalogEntry()
356 xmlFree(ret); in xmlFreeCatalogEntry()
447 xmlFree(catal); in xmlFreeCatalog()
1017 xmlFree(content); in xmlLoadFileContent()
1175 xmlFree(nameValue); in xmlParseXMLCatalogOneNode()
1177 xmlFree(uriValue); in xmlParseXMLCatalogOneNode()
1198 xmlFree(nameValue); in xmlParseXMLCatalogOneNode()
[all …]
Drunxmlconf.c420 xmlFree(type); in xmlconfTestItem()
422 xmlFree(entities); in xmlconfTestItem()
424 xmlFree(edition); in xmlconfTestItem()
426 xmlFree(version); in xmlconfTestItem()
428 xmlFree(filename); in xmlconfTestItem()
430 xmlFree(uri); in xmlconfTestItem()
432 xmlFree(base); in xmlconfTestItem()
434 xmlFree(id); in xmlconfTestItem()
436 xmlFree(rec); in xmlconfTestItem()
453 xmlFree(profile); in xmlconfTestCases()
[all …]
Drunsuite.c104 xmlFree(testEntitiesName[i]); in resetEntities()
106 xmlFree(testEntitiesValue[i]); in resetEntities()
377 xmlFree(name); in installResources()
380 if (name != NULL) xmlFree(name); in installResources()
381 if (content != NULL) xmlFree(content); in installResources()
399 xmlFree(name); in installDirs()
413 xmlFree(res); in installDirs()
532 xmlFree(dtd); in xsdTestCase()
610 xmlFree(doc); in xsdTestSuite()
667 xmlFree(doc); in rngTestSuite()
[all …]
Derror.c702 xmlFree(str); in xmlParserError()
745 xmlFree(str); in xmlParserWarning()
800 xmlFree(str); in xmlParserValidityError()
836 xmlFree(str); in xmlParserValidityWarning()
880 xmlFree(err->message); in xmlResetError()
882 xmlFree(err->file); in xmlResetError()
884 xmlFree(err->str1); in xmlResetError()
886 xmlFree(err->str2); in xmlResetError()
888 xmlFree(err->str3); in xmlResetError()
970 xmlFree(to->message); in xmlCopyError()
[all …]
Dentities.c117 xmlFree((char *) entity->name); in xmlFreeEntity()
120 xmlFree((char *) entity->ExternalID); in xmlFreeEntity()
123 xmlFree((char *) entity->SystemID); in xmlFreeEntity()
125 xmlFree((char *) entity->URI); in xmlFreeEntity()
128 xmlFree((char *) entity->content); in xmlFreeEntity()
130 xmlFree((char *) entity->orig); in xmlFreeEntity()
133 xmlFree((char *) entity->name); in xmlFreeEntity()
135 xmlFree((char *) entity->ExternalID); in xmlFreeEntity()
137 xmlFree((char *) entity->SystemID); in xmlFreeEntity()
139 xmlFree((char *) entity->URI); in xmlFreeEntity()
[all …]
Dhash.c200 xmlFree(table); in xmlHashCreate()
294 xmlFree(iter); in xmlHashGrow()
308 xmlFree(oldtable); in xmlHashGrow()
349 xmlFree(iter->name); in xmlHashFree()
351 xmlFree(iter->name2); in xmlHashFree()
353 xmlFree(iter->name3); in xmlHashFree()
357 xmlFree(iter); in xmlHashFree()
363 xmlFree(table->table); in xmlHashFree()
367 xmlFree(table); in xmlHashFree()
379 xmlFree(entry); in xmlHashDefaultDeallocator()
[all …]
Dvalid.c710 xmlFree(fullname); in xmlValidBuildAContentModel()
902 xmlFree(cur->vstateTab); in xmlFreeValidCtxt()
904 xmlFree(cur->nodeTab); in xmlFreeValidCtxt()
905 xmlFree(cur); in xmlFreeValidCtxt()
1132 xmlFree((xmlChar *) cur->name); in xmlFreeDocElementContent()
1134 xmlFree((xmlChar *) cur->prefix); in xmlFreeDocElementContent()
1136 if (cur->name != NULL) xmlFree((xmlChar *) cur->name); in xmlFreeDocElementContent()
1137 if (cur->prefix != NULL) xmlFree((xmlChar *) cur->prefix); in xmlFreeDocElementContent()
1141 xmlFree(cur); in xmlFreeDocElementContent()
1148 xmlFree(cur); in xmlFreeDocElementContent()
[all …]
Dxmlwriter.c198 xmlFree(ret); in xmlNewTextWriter()
208 xmlFree(ret); in xmlNewTextWriter()
219 xmlFree(ret); in xmlNewTextWriter()
503 xmlFree(writer->ichar); in xmlFreeTextWriter()
504 xmlFree(writer); in xmlFreeTextWriter()
910 xmlFree(buf); in xmlTextWriterWriteVFormatComment()
1016 xmlFree(p); in xmlTextWriterStartElement()
1073 xmlFree(buf); in xmlTextWriterStartElementNS()
1098 xmlFree(p); in xmlTextWriterStartElementNS()
1335 xmlFree(buf); in xmlTextWriterWriteVFormatRaw()
[all …]
Dc14n.c303 xmlFree(cur->nsTab); in xmlC14NVisibleNsStackDestroy()
307 xmlFree(cur->nodeTab); in xmlC14NVisibleNsStackDestroy()
310 xmlFree(cur); in xmlC14NVisibleNsStackDestroy()
969 xmlFree(value); in xmlC14NPrintAttrs()
972 xmlFree(buffer); in xmlC14NPrintAttrs()
1042 xmlFree(res); in xmlC14NFixupBaseAttr()
1054 xmlFree(tmp_str); in xmlC14NFixupBaseAttr()
1055 xmlFree(res); in xmlC14NFixupBaseAttr()
1067 xmlFree(tmp_str); in xmlC14NFixupBaseAttr()
1068 xmlFree(res); in xmlC14NFixupBaseAttr()
[all …]
Dxmlregexp.c511 xmlFree(ret); in xmlRegEpxFromParse()
528 xmlFree(stateRemap); in xmlRegEpxFromParse()
529 xmlFree(ret); in xmlRegEpxFromParse()
535 xmlFree(stringMap); in xmlRegEpxFromParse()
536 xmlFree(stateRemap); in xmlRegEpxFromParse()
537 xmlFree(ret); in xmlRegEpxFromParse()
555 xmlFree(stringMap[i]); in xmlRegEpxFromParse()
556 xmlFree(stringRemap); in xmlRegEpxFromParse()
557 xmlFree(stringMap); in xmlRegEpxFromParse()
558 xmlFree(stateRemap); in xmlRegEpxFromParse()
[all …]
DSAX2.c485 xmlFree(ctxt->inputTab); in xmlSAX2ExternalSubset()
498 xmlFree((xmlChar *) ctxt->encoding); in xmlSAX2ExternalSubset()
542 xmlFree(URI); in xmlSAX2ResolveEntity()
757 xmlFree(prefix); in xmlSAX2AttributeDecl()
759 xmlFree(name); in xmlSAX2AttributeDecl()
1096 xmlFree(ns); in xmlSAX2AttributeInternal()
1098 xmlFree(name); in xmlSAX2AttributeInternal()
1105 xmlFree(ns); in xmlSAX2AttributeInternal()
1154 xmlFree(name); in xmlSAX2AttributeInternal()
1156 xmlFree(nval); in xmlSAX2AttributeInternal()
[all …]
Drelaxng.c687 xmlFree(docu->href); in xmlRelaxNGFreeDocument()
692 xmlFree(docu); in xmlRelaxNGFreeDocument()
726 xmlFree(incl->href); in xmlRelaxNGFreeInclude()
731 xmlFree(incl); in xmlRelaxNGFreeInclude()
794 xmlFree(schema->defTab); in xmlRelaxNGFreeInnerSchema()
797 xmlFree(schema); in xmlRelaxNGFreeInnerSchema()
825 xmlFree(schema->defTab); in xmlRelaxNGFree()
828 xmlFree(schema); in xmlRelaxNGFree()
879 xmlFree(grammar); in xmlRelaxNGFreeGrammar()
949 xmlFree(group->defs); in xmlRelaxNGFreePartition()
[all …]
/external/libxml2/doc/examples/
DtestWriter.c113 if (tmp != NULL) xmlFree(tmp); in testXmlwriterFilename()
151 if (tmp != NULL) xmlFree(tmp); in testXmlwriterFilename()
187 if (tmp != NULL) xmlFree(tmp); in testXmlwriterFilename()
197 if (tmp != NULL) xmlFree(tmp); in testXmlwriterFilename()
392 if (tmp != NULL) xmlFree(tmp); in testXmlwriterMemory()
430 if (tmp != NULL) xmlFree(tmp); in testXmlwriterMemory()
466 if (tmp != NULL) xmlFree(tmp); in testXmlwriterMemory()
477 if (tmp != NULL) xmlFree(tmp); in testXmlwriterMemory()
666 if (tmp != NULL) xmlFree(tmp); in testXmlwriterDoc()
701 if (tmp != NULL) xmlFree(tmp); in testXmlwriterDoc()
[all …]
/external/libxml2/optim/
Dhash_dict.patch56 xmlFree(table);
67 - xmlFree(iter->name);
69 - xmlFree(iter->name2);
71 - xmlFree(iter->name3);
74 xmlFree(iter);
77 xmlFree(table->table);
80 xmlFree(table);
234 - xmlFree(entry->name);
236 - xmlFree(entry->name2);
238 - xmlFree(entry->name3);
[all …]
/external/parameter-framework/upstream/xmlserializer/
DXmlDocSource.cpp42 using xml_unique_ptr = std::unique_ptr<xmlChar, decltype(xmlFree)>;
222 xml_unique_ptr baseUri(xmlPathToURI((const xmlChar *)base.c_str()), xmlFree); in mkUri()
223 xml_unique_ptr relativeUri(xmlPathToURI((const xmlChar *)relative.c_str()), xmlFree); in mkUri()
225 xml_unique_ptr xmlUri(xmlBuildURI(relativeUri.get(), baseUri.get()), xmlFree); in mkUri()
/external/libxml2/os400/
Dtranscode.c117 xmlFree(ts); in xmlTranscodeResult()
170 xmlFree((char *) ts); in inTranscode()
180 xmlFree((char *) ts); in inTranscode()
195 xmlFree((char *) ts); in inTranscode()

1234