Home
last modified time | relevance | path

Searched refs:ngx_cpymem (Results 1 – 25 of 56) sorted by relevance

123

/f-stack/app/nginx-1.16.1/src/mail/
H A Dngx_mail_pop3_module.c205 p = ngx_cpymem(p, "+OK Capability list follows" CRLF, in ngx_mail_pop3_merge_srv_conf()
209 p = ngx_cpymem(p, c[i].data, c[i].len); in ngx_mail_pop3_merge_srv_conf()
213 p = ngx_cpymem(p, "SASL", sizeof("SASL") - 1); in ngx_mail_pop3_merge_srv_conf()
225 p = ngx_cpymem(p, ngx_mail_pop3_auth_methods_names[i].data, in ngx_mail_pop3_merge_srv_conf()
245 p = ngx_cpymem(p, conf->capability.data, in ngx_mail_pop3_merge_srv_conf()
248 p = ngx_cpymem(p, "STLS" CRLF, sizeof("STLS" CRLF) - 1); in ngx_mail_pop3_merge_srv_conf()
277 p = ngx_cpymem(p, "+OK methods supported:" CRLF, in ngx_mail_pop3_merge_srv_conf()
289 p = ngx_cpymem(p, ngx_mail_pop3_auth_methods_names[i].data, in ngx_mail_pop3_merge_srv_conf()
306 p = ngx_cpymem(p, "+OK Capability list follows" CRLF, in ngx_mail_pop3_merge_srv_conf()
314 p = ngx_cpymem(p, c[i].data, c[i].len); in ngx_mail_pop3_merge_srv_conf()
[all …]
H A Dngx_mail_imap_module.c200 p = ngx_cpymem(p, "* CAPABILITY", sizeof("* CAPABILITY") - 1); in ngx_mail_imap_merge_srv_conf()
204 p = ngx_cpymem(p, c[i].data, c[i].len); in ngx_mail_imap_merge_srv_conf()
215 p = ngx_cpymem(p, ngx_mail_imap_auth_methods_names[i].data, in ngx_mail_imap_merge_srv_conf()
233 p = ngx_cpymem(p, conf->capability.data, in ngx_mail_imap_merge_srv_conf()
235 p = ngx_cpymem(p, " STARTTLS", sizeof(" STARTTLS") - 1); in ngx_mail_imap_merge_srv_conf()
250 p = ngx_cpymem(p, conf->capability.data, in ngx_mail_imap_merge_srv_conf()
252 p = ngx_cpymem(p, " STARTTLS LOGINDISABLED", in ngx_mail_imap_merge_srv_conf()
H A Dngx_mail_smtp_module.c179 p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len); in ngx_mail_smtp_merge_srv_conf()
194 p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len); in ngx_mail_smtp_merge_srv_conf()
236 p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len); in ngx_mail_smtp_merge_srv_conf()
242 p = ngx_cpymem(p, c[i].data, c[i].len); in ngx_mail_smtp_merge_srv_conf()
260 p = ngx_cpymem(p, ngx_mail_smtp_auth_methods_names[i].data, in ngx_mail_smtp_merge_srv_conf()
281 p = ngx_cpymem(p, conf->capability.data, conf->capability.len); in ngx_mail_smtp_merge_srv_conf()
300 p = ngx_cpymem(p, conf->capability.data, auth - conf->capability.data); in ngx_mail_smtp_merge_srv_conf()
H A Dngx_mail_auth_http_module.c566 p = ngx_cpymem(p, ctx->header_start, len); in ngx_mail_auth_http_process_headers()
1250 b->last = ngx_cpymem(b->last, " HTTP/1.0" CRLF, in ngx_mail_auth_http_create_request()
1258 b->last = ngx_cpymem(b->last, "Auth-Method: ", in ngx_mail_auth_http_create_request()
1260 b->last = ngx_cpymem(b->last, in ngx_mail_auth_http_create_request()
1280 b->last = ngx_cpymem(b->last, "Auth-Protocol: ", in ngx_mail_auth_http_create_request()
1282 b->last = ngx_cpymem(b->last, cscf->protocol->name.data, in ngx_mail_auth_http_create_request()
1295 b->last = ngx_cpymem(b->last, "Client-Host: ", in ngx_mail_auth_http_create_request()
1305 b->last = ngx_cpymem(b->last, "Auth-SMTP-Helo: ", in ngx_mail_auth_http_create_request()
1310 b->last = ngx_cpymem(b->last, "Auth-SMTP-From: ", in ngx_mail_auth_http_create_request()
1315 b->last = ngx_cpymem(b->last, "Auth-SMTP-To: ", in ngx_mail_auth_http_create_request()
[all …]
H A Dngx_mail_proxy_module.c254 p = ngx_cpymem(line.data, "USER ", sizeof("USER ") - 1); in ngx_mail_proxy_pop3_handler()
255 p = ngx_cpymem(p, s->login.data, s->login.len); in ngx_mail_proxy_pop3_handler()
273 p = ngx_cpymem(line.data, "PASS ", sizeof("PASS ") - 1); in ngx_mail_proxy_pop3_handler()
274 p = ngx_cpymem(p, s->passwd.data, s->passwd.len); in ngx_mail_proxy_pop3_handler()
408 p = ngx_cpymem(line.data, s->passwd.data, s->passwd.len); in ngx_mail_proxy_imap_handler()
507 p = ngx_cpymem(line.data, in ngx_mail_proxy_smtp_handler()
552 p = ngx_cpymem(p, "IPV6:", sizeof("IPV6:") - 1); in ngx_mail_proxy_smtp_handler()
560 p = ngx_cpymem(p, " LOGIN=", sizeof(" LOGIN=") - 1); in ngx_mail_proxy_smtp_handler()
564 p = ngx_cpymem(p, " NAME=", sizeof(" NAME=") - 1); in ngx_mail_proxy_smtp_handler()
621 p = ngx_cpymem(line.data, s->smtp_from.data, s->smtp_from.len); in ngx_mail_proxy_smtp_handler()
[all …]
H A Dngx_mail_imap_handler.c270 p = ngx_cpymem(p, s->text.data, s->text.len); in ngx_mail_imap_auth_state()
273 p = ngx_cpymem(p, s->tag.data, s->tag.len); in ngx_mail_imap_auth_state()
H A Dngx_mail_pop3_handler.c56 p = ngx_cpymem(s->out.data, pop3_greeting, sizeof(pop3_greeting) - 3); in ngx_mail_pop3_init_session()
58 p = ngx_cpymem(p, s->salt.data, s->salt.len); in ngx_mail_pop3_init_session()
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_autoindex_module.c526 b->last = ngx_cpymem(b->last, title, sizeof(title) - 1); in ngx_http_autoindex_html()
647 b->last = ngx_cpymem(b->last, " -", in ngx_http_autoindex_html()
696 b->last = ngx_cpymem(b->last, tail, sizeof(tail) - 1); in ngx_http_autoindex_html()
757 b->last = ngx_cpymem(b->last, CRLF "{ \"name\":\"", in ngx_http_autoindex_json()
768 b->last = ngx_cpymem(b->last, "\", \"type\":\"", in ngx_http_autoindex_json()
781 b->last = ngx_cpymem(b->last, "\", \"mtime\":\"", in ngx_http_autoindex_json()
787 b->last = ngx_cpymem(b->last, "\", \"size\":", in ngx_http_autoindex_json()
894 b->last = ngx_cpymem(b->last, head, sizeof(head) - 1); in ngx_http_autoindex_xml()
909 b->last = ngx_cpymem(b->last, type.data, type.len); in ngx_http_autoindex_xml()
921 b->last = ngx_cpymem(b->last, "\" size=\"", in ngx_http_autoindex_xml()
[all …]
H A Dngx_http_userid_filter_module.c408 p = ngx_cpymem(p, ctx->cookie.data, 22); in ngx_http_userid_set_uid()
414 p = ngx_cpymem(p, expires, sizeof(expires) - 1); in ngx_http_userid_set_uid()
417 p = ngx_cpymem(p, expires, sizeof("; expires=") - 1); in ngx_http_userid_set_uid()
732 p = ngx_cpymem(new, "; domain=", sizeof("; domain=") - 1); in ngx_http_userid_domain()
754 p = ngx_cpymem(new, "; path=", sizeof("; path=") - 1); in ngx_http_userid_path()
H A Dngx_http_auth_basic_module.c329 p = ngx_cpymem(basic, "Basic realm=\"", sizeof("Basic realm=\"") - 1); in ngx_http_auth_basic_set_realm()
330 p = ngx_cpymem(p, realm->data, realm->len); in ngx_http_auth_basic_set_realm()
H A Dngx_http_stub_status_module.c139 b->last = ngx_cpymem(b->last, "server accepts handled requests\n", in ngx_http_stub_status_handler()
H A Dngx_http_log_module.c795 return ngx_cpymem(buf, (u_char *) op->data, op->len); in ngx_http_log_copy_long()
815 return ngx_cpymem(buf, ngx_cached_http_log_time.data, in ngx_http_log_time()
822 return ngx_cpymem(buf, ngx_cached_http_log_iso8601.data, in ngx_http_log_iso8601()
983 return ngx_cpymem(buf, value->data, value->len); in ngx_http_log_variable()
1084 return ngx_cpymem(buf, value->data, value->len); in ngx_http_log_json_variable()
1121 return ngx_cpymem(buf, value->data, value->len); in ngx_http_log_unescaped_variable()
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_header_filter_module.c465 b->last = ngx_cpymem(b->last, p, len); in ngx_http_header_filter()
469 b->last = ngx_cpymem(b->last, "Date: ", sizeof("Date: ") - 1); in ngx_http_header_filter()
470 b->last = ngx_cpymem(b->last, ngx_cached_http_time.data, in ngx_http_header_filter()
477 b->last = ngx_cpymem(b->last, "Content-Type: ", in ngx_http_header_filter()
486 b->last = ngx_cpymem(b->last, "; charset=", in ngx_http_header_filter()
510 b->last = ngx_cpymem(b->last, "Last-Modified: ", in ngx_http_header_filter()
521 b->last = ngx_cpymem(b->last, "Location: http", in ngx_http_header_filter()
555 b->last = ngx_cpymem(b->last, "Connection: upgrade" CRLF, in ngx_http_header_filter()
559 b->last = ngx_cpymem(b->last, "Connection: keep-alive" CRLF, in ngx_http_header_filter()
568 b->last = ngx_cpymem(b->last, "Connection: close" CRLF, in ngx_http_header_filter()
[all …]
H A Dngx_http_special_response.c826 p = ngx_cpymem(b->pos, ngx_http_msie_refresh_head, in ngx_http_send_refresh()
830 p = ngx_cpymem(p, location, len); in ngx_http_send_refresh()
836 b->last = ngx_cpymem(p, ngx_http_msie_refresh_tail, in ngx_http_send_refresh()
H A Dngx_http_postpone_filter_module.c244 b->last = ngx_cpymem(b->last, in->buf->pos, len); in ngx_http_postpone_filter_in_memory()
/f-stack/app/nginx-1.16.1/src/http/v2/
H A Dngx_http_v2_table.c145 p = ngx_cpymem(p, entry->name.data, rest); in ngx_http_v2_get_indexed_header()
146 p = ngx_cpymem(p, h2c->hpack.storage, entry->name.len - rest); in ngx_http_v2_get_indexed_header()
149 p = ngx_cpymem(p, entry->name.data, entry->name.len); in ngx_http_v2_get_indexed_header()
169 p = ngx_cpymem(p, entry->value.data, rest); in ngx_http_v2_get_indexed_header()
170 p = ngx_cpymem(p, h2c->hpack.storage, entry->value.len - rest); in ngx_http_v2_get_indexed_header()
173 p = ngx_cpymem(p, entry->value.data, entry->value.len); in ngx_http_v2_get_indexed_header()
243 h2c->hpack.pos = ngx_cpymem(h2c->hpack.pos, header->name.data, in ngx_http_v2_add_header()
247 h2c->hpack.pos = ngx_cpymem(h2c->hpack.storage, in ngx_http_v2_add_header()
259 h2c->hpack.pos = ngx_cpymem(h2c->hpack.pos, header->value.data, in ngx_http_v2_add_header()
263 h2c->hpack.pos = ngx_cpymem(h2c->hpack.storage, in ngx_http_v2_add_header()
H A Dngx_http_v2_encode.c28 return ngx_cpymem(dst, tmp, hlen); in ngx_http_v2_string_encode()
39 return ngx_cpymem(dst, src, len); in ngx_http_v2_string_encode()
H A Dngx_http_v2_filter_module.c349 p = ngx_cpymem(location.data, "http", sizeof("http") - 1); in ngx_http_v2_header_filter()
358 p = ngx_cpymem(p, host.data, host.len); in ngx_http_v2_header_filter()
364 p = ngx_cpymem(p, r->headers_out.location->value.data, in ngx_http_v2_header_filter()
492 pos = ngx_cpymem(pos, nginx_ver, nginx_ver_len); in ngx_http_v2_header_filter()
502 pos = ngx_cpymem(pos, nginx_ver_build, nginx_ver_build_len); in ngx_http_v2_header_filter()
505 pos = ngx_cpymem(pos, nginx, sizeof(nginx)); in ngx_http_v2_header_filter()
533 p = ngx_cpymem(p, r->headers_out.content_type.data, in ngx_http_v2_header_filter()
536 p = ngx_cpymem(p, "; charset=", sizeof("; charset=") - 1); in ngx_http_v2_header_filter()
538 p = ngx_cpymem(p, r->headers_out.charset.data, in ngx_http_v2_header_filter()
604 pos = ngx_cpymem(pos, accept_encoding, sizeof(accept_encoding)); in ngx_http_v2_header_filter()
[all …]
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_crypt.c136 p = ngx_cpymem(*encrypted, "$apr1$", sizeof("$apr1$") - 1); in ngx_crypt_apr1()
180 p = ngx_cpymem(*encrypted, "{PLAIN}", sizeof("{PLAIN}") - 1); in ngx_crypt_plain()
231 encoded.data = ngx_cpymem(*encrypted, "{SSHA}", sizeof("{SSHA}") - 1); in ngx_crypt_ssha()
263 encoded.data = ngx_cpymem(*encrypted, "{SHA}", sizeof("{SHA}") - 1); in ngx_crypt_sha()
H A Dngx_string.h97 #define ngx_cpymem(dst, src, n) (((u_char *) ngx_memcpy(dst, src, n)) + (n)) macro
107 #define ngx_cpymem(dst, src, n) (((u_char *) memcpy(dst, src, n)) + (n)) macro
132 return ngx_cpymem(dst, src, len); in ngx_copy()
138 #define ngx_copy ngx_cpymem
H A Dngx_proxy_protocol.c187 buf = ngx_cpymem(buf, "PROXY TCP4 ", sizeof("PROXY TCP4 ") - 1); in ngx_proxy_protocol_write()
192 buf = ngx_cpymem(buf, "PROXY TCP6 ", sizeof("PROXY TCP6 ") - 1); in ngx_proxy_protocol_write()
197 return ngx_cpymem(buf, "PROXY UNKNOWN" CRLF, in ngx_proxy_protocol_write()
H A Dngx_log.c117 p = ngx_cpymem(errstr, ngx_cached_err_log_time.data, in ngx_log_error_core()
267 p = ngx_cpymem(errstr, "nginx: ", 7); in ngx_log_stderr()
366 p = ngx_cpymem(name, prefix, plen);
H A Dngx_string.c254 buf = ngx_cpymem(buf, v->data, len); in ngx_vslprintf()
263 buf = ngx_cpymem(buf, vv->data, len); in ngx_vslprintf()
278 buf = ngx_cpymem(buf, p, len); in ngx_vslprintf()
575 return ngx_cpymem(buf, p, len); in ngx_sprintf_num()
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_errno.c41 return ngx_cpymem(errstr, msg->data, size); in ngx_strerror()
/f-stack/app/nginx-1.16.1/src/event/
H A Dngx_event_openssl_stapling.c1287 p = ngx_cpymem(p, "GET ", sizeof("GET ") - 1); in ngx_ssl_ocsp_create_request()
1288 p = ngx_cpymem(p, ctx->uri.data, ctx->uri.len); in ngx_ssl_ocsp_create_request()
1295 p = ngx_cpymem(p, base64.data, base64.len); in ngx_ssl_ocsp_create_request()
1302 p = ngx_cpymem(p, " HTTP/1.0" CRLF, sizeof(" HTTP/1.0" CRLF) - 1); in ngx_ssl_ocsp_create_request()
1303 p = ngx_cpymem(p, "Host: ", sizeof("Host: ") - 1); in ngx_ssl_ocsp_create_request()
1304 p = ngx_cpymem(p, ctx->host.data, ctx->host.len); in ngx_ssl_ocsp_create_request()

123