Lines Matching refs:XML_Char
86 static void _xml_xmlchar_zval(const XML_Char *, int, const XML_Char *, zval *);
87 static int _xml_xmlcharlen(const XML_Char *);
91 void _xml_startElementHandler(void *, const XML_Char *, const XML_Char **);
92 void _xml_endElementHandler(void *, const XML_Char *);
93 void _xml_characterDataHandler(void *, const XML_Char *, int);
94 void _xml_processingInstructionHandler(void *, const XML_Char *, const XML_Char *);
95 void _xml_defaultHandler(void *, const XML_Char *, int);
96 …rsedEntityDeclHandler(void *, const XML_Char *, const XML_Char *, const XML_Char *, const XML_Char…
97 void _xml_notationDeclHandler(void *, const XML_Char *, const XML_Char *, const XML_Char *, const X…
98 …l_externalEntityRefHandler(XML_Parser, const XML_Char *, const XML_Char *, const XML_Char *, const…
100 void _xml_startNamespaceDeclHandler(void *, const XML_Char *, const XML_Char *);
101 void _xml_endNamespaceDeclHandler(void *, const XML_Char *);
272 { (XML_Char *)"ISO-8859-1", xml_decode_iso_8859_1, xml_encode_iso_8859_1 },
273 { (XML_Char *)"US-ASCII", xml_decode_us_ascii, xml_encode_us_ascii },
274 { (XML_Char *)"UTF-8", NULL, NULL },
275 { (XML_Char *)NULL, NULL, NULL }
291 xml_globals->default_encoding = (XML_Char*)"UTF-8"; in PHP_GINIT_FUNCTION()
375 static void _xml_xmlchar_zval(const XML_Char *s, int len, const XML_Char *encoding, zval *ret) in _xml_xmlchar_zval()
538 static const xml_encoding *xml_get_encoding(const XML_Char *name) in xml_get_encoding()
553 PHP_XML_API zend_string *xml_utf8_encode(const char *s, size_t len, const XML_Char *encoding) in xml_utf8_encode()
604 PHP_XML_API zend_string *xml_utf8_decode(const XML_Char *s, size_t len, const XML_Char *encoding) in xml_utf8_decode()
646 static int _xml_xmlcharlen(const XML_Char *s) in _xml_xmlcharlen()
697 str = xml_utf8_decode((const XML_Char *)tag, strlen(tag), parser->target_encoding); in _xml_decode_tag()
708 void _xml_startElementHandler(void *userData, const XML_Char *name, const XML_Char **attributes) in _xml_startElementHandler()
760 attributes = (const XML_Char **) attrs; in _xml_startElementHandler()
795 void _xml_endElementHandler(void *userData, const XML_Char *name) in _xml_endElementHandler()
844 void _xml_characterDataHandler(void *userData, const XML_Char *s, int len) in _xml_characterDataHandler()
937 void _xml_processingInstructionHandler(void *userData, const XML_Char *target, const XML_Char *data) in _xml_processingInstructionHandler()
954 void _xml_defaultHandler(void *userData, const XML_Char *s, int len) in _xml_defaultHandler()
971 const XML_Char *entityName, in _xml_unparsedEntityDeclHandler()
972 const XML_Char *base, in _xml_unparsedEntityDeclHandler()
973 const XML_Char *systemId, in _xml_unparsedEntityDeclHandler()
974 const XML_Char *publicId, in _xml_unparsedEntityDeclHandler()
975 const XML_Char *notationName) in _xml_unparsedEntityDeclHandler()
996 const XML_Char *notationName, in _xml_notationDeclHandler()
997 const XML_Char *base, in _xml_notationDeclHandler()
998 const XML_Char *systemId, in _xml_notationDeclHandler()
999 const XML_Char *publicId) in _xml_notationDeclHandler()
1019 const XML_Char *openEntityNames, in _xml_externalEntityRefHandler()
1020 const XML_Char *base, in _xml_externalEntityRefHandler()
1021 const XML_Char *systemId, in _xml_externalEntityRefHandler()
1022 const XML_Char *publicId) in _xml_externalEntityRefHandler()
1048 void _xml_startNamespaceDeclHandler(void *userData,const XML_Char *prefix, const XML_Char *uri) in _xml_startNamespaceDeclHandler()
1065 void _xml_endNamespaceDeclHandler(void *userData, const XML_Char *prefix) in _xml_endNamespaceDeclHandler()
1093 XML_Char *encoding; in php_xml_parser_create_impl()
1107 encoding = (XML_Char*)"ISO-8859-1"; in php_xml_parser_create_impl()
1109 encoding = (XML_Char*)"UTF-8"; in php_xml_parser_create_impl()
1111 encoding = (XML_Char*)"US-ASCII"; in php_xml_parser_create_impl()
1126 &php_xml_mem_hdlrs, (XML_Char*)ns_param); in php_xml_parser_create_impl()
1394 ret = XML_Parse(parser->parser, (XML_Char*)data, data_len, isFinal); in PHP_FUNCTION()
1441 ret = XML_Parse(parser->parser, (XML_Char*)data, data_len, 1); in PHP_FUNCTION()
1603 enc = xml_get_encoding((XML_Char*)Z_STRVAL_P(val)); in PHP_FUNCTION()