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

/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_conf.h104 char *(*parser)(zval *, void **, intptr_t); member in struct:ini_value_parser_s
H A Dfpm_conf.c1346 struct ini_value_parser_s *parser; local
1367 parser = ini_fpm_global_options;
1370 parser = ini_fpm_pool_options;
1374 for (; parser->name; parser++) {
1375 if (!strcasecmp(parser->name, Z_STRVAL_P(name))) {
1377 if (!parser->parser) {
1378 zlog(ZLOG_ERROR, "[%s:%d] the parser for entry '%s' is not defined", ini_filename, ini_lineno, parser
[all...]
/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/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
204 XML_Parser parser = (XML_Parser) user; local
228 XML_Parser parser = (XML_Parser) user; local
256 XML_Parser parser = (XML_Parser) user; local
271 XML_Parser parser = (XML_Parser) user; local
293 XML_Parser parser = (XML_Parser) user; local
305 XML_Parser parser = (XML_Parser) user; local
330 XML_Parser parser = (XML_Parser) user; local
356 XML_Parser parser = (XML_Parser) user; local
368 XML_Parser parser = (XML_Parser) user; local
458 XML_Parser parser; local
495 XML_SetUserData(XML_Parser parser, void *user) argument
501 XML_GetUserData(XML_Parser parser) argument
507 XML_SetElementHandler(XML_Parser parser, XML_StartElementHandler start, XML_EndElementHandler end) argument
514 XML_SetCharacterDataHandler(XML_Parser parser, XML_CharacterDataHandler cdata) argument
520 XML_SetProcessingInstructionHandler(XML_Parser parser, XML_ProcessingInstructionHandler pi) argument
526 XML_SetCommentHandler(XML_Parser parser, XML_CommentHandler comment) argument
532 XML_SetDefaultHandler(XML_Parser parser, XML_DefaultHandler d) argument
538 XML_SetUnparsedEntityDeclHandler(XML_Parser parser, XML_UnparsedEntityDeclHandler unparsed_decl) argument
544 XML_SetNotationDeclHandler(XML_Parser parser, XML_NotationDeclHandler notation_decl) argument
550 XML_SetExternalEntityRefHandler(XML_Parser parser, XML_ExternalEntityRefHandler ext_entity) argument
556 XML_SetStartNamespaceDeclHandler(XML_Parser parser, XML_StartNamespaceDeclHandler start_ns) argument
562 XML_SetEndNamespaceDeclHandler(XML_Parser parser, XML_EndNamespaceDeclHandler end_ns) argument
568 XML_Parse(XML_Parser parser, const XML_Char *data, int data_len, int is_final) argument
607 XML_GetErrorCode(XML_Parser parser) argument
728 XML_GetCurrentLineNumber(XML_Parser parser) argument
734 XML_GetCurrentColumnNumber(XML_Parser parser) argument
740 XML_GetCurrentByteIndex(XML_Parser parser) argument
747 XML_GetCurrentByteCount(XML_Parser parser) argument
761 XML_ParserFree(XML_Parser parser) argument
[all...]
H A Dexpat_compat.h44 #include <libxml/parser.h>
78 xmlParserCtxtPtr parser; member in struct:_XML_Parser
H A Dxml.c86 static void _xml_add_to_info(xml_parser *parser,char *name);
87 inline static zend_string *_xml_decode_tag(xml_parser *parser, const char *tag);
113 ZEND_ARG_INFO(0, parser)
118 ZEND_ARG_INFO(0, parser)
124 ZEND_ARG_INFO(0, parser)
129 ZEND_ARG_INFO(0, parser)
134 ZEND_ARG_INFO(0, parser)
139 ZEND_ARG_INFO(0, parser)
144 ZEND_ARG_INFO(0, parser)
149 ZEND_ARG_INFO(0, parser)
399 xml_parser *parser = (xml_parser *)rsrc->ptr; local
476 xml_call_handler(xml_parser *parser, zval *handler, zend_function *function_ptr, int argc, zval *argv, zval *retval) argument
681 _xml_add_to_info(xml_parser *parser,char *name) argument
702 _xml_decode_tag(xml_parser *parser, const char *tag) argument
719 xml_parser *parser = (xml_parser *)userData; local
806 xml_parser *parser = (xml_parser *)userData; local
856 xml_parser *parser = (xml_parser *)userData; local
949 xml_parser *parser = (xml_parser *)userData; local
966 xml_parser *parser = (xml_parser *)userData; local
987 xml_parser *parser = (xml_parser *)userData; local
1011 xml_parser *parser = (xml_parser *)userData; local
1034 xml_parser *parser = XML_GetUserData(parserPtr); local
1060 xml_parser *parser = (xml_parser *)userData; local
1077 xml_parser *parser = (xml_parser *)userData; local
1094 xml_parser *parser; local
1169 xml_parser *parser; local
1200 xml_parser *parser; local
1222 xml_parser *parser; local
1243 xml_parser *parser; local
1264 xml_parser *parser; local
1285 xml_parser *parser; local
1306 xml_parser *parser; local
1327 xml_parser *parser; local
1348 xml_parser *parser; local
1369 xml_parser *parser; local
1390 xml_parser *parser; local
1418 xml_parser *parser; local
1465 xml_parser *parser; local
1502 xml_parser *parser; local
1521 xml_parser *parser; local
1540 xml_parser *parser; local
1560 xml_parser *parser; local
1587 xml_parser *parser; local
1636 xml_parser *parser; local
[all...]
H A Dphp_xml.h51 XML_Parser parser; member in struct:__anon32
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.c279 xmlRelaxNGParserCtxtPtr parser = NULL; local
289 parser = xmlRelaxNGNewParserCtxt(valid_file);
292 parser = xmlRelaxNGNewMemParserCtxt(source, source_len);
300 if (parser == NULL) {
305 xmlRelaxNGSetParserErrors(parser,
308 parser); local
310 sptr = xmlRelaxNGParse(parser);
311 xmlRelaxNGFreeParserCtxt(parser);
619 Indicates whether given property (one of the parser option constants) is set or not on parser */
[all...]
/PHP_TRUNK/ext/json/
H A Djson.c194 php_json_parser parser; local
196 php_json_parser_init(&parser, return_value, str, str_len, (int)options, (int)depth);
198 if (php_json_yyparse(&parser)) {
199 JSON_G(error_code) = php_json_parser_error_code(&parser);
H A Djson_parser.tab.c1 /* A Bison parser, made by GNU Bison 3.0.4. */
21 part or all of the Bison parser skeleton and distribute that work
23 parser generator using the skeleton or a modified version thereof
24 as a parser skeleton. Alternatively, if you modify or redistribute
25 the parser skeleton itself, you may (at your option) remove this
33 /* C LALR(1) parser skeleton written by Richard Stallman, by
34 simplifying the original so-called "semantic" parser. */
194 int php_json_yyparse (php_json_parser *parser);
204 int php_json_yylex(union YYSTYPE *value, php_json_parser *parser);
205 void php_json_yyerror(php_json_parser *parser, cha
717 yy_symbol_value_print(FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, php_json_parser *parser) argument
737 yy_symbol_print(FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, php_json_parser *parser) argument
775 yy_reduce_print(yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule, php_json_parser *parser) argument
1055 yydestruct(const char *yymsg, int yytype, YYSTYPE *yyvaluep, php_json_parser *parser) argument
1201 yyparse(php_json_parser *parser) argument
1842 php_json_parser_init(php_json_parser *parser, zval *return_value, char *str, size_t str_len, int options, int max_depth) argument
1851 php_json_parser_error_code(php_json_parser *parser) argument
1856 php_json_parser_object_init(php_json_parser *parser, zval *object) argument
1865 php_json_parser_object_update(php_json_parser *parser, zval *object, zend_string *key, zval *zvalue) argument
1904 php_json_yylex(union YYSTYPE *value, php_json_parser *parser) argument
1911 php_json_yyerror(php_json_parser *parser, char const *msg) argument
[all...]
/PHP_TRUNK/ext/libxml/
H A Dlibxml.c39 #include <libxml/parser.h>
511 xmlParserCtxtPtr parser; local
513 parser = (xmlParserCtxtPtr) ctx;
515 if (parser != NULL && parser->input != NULL) {
516 if (parser->input->filename) {
517 php_error_docref(NULL, level, "%s in %s, line: %d", msg, parser->input->filename, parser->input->line);
519 php_error_docref(NULL, level, "%s in Entity, line: %d", msg, parser->input->line);
650 php_libxml_ctx_error(context, "Could not allocate 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, \
266 #define PARSING_HEADER(state) (state <= s_headers_almost_done && 0 == (parser->flags & F_TRAILING))
312 #define start_state (parser->type == PHP_HTTP_REQUEST ? s_start_req : s_start_res)
317 # define NEW_MESSAGE() (http_should_keep_alive(parser) ? start_state : s_dead)
324 size_t php_http_parser_execute (php_http_parser *parser, argument
334 enum state state = (enum state) parser->state;
335 enum header_states header_state = (enum header_states) parser->header_state;
336 uint32_t index = parser->index;
337 uint32_t nread = parser
1586 php_http_should_keep_alive(php_http_parser *parser) argument
1613 php_http_parser_init(php_http_parser *parser, enum php_http_parser_type t) argument
[all...]
H A Dphp_cli_server.c169 php_http_parser parser; member in struct:php_cli_server_client
1538 static int php_cli_server_client_read_request_on_message_begin(php_http_parser *parser) argument
1543 static int php_cli_server_client_read_request_on_path(php_http_parser *parser, const char *at, size_t length) argument
1545 php_cli_server_client *client = parser->data;
1556 static int php_cli_server_client_read_request_on_query_string(php_http_parser *parser, const char *at, size_t length) argument
1558 php_cli_server_client *client = parser->data;
1564 static int php_cli_server_client_read_request_on_url(php_http_parser *parser, const char *at, size_t length) argument
1566 php_cli_server_client *client = parser->data;
1567 client->request.request_method = parser->method;
1573 static int php_cli_server_client_read_request_on_fragment(php_http_parser *parser, cons argument
1578 php_cli_server_client_read_request_on_header_field(php_http_parser *parser, const char *at, size_t length) argument
1590 php_cli_server_client_read_request_on_header_value(php_http_parser *parser, const char *at, size_t length) argument
1614 php_cli_server_client_read_request_on_headers_complete(php_http_parser *parser) argument
1625 php_cli_server_client_read_request_on_body(php_http_parser *parser, const char *at, size_t length) argument
1641 php_cli_server_client_read_request_on_message_complete(php_http_parser *parser) argument
[all...]
/PHP_TRUNK/ext/wddx/
H A Dwddx.c1039 XML_Parser parser; local
1044 parser = XML_ParserCreate((XML_Char *) "UTF-8");
1046 XML_SetUserData(parser, &stack);
1047 XML_SetElementHandler(parser, php_wddx_push_element, php_wddx_pop_element);
1048 XML_SetCharacterDataHandler(parser, php_wddx_process_data);
1051 XML_Parse(parser, (const XML_Char *) value, (int)vallen, 1);
1053 XML_ParserFree(parser);
/PHP_TRUNK/ext/dom/
H A Ddocument.c1799 xmlSchemaParserCtxtPtr parser; local
1827 parser = xmlSchemaNewParserCtxt(valid_file);
1830 parser = xmlSchemaNewMemParserCtxt(source, source_len);
1838 xmlSchemaSetParserErrors(parser,
1841 parser); local
1842 sptr = xmlSchemaParse(parser);
1843 xmlSchemaFreeParserCtxt(parser);
1899 xmlRelaxNGParserCtxtPtr parser; local
1927 parser = xmlRelaxNGNewParserCtxt(valid_file);
1930 parser
1941 parser); local
[all...]

Completed in 75 milliseconds