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

/httpd/server/
H A Dutil_xml.c38 apr_xml_parser *parser; local
47 parser = apr_xml_parser_create(r->pool);
56 /* read the body, stuffing it into the parser */
96 status = apr_xml_parser_feed(parser, data, len);
107 /* tell the parser that we're done */
108 status = apr_xml_parser_done(parser, pdoc);
116 "XML parser error (at end). status=%d", status);
126 (void) apr_xml_parser_geterror(parser, errbuf, sizeof(errbuf));
133 /* make sure the parser is terminated */
134 (void) apr_xml_parser_done(parser, NUL
[all...]
H A Dapreq_module_custom.c33 apreq_parser_t *parser; member in struct:custom_handle
64 apreq_parser_run(req->parser, req->body, req->tmpbb);
83 apreq_parser_run(req->parser, req->body, req->tmpbb);
179 const apreq_parser_t **parser)
182 *parser = req->parser;
188 apreq_parser_t *parser)
191 (void)parser;
199 apreq_parser_add_hook(req->parser, hook);
207 *bytes = req->parser
178 custom_parser_get(apreq_handle_t *handle, const apreq_parser_t **parser) argument
187 custom_parser_set(apreq_handle_t *handle, apreq_parser_t *parser) argument
255 apreq_handle_custom(apr_pool_t *pool, const char *query_string, const char *cookie, apreq_parser_t *parser, apr_uint64_t read_limit, apr_bucket_brigade *in) argument
[all...]
H A Dapreq_module_cgi.c61 apreq_parser_t *parser; member in struct:cgi_handle
374 if (req->parser == NULL) {
381 req->parser = apreq_parser_make(pool,
401 if (req->parser->brigade_limit > req->brigade_limit)
402 req->parser->brigade_limit = req->brigade_limit;
404 req->parser->temp_dir = req->temp_dir;
406 apreq_parser_add_hook(req->parser, req->hook_queue);
455 apreq_parser_run(req->parser, req->body, req->tmpbb);
482 apreq_parser_run(req->parser, req->body, req->tmpbb);
761 h->next = req->parser
793 cgi_parser_get(apreq_handle_t *handle, const apreq_parser_t **parser) argument
802 cgi_parser_set(apreq_handle_t *handle, apreq_parser_t *parser) argument
[all...]
/httpd/modules/apreq/
H A Dapreq_private_apache2.h20 apr_bucket_brigade *bb; /* input brigade that's passed to the parser */
23 apreq_parser_t *parser; member in struct:filter_ctx
30 apr_uint64_t read_limit; /* Max bytes the filter may show to parser */
H A Dhandle.c208 h->next = ctx->parser->hook;
210 ctx->parser->hook = h;
213 hook_ctx->prev = ctx->parser->hook;
221 ctx->parser->hook = h->next;
243 const apreq_parser_t **parser)
249 *parser = NULL;
252 *parser = ctx->parser;
258 apreq_parser_t *parser)
268 if (ctx->parser
242 apache2_parser_get(apreq_handle_t *handle, const apreq_parser_t **parser) argument
257 apache2_parser_set(apreq_handle_t *handle, apreq_parser_t *parser) argument
[all...]
/httpd/include/
H A Dapreq_parser.h30 * @brief Request body parser API
35 * A hook is called by the parser whenever data arrives in a file
37 * of hooks with a parser instance with apreq_parser_add_hook().
42 * A request body parser instance.
47 #define APREQ_PARSER_ARGS apreq_parser_t *parser, \
57 * The callback function implementing a request body parser.
67 * Declares a API parser.
79 * A hook is called by the parser whenever data arrives in a file
81 * of hooks with a parser instance with apreq_parser_add_hook().
91 * A request body parser instanc
95 apreq_parser_function_t parser; member in struct:apreq_parser_t
[all...]
H A Dapreq_module.h76 /** gets the parser associated with the request body */
78 /** manually set a parser for the request body */
88 /** determine the maximum amount of data that will be fed into a parser */
90 /** set the maximum amount of data that will be fed into a parser */
93 /** determine the directory used by the parser for temporary files */
95 /** set the directory used by the parser for temporary files */
214 * Fetch the active body parser.
217 * @param parser Points to the active parser on return.
224 const apreq_parser_t **parser)
223 apreq_parser_get(apreq_handle_t *req, const apreq_parser_t **parser) argument
239 apreq_parser_set(apreq_handle_t *req, apreq_parser_t *parser) argument
[all...]
/httpd/modules/filters/
H A Dmod_proxy_html.c104 htmlParserCtxtPtr parser; member in struct:__anon169
151 htmlParseChunk(ctx->parser, inbuf, bytes, flag)
902 if (ctxt->parser != NULL) {
913 if (ctxt->parser != NULL) {
920 if (ctxt->parser == NULL) {
925 * And the HTML parser needs at least four bytes to initialise correctly.
958 ctxt->parser = htmlCreatePushParserCtxt(&sax, ctxt, buf,
962 if (ctxt->parser == NULL) {
967 apr_pool_cleanup_register(f->r->pool, ctxt->parser,
971 if (xmlopts = xmlCtxtUseOptions(ctxt->parser, xmlopt
[all...]

Completed in 24 milliseconds