Home
last modified time | relevance | path

Searched refs:nxt_mp_t (Results 1 – 25 of 88) sorted by relevance

1234

/unit/src/
H A Dnxt_mp.h27 typedef struct nxt_mp_s nxt_mp_t; typedef
42 NXT_EXPORT void nxt_mp_destroy(nxt_mp_t *mp);
47 NXT_EXPORT void nxt_mp_retain(nxt_mp_t *mp);
53 NXT_EXPORT void nxt_mp_release(nxt_mp_t *mp);
60 NXT_EXPORT nxt_bool_t nxt_mp_is_empty(nxt_mp_t *mp);
67 NXT_EXPORT void *nxt_mp_alloc(nxt_mp_t *mp, size_t size)
87 NXT_EXPORT void nxt_mp_free(nxt_mp_t *mp, void *p);
91 NXT_EXPORT void *nxt_mp_nget(nxt_mp_t *mp, size_t size)
98 NXT_EXPORT void *nxt_mp_get(nxt_mp_t *mp, size_t size)
105 NXT_EXPORT void *nxt_mp_zget(nxt_mp_t *mp, size_t size)
[all …]
H A Dnxt_conf.h72 nxt_mp_t *pool;
76 nxt_mp_t *conf_pool;
94 NXT_EXPORT nxt_int_t nxt_conf_map_object(nxt_mp_t *mp, nxt_conf_value_t *value,
97 nxt_conf_op_ret_t nxt_conf_op_compile(nxt_mp_t *mp, nxt_conf_op_t **ops,
100 nxt_conf_value_t *nxt_conf_clone(nxt_mp_t *mp, nxt_conf_op_t *op,
103 nxt_conf_value_t *nxt_conf_json_parse(nxt_mp_t *mp, u_char *start, u_char *end,
121 nxt_mp_t *mp, const nxt_str_t *str);
127 nxt_conf_value_t *nxt_conf_create_object(nxt_mp_t *mp, nxt_uint_t count);
130 nxt_int_t nxt_conf_set_member_dup(nxt_conf_value_t *object, nxt_mp_t *mp,
134 nxt_int_t nxt_conf_set_member_string_dup(nxt_conf_value_t *object, nxt_mp_t *mp,
[all …]
H A Dnxt_cert.h19 nxt_conf_value_t *nxt_cert_info_get_all(nxt_mp_t *mp);
22 nxt_array_t *nxt_cert_store_load(nxt_task_t *task, nxt_mp_t *mem_pool);
25 void nxt_cert_store_get(nxt_task_t *task, nxt_str_t *name, nxt_mp_t *mp,
27 void nxt_cert_store_delete(nxt_task_t *task, nxt_str_t *name, nxt_mp_t *mp);
H A Dnxt_mp.c201 nxt_mp_thread_assert(nxt_mp_t *mp) in nxt_mp_thread_assert()
232 nxt_mp_thread_adopt(nxt_mp_t *mp) in nxt_mp_thread_adopt()
241 nxt_mp_t *
245 nxt_mp_t *mp; in nxt_mp_create()
287 nxt_mp_retain(nxt_mp_t *mp) in nxt_mp_retain()
296 nxt_mp_release(nxt_mp_t *mp) in nxt_mp_release()
309 nxt_mp_destroy(nxt_mp_t *mp) in nxt_mp_destroy()
382 nxt_mp_is_empty(nxt_mp_t *mp) in nxt_mp_is_empty()
645 nxt_mp_alloc_page(nxt_mp_t *mp) in nxt_mp_alloc_page()
668 nxt_mp_alloc_cluster(nxt_mp_t *mp) in nxt_mp_alloc_cluster()
[all …]
H A Dnxt_sockaddr.h65 NXT_EXPORT nxt_sockaddr_t *nxt_sockaddr_alloc(nxt_mp_t *mp, socklen_t socklen,
68 NXT_EXPORT nxt_sockaddr_t *nxt_sockaddr_create(nxt_mp_t *mp,
71 NXT_EXPORT nxt_sockaddr_t *nxt_sockaddr_copy(nxt_mp_t *mp, nxt_sockaddr_t *src)
73 NXT_EXPORT nxt_sockaddr_t *nxt_getsockname(nxt_task_t *task, nxt_mp_t *mp,
82 NXT_EXPORT nxt_sockaddr_t *nxt_sockaddr_parse(nxt_mp_t *mp, nxt_str_t *addr);
83 NXT_EXPORT nxt_sockaddr_t *nxt_sockaddr_parse_optport(nxt_mp_t *mp,
H A Dnxt_array.h17 nxt_mp_t *mem_pool;
22 nxt_array_init(nxt_array_t *array, nxt_mp_t *mp, size_t size) in nxt_array_init()
29 NXT_EXPORT nxt_array_t *nxt_array_create(nxt_mp_t *mp, nxt_uint_t n,
35 NXT_EXPORT nxt_array_t *nxt_array_copy(nxt_mp_t *mp, nxt_array_t *dst,
H A Dnxt_buf.h215 NXT_EXPORT nxt_buf_t *nxt_buf_mem_alloc(nxt_mp_t *mp, size_t size,
217 NXT_EXPORT nxt_buf_t *nxt_buf_mem_ts_alloc(nxt_task_t *task, nxt_mp_t *mp,
219 NXT_EXPORT nxt_buf_t *nxt_buf_file_alloc(nxt_mp_t *mp, size_t size,
221 NXT_EXPORT nxt_buf_t *nxt_buf_mmap_alloc(nxt_mp_t *mp, size_t size);
222 NXT_EXPORT nxt_buf_t *nxt_buf_sync_alloc(nxt_mp_t *mp, nxt_uint_t flags);
227 NXT_EXPORT nxt_buf_t *nxt_buf_make_plain(nxt_mp_t *mp, nxt_buf_t *src,
231 nxt_buf_chk_make_plain(nxt_mp_t *mp, nxt_buf_t *src, size_t size) in nxt_buf_chk_make_plain()
H A Dnxt_job.h43 nxt_mp_t *mem_pool;
59 NXT_EXPORT void *nxt_job_create(nxt_mp_t *mp, size_t size);
62 NXT_EXPORT nxt_int_t nxt_job_cleanup_add(nxt_mp_t *mp, nxt_job_t *job);
H A Dnxt_var.h18 typedef int64_t (*nxt_var_field_hash_t)(nxt_mp_t *mp, nxt_str_t *str);
36 nxt_mp_t *pool;
47 nxt_var_t *nxt_var_compile(nxt_str_t *str, nxt_mp_t *mp, nxt_array_t *fields);
H A Dnxt_regex.h33 NXT_EXPORT nxt_regex_t *nxt_regex_compile(nxt_mp_t *mp, nxt_str_t *source,
35 NXT_EXPORT nxt_regex_match_t *nxt_regex_match_create(nxt_mp_t *mp, size_t size);
H A Dnxt_tstr.h17 nxt_mp_t *pool;
40 nxt_tstr_state_t *nxt_tstr_state_new(nxt_mp_t *mp, nxt_bool_t test);
51 nxt_mp_t *mp);
H A Dnxt_buf.c31 nxt_buf_mem_alloc(nxt_mp_t *mp, size_t size, nxt_uint_t flags) in nxt_buf_mem_alloc()
57 nxt_buf_mem_ts_alloc(nxt_task_t *task, nxt_mp_t *mp, size_t size) in nxt_buf_mem_ts_alloc()
96 nxt_buf_file_alloc(nxt_mp_t *mp, size_t size, nxt_uint_t flags) in nxt_buf_file_alloc()
123 nxt_buf_mmap_alloc(nxt_mp_t *mp, size_t size) in nxt_buf_mmap_alloc()
143 nxt_buf_sync_alloc(nxt_mp_t *mp, nxt_uint_t flags) in nxt_buf_sync_alloc()
200 nxt_mp_t *mp; in nxt_buf_completion()
273 nxt_mp_t *mp; in nxt_buf_ts_completion()
302 nxt_buf_make_plain(nxt_mp_t *mp, nxt_buf_t *src, size_t size) in nxt_buf_make_plain()
H A Dnxt_http.h136 nxt_mp_t *mem_pool;
343 int64_t nxt_http_field_hash(nxt_mp_t *mp, nxt_str_t *name,
345 int64_t nxt_http_argument_hash(nxt_mp_t *mp, nxt_str_t *name);
346 int64_t nxt_http_header_hash(nxt_mp_t *mp, nxt_str_t *name);
347 int64_t nxt_http_cookie_hash(nxt_mp_t *mp, nxt_str_t *name);
355 nxt_int_t nxt_http_pass_segments(nxt_mp_t *mp, nxt_str_t *pass,
360 nxt_task_t *task, nxt_mp_t *mp, nxt_conf_value_t *cv);
364 nxt_mp_t *mp, nxt_conf_value_t *types);
383 nxt_int_t nxt_http_static_mtypes_init(nxt_mp_t *mp, nxt_lvlhsh_t *hash);
384 nxt_int_t nxt_http_static_mtypes_hash_add(nxt_mp_t *mp, nxt_lvlhsh_t *hash,
[all …]
H A Dnxt_pcre.c26 static nxt_mp_t *nxt_pcre_mp;
30 nxt_regex_compile(nxt_mp_t *mp, nxt_str_t *source, nxt_regex_err_t *err) in nxt_regex_compile()
105 nxt_regex_match_create(nxt_mp_t *mp, size_t size) in nxt_regex_match_create()
H A Dnxt_fastcgi_source.h40 nxt_mp_t *mem_pool;
87 NXT_EXPORT nxt_int_t nxt_fastcgi_source_hash_create(nxt_mp_t *mp,
H A Dnxt_http_parse.h51 nxt_mp_t *mem_pool;
99 nxt_mp_t *mem_pool;
116 nxt_mp_t *mp);
H A Dnxt_sockaddr.c14 static nxt_sockaddr_t *nxt_sockaddr_unix_parse(nxt_mp_t *mp, nxt_str_t *addr);
15 static nxt_sockaddr_t *nxt_sockaddr_inet6_parse(nxt_mp_t *mp, nxt_str_t *addr);
16 static nxt_sockaddr_t *nxt_sockaddr_inet_parse(nxt_mp_t *mp, nxt_str_t *addr);
64 nxt_sockaddr_alloc(nxt_mp_t *mp, socklen_t socklen, size_t address_length) in nxt_sockaddr_alloc()
166 nxt_sockaddr_copy(nxt_mp_t *mp, nxt_sockaddr_t *src) in nxt_sockaddr_copy()
184 nxt_getsockname(nxt_task_t *task, nxt_mp_t *mp, nxt_socket_t s) in nxt_getsockname()
524 nxt_sockaddr_parse(nxt_mp_t *mp, nxt_str_t *addr) in nxt_sockaddr_parse()
544 nxt_sockaddr_parse_optport(nxt_mp_t *mp, nxt_str_t *addr) in nxt_sockaddr_parse_optport()
572 nxt_sockaddr_unix_parse(nxt_mp_t *mp, nxt_str_t *addr) in nxt_sockaddr_unix_parse()
644 nxt_sockaddr_inet6_parse(nxt_mp_t *mp, nxt_str_t *addr) in nxt_sockaddr_inet6_parse()
[all …]
H A Dnxt_file_name.h11 NXT_EXPORT nxt_int_t nxt_file_name_create(nxt_mp_t *mp,
H A Dnxt_conf.c110 static nxt_int_t nxt_conf_object_hash_add(nxt_mp_t *mp,
125 static nxt_int_t nxt_conf_copy_value(nxt_mp_t *mp, nxt_conf_op_t *op,
127 static nxt_int_t nxt_conf_copy_array(nxt_mp_t *mp, nxt_conf_op_t *op,
129 static nxt_int_t nxt_conf_copy_object(nxt_mp_t *mp, nxt_conf_op_t *op,
195 nxt_conf_set_string_dup(nxt_conf_value_t *value, nxt_mp_t *mp, in nxt_conf_set_string_dup()
244 nxt_conf_create_object(nxt_mp_t *mp, nxt_uint_t count) in nxt_conf_create_object()
359 nxt_conf_create_array(nxt_mp_t *mp, nxt_uint_t count) in nxt_conf_create_array()
1242 nxt_conf_json_parse(nxt_mp_t *mp, u_char *start, u_char *end, in nxt_conf_json_parse()
1487 nxt_mp_t *mp_temp; in nxt_conf_json_parse_object()
1664 nxt_conf_object_hash_add(nxt_mp_t *mp, nxt_lvlhsh_t *lvlhsh, in nxt_conf_object_hash_add()
[all …]
H A Dnxt_job_cache_file.c12 nxt_job_cache_file_create(nxt_mp_t *mp) in nxt_job_cache_file_create()
H A Dnxt_isolation.h10 nxt_mp_t *mp);
H A Dnxt_list.h29 nxt_mp_t *mem_pool;
95 NXT_EXPORT nxt_list_t *nxt_list_create(nxt_mp_t *mp, nxt_uint_t n, size_t size);
H A Dnxt_service.h22 NXT_EXPORT nxt_array_t *nxt_services_init(nxt_mp_t *mp);
H A Dnxt_status.h30 nxt_conf_value_t *nxt_status_get(nxt_status_report_t *report, nxt_mp_t *mp);
H A Dnxt_credential.c9 static nxt_int_t nxt_credential_groups_get(nxt_task_t *task, nxt_mp_t *mp,
14 nxt_credential_get(nxt_task_t *task, nxt_mp_t *mp, nxt_credential_t *uc, in nxt_credential_get()
95 nxt_credential_groups_get(nxt_task_t *task, nxt_mp_t *mp, in nxt_credential_groups_get()
180 nxt_credential_groups_get(nxt_task_t *task, nxt_mp_t *mp, nxt_credential_t *uc) in nxt_credential_groups_get()

1234