/httpd/modules/http/ |
H A D | chunk_filter.c | 57 apr_off_t bytes = 0; local 107 bytes += len; 120 bytes += e->length; 125 * XXX: if there aren't very many bytes at this point it may 129 /* if there are content bytes, then wrap them in a chunk */ 130 if (bytes > 0) { 133 * Insert the chunk header, specifying the number of bytes in 137 "%" APR_UINT64_T_HEX_FMT CRLF, (apr_uint64_t)bytes);
|
/httpd/server/ |
H A D | apreq_module_custom.c | 42 static apr_status_t custom_parse_brigade(apreq_handle_t *handle, apr_uint64_t bytes) argument 51 switch (s = apr_brigade_partition(req->in, bytes, &e)) { 56 req->bytes_read += bytes; 204 apr_size_t *bytes) 207 *bytes = req->parser->brigade_limit; 212 apr_size_t bytes) 215 (void)bytes; 220 apr_uint64_t *bytes) 223 *bytes = req->read_limit; 228 apr_uint64_t bytes) 203 custom_brigade_limit_get(apreq_handle_t *handle, apr_size_t *bytes) argument 211 custom_brigade_limit_set(apreq_handle_t *handle, apr_size_t bytes) argument 219 custom_read_limit_get(apreq_handle_t *handle, apr_uint64_t *bytes) argument 227 custom_read_limit_set(apreq_handle_t *handle, apr_uint64_t bytes) argument [all...] |
H A D | scoreboard.c | 364 apr_off_t bytes; local 371 bytes = pfn_ap_logio_get_last_bytes(r->connection); 374 bytes = 0; 377 bytes = r->bytes_sent; 386 ws->bytes_served += bytes; 387 ws->my_bytes_served += bytes; 388 ws->conn_bytes += bytes; 599 * should be true those last bytes are always zero anyway. */
|
H A D | apreq_module_cgi.c | 424 apr_off_t bytes) 437 switch (s = apr_brigade_partition(req->in, bytes, &e)) { 443 req->bytes_read += bytes; 852 apr_size_t bytes) 859 if (*limit > bytes) { 860 *limit = bytes; 868 apr_size_t *bytes) 871 *bytes = (req->parser == NULL) 879 apr_uint64_t bytes) 883 if (req->read_limit > bytes 423 cgi_read(apreq_handle_t *handle, apr_off_t bytes) argument 851 cgi_brigade_limit_set(apreq_handle_t *handle, apr_size_t bytes) argument 867 cgi_brigade_limit_get(apreq_handle_t *handle, apr_size_t *bytes) argument 878 cgi_read_limit_set(apreq_handle_t *handle, apr_uint64_t bytes) argument 892 cgi_read_limit_get(apreq_handle_t *handle, apr_uint64_t *bytes) argument [all...] |
H A D | util_expr_eval.c | 1158 apr_size_t bytes; local 1172 bytes = strlen(buff); 1177 while ((repl = apr_strmatch(pattern, buff, bytes))) { 1183 bytes -= len; 1187 return ap_varbuf_pdup(ctx->p, &vb, NULL, 0, buff, bytes, &len);
|
H A D | util_expr_scan.c | 218 /* Size of input buffer in bytes, not including room for EOB 305 YY_BUFFER_STATE ap_expr_yy_scan_bytes (yyconst char *bytes,int len ,yyscan_t yyscanner ); 2012 * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. 2220 * @param size the size in bytes of the character buffer 2258 * @note If you want to scan bytes that may contain NUL values, then use 2267 /** Setup the input buffer state to scan the given bytes. The next call to ap_expr_yylex() will 2268 * scan from a @e copy of @a bytes. 2270 * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes.
|
/httpd/modules/filters/ |
H A D | mod_xml2enc.c | 61 apr_size_t bytes; member in struct:__anon177 147 ctx->bytes -= (p-ctx->buf); 194 ctx->bytes); 211 ctx->bytes = match[0].rm_so; 234 ctx->buf[ctx->bytes] = 0; 361 ctx->bytes = (apr_size_t)ctx->bblen; 362 rv = apr_brigade_flatten(ctx->bbsave, ctx->buf, &ctx->bytes); 364 ctx->buf[ctx->bytes] = 0; 394 ctx->bytes = 0; 408 apr_size_t bytes local [all...] |
H A D | mod_substitute.c | 113 apr_size_t bytes; local 147 if (apr_bucket_read(b, &buff, &bytes, APR_BLOCK_READ) 154 * space_left counts how many bytes we have left until the 159 while ((repl = apr_strmatch(script->pattern, buff, bytes))) 206 bytes -= len; 215 buff, bytes, &len); 237 int left = bytes; 252 /* copy bytes before the match */ 317 apr_size_t bytes; local 430 rv = apr_bucket_read(b, &buff, &bytes, APR_BLOCK_REA [all...] |
H A D | mod_sed.c | 345 apr_size_t bytes = 0; local 347 status = apr_bucket_read(b, &buf, &bytes, APR_BLOCK_READ); 349 status = sed_eval_buffer(&ctx->eval, buf, bytes, ctx); 431 /* read the bytes from next level filter */ 440 apr_size_t bytes; local 454 if (apr_bucket_read(b, &buf, &bytes, APR_BLOCK_READ) 456 status = sed_eval_buffer(&ctx->eval, buf, bytes, ctx);
|
H A D | mod_proxy_html.c | 150 #define consume_buffer(ctx,inbuf,bytes,flag) \ 151 htmlParseChunk(ctx->parser, inbuf, bytes, flag) 153 #define AP_fwrite(ctx,inbuf,bytes,flush) \ 154 ap_fwrite(ctx->f->next, ctx->bb, inbuf, bytes); 888 apr_size_t bytes = 0; local 918 else if (apr_bucket_read(b, &buf, &bytes, APR_BLOCK_READ) 923 /* For documents smaller than four bytes, there is no reason to do 924 * HTML rewriting. The URL schema (i.e. 'http') needs four bytes alone. 925 * And the HTML parser needs at least four bytes to initialise correctly. 927 if ((bytes < [all...] |
/httpd/include/ |
H A D | apreq_module.h | 83 /** determine the maximum in-memory bytes a brigade may use */ 85 /** set the maximum in-memory bytes a brigade may use */ 264 * @param bytes New limit to use. 271 apr_size_t bytes) 273 return req->module->brigade_limit_set(req, bytes); 280 * @param bytes Pointer to resulting (current) limit. 283 * which may leave bytes undefined. 287 apr_size_t *bytes) 289 return req->module->brigade_limit_get(req, bytes); 296 * @param bytes Ne 270 apreq_brigade_limit_set(apreq_handle_t *req, apr_size_t bytes) argument 286 apreq_brigade_limit_get(apreq_handle_t *req, apr_size_t *bytes) argument 302 apreq_read_limit_set(apreq_handle_t *req, apr_uint64_t bytes) argument 318 apreq_read_limit_get(apreq_handle_t *req, apr_uint64_t *bytes) argument [all...] |
H A D | http_core.h | 128 /** Make sure we don't write less than 8000 bytes at any one time. 231 * Return the limit on bytes in request msg body 233 * @return the maximum number of bytes in the request msg body 238 * Return the limit on bytes in XML request msg body 240 * @return the maximum number of bytes in XML request msg body 544 apr_off_t limit_req_body; /* limit on bytes in request msg body */ 545 long limit_xml_body; /* limit on bytes in XML request msg body */ 816 (conn_rec *c, apr_off_t bytes)); 819 (conn_rec *c, apr_off_t bytes));
|
/httpd/modules/apreq/ |
H A D | handle.c | 308 apr_size_t bytes) 318 if (ctx->body_status == APR_EINIT || ctx->brigade_limit > bytes) { 319 ctx->brigade_limit = bytes; 328 apr_size_t *bytes) 337 *bytes = ctx->brigade_limit; 343 apr_uint64_t bytes) 353 if (ctx->read_limit > bytes && ctx->bytes_read < bytes) { 354 ctx->read_limit = bytes; 363 apr_uint64_t *bytes) 307 apache2_brigade_limit_set(apreq_handle_t *handle, apr_size_t bytes) argument 327 apache2_brigade_limit_get(apreq_handle_t *handle, apr_size_t *bytes) argument 342 apache2_read_limit_set(apreq_handle_t *handle, apr_uint64_t bytes) argument 362 apache2_read_limit_get(apreq_handle_t *handle, apr_uint64_t *bytes) argument [all...] |
/httpd/modules/generators/ |
H A D | mod_status.c | 106 /* Format the number of bytes nicely */ 107 static void format_byte_out(request_rec *r, apr_off_t bytes) argument 109 if (bytes < (5 * KBYTE)) 110 ap_rprintf(r, "%d B", (int) bytes); 111 else if (bytes < (MBYTE / 2)) 112 ap_rprintf(r, "%.1f kB", (float) bytes / KBYTE); 113 else if (bytes < (GBYTE / 2)) 114 ap_rprintf(r, "%.1f MB", (float) bytes / MBYTE); 116 ap_rprintf(r, "%.1f GB", (float) bytes / GBYTE); 193 apr_off_t bytes, my_byte local [all...] |
/httpd/modules/ssl/ |
H A D | ssl_engine_io.c | 87 * AP_IOBUFSIZE (8192 bytes) per call. 206 /* when handshaking we'll have a small number of bytes. 208 * (16413 bytes to be exact) 327 /* Copy up to INL bytes from the char_buffer BUFFER into IN. Note 364 * proceeds. It will read at most *len bytes. 596 apr_size_t bytes = 0; local 602 if ((bytes = char_buffer_read(&inctx->cbuf, buf, wanted))) { 603 *len = bytes; 607 inctx->cbuf.value -= bytes; 608 inctx->cbuf.length += bytes; 787 apr_size_t bytes = pos - buf; local 1568 apr_size_t bytes; /* number of bytes of buffer used. */ member in struct:coalesce_ctx 1575 apr_size_t bytes = 0; local 1911 ssl_io_filter_buffer(ap_filter_t *f, apr_bucket_brigade *bb, ap_input_mode_t mode, apr_read_type_e block, apr_off_t bytes) argument [all...] |
/httpd/modules/loggers/ |
H A D | mod_logio.c | 63 static void ap_logio_add_bytes_out(conn_rec *c, apr_off_t bytes) argument 66 cf->bytes_out += bytes; 86 static void ap_logio_add_bytes_in(conn_rec *c, apr_off_t bytes) argument 90 cf->bytes_in += bytes;
|
/httpd/modules/arch/win32/ |
H A D | mod_win32.c | 388 * create a string of the literal QUERY_ARGS bytes. 434 apr_size_t bytes = sizeof(buffer); local 446 if ((rv = apr_file_read(fh, buffer, &bytes)) != APR_SUCCESS) { 461 * WinNT encoding. But at least eat the stupid three bytes up front. 467 if ((bytes >= 3) && memcmp(buffer, "\xEF\xBB\xBF", 3) == 0) { 468 memmove(buffer, buffer + 3, bytes -= 3); 474 if ((bytes >= 2) && ((buffer[0] == '#') || (buffer[0] == '\'')) 477 for (i = 2; i < bytes; i++) { 483 if (i < bytes) { 493 else if (bytes > [all...] |
/httpd/modules/proxy/ |
H A D | mod_proxy_http.c | 242 apr_off_t bytes; local 270 apr_brigade_length(input_brigade, 1, &bytes); 274 (apr_uint64_t)bytes); 390 apr_off_t bytes; local 414 apr_brigade_length(input_brigade, 1, &bytes); 415 bytes_streamed += bytes; 435 /* C-L < bytes streamed?!? 437 * consumed, but we can't stream more bytes at the 446 "read more bytes of request body than expected " 512 " number of body bytes rea 538 apr_off_t bytes, bytes_spooled = 0, fsize = 0; local 693 apr_size_t bytes; local 747 apr_off_t bytes; local [all...] |
/httpd/modules/mappers/ |
H A D | mod_negotiation.c | 229 apr_off_t bytes; /* content length, if known */ member in struct:var_rec 293 mime_info->bytes = -1; 1008 mime_info.bytes = number; 1043 mime_info.bytes = len; 1747 if (variant->bytes < 0) { 1750 variant->bytes = variant->sub_req->finfo.size; 1758 variant->bytes = statb.size; 1763 return variant->bytes; 2539 /* Strip trailing zeros (saves those valuable network bytes) */ 3011 ap_set_content_length(r, best->bytes); [all...] |
/httpd/modules/debugging/ |
H A D | mod_firehose.c | 151 "mod_firehose: could not write %" APR_UINT64_T_FMT " bytes to '%s' for '%c' connection '%s' and count '%0" APR_UINT64_T_HEX_FMT "', bytes dropped (further errors will be suppressed)", 160 "mod_firehose: could not write %" APR_UINT64_T_FMT " bytes to '%s' for '%c' connection '%s' and count '%0" APR_UINT64_T_HEX_FMT "', bytes dropped (further errors will be suppressed)", 203 apr_size_t bytes; local 207 * Insert the chunk header, specifying the number of bytes in 222 rv = apr_file_writev_full(ctx->conn->file, vec, 3, &bytes); 233 "mod_firehose: could not write %" APR_UINT64_T_FMT " bytes to '%s' for '%c' connection '%s' and count '%0" APR_UINT64_T_HEX_FMT "', bytes dropped (further errors will be suppressed)", 242 "mod_firehose: could not write %" APR_UINT64_T_FMT " bytes t [all...] |
/httpd/modules/ldap/ |
H A D | util_ldap.c | 2129 const char *bytes) 2140 st->cache_bytes = atol(bytes); 2144 "%" APR_SIZE_T_FMT " bytes.", 3081 "Set the size of the shared memory cache (in bytes). Use " 2128 util_ldap_set_cache_bytes(cmd_parms *cmd, void *dummy, const char *bytes) argument
|