Home
last modified time | relevance | path

Searched refs:MIN (Results 26 – 50 of 87) sorted by relevance

1234

/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_process_ctl.c404 children_to_fork = MIN(wp->idle_spawn_rate, wp->config->pm_min_spare_servers - idle); in fpm_pctl_perform_idle_server_maintenance()
407 children_to_fork = MIN(children_to_fork, wp->config->pm_max_children - wp->running_children); in fpm_pctl_perform_idle_server_maintenance()
/PHP-5.5/sapi/continuity/
H A Dcapi.c204 max_read = MIN(count_bytes, SG(request_info).content_length); in sapi_capi_read_post()
208 max_read = MIN(count_bytes, (SG(request_info).content_length - rc->read_post_bytes)); in sapi_capi_read_post()
/PHP-5.5/sapi/pi3web/
H A Dpi3web_sapi.c220 read_from_buf = MIN(lpCB->cbAvailable-SG(read_post_bytes), count_bytes); in sapi_pi3web_read_post()
228 …read_from_input = MIN(count_bytes-read_from_buf, lpCB->cbTotalBytes-SG(read_post_bytes)-read_from_… in sapi_pi3web_read_post()
/PHP-5.5/ext/phar/
H A Dphar_internal.h566 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); in phar_set_inode()
568 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode()
571 len2 = MIN(tmp_len - len1, entry->filename_len); in phar_set_inode()
/PHP-5.5/sapi/cli/
H A Dphp_http_parser.c26 #ifndef MIN
27 # define MIN(a,b) ((a) < (b) ? (a) : (b)) macro
1434 to_read = MIN(pe - p, (size_t)parser->content_length); in php_http_parser_execute()
1519 to_read = MIN(pe - p, (size_t)(parser->content_length)); in php_http_parser_execute()
/PHP-5.5/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp70 if (zend_parse_parameters(MIN(ZEND_NUM_ARGS(), 2) TSRMLS_CC, in _php_intlgregcal_constructor_body()
/PHP-5.5/ext/bcmath/libbcmath/src/
H A Ddiv.c112 n1->n_len + MIN(n1->n_scale,scale)); in bc_divide()
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_debug.c78 i = MIN(level, sizeof(pipe_buffer) / 2 - 1); in MYSQLND_METHOD()
176 i = MIN(level, sizeof(pipe_buffer) / 2 - 1); in MYSQLND_METHOD()
591 unsigned int func_name_len = MIN(sizeof(func_name) - 1, j - i - 1); in MYSQLND_METHOD()
H A Dmysqlnd_net.c78 net_stream->chunk_size = MIN(to_read, net->data->options.net_read_buffer_size); in MYSQLND_METHOD()
353 …size_t comp_buf_size = MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE + MIN(le… in MYSQLND_METHOD()
359 to_be_sent = MIN(left, MYSQLND_MAX_PACKET_SIZE); in MYSQLND_METHOD()
633 …size_t to_read_from_buffer = MIN(net->uncompressed_data->bytes_left(net->uncompressed_data), to_re… in MYSQLND_METHOD()
H A Dmysqlnd_wireprotocol.c265 error_msg_len = MIN((int)((buf_len - (p - buf))), (int) (error_buf_len - 1)); in php_mysqlnd_read_error_from_line()
509 len = MIN(strlen(packet->user), MYSQLND_MAX_ALLOWED_USER_LEN); in php_mysqlnd_auth_write()
540 size_t real_db_len = MIN(MYSQLND_MAX_ALLOWED_DB_LEN, packet->db_len); in php_mysqlnd_auth_write()
557 size_t len = MIN(strlen(packet->auth_plugin_name), sizeof(buffer) - (p - buffer) - 1); in php_mysqlnd_auth_write()
711 packet->message_len = MIN(i, buf_len - (p - begin)); in php_mysqlnd_auth_response_read()
851 packet->message_len = MIN(i, buf_len - (p - begin)); in php_mysqlnd_ok_read()
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregint.h200 #ifdef MIN
201 #undef MIN
206 #define MIN(a,b) (((a)>(b))?(b):(a)) macro
H A Dregerror.c235 len = MIN((end - s), buf_size); in to_ascii()
/PHP-5.5/ext/intl/tests/
H A Dlocale_get_region.phpt113 zh-min-nan-Hant-CN: region='MIN'
H A Dlocale_parse_locale.phpt176 language : 'zh' , region : 'MIN' , variant0 : 'NAN' , variant1 : 'HANT' , variant2 : 'CN' ,
H A Dlocale_parse_locale2.phpt177 language : 'zh' , region : 'MIN' , variant0 : 'NAN' , variant1 : 'HANT' , variant2 : 'CN' ,
/PHP-5.5/ext/gd/libgd/
H A Dgd_filter.c263 int yv = MIN(MAX(y - 1 + j, 0), src->sy - 1); in gdImageConvolution()
265 pxl = f(srcback, MIN(MAX(x - 1 + i, 0), src->sx - 1), yv); in gdImageConvolution()
H A Dgdft.c113 #ifndef MIN
114 #define MIN(a,b) ((a)<(b)?(a):(b)) macro
H A Dgd_interpolation.c67 #ifndef MIN
68 #define MIN(a,b) ((a)<(b)?(a):(b)) macro
70 #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c)))
957 int iRight = MIN((int)ceil(dCenter + width_d), (int)src_size - 1); in _gdContributionsCalc()
/PHP-5.5/main/streams/
H A Dstreams.c1010 seek_len = MIN(STREAM_BUFFERED_AMOUNT(stream), maxlen); in _php_stream_search_delim()
1048 to_read_now = MIN(maxlen - buffered_len, stream->chunk_size); in php_stream_get_record()
1096 tent_ret_len = MIN(STREAM_BUFFERED_AMOUNT(stream), maxlen); in php_stream_get_record()
1338 if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) == 0) { in _php_stream_seek()
1405 if (0 < (b = PHPWRITE(p, MIN(mapped - bcount, INT_MAX)))) { in _php_stream_passthru()
/PHP-5.5/Zend/
H A Dzend.h567 #undef MIN
570 #define MIN(a, b) (((a)<(b))?(a):(b)) macro
/PHP-5.5/sapi/isapi/
H A Dphp5isapi.c335 read_from_buf = MIN(lpECB->cbAvailable-SG(read_post_bytes), count_bytes); in sapi_isapi_read_post()
343 …read_from_input = MIN(count_bytes-read_from_buf, lpECB->cbTotalBytes-SG(read_post_bytes)-read_from… in sapi_isapi_read_post()
/PHP-5.5/sapi/nsapi/
H A Dnsapi.c602 count_bytes = MIN(count_bytes, SG(request_info).content_length-rc->read_post_bytes); in sapi_nsapi_read_post()
613 length = MIN(count_bytes, length); in sapi_nsapi_read_post()
/PHP-5.5/sapi/aolserver/
H A Daolserver.c170 max_read = MIN(NSG(data_avail), count_bytes); in php_ns_sapi_read_post()
/PHP-5.5/sapi/roxen/
H A Droxen.c547 buf_len = MIN(511, ind->u.string->len); in php_roxen_hash_environment()
/PHP-5.5/ext/readline/
H A Dreadline_cli.c93 return fwrite(str, 1, MIN(str_length, 16384), pager_pipe); in readline_shell_write()

Completed in 95 milliseconds

1234