| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | mod_extforward.c | 273 data_string* allds = (data_string *)array_get_element(p->conf.forwarder, "all"); in is_proxy_trusted() 283 return (data_string *)array_get_element(p->conf.forwarder, ipstr) ? IP_TRUSTED : IP_UNTRUSTED; in is_proxy_trusted() 299 if (!array_get_element(forwarder, ip)) { in last_not_in_array() 373 …if (NULL != (forwarded = (data_string*) array_get_element(con->request.headers, ds->value->ptr))) … in URIHANDLER_FUNC() 376 forwarded = (data_string *) array_get_element(con->request.headers,"X-Forwarded-For"); in URIHANDLER_FUNC() 377 …if (NULL == forwarded) forwarded = (data_string *) array_get_element(con->request.headers, "Forwa… in URIHANDLER_FUNC() 416 …data_string *forwarded_proto = (data_string *)array_get_element(con->request.headers, "X-Forwarded… in URIHANDLER_FUNC()
|
| H A D | configfile-glue.c | 33 if (NULL == (du = array_get_element(ca, cv[i].key))) { in config_insert_values_internal() 195 if (NULL == (du = array_get_element(ca, cv[i].key))) { in config_insert_values_global() 409 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "Referer"))) { in config_check_cond_nocache() 418 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "Cookie"))) { in config_check_cond_nocache() 427 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "User-Agent"))) { in config_check_cond_nocache() 447 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "Accept-Language"))) { in config_check_cond_nocache()
|
| H A D | mod_staticfile.c | 173 if (NULL != (ds = (data_string *)array_get_element(con->response.headers, "Content-Type"))) { in http_response_parse_range() 451 if (NULL == array_get_element(con->response.headers, "Content-Type")) { in URIHANDLER_FUNC() 473 if (NULL == array_get_element(con->response.headers, "ETag")) { in URIHANDLER_FUNC() 482 if (NULL == (ds = (data_string *)array_get_element(con->response.headers, "Last-Modified"))) { in URIHANDLER_FUNC() 498 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "If-Range"))) { in URIHANDLER_FUNC()
|
| H A D | configparser.y | 49 if (NULL != (du = array_get_element(dc->value, key->ptr))) { in configparser_get_variable() 154 } else if (NULL == array_get_element(ctx->current->value, B->key->ptr)) { in key() 179 } else if (NULL != (du = array_get_element(vars, A->ptr))) { in key() 292 NULL == array_get_element(C, B->key->ptr)) { in aelements() 336 dc = (data_config *)array_get_element(ctx->srv->config_context, "global"); 416 if (NULL != (dc = (data_config *)array_get_element(ctx->all_configs, b->ptr))) { in SRVVARNAME()
|
| H A D | mod_auth.c | 233 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "Authorization"))) { in mod_auth_uri_handler() 241 method = (data_string *)array_get_element(req, "method"); in mod_auth_uri_handler() 277 method = (data_string *)array_get_element(req, "method"); in mod_auth_uri_handler() 278 realm = (data_string *)array_get_element(req, "realm"); in mod_auth_uri_handler() 436 if (NULL == (da = (data_array *)array_get_element(ca, "auth.require"))) continue; in SETDEFAULTS_FUNC()
|
| H A D | status_counter.c | 22 if (NULL == (di = (data_integer *)array_get_element(srv->status, s))) { in status_counter_get_counter()
|
| H A D | configparser.c | 52 if (NULL != (du = array_get_element(dc->value, key->ptr))) { in configparser_get_variable() 850 } else if (NULL == array_get_element(ctx->current->value, yymsp[0].minor.yy41->key->ptr)) { in yy_reduce() 879 } else if (NULL != (du = array_get_element(vars, yymsp[-2].minor.yy43->ptr))) { in yy_reduce() 1031 NULL == array_get_element(yymsp[-2].minor.yy40, yymsp[0].minor.yy41->key->ptr)) { in yy_reduce() 1096 dc = (data_config *)array_get_element(ctx->srv->config_context, "global"); in yy_reduce() 1202 if (NULL != (dc = (data_config *)array_get_element(ctx->all_configs, b->ptr))) { in yy_reduce()
|
| H A D | mod_ssi_expr.c | 217 if (NULL != (ds = (data_string *)array_get_element(p->ssi_cgi_env, token->ptr))) { in ssi_expr_tokenizer() 219 } else if (NULL != (ds = (data_string *)array_get_element(p->ssi_vars, token->ptr))) { in ssi_expr_tokenizer()
|
| H A D | http-header-glue.c | 97 if (NULL != (ds = (data_string *)array_get_element(con->response.headers, key))) { in response_header_overwrite() 112 if (NULL != (ds = (data_string *)array_get_element(con->response.headers, key))) { in response_header_append()
|
| H A D | mod_cml_lua.c | 151 if (NULL != (d = array_get_element(con->request.headers, "Cookie"))) { 400 ds = (data_string *)array_get_element(con->response.headers, "Last-Modified"); in cache_parse_lua()
|
| H A D | array.h | 170 data_unset *array_get_element(array *a, const char *key);
|
| H A D | array.c | 119 data_unset *array_get_element(array *a, const char *key) { in array_get_element() function 153 if (NULL != (ds_dst = (data_string *)array_get_element(hdrs, key))) { in array_set_key_value()
|
| H A D | mod_webdav.c | 1180 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "If"))) { in webdav_has_lock() 1230 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "Depth"))) { in URIHANDLER_FUNC() 1636 …if (NULL != (ds_range = (data_string *)array_get_element(con->request.headers, "Content-Range"))) { in URIHANDLER_FUNC() 1801 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "Destination"))) { in URIHANDLER_FUNC() 1808 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "Overwrite"))) { in URIHANDLER_FUNC() 2224 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "If"))) { in URIHANDLER_FUNC() 2388 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "If"))) { in URIHANDLER_FUNC() 2431 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "Lock-Token"))) { in URIHANDLER_FUNC()
|
| H A D | configfile.c | 1149 if (NULL != (dc = (data_config *)array_get_element(srv->config_context, "global"))) { in config_read() 1155 if (NULL != (modules = (data_array *)array_get_element(srv->config, "server.modules"))) { in config_read() 1167 if (NULL == array_get_element(modules->value, "mod_indexfile")) { in config_read() 1180 if (NULL == array_get_element(modules->value, "mod_dirlisting")) { in config_read() 1186 if (NULL == array_get_element(modules->value, "mod_staticfile")) { in config_read()
|
| H A D | mod_rewrite.c | 165 if (NULL != (du = array_get_element(ca, option))) { in parse_config_entry() 204 if (NULL != array_get_element(ca, option)) { in parse_config_entry()
|
| H A D | mod_accesslog.c | 792 …if (NULL != (ds = (data_string *)array_get_element(con->request.headers, p->conf.parsed_format->pt… in REQUESTDONE_FUNC() 799 …if (NULL != (ds = (data_string *)array_get_element(con->response.headers, p->conf.parsed_format->p… in REQUESTDONE_FUNC() 806 …if (NULL != (ds = (data_string *)array_get_element(con->environment, p->conf.parsed_format->ptr[j]… in REQUESTDONE_FUNC()
|
| H A D | mod_flv_streaming.c | 220 if (NULL == (get_param = (data_string *)array_get_element(p->get_params, "start"))) { in URIHANDLER_FUNC()
|
| H A D | mod_usertrack.c | 182 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "Cookie"))) { in URIHANDLER_FUNC()
|
| H A D | mod_redirect.c | 102 if (NULL == (du = array_get_element(ca, "url.redirect"))) { in SETDEFAULTS_FUNC()
|
| H A D | mod_evhost.c | 302 …} else if (NULL != (ds = (data_string *)array_get_element(parsed_host,p->conf.path_pieces[i]->ptr)… in mod_evhost_uri_handler()
|
| H A D | mod_magnet.c | 371 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, key))) { in magnet_reqhdr_get() 649 if (NULL != (ds = (data_string *)array_get_element(con->environment, key)) && ds->value->used) in magnet_cgi_get()
|
| H A D | http_auth.c | 333 require = (data_string *)array_get_element(req, "require"); in http_auth_match_rules() 845 realm = (data_string *)array_get_element(req, "realm"); in http_auth_basic_check()
|
| H A D | mod_proxy.c | 234 if (NULL != (du = array_get_element(ca, "proxy.server"))) { in SETDEFAULTS_FUNC() 317 if (NULL == (dfa = (data_array *)array_get_element(s->extensions, da_ext->key->ptr))) { in SETDEFAULTS_FUNC()
|
| H A D | mod_trigger_b4_dl.c | 346 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, "X-Forwarded-For"))) { in URIHANDLER_FUNC()
|
| H A D | request.c | 788 if (NULL != (ds = (data_string *)array_get_element(con->request.headers, key_b->ptr))) { in http_request_parse()
|