/PHP-7.1/ext/mysqlnd/ |
H A D | mysqlnd_protocol_frame_codec.c | 81 …size_t comp_buf_size = MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE + MIN(le… in MYSQLND_METHOD() 87 to_be_sent = MIN(left, MYSQLND_MAX_PACKET_SIZE); in MYSQLND_METHOD() 301 …size_t to_read_from_buffer = MIN(pfc->data->uncompressed_data->bytes_left(pfc->data->uncompressed_… in MYSQLND_METHOD()
|
H A D | mysqlnd_debug.c | 67 i = MIN(level, sizeof(pipe_buffer) / 2 - 1); in MYSQLND_METHOD() 164 i = MIN(level, sizeof(pipe_buffer) / 2 - 1); in MYSQLND_METHOD() 570 unsigned int func_name_len = MIN(sizeof(func_name) - 1, j - i - 1); in MYSQLND_METHOD()
|
H A D | mysqlnd_net.c | 97 net_stream->chunk_size = MIN(to_read, net->data->options.net_read_buffer_size); in MYSQLND_METHOD() 377 …size_t comp_buf_size = MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE + MIN(le… in MYSQLND_METHOD() 383 to_be_sent = MIN(left, MYSQLND_MAX_PACKET_SIZE); in MYSQLND_METHOD() 661 …size_t to_read_from_buffer = MIN(net->uncompressed_data->bytes_left(net->uncompressed_data), to_re… in MYSQLND_METHOD()
|
H A D | mysqlnd_wireprotocol.c | 228 error_msg_len = MIN((int)((buf_len - (p - buf))), (int) (error_buf_len - 1)); in php_mysqlnd_read_error_from_line() 524 len = MIN(strlen(packet->user), MYSQLND_MAX_ALLOWED_USER_LEN); in php_mysqlnd_auth_write() 555 size_t real_db_len = MIN(MYSQLND_MAX_ALLOWED_DB_LEN, packet->db_len); in php_mysqlnd_auth_write() 572 len = MIN(strlen(packet->auth_plugin_name), sizeof(buffer) - (p - buffer) - 1); in php_mysqlnd_auth_write() 735 packet->message_len = MIN(net_len, buf_len - (p - begin)); in php_mysqlnd_auth_response_read() 886 packet->message_len = MIN(net_len, buf_len - (p - begin)); in php_mysqlnd_ok_read()
|
/PHP-7.1/ext/phar/ |
H A D | phar_internal.h | 514 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); in phar_set_inode() 516 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode() 519 len2 = MIN(tmp_len - len1, entry->filename_len); in phar_set_inode()
|
/PHP-7.1/ext/opcache/Optimizer/ |
H A D | zend_inference.c | 464 tmp->min = MIN(a, c); in zend_ssa_range_or() 621 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range() 658 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range() 685 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range() 708 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range() 731 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range() 846 tmp->max = MIN(constraint->range.max, tmp->max); in zend_inference_calc_range() 3757 tmp_range.min = MIN(tmp_range.min, 0); in zend_func_return_info() 3772 tmp_range.min = MIN(tmp_range.min, 0); in zend_func_return_info() 3787 tmp_range.min = MIN(tmp_range.min, 1); in zend_func_return_info() [all …]
|
/PHP-7.1/sapi/fpm/fpm/ |
H A D | fpm_process_ctl.c | 403 children_to_fork = MIN(wp->idle_spawn_rate, wp->config->pm_min_spare_servers - idle); in fpm_pctl_perform_idle_server_maintenance() 406 children_to_fork = MIN(children_to_fork, wp->config->pm_max_children - wp->running_children); in fpm_pctl_perform_idle_server_maintenance()
|
/PHP-7.1/Zend/ |
H A D | zend_portability.h | 429 #undef MIN 432 #define MIN(a, b) (((a)<(b))?(a):(b)) macro
|
H A D | zend_string.h | 197 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), MIN(len, ZSTR_LEN(s)) + 1); in zend_string_realloc() 256 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), MIN((n * m) + l, ZSTR_LEN(s)) + 1); in zend_string_safe_realloc()
|
H A D | zend_execute.h | 202 used_stack += func->op_array.last_var + func->op_array.T - MIN(func->op_array.num_args, num_args); in zend_vm_calc_used_stack()
|
/PHP-7.1/ext/fileinfo/libmagic/ |
H A D | file.h | 120 #ifndef MIN 121 #define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro
|
/PHP-7.1/sapi/cli/ |
H A D | php_http_parser.c | 26 #ifndef MIN 27 # define MIN(a,b) ((a) < (b) ? (a) : (b)) macro 1380 to_read = MIN((size_t)(pe - p), (size_t)parser->content_length); in php_http_parser_execute() 1466 to_read = MIN((size_t)(pe - p), (size_t)(parser->content_length)); in php_http_parser_execute()
|
/PHP-7.1/ext/intl/calendar/ |
H A D | gregoriancalendar_methods.cpp | 82 if (zend_parse_parameters_ex(zpp_flags, MIN(ZEND_NUM_ARGS(), 2), in _php_intlgregcal_constructor_body()
|
/PHP-7.1/ext/bcmath/libbcmath/src/ |
H A D | div.c | 112 n1->n_len + MIN(n1->n_scale,scale)); in bc_divide()
|
/PHP-7.1/ext/mbstring/oniguruma/ |
H A D | regint.h | 200 #ifdef MIN 201 #undef MIN 206 #define MIN(a,b) (((a)>(b))?(b):(a)) macro
|
H A D | regerror.c | 235 len = MIN((end - s), buf_size); in to_ascii()
|
/PHP-7.1/ext/intl/tests/ |
H A D | locale_get_region.phpt | 113 zh-min-nan-Hant-CN: region='MIN'
|
H A D | locale_parse_locale.phpt | 176 language : 'zh' , region : 'MIN' , variant0 : 'NAN' , variant1 : 'HANT' , variant2 : 'CN' ,
|
H A D | locale_parse_locale2.phpt | 177 language : 'zh' , region : 'MIN' , variant0 : 'NAN' , variant1 : 'HANT' , variant2 : 'CN' ,
|
/PHP-7.1/ext/gd/libgd/ |
H A D | gd_filter.c | 270 int yv = MIN(MAX(y - 1 + j, 0), src->sy - 1); in gdImageConvolution() 272 pxl = f(srcback, MIN(MAX(x - 1 + i, 0), src->sx - 1), yv); in gdImageConvolution()
|
H A D | gdft.c | 113 #ifndef MIN 114 #define MIN(a,b) ((a)<(b)?(a):(b)) macro
|
/PHP-7.1/ext/intl/grapheme/ |
H A D | grapheme_string.c | 858 if ( -1 != grapheme_ascii_check((unsigned char *)pstr, MIN(size + 1, str_len)) ) { in PHP_FUNCTION() 859 size_t nsize = MIN(size, str_len); in PHP_FUNCTION()
|
/PHP-7.1/ext/standard/ |
H A D | browscap.c | 104 return MIN(i, UINT8_MAX); in browscap_compute_prefix_len() 130 *contains_len = MIN(i - *contains_start, UINT8_MAX); in browscap_compute_contains()
|
/PHP-7.1/main/streams/ |
H A D | streams.c | 993 seek_len = MIN(STREAM_BUFFERED_AMOUNT(stream), maxlen); in _php_stream_search_delim() 1031 to_read_now = MIN(maxlen - buffered_len, stream->chunk_size); in php_stream_get_record() 1079 tent_ret_len = MIN(STREAM_BUFFERED_AMOUNT(stream), maxlen); in php_stream_get_record() 1331 if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) == 0) { in _php_stream_seek() 1399 if (0 < (b = PHPWRITE(p + bcount, MIN(mapped - bcount, INT_MAX)))) { in _php_stream_passthru()
|
/PHP-7.1/ext/readline/ |
H A D | readline_cli.c | 96 return fwrite(str, 1, MIN(str_length, 16384), pager_pipe); in readline_shell_write()
|