/httpd/server/ |
H A D | util_cookies.c | 34 * @param name The name of the cookie. 40 AP_DECLARE(apr_status_t) ap_cookie_write(request_rec * r, const char *name, const char *val, 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, 76 * @param name2 The name of the cookie. 86 const char *buffer; local 181 const char *name = apr_pstrcat(v->r->pool, v->name ? v->name : "", "=", NULL); local [all...] |
H A D | util_script.c | 78 "Not exporting header with invalid name as envvar: %s", 88 static void add_unless_null(apr_table_t *table, const char *name, const char *val) argument 90 if (name && val) { 91 apr_table_addn(table, name, val); 95 static void env2env(apr_table_t *table, const char *name) argument 97 add_unless_null(table, name, getenv(name)); 397 /* We need to make this a real Windows path name */ 416 AP_DECLARE(int) ap_scan_script_header_err_core_ex(request_rec *r, char *buffer, argument 430 if (buffer) { 644 ap_scan_script_header_err_core(request_rec *r, char *buffer, int (*getsfunc) (char *, int, void *), void *getsfunc_data) argument 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.c | 500 AP_DECLARE(void) ap_getparents(char *name) argument 507 for (next = name; *next && (*next != '.'); next++) { 510 l = w = first_dot = next - name; 511 while (name[l] != '\0') { 512 if (name[l] == '.' && IS_SLASH(name[l + 1]) 513 && (l == 0 || IS_SLASH(name[l - 1]))) 516 name[w++] = name[l++]; 520 if (w == 1 && name[ 567 ap_no2slash(char *name) argument 1924 ap_escape_urlencoded_buffer(char *copy, const char *buffer) argument 1946 ap_escape_urlencoded(apr_pool_t *p, const char *buffer) argument 2592 char buffer[HUGE_STRING_LEN + 1]; local [all...] |
/httpd/modules/proxy/ |
H A D | mod_proxy_connect.c | 148 apr_bucket_brigade *bb, char *name) 169 " bytes from %s", len, name); 178 name); 183 name); 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, sizeo 147 proxy_connect_transfer(request_rec *r, conn_rec *c_i, conn_rec *c_o, apr_bucket_brigade *bb, char *name) argument [all...] |
H A D | mod_proxy_http.c | 143 * ; the name or pseudonym of the server adding 716 " proxy_buckets_lifetime_transform", e->type->name); 865 /* Ensure we don't hit a wall where we have a buffer too small 1106 const char *name; member in struct:__anon297 1124 for (i = 0; transform_hdrs[i].name; ++i) { 1125 if (!strcasecmp(transform_hdrs[i].name, key)) { 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, siz 1143 ap_proxy_read_headers(request_rec *r, request_rec *rr, char *buffer, int size, conn_rec *c, int *pread_len) argument 1303 char buffer[HUGE_STRING_LEN]; local [all...] |
H A D | proxy_util.c | 61 const char *name; member in struct:wstat 432 const char *addr = This->name; 443 * if (proxy_readmask(This->name, &This->addr.s_addr, &This->mask.s_addr) == 0) 638 /* Return TRUE if addr represents a domain name */ 641 char *addr = This->name; 644 /* Domain name must start with a '.' */ 679 int d_len = strlen(This->name), h_len; 689 while (d_len > 0 && This->name[d_len - 1] == '.') { 696 && strncasecmp(&host[h_len - d_len], This->name, d_len) == 0; 699 /* Return TRUE if host represents a host name */ 1073 ap_proxy_valid_balancer_name(char *name, int i) argument 2561 char buffer[HUGE_STRING_LEN]; local 3316 const char *name = APR_ARRAY_IDX(x.array, i, const char *); local 3656 const char *name; member in struct:proxy_schemes_t [all...] |
/httpd/modules/cache/ |
H A D | mod_cache_socache.c | 45 * Use each header name (from .header) with our request values (headers_in) to 56 * entity name (sobj->name) [length is in cache_socache_info_t->name_len] 72 unsigned char *buffer; /* the cache buffer */ member in struct:cache_socache_object_t 73 apr_size_t buffer_len; /* size of the buffer */ 82 const char *name; /* Requested URI without vary bits - suitable for mortals. */ member in struct:cache_socache_object_t 134 unsigned char *buffer, apr_size_t buffer_len, apr_size_t *slider) 139 if (buffer[*slider] == '\r') { 145 (const char *) 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 164 store_array(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 1265 const char *err = NULL, *sep, *name; local [all...] |
/httpd/modules/core/ |
H A D | mod_macro.c | 57 this is a macro: name, arguments, contents, location. 61 char *name; /* lower case name of the macro */ member in struct:__anon95 82 hash type: (char *) name -> (ap_macro_t *) macro 124 what, cfg->line_number, cfg->name, ptr); 232 generates an error on macro with two arguments of the same name. 233 generates an error if a macro argument name is empty. 234 generates a warning if arguments name prefixes conflict. 250 "macro '%s' (%s): empty argument #%d name", 251 macro->name, macr 335 substitute(char *buf, const int bufsize, const char *name, const char *replacement, const int do_esc) argument 616 char *buffer = (char *) buf; local 693 char *endp, *name, *where; local 802 char *name, *recursion, *where; local 883 char *name; local [all...] |
/httpd/modules/filters/ |
H A D | mod_charset_lite.c | 44 #define OUTPUT_XLATE_BUF_SIZE (16*1024) /* size of translation buffer used on output */ 45 #define INPUT_XLATE_BUF_SIZE (8*1024) /* size of translation buffer used on input */ 48 * space left in the translation buffer 67 /* registered name of the output translation filter */ 69 /* registered name of input translation filter */ 95 char *tmp; /* buffer for input filtering */ 141 const char *name) 145 dc->charset_source = name; 152 const char *name) 156 dc->charset_default = name; 140 add_charset_source(cmd_parms *cmd, void *in_dc, const char *name) argument 151 add_charset_default(cmd_parms *cmd, void *in_dc, const char *name) argument 645 xlate_brigade(charset_filter_ctx_t *ctx, apr_bucket_brigade *bb, char *buffer, apr_size_t *buffer_avail, int *hit_eos) argument [all...] |
/httpd/modules/http/ |
H A D | http_filters.c | 91 static apr_status_t parse_chunk_size(http_ctx_t *ctx, const char *buffer, argument 97 char c = buffer[i]; 425 const char *buffer; local 429 rv = apr_bucket_read(e, &buffer, &len, APR_BLOCK_READ); 432 rv = parse_chunk_size(ctx, buffer, len, 567 static int check_header(void *arg, const char *name, const char *val) argument 570 if (name[0] == '\0') { 573 "Empty response header name, aborting request"); 576 if (ap_has_cntrl(name)) { 579 "Response header name ' 1581 ap_get_client_block(request_rec *r, char *buffer, apr_size_t bufsiz) argument [all...] |
/httpd/modules/mappers/ |
H A D | mod_negotiation.c | 176 char *name; /* MUST be lowercase */ member in struct:accept_rec 311 var->mime_type = mime_info->name; 427 result->name = ap_get_token(p, &accept_line, 0); 428 ap_str_tolower(result->name); /* You want case insensitive, 436 if (!strcmp(result->name, "text/html") && (result->level == 0.0)) { 439 else if (!strcmp(result->name, INCLUDES_MAGIC_TYPE)) { 442 else if (!strcmp(result->name, INCLUDES_MAGIC_TYPE3)) { 511 * name; q=N; charset=TEXT 713 new_accept->name = "*/*"; 720 new_accept->name 744 get_header_line(char *buffer, int len, apr_file_t *map) argument 827 get_body(char *buffer, apr_size_t *len, const char *tag, apr_file_t *map) argument 945 char buffer[MAX_STRING_LEN]; local 1981 char *name = accept_recs[i].name; local 3197 char *name = accept_recs[i].name; local [all...] |
/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); 382 "Content-Disposition: form-data; name=\"%255[^\"]\"; filename=\"%255[^\"]\"", 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, buffe 496 const char *name = luaL_checkstring(L, 2); local 507 const char *name = luaL_checkstring(L, 2); local 909 const char *buffer; local 929 const char *buffer; local 1770 const char *name; local 1822 const char *name = luaL_checkstring(L, 2); 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 2676 const char *name; local 2683 const char *name; local [all...] |