Lines Matching refs:XML_Char
57 XML_Char *default_encoding; in ZEND_BEGIN_MODULE_GLOBALS()
67 XML_Char *target_encoding;
113 XML_Char *baseURI;
120 XML_Char *name;
159 static zend_string *xml_utf8_decode(const XML_Char *, size_t, const XML_Char *);
166 static void _xml_xmlchar_zval(const XML_Char *, int, const XML_Char *, zval *);
167 static int _xml_xmlcharlen(const XML_Char *);
171 void _xml_startElementHandler(void *, const XML_Char *, const XML_Char **);
172 void _xml_endElementHandler(void *, const XML_Char *);
173 void _xml_characterDataHandler(void *, const XML_Char *, int);
174 void _xml_processingInstructionHandler(void *, const XML_Char *, const XML_Char *);
175 void _xml_defaultHandler(void *, const XML_Char *, int);
176 …rsedEntityDeclHandler(void *, const XML_Char *, const XML_Char *, const XML_Char *, const XML_Char…
177 void _xml_notationDeclHandler(void *, const XML_Char *, const XML_Char *, const XML_Char *, const X…
178 …l_externalEntityRefHandler(XML_Parser, const XML_Char *, const XML_Char *, const XML_Char *, const…
180 void _xml_startNamespaceDeclHandler(void *, const XML_Char *, const XML_Char *);
181 void _xml_endNamespaceDeclHandler(void *, const XML_Char *);
217 { (XML_Char *)"ISO-8859-1", xml_decode_iso_8859_1, xml_encode_iso_8859_1 },
218 { (XML_Char *)"US-ASCII", xml_decode_us_ascii, xml_encode_us_ascii },
219 { (XML_Char *)"UTF-8", NULL, NULL },
220 { (XML_Char *)NULL, NULL, NULL }
233 xml_globals->default_encoding = (XML_Char*)"UTF-8"; in PHP_GINIT_FUNCTION()
326 static void _xml_xmlchar_zval(const XML_Char *s, int len, const XML_Char *encoding, zval *ret) in _xml_xmlchar_zval()
521 static const xml_encoding *xml_get_encoding(const XML_Char *name) in xml_get_encoding()
536 static zend_string *xml_utf8_decode(const XML_Char *s, size_t len, const XML_Char *encoding) in xml_utf8_decode()
578 static int _xml_xmlcharlen(const XML_Char *s) in _xml_xmlcharlen()
616 str = xml_utf8_decode((const XML_Char *)tag, strlen(tag), parser->target_encoding); in _xml_decode_tag()
627 void _xml_startElementHandler(void *userData, const XML_Char *name, const XML_Char **attributes) in _xml_startElementHandler()
679 attributes = (const XML_Char **) attrs; in _xml_startElementHandler()
714 void _xml_endElementHandler(void *userData, const XML_Char *name) in _xml_endElementHandler()
763 void _xml_characterDataHandler(void *userData, const XML_Char *s, int len) in _xml_characterDataHandler()
861 void _xml_processingInstructionHandler(void *userData, const XML_Char *target, const XML_Char *data) in _xml_processingInstructionHandler()
878 void _xml_defaultHandler(void *userData, const XML_Char *s, int len) in _xml_defaultHandler()
895 const XML_Char *entityName, in _xml_unparsedEntityDeclHandler()
896 const XML_Char *base, in _xml_unparsedEntityDeclHandler()
897 const XML_Char *systemId, in _xml_unparsedEntityDeclHandler()
898 const XML_Char *publicId, in _xml_unparsedEntityDeclHandler()
899 const XML_Char *notationName) in _xml_unparsedEntityDeclHandler()
920 const XML_Char *notationName, in _xml_notationDeclHandler()
921 const XML_Char *base, in _xml_notationDeclHandler()
922 const XML_Char *systemId, in _xml_notationDeclHandler()
923 const XML_Char *publicId) in _xml_notationDeclHandler()
943 const XML_Char *openEntityNames, in _xml_externalEntityRefHandler()
944 const XML_Char *base, in _xml_externalEntityRefHandler()
945 const XML_Char *systemId, in _xml_externalEntityRefHandler()
946 const XML_Char *publicId) in _xml_externalEntityRefHandler()
972 void _xml_startNamespaceDeclHandler(void *userData,const XML_Char *prefix, const XML_Char *uri) in _xml_startNamespaceDeclHandler()
989 void _xml_endNamespaceDeclHandler(void *userData, const XML_Char *prefix) in _xml_endNamespaceDeclHandler()
1016 XML_Char *encoding; in php_xml_parser_create_impl()
1030 encoding = (XML_Char*)"ISO-8859-1"; in php_xml_parser_create_impl()
1032 encoding = (XML_Char*)"UTF-8"; in php_xml_parser_create_impl()
1034 encoding = (XML_Char*)"US-ASCII"; in php_xml_parser_create_impl()
1050 &php_xml_mem_hdlrs, (XML_Char*)ns_param); in php_xml_parser_create_impl()
1268 ret = XML_Parse(parser->parser, (XML_Char*)data, data_len, isFinal); in PHP_FUNCTION()
1321 ret = XML_Parse(parser->parser, (XML_Char*)data, data_len, 1); in PHP_FUNCTION()
1457 enc = xml_get_encoding((XML_Char*)Z_STRVAL_P(val)); in PHP_FUNCTION()