Home
last modified time | relevance | path

Searched refs:nalloc (Results 1 – 14 of 14) sorted by relevance

/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_array.c38 p->d.last -= a->size * a->nalloc; in ngx_array_destroy()
54 if (a->nelts == a->nalloc) { in ngx_array_push()
58 size = a->size * a->nalloc; in ngx_array_push()
71 a->nalloc++; in ngx_array_push()
83 a->nalloc *= 2; in ngx_array_push()
99 ngx_uint_t nalloc; in ngx_array_push_n() local
104 if (a->nelts + n > a->nalloc) { in ngx_array_push_n()
119 a->nalloc += n; in ngx_array_push_n()
124 nalloc = 2 * ((n >= a->nalloc) ? n : a->nalloc); in ngx_array_push_n()
126 new = ngx_palloc(p, nalloc * a->size); in ngx_array_push_n()
[all …]
H A Dngx_array.h20 ngx_uint_t nalloc; member
41 array->nalloc = n; in ngx_array_init()
H A Dngx_list.h29 ngx_uint_t nalloc; member
48 list->nalloc = n; in ngx_list_init()
H A Dngx_list.c38 if (last->nelts == l->nalloc) { in ngx_list_push()
47 last->elts = ngx_palloc(l->pool, l->nalloc * l->size); in ngx_list_push()
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_darwin_sendfile_chain.c73 header.nalloc = NGX_IOVS_PREALLOCATE; in ngx_darwin_sendfile_chain()
76 trailer.nalloc = NGX_IOVS_PREALLOCATE; in ngx_darwin_sendfile_chain()
H A Dngx_writev_chain.c49 vec.nalloc = NGX_IOVS_PREALLOCATE; in ngx_writev_chain()
160 if (n == vec->nalloc) { in ngx_output_chain_to_iovec()
H A Dngx_freebsd_sendfile_chain.c86 header.nalloc = NGX_IOVS_PREALLOCATE; in ngx_freebsd_sendfile_chain()
89 trailer.nalloc = NGX_IOVS_PREALLOCATE; in ngx_freebsd_sendfile_chain()
H A Dngx_udp_sendmsg_chain.c54 vec.nalloc = NGX_IOVS_PREALLOCATE; in ngx_udp_unix_sendmsg_chain()
168 if (n == vec->nalloc) { in ngx_udp_output_chain_to_iovec()
H A Dngx_os.h68 ngx_uint_t nalloc; member
H A Dngx_readv_chain.c77 vec.nalloc = NGX_IOVS_PREALLOCATE; in ngx_readv_chain()
H A Dngx_files.c311 vec.nalloc = NGX_IOVS_PREALLOCATE; in ngx_write_chain_to_file()
370 if (n == vec->nalloc) { in ngx_chain_to_iovec()
551 vec.nalloc = NGX_IOVS_PREALLOCATE; in ngx_thread_write_chain_to_file_handler()
H A Dngx_linux_sendfile_chain.c77 header.nalloc = NGX_IOVS_PREALLOCATE; in ngx_linux_sendfile_chain()
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_ssi_filter_module.c360 ctx->params.nalloc = NGX_HTTP_SSI_PARAMS_N; in ngx_http_ssi_header_filter()
H A Dngx_http_mp4_module.c1164 mp4->trak.nalloc = 2; in ngx_http_mp4_read_moov_atom()