Home
last modified time | relevance | path

Searched refs:nxt_cpymem (Results 1 – 25 of 32) sorted by relevance

12

/unit/src/
H A Dnxt_errno.c119 p = nxt_cpymem(p, msg, length); in nxt_strerror_start()
151 return nxt_cpymem(errstr, msg->start, size); in nxt_runtime_strerror()
H A Dnxt_java.c112 p = nxt_cpymem(path, process->isolation.rootfs, rootfs_len); in nxt_java_setup()
113 p = nxt_cpymem(p, relpath, jars_dir_len); in nxt_java_setup()
173 jurl = nxt_cpymem(jurl, "file:", nxt_length("file:")); in nxt_java_module_jars()
174 jurl = nxt_cpymem(jurl, nxt_java_modules, modules_len); in nxt_java_module_jars()
180 jurl = nxt_cpymem(jurl, *jar, nxt_strlen(*jar)); in nxt_java_module_jars()
327 opt = nxt_cpymem(opt, "file:", nxt_length("file:")); in nxt_java_start()
330 opt = nxt_cpymem(opt, real_path, real_path_len); in nxt_java_start()
H A Dnxt_file.h39 nxt_cpymem(dst, src, len)
43 nxt_cpymem(dst, src, len)
H A Dnxt_fastcgi_source.c234 p = nxt_cpymem(p, nxt_fastcgi_begin_request, 16); in nxt_fastcgi_request_create()
239 b->mem.free = nxt_cpymem(p, nxt_fastcgi_params_record, 8); in nxt_fastcgi_request_create()
270 b->mem.free = nxt_cpymem(b->mem.free, param.buf, len); in nxt_fastcgi_request_create()
320 p = nxt_cpymem(b->mem.free, nxt_fastcgi_params_record, 8); in nxt_fastcgi_request_create()
323 b->mem.free = nxt_cpymem(p, nxt_fastcgi_stdin_record, 8); in nxt_fastcgi_request_create()
H A Dnxt_h1proto.c725 b->mem.free = nxt_cpymem(b->mem.pos, in->mem.pos, used); in nxt_h1p_header_buffer_test()
1331 p = nxt_cpymem(p, field->name, field->name_length); in nxt_h1p_request_header_send()
1333 p = nxt_cpymem(p, field->value, field->value_length); in nxt_h1p_request_header_send()
1355 p = nxt_cpymem(p, chunked, nxt_length(chunked)); in nxt_h1p_request_header_send()
1907 p = nxt_cpymem(out->mem.free, NXT_H1P_IDLE_TIMEOUT, in nxt_h1p_idle_response()
1912 out->mem.free = nxt_cpymem(p, "\r\n\r\n", 4); in nxt_h1p_idle_response()
2286 p = nxt_cpymem(p, r->method->start, r->method->length); in nxt_h1p_peer_header_send()
2288 p = nxt_cpymem(p, r->target.start, r->target.length); in nxt_h1p_peer_header_send()
2289 p = nxt_cpymem(p, " HTTP/1.1\r\n", 11); in nxt_h1p_peer_header_send()
2290 p = nxt_cpymem(p, "Connection: close\r\n", 19); in nxt_h1p_peer_header_send()
[all …]
H A Dnxt_php_sapi.c539 p = nxt_cpymem(p, str.start, str.length); in nxt_php_set_target()
569 p = nxt_cpymem(p, target->root.start, target->root.length); in nxt_php_set_target()
572 p = nxt_cpymem(p, str.start, str.length); in nxt_php_set_target()
653 p = nxt_cpymem(p, workdir, wdlen); in nxt_php_set_ini_path()
660 p = nxt_cpymem(p, ini_path->start, ini_path->length); in nxt_php_set_ini_path()
1005 p = nxt_cpymem(p, ctx->root->start, ctx->root->length); in nxt_php_dynamic_request()
1006 p = nxt_cpymem(p, path.start, path.length); in nxt_php_dynamic_request()
1009 p = nxt_cpymem(p, script_name.start, script_name.length); in nxt_php_dynamic_request()
H A Dnxt_cert.c885 p = nxt_cpymem(buf, rt->certs.start, rt->certs.length); in nxt_cert_store_load()
886 p = nxt_cpymem(p, name.start, name.length + 1); in nxt_cert_store_load()
1025 b->mem.free = nxt_cpymem(b->mem.free, de->d_name, size);
1172 p = nxt_cpymem(file.name, rt->certs.start, rt->certs.length); in nxt_cert_store_get_handler()
1173 p = nxt_cpymem(p, name.start, name.length + 1); in nxt_cert_store_get_handler()
1247 p = nxt_cpymem(path, rt->certs.start, rt->certs.length); in nxt_cert_store_delete_handler()
1248 p = nxt_cpymem(p, name.start, name.length + 1); in nxt_cert_store_delete_handler()
H A Dnxt_isolation.c588 p = nxt_cpymem(mnt[i].dst, rootfs, rootfs_len); in nxt_isolation_set_lang_mounts()
589 p = nxt_cpymem(p, lang_mnt[i].dst, len); in nxt_isolation_set_lang_mounts()
614 p = nxt_cpymem(mnt->dst, rootfs, rootfs_len); in nxt_isolation_set_lang_mounts()
615 p = nxt_cpymem(p, "/tmp", 4); in nxt_isolation_set_lang_mounts()
633 p = nxt_cpymem(mnt->dst, rootfs, rootfs_len); in nxt_isolation_set_lang_mounts()
634 p = nxt_cpymem(p, "/proc", 5); in nxt_isolation_set_lang_mounts()
H A Dnxt_controller.c600 b->mem.free = nxt_cpymem(b->mem.pos, &size, sizeof(size_t)); in nxt_controller_conf_send()
800 b->mem.free = nxt_cpymem(b->mem.free, c->read->mem.pos, preread); in nxt_controller_conn_read()
1807 b->mem.free = nxt_cpymem(b->mem.pos, path->start, path->length); in nxt_controller_process_control()
1940 b->mem.free = nxt_cpymem(b->mem.pos, &size, sizeof(size_t)); in nxt_controller_conf_store()
2073 body->mem.free = nxt_cpymem(body->mem.free, "\r\n", 2); in nxt_controller_response()
2093 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
2094 b->mem.free = nxt_cpymem(b->mem.free, status_line.start, in nxt_controller_response()
2101 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
2110 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
2119 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
H A Dnxt_var.c607 p = nxt_cpymem(p, &src[last], next - last); in nxt_var_query_finish()
610 p = nxt_cpymem(p, part[j]->start, part[j]->length); in nxt_var_query_finish()
616 p = nxt_cpymem(p, &src[last], var->length - last); in nxt_var_query_finish()
H A Dnxt_http_websocket.c79 buf->mem.free = nxt_cpymem(buf->mem.free, b->mem.pos, in nxt_http_websocket_client()
H A Dnxt_router.c3799 p = nxt_cpymem(buf, nxt_sockaddr_address(r->remote), in nxt_router_access_log_writer()
3802 p = nxt_cpymem(p, " - - [", 6); in nxt_router_access_log_writer()
3806 p = nxt_cpymem(p, "] \"", 3); in nxt_router_access_log_writer()
3825 p = nxt_cpymem(p, "\" ", 2); in nxt_router_access_log_writer()
3835 p = nxt_cpymem(p, " \"", 2); in nxt_router_access_log_writer()
3844 p = nxt_cpymem(p, "\" \"", 3); in nxt_router_access_log_writer()
3853 p = nxt_cpymem(p, "\"\n", 2); in nxt_router_access_log_writer()
5578 p = nxt_cpymem(p, r->method->start, r->method->length); in nxt_router_prepare_msg()
5588 p = nxt_cpymem(p, nxt_sockaddr_address(r->remote), in nxt_router_prepare_msg()
5608 p = nxt_cpymem(p, r->target.start, r->target.length); in nxt_router_prepare_msg()
[all …]
H A Dnxt_application.c630 p = nxt_cpymem(p, nxt_app_conf->name.start, nxt_app_conf->name.length); in nxt_proto_start_process_handler()
631 p = nxt_cpymem(p, "\" application", 13); in nxt_proto_start_process_handler()
878 p = nxt_cpymem(env, name.start, name.length); in nxt_app_set_environment()
880 p = nxt_cpymem(p, value.start, value.length); in nxt_app_set_environment()
908 p = nxt_cpymem(dst, src, len); in nxt_cstr_dup()
H A Dnxt_external.c194 p = nxt_cpymem(p, str.start, str.length); in nxt_external_start()
H A Dnxt_fs.c260 dst = nxt_cpymem(dst, start, end - start); in nxt_fs_mkdir_all()
H A Dnxt_string.h59 nxt_cpymem(void *dst, const void *src, size_t length) in nxt_cpymem() function
H A Dnxt_port.c398 b->mem.free = nxt_cpymem(b->mem.free, &slot, sizeof(nxt_uint_t)); in nxt_port_change_log_file()
492 buf->mem.free = nxt_cpymem(buf->mem.free, &pid, sizeof(pid)); in nxt_port_remove_notify_others()
H A Dnxt_http_static.c337 p = nxt_cpymem(p, shr->start, shr->length); in nxt_http_static_send_ready()
338 p = nxt_cpymem(p, index->start, index->length); in nxt_http_static_send_ready()
629 p = nxt_cpymem(p, r->path->start, r->path->length); in nxt_http_static_send_ready()
H A Dnxt_main_process.c444 p = nxt_cpymem(p, init->name, app_conf->name.length); in nxt_main_start_process_handler()
445 p = nxt_cpymem(p, "\" prototype", 11); in nxt_main_start_process_handler()
683 buf->mem.free = nxt_cpymem(buf->mem.free, &pid, sizeof(nxt_pid_t)); in nxt_main_process_whoami_handler()
1083 out->mem.free = nxt_cpymem(out->mem.free, ls.start, size); in nxt_main_port_socket_handler()
H A Dnxt_thread_time.c346 return nxt_cpymem(buf, tsc->string.start, tsc->string.length); in nxt_thread_time_string()
H A Dnxt_buf.c325 b->mem.free = nxt_cpymem(b->mem.free, i->mem.pos, nxt_buf_used_size(i)); in nxt_buf_make_plain()
H A Dnxt_sprintf.c567 buf = nxt_cpymem(buf, p, length); in nxt_vsprintf()
H A Dnxt_string.c78 p = nxt_cpymem(dst, src->start, src->length); in nxt_str_cstrz()
H A Dnxt_conf_validation.c1258 p = nxt_cpymem(p, "either ", 7); in nxt_conf_vldt_type()
1266 p = nxt_cpymem(p, type_name[t].start, type_name[t].length); in nxt_conf_vldt_type()
1279 p = nxt_cpymem(p, " or", 3); in nxt_conf_vldt_type()
1693 p = nxt_cpymem(temp.start, name.start, name.length); in nxt_conf_vldt_share()
/unit/src/python/
H A Dnxt_python_wsgi.c796 p = nxt_cpymem(p, "HTTP_", 5); in nxt_python_field_name()
838 p = nxt_cpymem(p, src, f->value_length); in nxt_python_field_value()
841 p = nxt_cpymem(p, ", ", 2); in nxt_python_field_value()
844 p = nxt_cpymem(p, src, f[i].value_length); in nxt_python_field_value()

12