Home
last modified time | relevance | path

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

/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_core.h101 #define ngx_max(val1, val2) ((val1 < val2) ? (val2) : (val1)) macro
H A Dngx_crypt.c202 len = ngx_max(ngx_base64_decoded_length(encoded.len), 20); in ngx_crypt_ssha()
H A Dngx_connection.c1382 n = ngx_max(ngx_min(32, cycle->reusable_connections_n / 8), 1);
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_sub_filter_module.c648 i = ngx_max((ngx_uint_t) tables->index[c], ctx->index); in ngx_http_sub_parse()
673 end = ngx_max(next, 0); in ngx_http_sub_parse()
722 ctx->copy_end = ctx->pos + ngx_max(start, 0); in ngx_http_sub_parse()
730 len = ngx_max(next, 0); in ngx_http_sub_parse()
959 max = ngx_max(max, match[i].match.len); in ngx_http_sub_init_tables()
H A Dngx_http_gzip_filter_module.c546 wbits = ngx_max(wbits, 13); in ngx_http_gzip_filter_memory()
550 + (1 << (ngx_max(memlevel, 8) + 8)) in ngx_http_gzip_filter_memory()
H A Dngx_http_log_module.c848 ms = ngx_max(ms, 0); in ngx_http_log_request_time()
H A Dngx_http_grpc_module.c1189 limit = ngx_max(0, ctx->send_window); in ngx_http_grpc_body_output_filter()
/f-stack/app/nginx-1.16.1/src/os/unix/
H A Dngx_files.h188 #define ngx_file_fs_size(sb) ngx_max((sb)->st_size, (sb)->st_blocks * 512)
282 ngx_max((dir)->info.st_size, (dir)->info.st_blocks * 512)
/f-stack/app/nginx-1.16.1/src/stream/
H A Dngx_stream_variables.c701 ms = ngx_max(ms, 0); in ngx_stream_variable_session_time()
987 cmcf->ncaptures = ngx_max(cmcf->ncaptures, re->ncaptures); in ngx_stream_regex_compile()
H A Dngx_stream_upstream.c280 ms = ngx_max(ms, 0); in ngx_stream_upstream_response_time_variable()
/f-stack/app/nginx-1.16.1/src/http/v2/
H A Dngx_http_v2_filter_module.c947 len = ngx_max(r->schema.len, path->len); in ngx_http_v2_push_resource()
960 len = ngx_max(len, (*h)->value.len); in ngx_http_v2_push_resource()
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_variables.c2135 ms = ngx_max(ms, 0); in ngx_http_variable_request_time()
2450 cmcf->ncaptures = ngx_max(cmcf->ncaptures, re->ncaptures); in ngx_http_regex_compile()
H A Dngx_http_upstream.c5448 ms = ngx_max(ms, 0); in ngx_http_upstream_response_time_variable()
/f-stack/app/nginx-1.16.1/src/event/
H A Dngx_event_openssl_stapling.c751 staple->refresh = ngx_max(ngx_min(valid - 300, now + 3600), now + 300); in ngx_ssl_stapling_ocsp_handler()