Home
last modified time | relevance | path

Searched refs:XML_SetEncoding (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/expat/tests/
H A Dhandlers.c450 if (! XML_SetEncoding(extparser, test_data->encoding)) in external_entity_loader()
477 if (! XML_SetEncoding(ext_parser, fault->encoding)) in external_entity_faulter()
1165 if (! XML_SetEncoding(extparser, test_data->encoding)) in external_entity_loader2()
1192 if (! XML_SetEncoding(extparser, test_data->encoding)) in external_entity_faulter2()
1408 if (! XML_SetEncoding(ext_parser, XCS("utf-8"))) { in external_entity_alloc_set_encoding()
H A Dbasic_tests.c444 if (! XML_SetEncoding(g_parser, XCS("unknown-encoding"))) in START_TEST()
2544 if (XML_SetEncoding(g_parser, NULL) != XML_STATUS_OK) in START_TEST()
2547 if (XML_SetEncoding(g_parser, XCS("utf-8")) != XML_STATUS_OK) in START_TEST()
2553 if (XML_SetEncoding(g_parser, XCS("us-ascii")) != XML_STATUS_ERROR) in START_TEST()
2559 if (XML_SetEncoding(g_parser, NULL) != XML_STATUS_OK) in START_TEST()
H A Dalloc_tests.c521 if (XML_SetEncoding(g_parser, XCS("us-ascii")) == XML_STATUS_OK) in START_TEST()
/freebsd/contrib/expat/lib/
H A Dexpat.h690 XML_SetEncoding(XML_Parser parser, const XML_Char *encoding);
H A Dxmlparse.c1326 XML_SetEncoding(XML_Parser parser, const XML_Char *encodingName) { in XML_SetEncoding() function