Home
last modified time | relevance | path

Searched refs:nxt_cpymem (Results 1 – 25 of 36) 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_js.c94 p = nxt_cpymem(p, func_str.start, func_str.length); in nxt_js_add_tpl()
95 p = nxt_cpymem(p, str->start, str->length); in nxt_js_add_tpl()
98 p = nxt_cpymem(p, strz_str.start, strz_str.length); in nxt_js_add_tpl()
151 p = nxt_cpymem(p, func[i].start, func[i].length); in nxt_js_compile()
H A Dnxt_php_sapi.c542 p = nxt_cpymem(p, str.start, str.length); in nxt_php_set_target()
575 p = nxt_cpymem(p, str.start, str.length); in nxt_php_set_target()
656 p = nxt_cpymem(p, workdir, wdlen); in nxt_php_set_ini_path()
663 p = nxt_cpymem(p, ini_path->start, ini_path->length); in nxt_php_set_ini_path()
947 p = nxt_cpymem(url, proto, strlen(proto)); in nxt_php_do_301()
948 p = nxt_cpymem(p, nxt_unit_sptr_get(&r->server_name), in nxt_php_do_301()
957 p = nxt_cpymem(p, port, r->local_port_length); in nxt_php_do_301()
1054 p = nxt_cpymem(p, path.start, path.length); in nxt_php_dynamic_request()
1083 p = nxt_cpymem(p, ctx->root->start, ctx->root->length); in nxt_php_dynamic_request()
1084 p = nxt_cpymem(p, path.start, path.length); in nxt_php_dynamic_request()
[all …]
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_fs.c35 dst = nxt_cpymem(dst, start, end - start); in nxt_fs_mkdir_all()
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_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_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()
1908 p = nxt_cpymem(out->mem.free, NXT_H1P_IDLE_TIMEOUT, in nxt_h1p_idle_response()
1913 out->mem.free = nxt_cpymem(p, "\r\n\r\n", 4); in nxt_h1p_idle_response()
2287 p = nxt_cpymem(p, r->method->start, r->method->length); in nxt_h1p_peer_header_send()
2289 p = nxt_cpymem(p, r->target.start, r->target.length); in nxt_h1p_peer_header_send()
2290 p = nxt_cpymem(p, " HTTP/1.1\r\n", 11); in nxt_h1p_peer_header_send()
2291 p = nxt_cpymem(p, "Connection: close\r\n", 19); in nxt_h1p_peer_header_send()
[all …]
H A Dnxt_var.c561 p = nxt_cpymem(p, &src[last], next - last); in nxt_var_interpreter()
564 p = nxt_cpymem(p, part[i]->start, part[i]->length); in nxt_var_interpreter()
574 p = nxt_cpymem(p, &src[last], var->length - last); in nxt_var_interpreter()
H A Dnxt_http_variables.c292 p = nxt_cpymem(p, r->method->start, r->method->length); in nxt_http_var_request_line()
296 p = nxt_cpymem(p, r->target.start, r->target.length); in nxt_http_var_request_line()
300 p = nxt_cpymem(p, r->version.start, r->version.length); in nxt_http_var_request_line()
H A Dnxt_controller.c608 b->mem.free = nxt_cpymem(b->mem.pos, &size, sizeof(size_t)); in nxt_controller_conf_send()
816 b->mem.free = nxt_cpymem(b->mem.free, c->read->mem.pos, preread); in nxt_controller_conn_read()
1976 b->mem.free = nxt_cpymem(b->mem.pos, path->start, path->length); in nxt_controller_process_control()
2109 b->mem.free = nxt_cpymem(b->mem.pos, &size, sizeof(size_t)); in nxt_controller_conf_store()
2242 body->mem.free = nxt_cpymem(body->mem.free, "\r\n", 2); in nxt_controller_response()
2262 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
2263 b->mem.free = nxt_cpymem(b->mem.free, status_line.start, in nxt_controller_response()
2270 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
2279 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
2288 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
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_application.c637 p = nxt_cpymem(p, nxt_app_conf->name.start, nxt_app_conf->name.length); in nxt_proto_start_process_handler()
638 p = nxt_cpymem(p, "\" application", 13); in nxt_proto_start_process_handler()
921 p = nxt_cpymem(env, name.start, name.length); in nxt_app_set_environment()
923 p = nxt_cpymem(p, value.start, value.length); in nxt_app_set_environment()
951 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_string.h59 nxt_cpymem(void *dst, const void *src, size_t length) in nxt_cpymem() function
H A Dnxt_tstr.c105 p = nxt_cpymem(tstr->str.start, str->start, str->length); in nxt_tstr_compile()
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.c344 p = nxt_cpymem(p, shr->start, shr->length); in nxt_http_static_send_ready()
345 p = nxt_cpymem(p, index->start, index->length); in nxt_http_static_send_ready()
636 p = nxt_cpymem(p, r->path->start, r->path->length); in nxt_http_static_send_ready()
H A Dnxt_main_process.c432 p = nxt_cpymem(p, init->name, app_conf->name.length); in nxt_main_start_process_handler()
433 p = nxt_cpymem(p, "\" prototype", 11); in nxt_main_start_process_handler()
671 buf->mem.free = nxt_cpymem(buf->mem.free, &pid, sizeof(nxt_pid_t)); in nxt_main_process_whoami_handler()
1071 out->mem.free = nxt_cpymem(out->mem.free, ls.start, size); in nxt_main_port_socket_handler()
H A Dnxt_router.c5247 p = nxt_cpymem(p, r->method->start, r->method->length); in nxt_router_prepare_msg()
5252 p = nxt_cpymem(p, r->version.start, r->version.length); in nxt_router_prepare_msg()
5257 p = nxt_cpymem(p, nxt_sockaddr_address(r->remote), in nxt_router_prepare_msg()
5268 p = nxt_cpymem(p, nxt_sockaddr_port(r->local), in nxt_router_prepare_msg()
5283 p = nxt_cpymem(p, r->target.start, r->target.length); in nxt_router_prepare_msg()
5292 p = nxt_cpymem(p, r->path->start, r->path->length); in nxt_router_prepare_msg()
5347 p = nxt_cpymem(p, prefix->start, prefix->length); in nxt_router_prepare_msg()
5368 p = nxt_cpymem(p, field->name, field->name_length); in nxt_router_prepare_msg()
5374 p = nxt_cpymem(p, field->value, field->value_length); in nxt_router_prepare_msg()
5391 p = nxt_cpymem(p, ", ", 2); in nxt_router_prepare_msg()
[all …]
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()
/unit/src/python/
H A Dnxt_python_wsgi.c814 p = nxt_cpymem(p, "HTTP_", 5); in nxt_python_field_name()
856 p = nxt_cpymem(p, src, f->value_length); in nxt_python_field_value()
859 p = nxt_cpymem(p, ", ", 2); in nxt_python_field_value()
862 p = nxt_cpymem(p, src, f[i].value_length); in nxt_python_field_value()

12