Home
last modified time | relevance | path

Searched refs:nxt_file_t (Results 1 – 18 of 18) sorted by relevance

/unit/src/
H A Dnxt_file.h99 } nxt_file_t; typedef
102 NXT_EXPORT nxt_int_t nxt_file_open(nxt_task_t *task, nxt_file_t *file,
106 NXT_EXPORT nxt_int_t nxt_file_openat2(nxt_task_t *task, nxt_file_t *file,
154 NXT_EXPORT void nxt_file_close(nxt_task_t *task, nxt_file_t *file);
155 NXT_EXPORT ssize_t nxt_file_write(nxt_file_t *file, const u_char *buf,
157 NXT_EXPORT ssize_t nxt_file_read(nxt_file_t *file, u_char *buf, size_t size,
159 NXT_EXPORT void nxt_file_read_ahead(nxt_file_t *file, nxt_off_t offset,
161 NXT_EXPORT nxt_int_t nxt_file_info(nxt_file_t *file, nxt_file_info_t *fi);
189 NXT_EXPORT nxt_int_t nxt_file_redirect(nxt_file_t *file, nxt_fd_t fd);
190 NXT_EXPORT nxt_int_t nxt_file_stderr(nxt_file_t *file);
H A Dnxt_mem_pool_cleanup.c14 nxt_mem_pool_file_cleanup(nxt_mem_pool_t *mp, nxt_file_t *file) in nxt_mem_pool_file_cleanup()
32 nxt_file_t *file; in nxt_mem_pool_file_cleanup_handler()
H A Dnxt_file.c11 nxt_file_open(nxt_task_t *task, nxt_file_t *file, nxt_uint_t mode, in nxt_file_open()
48 nxt_file_openat2(nxt_task_t *task, nxt_file_t *file, nxt_uint_t mode, in nxt_file_openat2()
90 nxt_file_close(nxt_task_t *task, nxt_file_t *file) in nxt_file_close()
102 nxt_file_write(nxt_file_t *file, const u_char *buf, size_t size, in nxt_file_write()
163 nxt_file_read_ahead(nxt_file_t *file, nxt_off_t offset, size_t size) in nxt_file_read_ahead()
201 nxt_file_read_ahead(nxt_file_t *file, nxt_off_t offset, size_t size) in nxt_file_read_ahead()
225 nxt_file_read_ahead(nxt_file_t *file, nxt_off_t offset, size_t size) in nxt_file_read_ahead()
246 nxt_file_read_ahead(nxt_file_t *file, nxt_off_t offset, size_t size) in nxt_file_read_ahead()
257 nxt_file_info(nxt_file_t *file, nxt_file_info_t *fi) in nxt_file_info()
509 nxt_file_redirect(nxt_file_t *file, nxt_fd_t fd) in nxt_file_redirect()
[all …]
H A Dnxt_mem_pool_cleanup.h12 nxt_file_t *file);
H A Dnxt_file_event.h12 nxt_file_t *file;
H A Dnxt_job_file_cache.c13 nxt_file_t file;
H A Dnxt_job_file.h49 nxt_file_t file;
H A Dnxt_job_file.c65 nxt_file_t *file; in nxt_job_file_open_and_read()
209 nxt_file_t *file; in nxt_job_file_info()
H A Dnxt_runtime.c758 nxt_file_t *file; in nxt_runtime_conf_init()
1184 nxt_file_t *file; in nxt_runtime_log_files_init()
1187 log_files = nxt_list_create(rt->mem_pool, 1, sizeof(nxt_file_t)); in nxt_runtime_log_files_init()
1205 nxt_file_t *
1209 nxt_file_t *file; in nxt_runtime_log_file_add()
1248 nxt_file_t *file; in nxt_runtime_log_files_create()
1365 nxt_file_t file; in nxt_runtime_pid_file_create()
1368 nxt_memzero(&file, sizeof(nxt_file_t)); in nxt_runtime_pid_file_create()
H A Dnxt_runtime.h132 nxt_file_t *nxt_runtime_log_file_add(nxt_runtime_t *rt, nxt_str_t *name);
H A Dnxt_http_static.c306 nxt_file_t *f, file; in nxt_http_static_send_ready()
367 nxt_memzero(&file, sizeof(nxt_file_t)); in nxt_http_static_send_ready()
410 nxt_file_t af; in nxt_http_static_send_ready()
413 nxt_memzero(&file, sizeof(nxt_file_t)); in nxt_http_static_send_ready()
495 f = nxt_mp_get(r->mem_pool, sizeof(nxt_file_t)); in nxt_http_static_send_ready()
H A Dnxt_main_process.c790 nxt_file_t *file, *new_file; in nxt_main_process_sigusr1_handler()
813 new_files = nxt_array_create(mp, n, sizeof(nxt_file_t)); in nxt_main_process_sigusr1_handler()
1543 nxt_file_t file; in nxt_main_file_store()
1545 nxt_memzero(&file, sizeof(nxt_file_t)); in nxt_main_file_store()
1573 nxt_file_t file; in nxt_main_port_access_log_handler()
1581 nxt_memzero(&file, sizeof(nxt_file_t)); in nxt_main_port_access_log_handler()
H A Dnxt_buf.h95 nxt_file_t *file;
H A Dnxt_cert.c821 nxt_file_t file; in nxt_cert_store_load()
888 nxt_memzero(&file, sizeof(nxt_file_t)); in nxt_cert_store_load()
1129 nxt_file_t file; in nxt_cert_store_get_handler()
1151 nxt_memzero(&file, sizeof(nxt_file_t)); in nxt_cert_store_get_handler()
H A Dnxt_h1proto.c888 body_buffer_size + sizeof(nxt_file_t) in nxt_h1p_request_body_read()
907 tmp_name.start = nxt_pointer_to(b->mem.start, sizeof(nxt_file_t)); in nxt_h1p_request_body_read()
914 b->file = (nxt_file_t *) b->mem.start; in nxt_h1p_request_body_read()
915 nxt_memzero(b->file, sizeof(nxt_file_t)); in nxt_h1p_request_body_read()
919 b->mem.start += sizeof(nxt_file_t) + tmp_name.length + 1; in nxt_h1p_request_body_read()
H A Dnxt_port.c412 nxt_file_t *log_file; in nxt_port_change_log_file_handler()
H A Dnxt_controller.c228 nxt_file_t file; in nxt_controller_file_read()
231 nxt_memzero(&file, sizeof(nxt_file_t)); in nxt_controller_file_read()
/unit/src/test/
H A Dnxt_utf8_file_name_test.c48 nxt_file_t uc_file, lc_file; in nxt_utf8_file_name_test()
67 nxt_memzero(&uc_file, sizeof(nxt_file_t)); in nxt_utf8_file_name_test()
72 nxt_memzero(&lc_file, sizeof(nxt_file_t)); in nxt_utf8_file_name_test()