Searched refs:readbytes (Results 1 - 22 of 22) sorted by relevance

/httpd/modules/echo/
H A Dmod_echo.c58 apr_size_t readbytes = 0; local
71 while ((b != APR_BRIGADE_SENTINEL(bbIn)) && (readbytes < bufflen)) {
83 if (len > bufflen - readbytes)
84 len = bufflen - readbytes;
85 memcpy (buff + readbytes, str, len);
86 readbytes += len;
87 buff[readbytes] = '\0';
/httpd/modules/filters/
H A Dmod_request.c68 apr_off_t readbytes)
86 return ap_get_brigade(f->next, b, mode, block, readbytes);
128 rv = ap_get_brigade(f->next, b, mode, block, readbytes);
204 apr_off_t readbytes)
214 return ap_get_brigade(f->next, b, mode, block, readbytes);
226 return ap_get_brigade(f->next, b, mode, block, readbytes);
230 if (readbytes > ctx->remaining) {
231 readbytes = ctx->remaining;
240 if ((rv = apr_brigade_partition(kept_body, ctx->offset + readbytes, &e2)) != APR_SUCCESS) {
242 "apr_brigade_partition() failed on kept_body at %" APR_OFF_T_FMT, ctx->offset + readbytes);
65 keep_body_filter(ap_filter_t *f, apr_bucket_brigade *b, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument
201 kept_body_filter(ap_filter_t *f, apr_bucket_brigade *b, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument
[all...]
H A Dmod_buffer.c190 ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) {
198 return ap_get_brigade(f->next, bb, mode, block, readbytes);
211 return ap_get_brigade(f->next, bb, mode, block, readbytes);
282 apr_brigade_partition(ctx->bb, readbytes, &after);
189 buffer_in_filter(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument
H A Dmod_sed.c376 apr_off_t readbytes)
386 return ap_get_brigade(f->next, bb, mode, block, readbytes);
391 return ap_get_brigade(f->next, bb, mode, block, readbytes);
398 return ap_get_brigade(f->next, bb, mode, block, readbytes);
411 * Read the readbytes data from next level fiter into bbinp. Loop through
433 status = ap_get_brigade(f->next, bbinp, mode, block, readbytes);
467 if (apr_brigade_partition(ctx->bb, readbytes, &b) == APR_INCOMPLETE) {
372 sed_request_filter(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument
H A Dmod_reqtimeout.c172 apr_off_t readbytes)
183 return ap_get_brigade(f->next, bb, mode, block, readbytes);
193 return ap_get_brigade(f->next, bb, mode, block, readbytes);
208 return ap_get_brigade(f->next, bb, mode, block, readbytes);
221 rv = ap_get_brigade(f->next, bb, mode, block, readbytes);
313 rv = ap_get_brigade(f->next, bb, mode, block, readbytes);
168 reqtimeout_filter(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument
H A Dmod_deflate.c1114 apr_off_t readbytes)
1127 return ap_get_brigade(f->next, bb, mode, block, readbytes);
1140 return ap_get_brigade(f->next, bb, mode, block, readbytes);
1146 return ap_get_brigade(f->next, bb, mode, block, readbytes);
1158 return ap_get_brigade(f->next, bb, mode, block, readbytes);
1238 return ap_get_brigade(f->next, bb, mode, block, readbytes);
1255 rv = ap_get_brigade(f->next, ctx->bb, mode, block, readbytes);
1495 if (apr_brigade_partition(ctx->proc_bb, readbytes, &bkt) == APR_INCOMPLETE) {
1110 deflate_in_filter(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument
H A Dmod_ext_filter.c889 apr_off_t readbytes)
903 return ap_get_brigade(f->next, bb, mode, block, readbytes);
923 return ap_get_brigade(f->next, bb, mode, block, readbytes);
926 rv = ap_get_brigade(f->next, bb, mode, block, readbytes);
887 ef_input_filter(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument
H A Dmod_charset_lite.c976 apr_off_t readbytes)
1033 return ap_get_brigade(f->next, bb, mode, block, readbytes);
1038 readbytes)) != APR_SUCCESS) {
974 xlate_in_filter(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument
/httpd/modules/apreq/
H A Dapreq_private_apache2.h35 apr_status_t apreq_filter_prefetch(ap_filter_t *f, apr_off_t readbytes);
40 apr_off_t readbytes);
H A Dfilter.c254 apr_status_t apreq_filter_prefetch(ap_filter_t *f, apr_off_t readbytes) argument
264 if (ctx->body_status != APR_INCOMPLETE || readbytes == 0)
268 "prefetching %" APR_OFF_T_FMT " bytes", readbytes);
271 APR_BLOCK_READ, readbytes);
332 apr_off_t readbytes)
346 return ap_get_brigade(f->next, bb, mode, block, readbytes);
362 rv = apr_brigade_partition(ctx->spool, readbytes, &e);
376 rv = ap_get_brigade(f->next, bb, mode, block, readbytes);
382 rv = ap_get_brigade(f->next, bb, mode, block, readbytes);
328 apreq_filter(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument
/httpd/include/
H A Dmod_core.h53 apr_off_t readbytes);
H A Dutil_filter.h42 /** The filter should return at most readbytes data. */
140 apr_off_t readbytes);
294 * @param readbytes How many bytes to read from the next filter.
300 apr_off_t readbytes);
H A Dhttp_core.h728 apr_off_t readbytes);
/httpd/modules/debugging/
H A Dmod_dumpio.c118 ( (( mode ) == AP_MODE_READBYTES) ? "readbytes" : \
127 ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes)
136 "mod_dumpio: %s [%s-%s] %" APR_OFF_T_FMT " readbytes",
140 readbytes);
142 ret = ap_get_brigade(f->next, bb, mode, block, readbytes);
126 dumpio_input_filter(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument
H A Dmod_firehose.c266 apr_off_t readbytes)
274 return ap_get_brigade(f->next, bb, mode, block, readbytes);
277 rv = ap_get_brigade(f->next, bb, mode, block, readbytes);
262 firehose_input_filter(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument
/httpd/server/
H A Dcore_filters.c95 apr_off_t readbytes)
232 AP_DEBUG_ASSERT(readbytes > 0);
264 if (len < readbytes) {
270 while ((len < readbytes) && (rv == APR_SUCCESS)
295 if (len < readbytes) {
296 readbytes = len;
299 rv = apr_brigade_partition(ctx->b, readbytes, &e);
93 ap_core_input_filter(ap_filter_t *f, apr_bucket_brigade *b, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument
H A Dutil_filter.c550 apr_off_t readbytes)
554 readbytes);
/httpd/modules/loggers/
H A Dmod_logio.c182 apr_off_t readbytes)
188 status = ap_get_brigade(f->next, bb, mode, block, readbytes);
178 logio_in_filter(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument
/httpd/modules/http/
H A Dhttp_filters.c235 ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes)
249 return ap_get_brigade(f->next, b, mode, block, readbytes);
461 if (ctx->state != BODY_NONE && ctx->remaining < readbytes) {
462 readbytes = ctx->remaining;
464 if (readbytes > 0) {
466 rv = ap_get_brigade(f->next, b, mode, block, readbytes);
536 rv = ap_get_brigade(f->next, b, mode, block, readbytes);
234 ap_http_filter(ap_filter_t *f, apr_bucket_brigade *b, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument
/httpd/modules/proxy/
H A Dmod_proxy_http.c1773 apr_off_t readbytes; local
1840 apr_brigade_length(bb, 0, &readbytes);
1841 backend->worker->s->read += readbytes;
1845 "readbytes: %#x", readbytes);
H A Dmod_proxy_ftp.c2078 apr_off_t readbytes; local
2079 apr_brigade_length(bb, 0, &readbytes);
2081 "proxy: readbytes: %#x", readbytes);
/httpd/modules/ssl/
H A Dssl_engine_io.c1379 apr_off_t readbytes)
1405 return ap_get_brigade(f->next, bb, mode, block, readbytes);
1435 /* Protected from truncation, readbytes < MAX_SIZE_T
1437 if (readbytes < len) {
1438 len = (apr_size_t)readbytes;
1375 ssl_io_filter_input(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t readbytes) argument

Completed in 5253 milliseconds