Home
last modified time | relevance | path

Searched refs:ngx_pnalloc (Results 1 – 25 of 77) sorted by relevance

1234

/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_crypt.c131 *encrypted = ngx_pnalloc(pool, sizeof("$apr1$") - 1 + saltlen + 1 + 22 + 1); in ngx_crypt_apr1()
175 *encrypted = ngx_pnalloc(pool, sizeof("{PLAIN}") - 1 + len + 1); in ngx_crypt_plain()
204 decoded.data = ngx_pnalloc(pool, len); in ngx_crypt_ssha()
226 *encrypted = ngx_pnalloc(pool, len); in ngx_crypt_ssha()
258 *encrypted = ngx_pnalloc(pool, len); in ngx_crypt_sha()
H A Dngx_palloc.h80 void *ngx_pnalloc(ngx_pool_t *pool, size_t size);
H A Dngx_proxy_protocol.c109 c->proxy_protocol_addr.data = ngx_pnalloc(c->pool, len); in ngx_proxy_protocol_read()
324 c->proxy_protocol_addr.data = ngx_pnalloc(c->pool, NGX_SOCKADDR_STRLEN); in ngx_proxy_protocol_v2_read()
/f-stack/app/nginx-1.16.1/src/mail/
H A Dngx_mail_smtp_module.c170 p = ngx_pnalloc(cf->pool, size); in ngx_mail_smtp_merge_srv_conf()
185 p = ngx_pnalloc(cf->pool, size); in ngx_mail_smtp_merge_srv_conf()
225 p = ngx_pnalloc(cf->pool, size); in ngx_mail_smtp_merge_srv_conf()
273 p = ngx_pnalloc(cf->pool, size); in ngx_mail_smtp_merge_srv_conf()
292 p = ngx_pnalloc(cf->pool, size); in ngx_mail_smtp_merge_srv_conf()
H A Dngx_mail_pop3_module.c197 p = ngx_pnalloc(cf->pool, size); in ngx_mail_pop3_merge_srv_conf()
237 p = ngx_pnalloc(cf->pool, size); in ngx_mail_pop3_merge_srv_conf()
269 p = ngx_pnalloc(cf->pool, size); in ngx_mail_pop3_merge_srv_conf()
298 p = ngx_pnalloc(cf->pool, stls_only_size); in ngx_mail_pop3_merge_srv_conf()
H A Dngx_mail_imap_module.c192 p = ngx_pnalloc(cf->pool, size); in ngx_mail_imap_merge_srv_conf()
225 p = ngx_pnalloc(cf->pool, size); in ngx_mail_imap_merge_srv_conf()
242 p = ngx_pnalloc(cf->pool, size); in ngx_mail_imap_merge_srv_conf()
H A Dngx_mail_pop3_handler.c50 s->out.data = ngx_pnalloc(c->pool, sizeof(pop3_greeting) + s->salt.len); in ngx_mail_pop3_init_session()
299 s->login.data = ngx_pnalloc(c->pool, s->login.len); in ngx_mail_pop3_user()
326 s->passwd.data = ngx_pnalloc(c->pool, s->passwd.len); in ngx_mail_pop3_pass()
419 s->login.data = ngx_pnalloc(c->pool, s->login.len); in ngx_mail_pop3_apop()
427 s->passwd.data = ngx_pnalloc(c->pool, s->passwd.len); in ngx_mail_pop3_apop()
H A Dngx_mail_proxy_module.c248 line.data = ngx_pnalloc(c->pool, line.len); in ngx_mail_proxy_pop3_handler()
267 line.data = ngx_pnalloc(c->pool, line.len); in ngx_mail_proxy_pop3_handler()
363 line.data = ngx_pnalloc(c->pool, line.len); in ngx_mail_proxy_imap_handler()
382 line.data = ngx_pnalloc(c->pool, line.len); in ngx_mail_proxy_imap_handler()
402 line.data = ngx_pnalloc(c->pool, line.len); in ngx_mail_proxy_imap_handler()
499 line.data = ngx_pnalloc(c->pool, line.len); in ngx_mail_proxy_smtp_handler()
542 line.data = ngx_pnalloc(c->pool, line.len); in ngx_mail_proxy_smtp_handler()
591 line.data = ngx_pnalloc(c->pool, line.len); in ngx_mail_proxy_smtp_handler()
615 line.data = ngx_pnalloc(c->pool, line.len); in ngx_mail_proxy_smtp_handler()
635 line.data = ngx_pnalloc(c->pool, line.len); in ngx_mail_proxy_smtp_handler()
H A Dngx_mail_handler.c361 s->salt.data = ngx_pnalloc(c->pool, in ngx_mail_salt()
413 plain.data = ngx_pnalloc(c->pool, ngx_base64_decoded_length(arg[n].len)); in ngx_mail_auth_plain()
470 s->login.data = ngx_pnalloc(c->pool, ngx_base64_decoded_length(arg[n].len)); in ngx_mail_auth_login_username()
500 s->passwd.data = ngx_pnalloc(c->pool, in ngx_mail_auth_login_password()
529 p = ngx_pnalloc(c->pool, len + ngx_base64_encoded_length(s->salt.len) + 2); in ngx_mail_auth_cram_md5_salt()
561 s->login.data = ngx_pnalloc(c->pool, ngx_base64_decoded_length(arg[0].len)); in ngx_mail_auth_cram_md5()
610 external.data = ngx_pnalloc(c->pool, ngx_base64_decoded_length(arg[n].len)); in ngx_mail_auth_external()
H A Dngx_mail_imap_handler.c260 s->tagged_line.data = ngx_pnalloc(c->pool, s->tagged_line.len); in ngx_mail_imap_auth_state()
318 s->login.data = ngx_pnalloc(c->pool, s->login.len); in ngx_mail_imap_login()
326 s->passwd.data = ngx_pnalloc(c->pool, s->passwd.len); in ngx_mail_imap_login()
H A Dngx_mail_auth_http_module.c541 p = ngx_pnalloc(s->connection->pool, size); in ngx_mail_auth_http_process_headers()
606 s->login.data = ngx_pnalloc(s->connection->pool, s->login.len); in ngx_mail_auth_http_process_headers()
627 s->passwd.data = ngx_pnalloc(s->connection->pool, in ngx_mail_auth_http_process_headers()
665 ctx->errcode.data = ngx_pnalloc(s->connection->pool, in ngx_mail_auth_http_process_headers()
705 p = ngx_pnalloc(s->connection->pool, ctx->err.len); in ngx_mail_auth_http_process_headers()
819 peer->name.data = ngx_pnalloc(s->connection->pool, len); in ngx_mail_auth_http_process_headers()
1405 p = ngx_pnalloc(pool, escaped->len); in ngx_mail_auth_http_escape()
1479 p = ngx_pnalloc(cf->pool, len); in ngx_mail_auth_http_merge_conf()
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_user.c30 *encrypted = ngx_pnalloc(pool, len); in ngx_libc_crypt()
58 *encrypted = ngx_pnalloc(pool, len); in ngx_libc_crypt()
/f-stack/app/nginx-1.16.1/src/stream/
H A Dngx_stream_variables.c177 v->name.data = ngx_pnalloc(cf->pool, name->len); in ngx_stream_add_variable()
245 v->name.data = ngx_pnalloc(cf->pool, name->len); in ngx_stream_add_prefix_variable()
305 v->name.data = ngx_pnalloc(cf->pool, name->len); in ngx_stream_get_variable_index()
610 str.data = ngx_pnalloc(s->connection->pool, str.len); in ngx_stream_variable_server_addr()
663 p = ngx_pnalloc(s->connection->pool, NGX_OFF_T_LEN); in ngx_stream_variable_bytes()
692 p = ngx_pnalloc(s->connection->pool, NGX_TIME_T_LEN + 4); in ngx_stream_variable_session_time()
717 v->data = ngx_pnalloc(s->connection->pool, NGX_INT_T_LEN); in ngx_stream_variable_status()
737 p = ngx_pnalloc(s->connection->pool, NGX_ATOMIC_T_LEN); in ngx_stream_variable_connection()
786 p = ngx_pnalloc(s->connection->pool, NGX_INT64_LEN); in ngx_stream_variable_pid()
808 p = ngx_pnalloc(s->connection->pool, NGX_TIME_T_LEN + 4); in ngx_stream_variable_msec()
[all …]
H A Dngx_stream_geoip_module.c379 v->data = ngx_pnalloc(s->connection->pool, len); in ngx_stream_geoip_org_variable()
423 v->data = ngx_pnalloc(s->connection->pool, len); in ngx_stream_geoip_city_variable()
474 v->data = ngx_pnalloc(s->connection->pool, len); in ngx_stream_geoip_region_name_variable()
509 v->data = ngx_pnalloc(s->connection->pool, NGX_INT64_LEN + 5); in ngx_stream_geoip_city_float_variable()
541 v->data = ngx_pnalloc(s->connection->pool, NGX_INT64_LEN); in ngx_stream_geoip_city_int_variable()
H A Dngx_stream_realip_module.c154 p = ngx_pnalloc(c->pool, len); in ngx_stream_realip_set_addr()
389 v->data = ngx_pnalloc(s->connection->pool, sizeof("65535") - 1); in ngx_stream_realip_remote_port_variable()
H A Dngx_stream_upstream.c155 p = ngx_pnalloc(s->connection->pool, len); in ngx_stream_upstream_addr_variable()
203 p = ngx_pnalloc(s->connection->pool, len); in ngx_stream_upstream_bytes_variable()
257 p = ngx_pnalloc(s->connection->pool, len); in ngx_stream_upstream_response_time_variable()
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_variables.c900 p = ngx_pnalloc(r->pool, len); in ngx_http_variable_headers_internal()
1372 s.data = ngx_pnalloc(r->pool, s.len); in ngx_http_variable_server_addr()
1591 v->data = ngx_pnalloc(r->pool, len); in ngx_http_variable_realpath_root()
1707 p = ngx_pnalloc(r->pool, NGX_OFF_T_LEN); in ngx_http_variable_bytes_sent()
1735 p = ngx_pnalloc(r->pool, NGX_OFF_T_LEN); in ngx_http_variable_body_bytes_sent()
2055 p = ngx_pnalloc(r->pool, len); in ngx_http_variable_request_body()
2103 p = ngx_pnalloc(r->pool, NGX_OFF_T_LEN); in ngx_http_variable_request_length()
2157 id = ngx_pnalloc(r->pool, 32); in ngx_http_variable_request_id()
2215 p = ngx_pnalloc(r->pool, NGX_INT_T_LEN); in ngx_http_variable_connection_requests()
2264 p = ngx_pnalloc(r->pool, NGX_INT64_LEN); in ngx_http_variable_pid()
[all …]
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_random_index_module.c183 filename = ngx_pnalloc(r->pool, allocated); in ngx_http_random_index_handler()
223 name->data = ngx_pnalloc(r->pool, len); in ngx_http_random_index_handler()
248 uri.data = ngx_pnalloc(r->pool, uri.len); in ngx_http_random_index_handler()
H A Dngx_http_range_filter_module.c432 content_range->value.data = ngx_pnalloc(r->pool, in ngx_http_range_singlepart_header()
483 ctx->boundary_header.data = ngx_pnalloc(r->pool, size); in ngx_http_range_multipart_header()
528 ngx_pnalloc(r->pool, in ngx_http_range_multipart_header()
560 ngx_pnalloc(r->pool, 3 * NGX_OFF_T_LEN + 2 + 4); in ngx_http_range_multipart_header()
604 content_range->value.data = ngx_pnalloc(r->pool, in ngx_http_range_not_satisfiable()
890 b->pos = ngx_pnalloc(r->pool, sizeof(CRLF "--") - 1 + NGX_ATOMIC_T_LEN in ngx_http_range_multipart_body()
H A Dngx_http_geoip_module.c417 v->data = ngx_pnalloc(r->pool, len); in ngx_http_geoip_org_variable()
461 v->data = ngx_pnalloc(r->pool, len); in ngx_http_geoip_city_variable()
512 v->data = ngx_pnalloc(r->pool, len); in ngx_http_geoip_region_name_variable()
547 v->data = ngx_pnalloc(r->pool, NGX_INT64_LEN + 5); in ngx_http_geoip_city_float_variable()
579 v->data = ngx_pnalloc(r->pool, NGX_INT64_LEN); in ngx_http_geoip_city_int_variable()
H A Dngx_http_userid_filter_module.c386 cookie = ngx_pnalloc(r->pool, len); in ngx_http_userid_set_uid()
583 v->data = ngx_pnalloc(r->pool, v->len); in ngx_http_userid_variable()
727 new = ngx_pnalloc(cf->pool, sizeof("; domain=") - 1 + domain->len); in ngx_http_userid_domain()
749 new = ngx_pnalloc(cf->pool, sizeof("; path=") - 1 + path->len); in ngx_http_userid_path()
H A Dngx_http_ssi_filter_module.c1147 ctx->command.data = ngx_pnalloc(r->pool, in ngx_http_ssi_parse()
1214 ctx->param->key.data = ngx_pnalloc(r->pool, in ngx_http_ssi_parse()
1225 ctx->param->value.data = ngx_pnalloc(r->pool, in ngx_http_ssi_parse()
1414 value = ngx_pnalloc(r->pool, ctx->param->value.len + 1); in ngx_http_ssi_parse()
1655 data = ngx_pnalloc(r->pool, len); in ngx_http_ssi_evaluate_string()
1852 p = ngx_pnalloc(r->pool, len + ((flags & NGX_HTTP_SSI_ADD_ZERO) ? 1 : 0)); in ngx_http_ssi_evaluate_string()
2327 p = ngx_pnalloc(r->pool, value->len + len); in ngx_http_ssi_echo()
2342 p = ngx_pnalloc(r->pool, value->len + len); in ngx_http_ssi_echo()
2391 ctx->timefmt.data = ngx_pnalloc(r->pool, value->len + 1); in ngx_http_ssi_config()
2747 v->data = ngx_pnalloc(r->pool, NGX_TIME_T_LEN); in ngx_http_ssi_date_gmt_local_variable()
[all …]
H A Dngx_http_auth_basic_module.c258 pwd.data = ngx_pnalloc(r->pool, pwd.len + 1); in ngx_http_auth_basic_handler()
322 basic = ngx_pnalloc(r->pool, len); in ngx_http_auth_basic_set_realm()
/f-stack/app/nginx-1.16.1/src/http/modules/perl/
H A Dnginx.xs52 s->data = ngx_pnalloc(r->pool, len); in ngx_http_perl_sv2str()
250 lowcase_key = ngx_pnalloc(r->pool, len);
310 value = ngx_pnalloc(r->pool, size);
437 p = ngx_pnalloc(r->pool, len);
700 path.data = ngx_pnalloc(r->pool, path.len + 1);
836 p = ngx_pnalloc(r->pool, len + 1);
893 lowcase = ngx_pnalloc(r->pool, len);
/f-stack/app/nginx-1.16.1/src/event/
H A Dngx_event_openssl.c4259 s->data = ngx_pnalloc(pool, len); in ngx_ssl_get_ciphers()
4296 s->data = ngx_pnalloc(pool, s->len); in ngx_ssl_get_ciphers()
4343 s->data = ngx_pnalloc(pool, len); in ngx_ssl_get_curves()
4514 s->data = ngx_pnalloc(pool, len); in ngx_ssl_get_raw_certificate()
4561 s->data = ngx_pnalloc(pool, len); in ngx_ssl_get_certificate()
4598 s->data = ngx_pnalloc(pool, s->len); in ngx_ssl_get_escaped_certificate()
4740 s->data = ngx_pnalloc(pool, len); in ngx_ssl_get_subject_dn_legacy()
4783 s->data = ngx_pnalloc(pool, len); in ngx_ssl_get_issuer_dn_legacy()
4823 s->data = ngx_pnalloc(pool, len); in ngx_ssl_get_serial_number()
4936 s->data = ngx_pnalloc(pool, len); in ngx_ssl_get_client_v_start()
[all …]

1234