/httpd/modules/ssl/ |
H A D | ssl_ct_util.h | 59 apr_uint16_t val); 63 apr_uint32_t val); 81 apr_uint64_t val); 84 apr_uint32_t val); 87 apr_uint16_t val); 90 unsigned char val); 93 const unsigned char *val, 97 const unsigned char *val,
|
/httpd/modules/lua/ |
H A D | lua_apr.c | 42 const char *val = luaL_checkstring(L, 3); local 48 if (strcmp(t->n, "notes") && ap_strchr_c(val, '\n')) { 50 char *replacement = apr_pstrdup(t->r->pool, val); 61 apr_table_set(t->t, key, val); 70 const char *val = apr_table_get(t->t, key); local 71 lua_pushstring(L, val);
|
H A D | lua_passwd.c | 54 unsigned int val = 0, bits = 0; local 71 val |= (rnd[n++] << bits); 74 *s++ = itoa64[val & 0x3f]; 76 val >>= 6;
|
/httpd/server/ |
H A D | apreq_cookie.c | 54 const char *val, 74 while (!apr_isdigit(*val)) { 77 ++val; 80 apreq_cookie_version_set(c, *val - '0'); 84 apreq_cookie_expires(c, val); 88 c->domain = apr_pstrmemdup(p,val,vlen); 95 c->port = apr_pstrmemdup(p,val,vlen); 99 c->path = apr_pstrmemdup(p,val,vlen); 106 c->commentURL = apr_pstrmemdup(p,val,vlen); 110 c->comment = apr_pstrmemdup(p,val,vle 50 apreq_cookie_attr(apr_pool_t *p, apreq_cookie_t *c, const char *attr, apr_size_t alen, const char *val, apr_size_t vlen) argument 177 const char *hdr, *key, *val; local [all...] |
H A D | apreq_module_cgi.c | 502 const char *name, *val; local 515 val = prompt(handle, name, "cookie"); 516 if (val == NULL) 517 val = ""; 518 p = apreq_cookie_make(handle->pool, name, strlen(name), val, strlen(val)); 546 const char *name, *val; local 559 val = prompt(handle, name, "parameter"); 560 if (val == NULL) 561 val 592 const char *val = NULL; local 624 const char *val = NULL; local 659 const char *name, *val; local 705 const char *val = NULL; local [all...] |
H A D | apreq_module_custom.c | 125 const char *val; local 130 val = apr_table_get(req->jar, name); 132 if (val == NULL) 135 return apreq_value_to_cookie(val); 141 const char *val; local 146 val = apr_table_get(req->args, name); 148 if (val == NULL) 151 return apreq_value_to_param(val); 157 const char *val; local 163 *(const char **)&val [all...] |
H A D | apreq_param.c | 32 const char *val, 49 if (vlen && val != NULL) 50 memcpy(v->data, val, vlen); 191 static int param_push(void *data, const char *key, const char *val) argument 195 apreq_value_to_param(val); 233 static int upload_push(void *data, const char *key, const char *val) argument 236 apreq_param_t *p = apreq_value_to_param(val); 252 static int upload_set(void *data, const char *key, const char *val) argument 255 apreq_param_t *p = apreq_value_to_param(val); 29 apreq_param_make(apr_pool_t *p, const char *name, const apr_size_t nlen, const char *val, const apr_size_t vlen) argument
|
H A D | util_cookies.c | 35 * @param val The value to place in the cookie. 40 AP_DECLARE(apr_status_t) ap_cookie_write(request_rec * r, const char *name, const char *val, 56 rfc2109 = apr_pstrcat(r->pool, name, "=", val, ";", buffer, 77 * @param val The value to place in the cookie. 82 AP_DECLARE(apr_status_t) ap_cookie_write2(request_rec * r, const char *name2, const char *val, 98 rfc2965 = apr_pstrcat(r->pool, name2, "=", val, ";", buffer, 177 static int extract_cookie_line(ap_cookie_do * v, const char *key, const char *val) argument 180 char *cookie = apr_pstrdup(v->r->pool, val); 236 * Read a cookie called name, placing its value in val. 244 AP_DECLARE(apr_status_t) ap_cookie_read(request_rec * r, const char *name, const char **val, [all...] |
H A D | util_debug.c | 201 * @param val The module-specific data to set 202 * @fn void ap_set_module_config(ap_conf_vector_t *cv, const module *m, void *val) 207 void *val); 211 void *val) 213 ((void **)cv)[m->module_index] = val; 219 AP_DECLARE(void) ap_set_core_module_config(ap_conf_vector_t *cv, void *val); 222 AP_DECLARE(void) ap_set_core_module_config(ap_conf_vector_t *cv, void *val) argument 224 ((void **)cv)[AP_CORE_MODULE_INDEX] = val; 210 ap_set_module_config(ap_conf_vector_t *cv, const module *m, void *val) argument
|
/httpd/include/ |
H A D | util_cookies.h | 61 * @param val The value to place in the cookie. 69 const char *val, const char *attrs, 78 * @param val The value to place in the cookie. 86 const char *val, const char *attrs2, 119 * Read a cookie called name, placing its value in val. 127 AP_DECLARE(apr_status_t) ap_cookie_read(request_rec * r, const char *name, const char **val,
|
H A D | apreq_param.h | 81 apreq_param_t *apreq_value_to_param(const char *val) argument 85 deconst.in = val; 96 const char *val,
|
H A D | apreq_cookie.h | 69 apreq_cookie_t *apreq_value_to_cookie(const char *val) argument 73 deconst.in = val;
|
/httpd/modules/metadata/ |
H A D | mod_setenvif.c | 496 const char *val, *err; local 514 val = NULL; 528 val = r->useragent_ip; 531 val = r->connection->local_ip; 534 val = ap_get_remote_host(r->connection, r->per_dir_config, 538 val = r->uri; 541 val = r->method; 544 val = r->protocol; 556 val = NULL; 559 val [all...] |
H A D | mod_headers.c | 214 const char *val = header_ssl_lookup(r->pool, r->server, local 216 if (val && val[0]) 217 return unwrap_header(r->pool, val); 568 const char *val; local 583 val = *args ? ap_getword_conf(cmd->pool, &args) : NULL; 592 return header_inout_cmd(cmd, indirconf, action, hdr, val, subs, envclause); 613 const char *val; local 614 val = ap_expr_str_exec(r, hdr->expr_out, &err); 620 return apr_pstrdup(r->pool, val); 669 echo_header(echo_do *v, const char *key, const char *val) argument 681 edit_header(void *v, const char *key, const char *val) argument 692 add_them_all(void *v, const char *key, const char *val) argument 705 const char *val; local [all...] |
/httpd/modules/apreq/ |
H A D | handle.c | 97 const char *val; local 107 val = apr_table_get(t, name); 108 if (val == NULL) 111 return apreq_value_to_cookie(val); 118 const char *val; local 128 val = apr_table_get(t, name); 129 if (val == NULL) 132 return apreq_value_to_param(val); 166 const char *val; local 179 val [all...] |
/httpd/modules/experimental/ |
H A D | mod_noloris.c | 196 static const char *noloris_trusted(cmd_parms *cmd, void *cfg, const char *val) argument 200 apr_hash_set(trusted, val, APR_HASH_KEY_STRING, &noloris_module); 204 static const char *noloris_recheck(cmd_parms *cmd, void *cfg, const char *val) argument 208 recheck_time = apr_time_from_sec(atoi(val)); 212 static const char *noloris_max_conn(cmd_parms *cmd, void *cfg, const char *val) argument 216 default_max_connections = atoi(val);
|
/httpd/support/ |
H A D | ctauditscts | 53 val = struct.unpack_from('>H', log_bytes, offset) 54 assert val[0] == SERVER_START 74 val = struct.unpack_from('BBB', log_bytes, offset) 76 der_size = (val[0] << 16) | (val[1] << 8) | (val[2] << 0)
|
H A D | htdbm.c | 157 apr_datum_t key, val; local 167 val.dsize = strlen(htdbm->ctx.passwd); 169 val.dptr = htdbm->ctx.passwd; 171 val.dptr = apr_pstrcat(htdbm->ctx.pool, htdbm->ctx.passwd, ":", 173 val.dsize += (strlen(htdbm->comment) + 1); 175 return apr_dbm_store(htdbm->dbm, key, val); 192 apr_datum_t key, val; local 200 if (apr_dbm_fetch(htdbm->dbm, key, &val) != APR_SUCCESS) 202 rec = apr_pstrndup(htdbm->ctx.pool, val.dptr, val 214 apr_datum_t key, val; local [all...] |
/httpd/modules/proxy/ |
H A D | mod_proxy_balancer.c | 640 int val = ((int *)balancer->errstatuses->elts)[i]; local 641 if (r->status == val) { 647 val); 938 char *tok, *val; local 948 val = strchr(key, '='); 949 if (val) { 950 *val++ = '\0'; 953 val = ""; 956 ap_unescape_url(val); 958 apr_table_set(params, key, val); 1073 const char *val; local 1124 const char *val; local [all...] |
H A D | mod_proxy.c | 61 const char *val) 71 worker->s->lbfactor = atoi(val); 80 ival = atoi(val); 90 ival = atoi(val); 98 ival = atoi(val); 106 ival = atoi(val); 116 ival = atoi(val); 126 if (ap_timeout_parameter_parse(val, &timeout, "ms") != APR_SUCCESS) 137 ival = atoi(val); 144 long s = atol(val); 58 set_worker_param(apr_pool_t *p, proxy_worker *worker, const char *key, const char *val) argument 281 set_balancer_param(proxy_server_conf *conf, apr_pool_t *p, proxy_balancer *balancer, const char *key, const char *val) argument 556 const char *val; local 1667 char *val = strchr(word, '='); local 2215 char *val; local 2295 char *word, *val; local 2393 char *word, *val; local [all...] |
/httpd/modules/aaa/ |
H A D | mod_authn_dbm.c | 89 apr_datum_t key, val; local 108 if (apr_dbm_fetch(f, key, &val) == APR_SUCCESS && val.dptr) { 109 *value = apr_pstrmemdup(pool, val.dptr, val.dsize);
|
H A D | mod_authz_dbm.c | 99 char *grp_colon, *val; local 111 if (!(val = get_dbm_entry_as_str(r->pool, f, key1))) { 112 val = get_dbm_entry_as_str(r->pool, f, key2); 117 if (val && (grp_colon = ap_strchr(val, ':')) != NULL) { 126 *out = val;
|
/httpd/modules/filters/ |
H A D | mod_reqtimeout.c | 471 #define MERGE_INT(cfg, b, a, val) cfg->val = (a->val == UNSET) ? b->val : a->val; 492 static const char *parse_int(apr_pool_t *p, const char *arg, int *val) { argument 494 *val = strtol(arg, &endptr, 10); 502 if (*val < 0) { 511 const char *val) 528 if ((rate_str = ap_strcasestr(val, ",minrat 508 set_reqtimeout_param(reqtimeout_srv_cfg *conf, apr_pool_t *p, const char *key, const char *val) argument 585 char *word, *val; local [all...] |
/httpd/modules/dav/main/ |
H A D | liveprop.c | 73 void *val; local 76 apr_hash_this(idx, &key, NULL, &val); 78 s = apr_psprintf(p, " xmlns:lp%ld=\"%s\"", (long)val, (const char *)key);
|
/httpd/modules/dav/lock/ |
H A D | locks.c | 440 apr_datum_t val = { 0 }; local 469 val.dsize += dav_size_direct(dp); 473 val.dsize += dav_size_indirect(ip); 479 ptr = val.dptr = apr_pcalloc(lockdb->info->pool, val.dsize); 527 if ((status = apr_dbm_store(lockdb->info->db, key, val)) != APR_SUCCESS) { 562 apr_datum_t val = { 0 }; local 584 if ((status = apr_dbm_fetch(lockdb->info->db, key, &val)) != APR_SUCCESS) { 588 if (!val.dsize) { 592 while (offset < val [all...] |