Home
last modified time | relevance | path

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

1234

/PHP-7.1/ext/mysqlnd/
H A Dmysqlnd_protocol_frame_codec.c81 …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 Dmysqlnd_debug.c67 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 Dmysqlnd_net.c97 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 Dmysqlnd_wireprotocol.c228 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 Dphar_internal.h514 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 Dzend_inference.c464 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 Dfpm_process_ctl.c403 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 Dzend_portability.h429 #undef MIN
432 #define MIN(a, b) (((a)<(b))?(a):(b)) macro
H A Dzend_string.h197 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 Dzend_execute.h202 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 Dfile.h120 #ifndef MIN
121 #define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro
/PHP-7.1/sapi/cli/
H A Dphp_http_parser.c26 #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 Dgregoriancalendar_methods.cpp82 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 Ddiv.c112 n1->n_len + MIN(n1->n_scale,scale)); in bc_divide()
/PHP-7.1/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-7.1/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-7.1/ext/gd/libgd/
H A Dgd_filter.c270 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 Dgdft.c113 #ifndef MIN
114 #define MIN(a,b) ((a)<(b)?(a):(b)) macro
/PHP-7.1/ext/intl/grapheme/
H A Dgrapheme_string.c858 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 Dbrowscap.c104 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 Dstreams.c993 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 Dreadline_cli.c96 return fwrite(str, 1, MIN(str_length, 16384), pager_pipe); in readline_shell_write()

Completed in 146 milliseconds

1234