Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 74) sorted by relevance

123

/lighttpd1.4/src/
H A Darray.h31 } array; typedef
45 array value;
61 array *array_init(uint32_t n);
64 void array_copy_array(array *dst, const array *src);
67 void array_free_data(array *a);
69 void array_free(array *a);
72 void array_reset_data_strings(array *a);
82 int array_is_vlist(const array *a);
86 int array_is_kvany(const array *a);
90 int array_is_kvarray(const array *a);
[all …]
H A Darray.c122 array *array_init(uint32_t n) { in array_init()
123 array *a = ck_calloc(1, sizeof(*a)); in array_init()
128 void array_free_data(array * const a) { in array_free_data()
142 void array_copy_array(array * const dst, const array * const src) { in array_copy_array()
152 void array_free(array * const a) { in array_free()
158 void array_reset_data_strings(array * const a) { in array_reset_data_strings()
173 data_unset *array_pop(array * const a) {
475 int array_is_vlist(const array * const a) { in array_is_vlist()
483 int array_is_kvany(const array * const a) { in array_is_kvany()
491 int array_is_kvarray(const array * const a) { in array_is_kvarray()
[all …]
H A Dmod_setenv.c14 const array *request_header;
15 const array *set_request_header;
16 const array *response_header;
17 const array *set_response_header;
18 const array *environment;
19 const array *set_environment;
84 static void mod_setenv_prep_ext (const array * const ac) { in mod_setenv_prep_ext()
85 array *a; in mod_setenv_prep_ext()
86 *(const array **)&a = ac; in mod_setenv_prep_ext()
194 const array * const aa = hctx->conf.request_header; in URIHANDLER_FUNC()
[all …]
H A Dbase.h99 array *upload_tempdirs;
115 const array *feature_flags;
119 array *modules;
120 array *config_touched;
121 array empty_array;
144 array *config_context;
H A Dgw_backend.h156 const array *bin_env;
158 const array *bin_env_copy;
205 const array *xsendfile_docroot;
271 const array *ext_mapping;
357 int gw_set_defaults_backend(server *srv, gw_plugin_data *p, const array *a, gw_plugin_config *s, in…
H A Dmod_maxminddb.c96 const array *env;
107 const array *env;
117 array *env;
146 const array * const env = pcenv->env; in FREE_FUNC()
193 mod_maxminddb_prep_cenv (server *srv, const array * const env) in mod_maxminddb_prep_cenv()
347 geoip2_env_set (request_st * const r, array * const env, in geoip2_env_set()
410 mod_maxminddb_geoip2 (request_st * const r, array * const env, in mod_maxminddb_geoip2()
462 const array * const env = (*hctx)->env; in REQUEST_FUNC()
473 array *env = NULL; in REQUEST_FUNC()
H A Dmod_access.c11 const array *access_allow;
12 const array *access_deny;
99 static int mod_access_check (const array * const allow, const array * const deny, const buffer * co… in mod_access_check()
H A Dmod_auth_api.h45 array user;
46 array group;
47 array host;
H A Dstat_cache.h44 const buffer * stat_cache_mimetype_by_ext(const array *mimetypes, const char *name, uint32_t nlen);
48 const buffer * stat_cache_content_type_get_by_xattr(stat_cache_entry *sce, const array *mimetypes, …
51 const buffer * stat_cache_content_type_get_by_ext(stat_cache_entry *sce, const array *mimetypes);
H A Drequest.h22 const array *mimetypes;
150 array rqst_headers;
154 array env; /* used to pass lighttpd internal stuff */
175 array resp_headers;
H A Dlemon.c5330 array.ht = (x1node**)&(array.tbl[arrSize]); in Strsafe_insert()
5337 if( array.ht[h] ) array.ht[h]->from = &(newnp->next); in Strsafe_insert()
5498 array.ht = (x2node**)&(array.tbl[arrSize]); in Symbol_insert()
5505 if( array.ht[h] ) array.ht[h]->from = &(newnp->next); in Symbol_insert()
5574 if( array ){ in Symbol_arrayof()
5577 return array; in Symbol_arrayof()
5697 array.ht = (x3node**)&(array.tbl[arrSize]); in State_insert()
5704 if( array.ht[h] ) array.ht[h]->from = &(newnp->next); in State_insert()
5753 if( array ){ in State_arrayof()
5837 array.ht = (x4node**)&(array.tbl[arrSize]); in Configtable_insert()
[all …]
H A Dmod_expire.c22 const array *expire_url;
23 const array *expire_mimetypes;
194 const array *a = NULL; in SETDEFAULTS_FUNC()
213 array *m; in SETDEFAULTS_FUNC()
214 *(const array **)&m = a; in SETDEFAULTS_FUNC()
H A Dplugin_config.h115 const array *a;
143 int config_plugin_values_init_block(server * const srv, const array * const ca, const config_plugin…
207 extern array plugin_stats;
H A Dconfigparser.y33 static data_config * configparser_get_data_config(const array *a, const char *k, const size_t klen)… in configparser_get_data_config()
123 array *dst = &((data_array *)op1)->value; in configparser_merge_data()
124 array *src = &((data_array *)op2)->value; in configparser_merge_data()
383 %type aelements {array *}
384 %type array {array *}
394 %destructor array { array_free($$); }
446 array *vars = ctx->current->value; in key()
554 value(A) ::= array(B). { in value()
561 array(A) ::= LPARAN RPARAN. { in array() function
564 array(A) ::= LPARAN aelements(B) RPARAN. { in array() function
H A Dconfigfile.h56 array *value;
71 array *all_configs;
H A Dmod_userdir.c22 const array *exclude_user;
23 const array *include_user;
157 static int mod_userdir_in_vlist_nc(const array * const a, const char * const k, const size_t klen) { in mod_userdir_in_vlist_nc()
165 static int mod_userdir_in_vlist(const array * const a, const char * const k, const size_t klen) { in mod_userdir_in_vlist()
H A Dmod_extforward.c71 const array *forwarder;
82 const array *forwarder;
86 const array *headers;
96 array *default_headers;
97 array tokens;
117 array *env;
369 array *a; in SETDEFAULTS_FUNC()
370 *(const array **)&a = cpv->v.a; in SETDEFAULTS_FUNC()
545 static const buffer *last_not_in_array(array *a, plugin_data *p) in last_not_in_array()
625 array * const forward_array = &p->tokens; in mod_extforward_X_Forwarded_For()
[all …]
H A Dmod_alias.c14 const array *alias;
52 static int mod_alias_check_order(server * const srv, const array * const a) { in mod_alias_check_order()
121 mod_alias_remap (request_st * const r, const array * const aliases) in mod_alias_remap()
H A Dchunk.h52 const array *tempdirs;
82 void chunkqueue_set_tempdirs_default (const array *tempdirs, off_t upload_temp_file_size);
84 void chunkqueue_set_tempdirs(chunkqueue * restrict cq, const array * restrict tempdirs, off_t uploa…
H A Dmod_evhost.c37 array split_vals;
215 static void mod_evhost_parse_host(buffer *key, array *host, buffer *authority) { in mod_evhost_parse_host()
276 static void mod_evhost_build_doc_root_path(buffer *b, array *parsed_host, buffer *authority, const … in mod_evhost_build_doc_root_path()
/lighttpd1.4/src/t/
H A Dtest_array.c14 array *a = array_init(0); in test_array_get_int_ptr()
33 array *a = array_init(0); in test_array_insert_value()
45 array *a = array_init(0); in test_array_set_key_value()
H A Dtest_mod_indexfile.c23 run_mod_indexfile_tryfiles (request_st * const r, const array * const indexfiles, int line, int sta… in run_mod_indexfile_tryfiles()
58 array * const indexfiles = array_init(3); in test_mod_indexfile_tryfiles()
100 array * const mimetypes = array_init(0); in test_mod_indexfile()
H A Dtest_mod_access.c11 array *allow = array_init(0); in test_mod_access_check()
12 array *deny = array_init(0); in test_mod_access_check()
H A Dtest_mod_evhost.c15 …st_build_doc_root_path_loop(struct ttt *tt, size_t nelts, buffer *authority, buffer *b, array *a) { in test_mod_evhost_build_doc_root_path_loop()
29 array *a = array_init(0); in test_mod_evhost_build_doc_root_path()
H A Dtest_mod_staticfile.c47 array * const mimetypes_empty = array_init(0); in test_http_response_send_file()
48 const array * const mimetypes_orig = r->conf.mimetypes; in test_http_response_send_file()
354 array * const a = array_init(1); in test_mod_staticfile_process()
404 array * const mimetypes = array_init(1); in test_mod_staticfile()

123