Home
last modified time | relevance | path

Searched refs:ngx_alloc (Results 1 – 25 of 30) sorted by relevance

12

/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_alloc.h16 void *ngx_alloc(size_t size, ngx_log_t *log);
35 #define ngx_memalign(alignment, size, log) ngx_alloc(size, log)
H A Dngx_alloc.c18 ngx_alloc(size_t size, ngx_log_t *log) in ngx_alloc() function
39 p = ngx_alloc(size, log); in ngx_calloc()
H A Dngx_setproctitle.c47 p = ngx_alloc(size, log); in ngx_init_setproctitle()
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_crc32.c117 p = ngx_alloc(16 * sizeof(uint32_t) + ngx_cacheline_size, ngx_cycle->log); in ngx_crc32_table_init()
H A Dnginx.c588 env = ngx_alloc((*last + n + 1) * sizeof(char *), cycle->log); in ngx_set_environment()
601 env = ngx_alloc((n + 1) * sizeof(char *), cycle->log); in ngx_set_environment()
683 var = ngx_alloc(sizeof(NGINX_VAR) in ngx_exec_new_binary()
905 ngx_argv = ngx_alloc((argc + 1) * sizeof(char *), cycle->log); in ngx_save_argv()
913 ngx_argv[i] = ngx_alloc(len, cycle->log); in ngx_save_argv()
H A Dngx_file.c736 name = ngx_alloc(to->len + 1 + 10 + 1, ext->log); in ngx_ext_rename_file()
843 buf = ngx_alloc(len, cf->log); in ngx_copy_file()
970 data = ngx_alloc(ctx->alloc, ctx->log); in ngx_walk_tree()
1028 buf.data = ngx_alloc(buf.len + 1, ctx->log); in ngx_walk_tree()
H A Dngx_open_file_cache.c366 file = ngx_alloc(sizeof(ngx_cached_open_file_t), pool->log); in ngx_open_cached_file()
372 file->name = ngx_alloc(name->len + 1, pool->log); in ngx_open_cached_file()
975 fev = ngx_alloc(sizeof(ngx_open_file_cache_event_t), log); in ngx_open_file_add_event()
H A Dngx_palloc.c220 p = ngx_alloc(size, pool->log); in ngx_palloc_large()
H A Dngx_inet.c1123 host = ngx_alloc(u->host.len + 1, pool->log); in ngx_inet_resolve_host()
1213 host = ngx_alloc(u->host.len + 1, pool->log); in ngx_inet_resolve_host()
/f-stack/app/nginx-1.16.1/src/misc/
H A Dngx_google_perftools_module.c99 profile = ngx_alloc(gptcf->profiles.len + NGX_INT_T_LEN + 2, cycle->log); in ngx_google_perftools_worker()
/f-stack/app/nginx-1.16.1/auto/
H A Dsources134 src/os/unix/ngx_alloc.h \
163 src/os/unix/ngx_alloc.c \
218 src/os/win32/ngx_alloc.h \
234 src/os/win32/ngx_alloc.c \
/f-stack/app/nginx-1.16.1/src/event/modules/
H A Dngx_devpoll_module.c151 change_list = ngx_alloc(sizeof(struct pollfd) * dpcf->changes, in ngx_devpoll_init()
161 change_index = ngx_alloc(sizeof(ngx_event_t *) * dpcf->changes, in ngx_devpoll_init()
175 event_list = ngx_alloc(sizeof(struct pollfd) * dpcf->events, in ngx_devpoll_init()
H A Dngx_win32_poll_module.c83 list = ngx_alloc(sizeof(struct pollfd) * cycle->connection_n, in ngx_poll_init()
96 index = ngx_alloc(sizeof(ngx_connection_t *) * cycle->connection_n, in ngx_poll_init()
H A Dngx_kqueue_module.c173 change_list = ngx_alloc(kcf->changes * sizeof(struct kevent), in ngx_kqueue_init()
187 event_list = ngx_alloc(kcf->events * sizeof(struct kevent), cycle->log); in ngx_kqueue_init()
H A Dngx_poll_module.c80 list = ngx_alloc(sizeof(struct pollfd) * cycle->connection_n, in ngx_poll_init()
H A Dngx_select_module.c91 index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n, in ngx_select_init()
H A Dngx_ff_host_event_module.c122 event_list = ngx_alloc(sizeof(struct epoll_event) * nevents, cycle->log); in ngx_ff_epoll_init()
H A Dngx_win32_select_module.c91 index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n, in ngx_select_init()
H A Dngx_eventport_module.c238 event_list = ngx_alloc(sizeof(port_event_t) * epcf->events, in ngx_eventport_init()
H A Dngx_epoll_module.c358 event_list = ngx_alloc(sizeof(struct epoll_event) * epcf->events, in ngx_epoll_init()
/f-stack/app/nginx-1.16.1/src/event/
H A Dngx_event.c780 ngx_alloc(sizeof(ngx_connection_t) * cycle->connection_n, cycle->log); in ngx_event_process_init()
787 cycle->read_events = ngx_alloc(sizeof(ngx_event_t) * cycle->connection_n, in ngx_event_process_init()
799 cycle->write_events = ngx_alloc(sizeof(ngx_event_t) * cycle->connection_n, in ngx_event_process_init()
H A Dngx_event_openssl_stapling.c252 buf = ngx_alloc(len, ssl->log); in ngx_ssl_stapling_file()
726 response.data = ngx_alloc(response.len, ctx->log); in ngx_ssl_stapling_ocsp_handler()
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_dav_module.c873 dir = ngx_alloc(len + 1, ctx->log); in ngx_http_dav_copy_dir()
909 dir = ngx_alloc(len + 1, ctx->log); in ngx_http_dav_copy_dir_time()
974 file = ngx_alloc(len + 1, ctx->log); in ngx_http_dav_copy_tree_file()
H A Dngx_http_upstream_random_module.c134 ranges = pool ? ngx_palloc(pool, size) : ngx_alloc(size, ngx_cycle->log); in ngx_http_upstream_update_random()
/f-stack/app/nginx-1.16.1/src/stream/
H A Dngx_stream_upstream_random_module.c132 ranges = pool ? ngx_palloc(pool, size) : ngx_alloc(size, ngx_cycle->log); in ngx_stream_upstream_update_random()

12