Home
last modified time | relevance | path

Searched refs:nxt_cpymem (Results 1 – 25 of 36) sorted by path

12

/unit/src/
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()
1004 p = nxt_cpymem(dst, src, len); in nxt_cstr_dup()
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_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_conf.c2273 return nxt_cpymem(p, "null", 4); in nxt_conf_json_print()
2276 return value->u.boolean ? nxt_cpymem(p, "true", 4) in nxt_conf_json_print()
2277 : nxt_cpymem(p, "false", 5); in nxt_conf_json_print()
H A Dnxt_conf_validation.c1469 p = nxt_cpymem(p, "either ", 7); in nxt_conf_vldt_type()
1477 p = nxt_cpymem(p, type_name[t].start, type_name[t].length); in nxt_conf_vldt_type()
1490 p = nxt_cpymem(p, " or", 3); in nxt_conf_vldt_type()
H A Dnxt_controller.c633 b->mem.free = nxt_cpymem(b->mem.pos, &size, sizeof(size_t)); in nxt_controller_conf_send()
841 b->mem.free = nxt_cpymem(b->mem.free, c->read->mem.pos, preread); in nxt_controller_conn_read()
2330 b->mem.free = nxt_cpymem(b->mem.pos, path->start, path->length); in nxt_controller_process_control()
2463 b->mem.free = nxt_cpymem(b->mem.pos, &size, sizeof(size_t)); in nxt_controller_conf_store()
2596 body->mem.free = nxt_cpymem(body->mem.free, "\r\n", 2); in nxt_controller_response()
2616 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
2617 b->mem.free = nxt_cpymem(b->mem.free, status_line.start, in nxt_controller_response()
2624 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
2633 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
2642 b->mem.free = nxt_cpymem(b->mem.free, str.start, str.length); in nxt_controller_response()
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_external.c194 p = nxt_cpymem(p, str.start, str.length); in nxt_external_start()
H A Dnxt_file.h39 nxt_cpymem(dst, src, len)
43 nxt_cpymem(dst, src, len)
H A Dnxt_fs.c35 dst = nxt_cpymem(dst, start, end - start); in nxt_fs_mkdir_all()
H A Dnxt_h1proto.c735 b->mem.free = nxt_cpymem(b->mem.pos, in->mem.pos, used); in nxt_h1p_header_buffer_test()
1341 p = nxt_cpymem(p, field->name, field->name_length); in nxt_h1p_request_header_send()
1343 p = nxt_cpymem(p, field->value, field->value_length); in nxt_h1p_request_header_send()
1365 p = nxt_cpymem(p, chunked, nxt_length(chunked)); in nxt_h1p_request_header_send()
1918 p = nxt_cpymem(out->mem.free, NXT_H1P_IDLE_TIMEOUT, in nxt_h1p_idle_response()
1923 out->mem.free = nxt_cpymem(p, "\r\n\r\n", 4); in nxt_h1p_idle_response()
2297 p = nxt_cpymem(p, r->method->start, r->method->length); in nxt_h1p_peer_header_send()
2299 p = nxt_cpymem(p, r->target.start, r->target.length); in nxt_h1p_peer_header_send()
2300 p = nxt_cpymem(p, " HTTP/1.1\r\n", 11); in nxt_h1p_peer_header_send()
2301 p = nxt_cpymem(p, "Connection: close\r\n", 19); in nxt_h1p_peer_header_send()
[all …]
H A Dnxt_h1proto_websocket.c621 out->mem.free = nxt_cpymem(p, desc.start, desc.length); in hxt_h1p_send_ws_error()
H A Dnxt_http_rewrite.c91 p = nxt_cpymem(target.start, encoded_path.start, encoded_path.length); in nxt_http_rewrite()
H A Dnxt_http_static.c345 p = nxt_cpymem(p, shr->start, shr->length); in nxt_http_static_send_ready()
346 p = nxt_cpymem(p, index->start, index->length); in nxt_http_static_send_ready()
637 p = nxt_cpymem(p, r->path->start, r->path->length); in nxt_http_static_send_ready()
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_isolation.c642 p = nxt_cpymem(mnt[i].dst, rootfs, rootfs_len); in nxt_isolation_set_lang_mounts()
643 p = nxt_cpymem(p, lang_mnt[i].dst, len); in nxt_isolation_set_lang_mounts()
668 p = nxt_cpymem(mnt->dst, rootfs, rootfs_len); in nxt_isolation_set_lang_mounts()
669 p = nxt_cpymem(p, "/tmp", 4); in nxt_isolation_set_lang_mounts()
687 p = nxt_cpymem(mnt->dst, rootfs, rootfs_len); in nxt_isolation_set_lang_mounts()
688 p = nxt_cpymem(p, "/proc", 5); in nxt_isolation_set_lang_mounts()
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_js.c176 p = nxt_cpymem(p, import_str.start, import_str.length); in nxt_js_vm_create()
179 p = nxt_cpymem(p, mod->name.start, mod->name.length); in nxt_js_vm_create()
182 p = nxt_cpymem(p, from_str.start, from_str.length); in nxt_js_vm_create()
186 p = nxt_cpymem(p, mod->name.start, mod->name.length); in nxt_js_vm_create()
194 p = nxt_cpymem(p, mod->name.start, mod->name.length); in nxt_js_vm_create()
199 p = nxt_cpymem(p, mod->name.start, mod->name.length); in nxt_js_vm_create()
264 p = nxt_cpymem(p, func_str.start, func_str.length); in nxt_js_add_tpl()
265 p = nxt_cpymem(p, str->start, str->length); in nxt_js_add_tpl()
268 p = nxt_cpymem(p, strz_str.start, strz_str.length); in nxt_js_add_tpl()
322 p = nxt_cpymem(start, jcf->init.start, jcf->init.length); in nxt_js_compile()
[all …]
H A Dnxt_main_process.c519 p = nxt_cpymem(p, init->name, app_conf->name.length); in nxt_main_start_process_handler()
520 p = nxt_cpymem(p, "\" prototype", 11); in nxt_main_start_process_handler()
763 buf->mem.free = nxt_cpymem(buf->mem.free, &pid, sizeof(nxt_pid_t)); in nxt_main_process_whoami_handler()
1167 out->mem.free = nxt_cpymem(out->mem.free, ls.start, size); in nxt_main_port_socket_handler()
H A Dnxt_php_sapi.c547 p = nxt_cpymem(p, str.start, str.length); in nxt_php_set_target()
580 p = nxt_cpymem(p, str.start, str.length); in nxt_php_set_target()
661 p = nxt_cpymem(p, workdir, wdlen); in nxt_php_set_ini_path()
668 p = nxt_cpymem(p, ini_path->start, ini_path->length); in nxt_php_set_ini_path()
952 p = nxt_cpymem(url, proto, strlen(proto)); in nxt_php_do_301()
953 p = nxt_cpymem(p, nxt_unit_sptr_get(&r->server_name), in nxt_php_do_301()
962 p = nxt_cpymem(p, port, r->local_port_length); in nxt_php_do_301()
1078 p = nxt_cpymem(p, path.start, path.length); in nxt_php_dynamic_request()
1109 p = nxt_cpymem(p, ctx->root->start, ctx->root->length); in nxt_php_dynamic_request()
1110 p = nxt_cpymem(p, path.start, path.length); in nxt_php_dynamic_request()
[all …]
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_process.c782 buf->mem.free = nxt_cpymem(buf->mem.free, &nxt_ppid, sizeof(nxt_pid_t)); in nxt_process_whoami()
H A Dnxt_router.c3893 b->mem.free = nxt_cpymem(b->mem.free, ls->sockaddr, size); in nxt_router_listen_socket_release()
5448 p = nxt_cpymem(p, r->method->start, r->method->length); in nxt_router_prepare_msg()
5453 p = nxt_cpymem(p, r->version.start, r->version.length); in nxt_router_prepare_msg()
5458 p = nxt_cpymem(p, nxt_sockaddr_address(r->remote), in nxt_router_prepare_msg()
5469 p = nxt_cpymem(p, nxt_sockaddr_port(r->local), in nxt_router_prepare_msg()
5484 p = nxt_cpymem(p, r->target.start, r->target.length); in nxt_router_prepare_msg()
5493 p = nxt_cpymem(p, r->path->start, r->path->length); in nxt_router_prepare_msg()
5548 p = nxt_cpymem(p, prefix->start, prefix->length); in nxt_router_prepare_msg()
5569 p = nxt_cpymem(p, field->name, field->name_length); in nxt_router_prepare_msg()
5575 p = nxt_cpymem(p, field->value, field->value_length); in nxt_router_prepare_msg()
[all …]
H A Dnxt_router_access_log.c134 p = nxt_cpymem(str.start, alcf.format.start, alcf.format.length); in nxt_router_access_log_create()
H A Dnxt_runtime.c1470 p = nxt_cpymem(name->start, buf, length); in nxt_current_directory()

12