Searched defs:val (Results 1 - 25 of 72) sorted by relevance

123

/httpd/modules/lua/
H A Dlua_apr.c42 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 Dlua_passwd.c54 unsigned int val = 0, bits = 0; local
71 val |= (rnd[n++] << bits);
74 *s++ = itoa64[val & 0x3f];
76 val >>= 6;
/httpd/include/
H A Dapreq_param.h81 apreq_param_t *apreq_value_to_param(const char *val) argument
85 deconst.in = val;
96 const char *val,
H A Dapreq_cookie.h69 apreq_cookie_t *apreq_value_to_cookie(const char *val) argument
73 deconst.in = val;
/httpd/modules/dav/main/
H A Dliveprop.c73 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/server/
H A Dprovider.c139 char *val; local
160 apr_hash_this(hi, NULL, NULL, (void *)&val);
162 entry->provider_name = apr_pstrdup(pool, val);
H A Dutil_cookies.c35 * @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 Dapreq_param.c32 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 Dutil_debug.c201 * @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
H A Dapreq_cookie.c54 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 Dapreq_module_custom.c125 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...]
/httpd/modules/aaa/
H A Dmod_authn_dbm.c89 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 Dmod_authz_dbm.c99 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/apreq/
H A Dhandle.c97 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/http/
H A Dhttp_core.c282 apr_uint64_t val; local
286 ap_random_insecure_bytes(&val, sizeof(val));
287 ap_multipart_boundary = apr_psprintf(p, "%0" APR_UINT64_T_HEX_FMT, val);
/httpd/modules/proxy/
H A Dmod_proxy_express.c113 apr_datum_t key, val; local
146 rv = apr_dbm_fetch(db, key, &val);
152 backend = apr_pstrmemdup(r->pool, val.dptr, val.dsize);
H A Dajp_header.c285 if (ajp_msg_append_string(msg, elts[i].val)) {
293 i, elts[i].key, elts[i].val);
447 char *val = apr_itoa(r->pool, r->useragent_addr->port); local
450 ajp_msg_append_string(msg, val)) {
454 key, val);
467 char *val = r->connection->local_ip; local
470 ajp_msg_append_string(msg, val)) {
474 key, val);
485 ajp_msg_append_string(msg, elts[i].val)) {
489 elts[i].key, elts[i].val);
532 addit_dammit(void *v, const char *key, const char *val) argument
[all...]
/httpd/support/
H A Dpasswd_common.c78 unsigned int val = 0, bits = 0; local
95 val |= (rnd[n++] << bits);
98 *s++ = itoa64[val & 0x3f];
100 val >>= 6;
H A Dhtdbm.c157 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/cache/
H A Dcache_storage.c116 static int filter_header_do(void *v, const char *key, const char *val) argument
119 && *val == '1') {
126 apr_table_addn(v, key, val);
130 static int remove_header_do(void *v, const char *key, const char *val) argument
142 static int add_header_do(void *v, const char *key, const char *val) argument
144 apr_table_addn(v, key, val);
/httpd/modules/experimental/
H A Dmod_noloris.c196 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/modules/session/
H A Dmod_session_cookie.c119 const char *val = NULL; local
153 ap_cookie_read(r, name, &val, conf->remove);
159 zz->encoded = val;
/httpd/modules/ssl/
H A Dssl_ct_log_config.c116 unsigned char *val = malloc(len); local
117 unsigned char *tmp = val;
124 SHA256_Update(&sha256ctx, (unsigned char *)val, len);
126 free(val);
169 apr_int64_t val; local
173 val = apr_strtoi64(time_str, (char **)&end, 10);
178 *time = apr_time_from_msec(val);
/httpd/os/unix/
H A Dunixd.c238 long val; member in union:semun
/httpd/server/mpm/event/
H A Dfdqueue.c205 apr_uint32_t val; local
206 val = apr_atomic_read32(&queue_info->idlers);
207 if (val <= zero_pt)
209 return val - zero_pt;

Completed in 43 milliseconds

123