Searched defs:parser (Results 1 - 13 of 13) sorted by relevance

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c642 /* Check if we need to decode utf-8 parser output to another encoding */
698 XML_Parser parser; local
701 parser = XML_ParserCreate(NULL);
708 XML_SetElementHandler(parser, (XML_StartElementHandler)_xmlrpc_startElement, (XML_EndElementHandler)_xmlrpc_endElement);
709 XML_SetCharacterDataHandler(parser, (XML_CharacterDataHandler)_xmlrpc_charHandler);
712 XML_SetUserData(parser, (void*)&mydata);
719 if(XML_Parse(parser, in_buf, len, 1) == 0) {
720 enum XML_Error err_code = XML_GetErrorCode(parser);
721 int line_num = XML_GetCurrentLineNumber(parser);
722 int col_num = XML_GetCurrentColumnNumber(parser);
[all...]
/PHP_TRUNK/sapi/cli/
H A Dphp_http_parser.c34 if (0 != settings->on_##FOR(parser)) return (p - data); \
48 if (0 != settings->on_##FOR(parser, \
265 #define PARSING_HEADER(state) (state <= s_headers_almost_done && 0 == (parser->flags & F_TRAILING))
311 #define start_state (parser->type == PHP_HTTP_REQUEST ? s_start_req : s_start_res)
316 # define NEW_MESSAGE() (http_should_keep_alive(parser) ? start_state : s_dead)
323 size_t php_http_parser_execute (php_http_parser *parser, argument
332 enum state state = (enum state) parser->state;
333 enum header_states header_state = (enum header_states) parser->header_state;
334 uint32_t index = parser->index;
335 uint32_t nread = parser
1573 php_http_should_keep_alive(php_http_parser *parser) argument
1600 php_http_parser_init(php_http_parser *parser, enum php_http_parser_type t) argument
[all...]
H A Dphp_cli_server.c173 php_http_parser parser; member in struct:php_cli_server_client
1564 static int php_cli_server_client_read_request_on_message_begin(php_http_parser *parser) argument
1569 static int php_cli_server_client_read_request_on_path(php_http_parser *parser, const char *at, size_t length) argument
1571 php_cli_server_client *client = parser->data;
1582 static int php_cli_server_client_read_request_on_query_string(php_http_parser *parser, const char *at, size_t length) argument
1584 php_cli_server_client *client = parser->data;
1590 static int php_cli_server_client_read_request_on_url(php_http_parser *parser, const char *at, size_t length) argument
1592 php_cli_server_client *client = parser->data;
1593 client->request.request_method = parser->method;
1599 static int php_cli_server_client_read_request_on_fragment(php_http_parser *parser, cons argument
1604 php_cli_server_client_read_request_on_header_field(php_http_parser *parser, const char *at, size_t length) argument
1616 php_cli_server_client_read_request_on_header_value(php_http_parser *parser, const char *at, size_t length) argument
1641 php_cli_server_client_read_request_on_headers_complete(php_http_parser *parser) argument
1652 php_cli_server_client_read_request_on_body(php_http_parser *parser, const char *at, size_t length) argument
1668 php_cli_server_client_read_request_on_message_complete(php_http_parser *parser) argument
[all...]
/PHP_TRUNK/ext/xml/
H A Dcompat.c37 _qualify_namespace(XML_Parser parser, const xmlChar *name, const xmlChar *URI, xmlChar **qualified) argument
42 *qualified = xmlStrncat(*qualified, parser->_ns_separator, 1);
52 XML_Parser parser = (XML_Parser) user; local
55 if (parser->h_start_element == NULL) {
56 if (parser->h_default) {
76 parser->h_default(parser->user, (const XML_Char *) qualified_name, xmlStrlen(qualified_name));
84 parser->h_start_element(parser->user, (const XML_Char *) qualified_name, (const XML_Char **) attributes);
92 XML_Parser parser local
201 _namespace_handler(XML_Parser parser, xmlNsPtr nsptr) argument
213 XML_Parser parser = (XML_Parser) user; local
237 XML_Parser parser = (XML_Parser) user; local
265 XML_Parser parser = (XML_Parser) user; local
280 XML_Parser parser = (XML_Parser) user; local
302 XML_Parser parser = (XML_Parser) user; local
314 XML_Parser parser = (XML_Parser) user; local
339 XML_Parser parser = (XML_Parser) user; local
365 XML_Parser parser = (XML_Parser) user; local
377 XML_Parser parser = (XML_Parser) user; local
467 XML_Parser parser; local
504 XML_SetUserData(XML_Parser parser, void *user) argument
510 XML_GetUserData(XML_Parser parser) argument
516 XML_SetElementHandler(XML_Parser parser, XML_StartElementHandler start, XML_EndElementHandler end) argument
523 XML_SetCharacterDataHandler(XML_Parser parser, XML_CharacterDataHandler cdata) argument
529 XML_SetProcessingInstructionHandler(XML_Parser parser, XML_ProcessingInstructionHandler pi) argument
535 XML_SetCommentHandler(XML_Parser parser, XML_CommentHandler comment) argument
541 XML_SetDefaultHandler(XML_Parser parser, XML_DefaultHandler d) argument
547 XML_SetUnparsedEntityDeclHandler(XML_Parser parser, XML_UnparsedEntityDeclHandler unparsed_decl) argument
553 XML_SetNotationDeclHandler(XML_Parser parser, XML_NotationDeclHandler notation_decl) argument
559 XML_SetExternalEntityRefHandler(XML_Parser parser, XML_ExternalEntityRefHandler ext_entity) argument
565 XML_SetStartNamespaceDeclHandler(XML_Parser parser, XML_StartNamespaceDeclHandler start_ns) argument
571 XML_SetEndNamespaceDeclHandler(XML_Parser parser, XML_EndNamespaceDeclHandler end_ns) argument
577 XML_Parse(XML_Parser parser, const XML_Char *data, int data_len, int is_final) argument
616 XML_GetErrorCode(XML_Parser parser) argument
737 XML_GetCurrentLineNumber(XML_Parser parser) argument
743 XML_GetCurrentColumnNumber(XML_Parser parser) argument
749 XML_GetCurrentByteIndex(XML_Parser parser) argument
756 XML_GetCurrentByteCount(XML_Parser parser) argument
770 XML_ParserFree(XML_Parser parser) argument
[all...]
H A Dexpat_compat.h36 #include <libxml/parser.h>
70 xmlParserCtxtPtr parser; member in struct:_XML_Parser
H A Dphp_xml.h49 XML_Parser parser; member in struct:__anon287
H A Dxml.c83 static void _xml_add_to_info(xml_parser *parser,char *name);
84 inline static char *_xml_decode_tag(xml_parser *parser, const char *tag);
110 ZEND_ARG_INFO(0, parser)
115 ZEND_ARG_INFO(0, parser)
121 ZEND_ARG_INFO(0, parser)
126 ZEND_ARG_INFO(0, parser)
131 ZEND_ARG_INFO(0, parser)
136 ZEND_ARG_INFO(0, parser)
141 ZEND_ARG_INFO(0, parser)
146 ZEND_ARG_INFO(0, parser)
424 xml_parser *parser = (xml_parser *)rsrc->ptr; local
504 xml_call_handler(xml_parser *parser, zval *handler, zend_function *function_ptr, int argc, zval **argv) argument
732 _xml_add_to_info(xml_parser *parser,char *name) argument
755 _xml_decode_tag(xml_parser *parser, const char *tag) argument
773 xml_parser *parser = (xml_parser *)userData; local
862 xml_parser *parser = (xml_parser *)userData; local
915 xml_parser *parser = (xml_parser *)userData; local
1016 xml_parser *parser = (xml_parser *)userData; local
1034 xml_parser *parser = (xml_parser *)userData; local
1056 xml_parser *parser = (xml_parser *)userData; local
1081 xml_parser *parser = (xml_parser *)userData; local
1105 xml_parser *parser = XML_GetUserData(parserPtr); local
1131 xml_parser *parser = (xml_parser *)userData; local
1149 xml_parser *parser = (xml_parser *)userData; local
1167 xml_parser *parser; local
1243 xml_parser *parser; local
1273 xml_parser *parser; local
1293 xml_parser *parser; local
1312 xml_parser *parser; local
1331 xml_parser *parser; local
1349 xml_parser *parser; local
1368 xml_parser *parser; local
1386 xml_parser *parser; local
1404 xml_parser *parser; local
1423 xml_parser *parser; local
1442 xml_parser *parser; local
1466 xml_parser *parser; local
1510 xml_parser *parser; local
1544 xml_parser *parser; local
1560 xml_parser *parser; local
1576 xml_parser *parser; local
1593 xml_parser *parser; local
1618 xml_parser *parser; local
1664 xml_parser *parser; local
[all...]
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.c283 xmlRelaxNGParserCtxtPtr parser = NULL; local
293 parser = xmlRelaxNGNewParserCtxt(valid_file);
296 parser = xmlRelaxNGNewMemParserCtxt(source, source_len);
304 if (parser == NULL) {
309 xmlRelaxNGSetParserErrors(parser,
312 parser); local
314 sptr = xmlRelaxNGParse(parser);
315 xmlRelaxNGFreeParserCtxt(parser);
627 Indicates whether given property (one of the parser option constants) is set or not on parser */
[all...]
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c39 #include <libxml/parser.h>
493 xmlParserCtxtPtr parser; local
495 parser = (xmlParserCtxtPtr) ctx;
497 if (parser != NULL && parser->input != NULL) {
498 if (parser->input->filename) {
499 php_error_docref(NULL TSRMLS_CC, level, "%s in %s, line: %d", msg, parser->input->filename, parser->input->line);
501 php_error_docref(NULL TSRMLS_CC, level, "%s in Entity, line: %d", msg, parser->input->line);
634 php_libxml_ctx_error(context, "Could not allocate parser "
[all...]
/PHP_TRUNK/ext/wddx/
H A Dwddx.c1125 XML_Parser parser; local
1130 parser = XML_ParserCreate("UTF-8");
1132 XML_SetUserData(parser, &stack);
1133 XML_SetElementHandler(parser, php_wddx_push_element, php_wddx_pop_element);
1134 XML_SetCharacterDataHandler(parser, php_wddx_process_data);
1136 XML_Parse(parser, value, vallen, 1);
1138 XML_ParserFree(parser);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_conf.h98 char *(*parser)(zval *, void **, intptr_t); member in struct:ini_value_parser_s
H A Dfpm_conf.c1339 struct ini_value_parser_s *parser; local
1360 parser = ini_fpm_global_options;
1363 parser = ini_fpm_pool_options;
1367 for (; parser->name; parser++) {
1368 if (!strcasecmp(parser->name, Z_STRVAL_P(name))) {
1370 if (!parser->parser) {
1371 zlog(ZLOG_ERROR, "[%s:%d] the parser for entry '%s' is not defined", ini_filename, ini_lineno, parser
[all...]
/PHP_TRUNK/ext/dom/
H A Ddocument.c1984 xmlSchemaParserCtxtPtr parser; local
2008 parser = xmlSchemaNewParserCtxt(valid_file);
2011 parser = xmlSchemaNewMemParserCtxt(source, source_len);
2019 xmlSchemaSetParserErrors(parser,
2022 parser); local
2023 sptr = xmlSchemaParse(parser);
2024 xmlSchemaFreeParserCtxt(parser);
2080 xmlRelaxNGParserCtxtPtr parser; local
2104 parser = xmlRelaxNGNewParserCtxt(valid_file);
2107 parser
2118 parser); local
[all...]

Completed in 30 milliseconds