| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_hash.c | 475 if (ngx_array_init(&curr_names, hinit->temp_pool, nelts, in ngx_hash_wildcard_init() 482 if (ngx_array_init(&next_names, hinit->temp_pool, nelts, in ngx_hash_wildcard_init() 677 if (ngx_array_init(&ha->dns_wc_head, ha->temp_pool, asize, in ngx_hash_keys_array_init() 684 if (ngx_array_init(&ha->dns_wc_tail, ha->temp_pool, asize, in ngx_hash_keys_array_init() 696 ha->dns_wc_head_hash = ngx_pcalloc(ha->temp_pool, in ngx_hash_keys_array_init() 702 ha->dns_wc_tail_hash = ngx_pcalloc(ha->temp_pool, in ngx_hash_keys_array_init() 804 if (ngx_array_init(&ha->keys_hash[k], ha->temp_pool, 4, in ngx_hash_add_key() 873 name->data = ngx_pnalloc(ha->temp_pool, name->len); in ngx_hash_add_key() 889 p = ngx_pnalloc(ha->temp_pool, last); in ngx_hash_add_key() 925 p = ngx_pnalloc(ha->temp_pool, last); in ngx_hash_add_key() [all …]
|
| H A D | ngx_hash.h | 61 ngx_pool_t *temp_pool; member 79 ngx_pool_t *temp_pool; member
|
| H A D | ngx_conf_file.h | 122 ngx_pool_t *temp_pool; member
|
| H A D | ngx_cycle.c | 251 conf.temp_pool = ngx_create_pool(NGX_CYCLE_POOL_SIZE, log); in ngx_init_cycle() 252 if (conf.temp_pool == NULL) { in ngx_init_cycle() 757 ngx_destroy_pool(conf.temp_pool); in ngx_init_cycle() 936 ngx_destroy_pool(conf->temp_pool); in ngx_destroy_cycle_pools()
|
| H A D | ngx_conf_file.c | 143 sn = ngx_palloc(cf->temp_pool, sizeof(ngx_str_node_t)); in ngx_conf_add_dump()
|
| /f-stack/app/nginx-1.16.1/src/http/ |
| H A D | ngx_http.c | 441 hash.temp_pool = NULL; in ngx_http_init_headers_in_hash() 849 *locations = ngx_palloc(cf->temp_pool, in ngx_http_add_location() 1153 cmcf->ports = ngx_array_create(cf->temp_pool, 2, in ngx_http_add_listen() 1443 if (ha.temp_pool == NULL) { in ngx_http_server_names() 1498 hash.temp_pool = NULL; in ngx_http_server_names() 1511 hash.temp_pool = ha.temp_pool; in ngx_http_server_names() 1529 hash.temp_pool = ha.temp_pool; in ngx_http_server_names() 1541 ngx_destroy_pool(ha.temp_pool); in ngx_http_server_names() 1574 ngx_destroy_pool(ha.temp_pool); in ngx_http_server_names() 2007 hash.temp_pool = NULL; in ngx_http_merge_types() [all …]
|
| H A D | ngx_http_variables.c | 2574 cmcf->variables_keys = ngx_pcalloc(cf->temp_pool, in ngx_http_variables_add_core_vars() 2581 cmcf->variables_keys->temp_pool = cf->pool; in ngx_http_variables_add_core_vars() 2703 hash.temp_pool = NULL; in ngx_http_variables_init_vars()
|
| H A D | ngx_http_upstream.c | 6308 if (ngx_array_init(&hide_headers, cf->temp_pool, 4, sizeof(ngx_hash_key_t)) in ngx_http_upstream_hide_headers_hash() 6377 hash->temp_pool = NULL; in ngx_http_upstream_hide_headers_hash() 6448 if (ngx_array_init(&headers_in, cf->temp_pool, 32, sizeof(ngx_hash_key_t)) in ngx_http_upstream_init_main_conf() 6471 hash.temp_pool = NULL; in ngx_http_upstream_init_main_conf()
|
| H A D | ngx_http_core_module.c | 3279 if (ngx_array_init(&cscf->server_names, cf->temp_pool, 4, in ngx_http_core_create_srv_conf() 3554 types_hash.temp_pool = NULL; in ngx_http_core_merge_loc_conf() 3596 types_hash.temp_pool = NULL; in ngx_http_core_merge_loc_conf()
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_referer_module.c | 402 hash.temp_pool = NULL; in ngx_http_referer_merge_conf() 419 hash.temp_pool = cf->temp_pool; in ngx_http_referer_merge_conf() 439 hash.temp_pool = cf->temp_pool; in ngx_http_referer_merge_conf() 481 rlcf->keys = ngx_pcalloc(cf->temp_pool, sizeof(ngx_hash_keys_arrays_t)); in ngx_http_valid_referers() 487 rlcf->keys->temp_pool = cf->pool; in ngx_http_valid_referers()
|
| H A D | ngx_http_map_module.c | 244 ctx.keys.temp_pool = pool; in ngx_http_map_block() 303 hash.temp_pool = NULL; in ngx_http_map_block() 320 hash.temp_pool = pool; in ngx_http_map_block() 340 hash.temp_pool = pool; in ngx_http_map_block()
|
| H A D | ngx_http_geo_module.c | 53 ngx_pool_t *temp_pool; member 453 ctx.temp_pool = ngx_create_pool(NGX_DEFAULT_POOL_SIZE, cf->log); in ngx_http_geo_block() 454 if (ctx.temp_pool == NULL) { in ngx_http_geo_block() 572 ngx_destroy_pool(ctx.temp_pool); in ngx_http_geo_block() 579 ngx_destroy_pool(ctx.temp_pool); in ngx_http_geo_block() 812 a = ngx_array_create(ctx->temp_pool, 64, in ngx_http_geo_add_range() 1277 gvvn = ngx_palloc(ctx->temp_pool, in ngx_http_geo_value() 1359 file.data = ngx_pnalloc(ctx->temp_pool, name->len + 5); in ngx_http_geo_include() 1589 fm.name = ngx_pnalloc(ctx->temp_pool, ctx->include_name.len + 5); in ngx_http_geo_create_binary_base()
|
| H A D | ngx_http_scgi_module.c | 1648 if (ngx_array_init(&headers_names, cf->temp_pool, 4, sizeof(ngx_hash_key_t)) in ngx_http_scgi_init_params() 1664 if (ngx_array_init(¶ms_merged, cf->temp_pool, 4, in ngx_http_scgi_init_params() 1812 hash.temp_pool = NULL; in ngx_http_scgi_init_params()
|
| H A D | ngx_http_uwsgi_module.c | 1917 if (ngx_array_init(&headers_names, cf->temp_pool, 4, sizeof(ngx_hash_key_t)) in ngx_http_uwsgi_init_params() 1933 if (ngx_array_init(¶ms_merged, cf->temp_pool, 4, in ngx_http_uwsgi_init_params() 2081 hash.temp_pool = NULL; in ngx_http_uwsgi_init_params()
|
| H A D | ngx_http_ssi_filter_module.c | 2831 smcf->commands.temp_pool = cf->temp_pool; in ngx_http_ssi_create_main_conf() 2854 hash.temp_pool = NULL; in ngx_http_ssi_init_main_conf()
|
| H A D | ngx_http_fastcgi_module.c | 3188 if (ngx_array_init(&headers_names, cf->temp_pool, 4, sizeof(ngx_hash_key_t)) in ngx_http_fastcgi_init_params() 3204 if (ngx_array_init(¶ms_merged, cf->temp_pool, 4, in ngx_http_fastcgi_init_params() 3352 hash.temp_pool = NULL; in ngx_http_fastcgi_init_params()
|
| H A D | ngx_http_grpc_module.c | 4381 if (ngx_array_init(&headers_names, cf->temp_pool, 4, sizeof(ngx_hash_key_t)) in ngx_http_grpc_init_headers() 4387 if (ngx_array_init(&headers_merged, cf->temp_pool, 4, sizeof(ngx_keyval_t)) in ngx_http_grpc_init_headers() 4529 hash.temp_pool = NULL; in ngx_http_grpc_init_headers()
|
| H A D | ngx_http_proxy_module.c | 3455 if (ngx_array_init(&headers_names, cf->temp_pool, 4, sizeof(ngx_hash_key_t)) in ngx_http_proxy_init_headers() 3461 if (ngx_array_init(&headers_merged, cf->temp_pool, 4, sizeof(ngx_keyval_t)) in ngx_http_proxy_init_headers() 3597 hash.temp_pool = NULL; in ngx_http_proxy_init_headers()
|
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream_map_module.c | 242 ctx.keys.temp_pool = pool; in ngx_stream_map_block() 302 hash.temp_pool = NULL; in ngx_stream_map_block() 319 hash.temp_pool = pool; in ngx_stream_map_block() 339 hash.temp_pool = pool; in ngx_stream_map_block()
|
| H A D | ngx_stream_geo_module.c | 52 ngx_pool_t *temp_pool; member 423 ctx.temp_pool = ngx_create_pool(NGX_DEFAULT_POOL_SIZE, cf->log); in ngx_stream_geo_block() 424 if (ctx.temp_pool == NULL) { in ngx_stream_geo_block() 539 ngx_destroy_pool(ctx.temp_pool); in ngx_stream_geo_block() 546 ngx_destroy_pool(ctx.temp_pool); in ngx_stream_geo_block() 762 a = ngx_array_create(ctx->temp_pool, 64, in ngx_stream_geo_add_range() 1227 gvvn = ngx_palloc(ctx->temp_pool, in ngx_stream_geo_value() 1285 file.data = ngx_pnalloc(ctx->temp_pool, name->len + 5); in ngx_stream_geo_include() 1517 fm.name = ngx_pnalloc(ctx->temp_pool, ctx->include_name.len + 5); in ngx_stream_geo_create_binary_base()
|
| H A D | ngx_stream.c | 254 if (ngx_array_init(&ports, cf->temp_pool, 4, sizeof(ngx_stream_conf_port_t)) in ngx_stream_block() 418 if (ngx_array_init(&port->addrs, cf->temp_pool, 2, in ngx_stream_add_ports()
|
| H A D | ngx_stream_variables.c | 1110 cmcf->variables_keys = ngx_pcalloc(cf->temp_pool, in ngx_stream_variables_add_core_vars() 1117 cmcf->variables_keys->temp_pool = cf->pool; in ngx_stream_variables_add_core_vars() 1238 hash.temp_pool = NULL; in ngx_stream_variables_init_vars()
|
| /f-stack/app/nginx-1.16.1/src/mail/ |
| H A D | ngx_mail.c | 206 if (ngx_array_init(&ports, cf->temp_pool, 4, sizeof(ngx_mail_conf_port_t)) in ngx_mail_block() 258 if (ngx_array_init(&port->addrs, cf->temp_pool, 2, in ngx_mail_add_ports()
|
| /f-stack/app/nginx-1.16.1/src/event/ |
| H A D | ngx_event_openssl.c | 1129 passwords = ngx_array_create(cf->temp_pool, 4, sizeof(ngx_str_t)); in ngx_ssl_read_password_file() 1134 cln = ngx_pool_cleanup_add(cf->temp_pool, 0); in ngx_ssl_read_password_file() 1192 pwd->data = ngx_pnalloc(cf->temp_pool, len); in ngx_ssl_read_password_file()
|