/httpd/include/ |
H A D | util_ebcdic.h | 51 * @param buffer Buffer to translate. 56 void ap_xlate_proto_to_ascii(char *buffer, apr_size_t len); 61 * @param buffer Buffer to translate. 66 void ap_xlate_proto_from_ascii(char *buffer, apr_size_t len);
|
H A D | util_script.h | 86 * @param buffer Empty when calling the function. On output, if there was an 89 * @fn int ap_scan_script_header_err(request_rec *r, apr_file_t *f, char *buffer) 91 AP_DECLARE(int) ap_scan_script_header_err(request_rec *r, apr_file_t *f, char *buffer); 99 * @param buffer Empty when calling the function. On output, if there was an 105 char *buffer, int module_index); 114 * @param buffer Empty when calling the function. On output, if there was an 117 * @fn int ap_scan_script_header_err_brigade(request_rec *r, apr_bucket_brigade *bb, char *buffer) 121 char *buffer); 129 * @param buffer Empty when calling the function. On output, if there was an 136 char *buffer, [all...] |
H A D | util_fcgi.h | 213 * Compute the buffer size needed to encode the next portion of 216 * @param maxlen The maximum buffer size allowable, capped at 221 * @return Size of buffer needed to encode the next part, or 0 236 * a buffer previously allocated. 239 * @param buffer A buffer to contain the encoded environment table 240 * @param buflen The length of the buffer, previously computed by 253 void *buffer,
|
/httpd/server/ |
H A D | util_ebcdic.c | 73 void ap_xlate_proto_to_ascii(char *buffer, apr_size_t len) argument 78 apr_xlate_conv_buffer(ap_hdrs_to_ascii, buffer, &inbytes_left, 79 buffer, &outbytes_left); 82 void ap_xlate_proto_from_ascii(char *buffer, apr_size_t len) argument 87 apr_xlate_conv_buffer(ap_hdrs_from_ascii, buffer, &inbytes_left, 88 buffer, &outbytes_left);
|
H A D | util_cookies.c | 44 const char *buffer; local 50 buffer = ""; 52 buffer = apr_pstrcat(r->pool, "Max-Age=", apr_ltoa(r->pool, maxage), ";", NULL); 56 rfc2109 = apr_pstrcat(r->pool, name, "=", val, ";", buffer, 86 const char *buffer; local 92 buffer = ""; 94 buffer = apr_pstrcat(r->pool, "Max-Age=", apr_ltoa(r->pool, maxage), ";", NULL); 98 rfc2965 = apr_pstrcat(r->pool, name2, "=", val, ";", buffer,
|
H A D | util_script.c | 416 AP_DECLARE(int) ap_scan_script_header_err_core_ex(request_rec *r, char *buffer, argument 430 if (buffer) { 431 *buffer = '\0'; 433 w = buffer ? buffer : x; 560 if (!buffer) { 644 AP_DECLARE(int) ap_scan_script_header_err_core(request_rec *r, char *buffer, argument 648 return ap_scan_script_header_err_core_ex(r, buffer, getsfunc, 659 char *buffer) 661 return ap_scan_script_header_err_core_ex(r, buffer, getsfunc_FIL 658 ap_scan_script_header_err(request_rec *r, apr_file_t *f, char *buffer) argument 665 ap_scan_script_header_err_ex(request_rec *r, apr_file_t *f, char *buffer, int module_index) argument 719 ap_scan_script_header_err_brigade(request_rec *r, apr_bucket_brigade *bb, char *buffer) argument 727 ap_scan_script_header_err_brigade_ex(request_rec *r, apr_bucket_brigade *bb, char *buffer, int module_index) argument 777 ap_scan_script_header_err_strs_ex(request_rec *r, char *buffer, int module_index, const char **termch, int *termarg, ...) argument 799 ap_scan_script_header_err_strs(request_rec *r, char *buffer, const char **termch, int *termarg, ...) argument [all...] |
H A D | util_fcgi.c | 181 void *buffer, 194 itr = buffer;
|
/httpd/modules/metadata/ |
H A D | mod_ident.c | 165 char buffer[RFC1413_MAXDATA + 1]; local 173 buflen = apr_snprintf(buffer, sizeof(buffer), "%hu,%hu\r\n", sav_rmt_port, 175 ap_xlate_proto_to_ascii(buffer, buflen); 180 apr_size_t j = strlen(buffer + i); 182 status = apr_socket_send(sock, buffer+i, &j); 196 * way out of the buffer. 200 memset(buffer, '\0', sizeof(buffer)); 205 while((cp = strchr(buffer, '\01 [all...] |
/httpd/modules/arch/win32/ |
H A D | mod_win32.c | 152 char *buffer; local 193 rv = ap_regkey_value_get(&buffer, key, "", p); 201 rv = ap_regkey_value_get(&buffer, key, "", p); 209 rv = ap_regkey_value_get(&buffer, key, "", p); 217 rv = ap_regkey_value_get(&buffer, key, "", p); 228 if (rv != APR_SUCCESS || !buffer[0]) { 232 return buffer; 433 char buffer[1024]; local 434 apr_size_t bytes = sizeof(buffer); 446 if ((rv = apr_file_read(fh, buffer, [all...] |
/httpd/support/ |
H A D | logresolve.pl.in | 128 my (@buffer, $child, $ip, $rest, $hostname, $response); 131 @buffer = (); # empty the logfile line buffer array. 136 push(@buffer, $_); # buffer the line 157 # resolve all the logfiles lines held in the log buffer array.. 158 for (my $line = 0; $line <=$#buffer; $line++) { 160 ($ip, $rest) = split(/ /, $buffer[$line], 2);
|
H A D | fcgistarter.c | 46 char buffer[1024]; local 51 apr_strerror(rv, buffer, sizeof(buffer)));
|
/httpd/modules/cache/ |
H A D | mod_cache_socache.c | 72 unsigned char *buffer; /* the cache buffer */ member in struct:cache_socache_object_t 73 apr_size_t buffer_len; /* size of the buffer */ 134 unsigned char *buffer, apr_size_t buffer_len, apr_size_t *slider) 139 if (buffer[*slider] == '\r') { 145 (const char *) buffer + val, *slider - val); 147 if (buffer[*slider] == '\n') { 152 else if (buffer[*slider] == '\0') { 164 static apr_status_t store_array(apr_array_header_t *arr, unsigned char *buffer, argument 177 len = apr_snprintf(buffer 133 read_array(request_rec *r, apr_array_header_t *arr, unsigned char *buffer, apr_size_t buffer_len, apr_size_t *slider) argument 189 read_table(cache_handle_t *handle, request_rec *r, apr_table_t *table, unsigned char *buffer, apr_size_t buffer_len, apr_size_t *slider) argument 242 store_table(apr_table_t *table, unsigned char *buffer, apr_size_t buffer_len, apr_size_t *slider) argument [all...] |
/httpd/modules/arch/netware/ |
H A D | libprews.c | 41 size_t nbytes, size_t *bytesRead, void *buffer ),
|
/httpd/modules/proxy/ |
H A D | mod_proxy_ftp.c | 263 * if the last character in the 'response' buffer is an ASCII_LF. 379 * remembers the response message in the supplied buffer 430 char buffer[MAX_STRING_LEN]; member in struct:__anon294 461 ctx->buffer[0] = 0; 606 /* if the buffer overruns - throw data away */ 628 max = sizeof(ctx->buffer) - strlen(ctx->buffer) - 1; 634 apr_cpystrn(ctx->buffer+strlen(ctx->buffer), response, len+1); 651 apr_size_t n = strlen(ctx->buffer); [all...] |
H A D | mod_proxy_connect.c | 211 char buffer[HUGE_STRING_LEN]; local 379 nbytes = apr_snprintf(buffer, sizeof(buffer), 381 ap_xlate_proto_to_ascii(buffer, nbytes); 382 ap_fwrite(c->output_filters, bb, buffer, nbytes); 383 nbytes = apr_snprintf(buffer, sizeof(buffer), 386 ap_xlate_proto_to_ascii(buffer, nbytes); 387 ap_fwrite(c->output_filters, bb, buffer, nbytes);
|
H A D | mod_proxy_http.c | 865 /* Ensure we don't hit a wall where we have a buffer too small 1138 * ProxyBadHeader StartBody). This depends on buffer actually being 1140 * any sense at all, since we depend on buffer still containing 1144 char *buffer, int size, 1168 while ((len = ap_getline(buffer, size, rr, 1)) > 0) { 1169 ap_log_rerror(APLOG_MARK, APLOG_TRACE4, 0, r, "%s", buffer); 1171 if (!(value = strchr(buffer, ':'))) { /* Find the colon separator */ 1184 if (!apr_date_checkmask(buffer, "HTTP/#.# ###*")) { 1234 process_proxy_header(r, dconf, buffer, value); 1303 char buffer[HUGE_STRING_LE local 1143 ap_proxy_read_headers(request_rec *r, request_rec *rr, char *buffer, int size, conn_rec *c, int *pread_len) argument [all...] |
/httpd/modules/filters/ |
H A D | mod_data.c | 134 /* buffer big enough for 8000 encoded bytes (6000 raw bytes) and terminator */ 135 char buffer[APR_BUCKET_BUFF_SIZE + 1]; local 196 /* fill up and write out our overflow buffer if partially used */ 212 len = apr_base64_encode_binary(buffer, 214 apr_brigade_write(ctx->bb, NULL, NULL, buffer, len - 1); 217 /* save away any tail in the overflow buffer */
|
H A D | sed1.c | 94 static void grow_buffer(apr_pool_t *pool, char **buffer, argument 111 if (*spend && *buffer && (*cursize > 0)) { 112 spendsize = *spend - *buffer; 114 if ((*cursize > 0) && *buffer) { 115 memcpy(newbuffer, *buffer, *cursize); 117 *buffer = newbuffer; 119 if (spend != buffer) { 120 *spend = *buffer + spendsize; 441 * buffer is not a newline.
|
/httpd/modules/aaa/ |
H A D | mod_auth_form.c | 612 char *buffer; local 629 buffer = apr_palloc(r->pool, size + 1); 630 apr_brigade_flatten(pair->value, buffer, &size); 631 buffer[len] = 0; 632 *sent_user = buffer; 637 buffer = apr_palloc(r->pool, size + 1); 638 apr_brigade_flatten(pair->value, buffer, &size); 639 buffer[len] = 0; 640 *sent_pw = buffer; 645 buffer [all...] |
/httpd/os/netware/ |
H A D | util_nw.c | 80 size_t nbytes, size_t *bytesRead, void *buffer ),
|
/httpd/modules/mappers/ |
H A D | mod_negotiation.c | 744 static enum header_state get_header_line(char *buffer, int len, apr_file_t *map) argument 746 char *buf_end = buffer + len; 753 if (apr_file_gets(buffer, MAX_STRING_LEN, map) != APR_SUCCESS) { 756 } while (buffer[0] == '#'); 760 for (cp = buffer; apr_isspace(*cp); ++cp) { 777 if (!strncasecmp(buffer, "Body:", 5)) 827 static apr_off_t get_body(char *buffer, apr_size_t *len, const char *tag, argument 843 if (apr_file_read(map, buffer, len) != APR_SUCCESS) { 851 memcpy(buffer + *len, tag, taglen); 852 endbody = strstr(buffer, ta 945 char buffer[MAX_STRING_LEN]; local [all...] |
/httpd/modules/ssl/ |
H A D | ssl_engine_io.c | 93 * malloc-ed buffer, rather than copying into a mem BIO. 117 apr_bucket_brigade *bb; /* Brigade used as a buffer. */ 316 char buffer[AP_IOBUFSIZE]; member in struct:__anon319 329 * char_buffer object is used to cache a segment of inctx->buffer, and 331 * beginning of inctx->buffer. So the segments to copy cannot be 333 static int char_buffer_read(char_buffer_t *buffer, char *in, int inl) argument 335 if (!buffer->length) { 339 if (buffer->length > inl) { 340 /* we have have enough to fill the caller's buffer */ 341 memmove(in, buffer 356 char_buffer_write(char_buffer_t *buffer, char *in, int inl) argument 1567 char buffer[COALESCE_BYTES]; member in struct:coalesce_ctx [all...] |
/httpd/modules/session/ |
H A D | mod_session.c | 249 * @param value The buffer to write the value to. 308 static int identity_concat(char *buffer, const char *key, const char *val) argument 310 char *slider = buffer; 341 char *buffer = NULL; local 349 buffer = apr_pcalloc(r->pool, length + 1); 351 identity_concat, buffer, z->entries, NULL); 352 z->encoded = buffer;
|
H A D | mod_session_crypto.c | 573 char buffer[MAX_STRING_LEN]; local 586 while (!(ap_cfg_getline(buffer, sizeof(buffer), file))) { 587 args = buffer;
|
/httpd/modules/lua/ |
H A D | lua_request.c | 353 char *buffer, *key, *filename; local 379 buffer = (char *) apr_pcalloc(r->pool, vlen+1); 380 memcpy(buffer, crlf + 4, vlen); 385 req_aprtable2luatable_cb_len(L, key, buffer, vlen); 390 char *buffer; local 397 buffer = apr_palloc(r->pool, size + 1); 398 apr_brigade_flatten(pair->value, buffer, &size); 399 buffer[len] = 0; 400 req_aprtable2luatable_cb(L, pair->name, buffer); 909 const char *buffer; local 929 const char *buffer; local 2182 lua_websocket_readbytes(conn_rec* c, char* buffer, apr_off_t len) argument 2340 char *buffer = apr_palloc(r->pool, plen+1); local [all...] |