| /f-stack/app/nginx-1.16.1/src/os/unix/ |
| H A D | ngx_alloc.h | 16 void *ngx_alloc(size_t size, ngx_log_t *log); 35 #define ngx_memalign(alignment, size, log) ngx_alloc(size, log)
|
| H A D | ngx_alloc.c | 18 ngx_alloc(size_t size, ngx_log_t *log) in ngx_alloc() function 39 p = ngx_alloc(size, log); in ngx_calloc()
|
| H A D | ngx_setproctitle.c | 47 p = ngx_alloc(size, log); in ngx_init_setproctitle()
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_crc32.c | 117 p = ngx_alloc(16 * sizeof(uint32_t) + ngx_cacheline_size, ngx_cycle->log); in ngx_crc32_table_init()
|
| H A D | nginx.c | 588 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 D | ngx_file.c | 736 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 D | ngx_open_file_cache.c | 366 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 D | ngx_palloc.c | 220 p = ngx_alloc(size, pool->log); in ngx_palloc_large()
|
| H A D | ngx_inet.c | 1123 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 D | ngx_google_perftools_module.c | 99 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 D | sources | 134 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 D | ngx_devpoll_module.c | 151 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 D | ngx_win32_poll_module.c | 83 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 D | ngx_kqueue_module.c | 173 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 D | ngx_poll_module.c | 80 list = ngx_alloc(sizeof(struct pollfd) * cycle->connection_n, in ngx_poll_init()
|
| H A D | ngx_select_module.c | 91 index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n, in ngx_select_init()
|
| H A D | ngx_ff_host_event_module.c | 122 event_list = ngx_alloc(sizeof(struct epoll_event) * nevents, cycle->log); in ngx_ff_epoll_init()
|
| H A D | ngx_win32_select_module.c | 91 index = ngx_alloc(sizeof(ngx_event_t *) * 2 * cycle->connection_n, in ngx_select_init()
|
| H A D | ngx_eventport_module.c | 238 event_list = ngx_alloc(sizeof(port_event_t) * epcf->events, in ngx_eventport_init()
|
| H A D | ngx_epoll_module.c | 358 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 D | ngx_event.c | 780 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 D | ngx_event_openssl_stapling.c | 252 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 D | ngx_http_dav_module.c | 873 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 D | ngx_http_upstream_random_module.c | 134 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 D | ngx_stream_upstream_random_module.c | 132 ranges = pool ? ngx_palloc(pool, size) : ngx_alloc(size, ngx_cycle->log); in ngx_stream_upstream_update_random()
|