Home
last modified time | relevance | path

Searched refs:temp_pool (Results 1 – 24 of 24) sorted by relevance

/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_hash.c475 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 Dngx_hash.h61 ngx_pool_t *temp_pool; member
79 ngx_pool_t *temp_pool; member
H A Dngx_conf_file.h122 ngx_pool_t *temp_pool; member
H A Dngx_cycle.c251 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 Dngx_conf_file.c143 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 Dngx_http.c441 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 Dngx_http_variables.c2574 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 Dngx_http_upstream.c6308 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 Dngx_http_core_module.c3279 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 Dngx_http_referer_module.c402 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 Dngx_http_map_module.c244 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 Dngx_http_geo_module.c53 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 Dngx_http_scgi_module.c1648 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(&params_merged, cf->temp_pool, 4, in ngx_http_scgi_init_params()
1812 hash.temp_pool = NULL; in ngx_http_scgi_init_params()
H A Dngx_http_uwsgi_module.c1917 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(&params_merged, cf->temp_pool, 4, in ngx_http_uwsgi_init_params()
2081 hash.temp_pool = NULL; in ngx_http_uwsgi_init_params()
H A Dngx_http_ssi_filter_module.c2831 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 Dngx_http_fastcgi_module.c3188 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(&params_merged, cf->temp_pool, 4, in ngx_http_fastcgi_init_params()
3352 hash.temp_pool = NULL; in ngx_http_fastcgi_init_params()
H A Dngx_http_grpc_module.c4381 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 Dngx_http_proxy_module.c3455 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 Dngx_stream_map_module.c242 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 Dngx_stream_geo_module.c52 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 Dngx_stream.c254 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 Dngx_stream_variables.c1110 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 Dngx_mail.c206 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 Dngx_event_openssl.c1129 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()