/PHP-7.4/ext/bcmath/libbcmath/src/ |
H A D | recmul.c | 92 n2ptr = (char *) (n2end - MIN(indx, n2len-1)); in _bc_simp_mul() 279 prod_scale = MIN(full_scale,MAX(scale,MAX(n1->n_scale,n2->n_scale))); in bc_multiply()
|
H A D | div.c | 111 n1->n_len + MIN(n1->n_scale,scale)); in bc_divide()
|
/PHP-7.4/ext/intl/tests/ |
H A D | locale_get_display_region3.phpt | 222 disp_locale=en : display_region=MIN 223 disp_locale=fr : display_region=MIN 224 disp_locale=de : display_region=MIN
|
H A D | locale_get_display_region2.phpt | 222 disp_locale=en : display_region=MIN 223 disp_locale=fr : display_region=MIN 224 disp_locale=de : display_region=MIN
|
H A D | locale_get_region.phpt | 113 zh-min-nan-Hant-CN: region='MIN'
|
H A D | locale_parse_locale2.phpt | 176 language : 'zh' , region : 'MIN' , variant0 : 'NAN' , variant1 : 'HANT' , variant2 : 'CN' ,
|
/PHP-7.4/sapi/embed/ |
H A D | php_embed.c | 61 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in php_embed_single_write()
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_process_ctl.c | 407 children_to_fork = MIN(wp->idle_spawn_rate, wp->config->pm_min_spare_servers - idle); in fpm_pctl_perform_idle_server_maintenance() 410 children_to_fork = MIN(children_to_fork, wp->config->pm_max_children - wp->running_children); in fpm_pctl_perform_idle_server_maintenance()
|
H A D | zlog.c | 291 size = MIN(zlog_limit, MAX(size * 2, needed)); in zlog_stream_buf_alloc_ex() 294 size = MIN(zlog_limit, MAX(size, needed)); in zlog_stream_buf_alloc_ex() 312 if (stream->buf.data && stream->buf.size >= MIN(zlog_limit, stream->buf_init_size)) { in zlog_stream_buf_alloc()
|
/PHP-7.4/Zend/ |
H A D | zend_operators.c | 2728 retval = memcmp(s1, s2, MIN(len1, len2)); in zend_binary_strcmp() 2744 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2))); in zend_binary_strncmp() 2746 return (int)(MIN(length, len1) - MIN(length, len2)); in zend_binary_strncmp() 2762 len = MIN(len1, len2); in zend_binary_strcasecmp() 2783 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp() 2792 return (int)(MIN(length, len1) - MIN(length, len2)); in zend_binary_strncasecmp() 2805 len = MIN(len1, len2); in zend_binary_strcasecmp_l() 2826 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp_l() 2835 return (int)(MIN(length, len1) - MIN(length, len2)); in zend_binary_strncasecmp_l()
|
H A D | zend_portability.h | 433 #undef MIN 436 #define MIN(a, b) (((a)<(b))?(a):(b)) macro
|
H A D | zend_string.h | 195 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), MIN(len, ZSTR_LEN(s)) + 1); in zend_string_realloc() 257 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), MIN((n * m) + l, ZSTR_LEN(s)) + 1); in zend_string_safe_realloc()
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_protocol_frame_codec.c | 133 …size_t comp_buf_size = MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE + MIN(le… in MYSQLND_METHOD() 139 to_be_sent = MIN(left, MYSQLND_MAX_PACKET_SIZE); in MYSQLND_METHOD() 327 …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_wireprotocol.c | 228 error_msg_len = MIN((int)((buf_len - (p - buf))), (int) (error_buf_len - 1)); in php_mysqlnd_read_error_from_line() 519 len = MIN(strlen(packet->user), MYSQLND_MAX_ALLOWED_USER_LEN); in php_mysqlnd_auth_write() 550 size_t real_db_len = MIN(MYSQLND_MAX_ALLOWED_DB_LEN, packet->db_len); in php_mysqlnd_auth_write() 567 len = MIN(strlen(packet->auth_plugin_name), sizeof(buffer) - (p - buffer) - 1); in php_mysqlnd_auth_write() 718 packet->message_len = MIN(net_len, buf_len - (p - begin)); in php_mysqlnd_auth_response_read() 858 packet->message_len = MIN(net_len, buf_len - (p - begin)); in php_mysqlnd_ok_read()
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | file.h | 127 #ifndef MIN 128 #define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro
|
/PHP-7.4/ext/phar/ |
H A D | phar_internal.h | 505 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); in phar_set_inode() 507 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode() 512 len2 = MIN(tmp_len - len1, entry->filename_len); in phar_set_inode()
|
/PHP-7.4/sapi/cli/ |
H A D | php_http_parser.c | 26 #ifndef MIN 27 # define MIN(a,b) ((a) < (b) ? (a) : (b)) macro 1385 to_read = MIN((size_t)(pe - p), (size_t)parser->content_length); in php_http_parser_execute() 1471 to_read = MIN((size_t)(pe - p), (size_t)(parser->content_length)); in php_http_parser_execute()
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | zend_inference.c | 454 tmp->min = MIN(a, c); in zend_ssa_range_or() 634 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range() 671 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range() 707 tmp->max = MIN(op1_max, op2_abs_max - 1); in zend_inference_calc_binary_op_range() 713 tmp->max = MIN(op1_max, op2_abs_max - 1); in zend_inference_calc_binary_op_range() 750 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range() 791 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range() 906 tmp->max = MIN(constraint->range.max, tmp->max); in zend_inference_calc_range() 4194 tmp_range.min = MIN(tmp_range.min, 0); in zend_func_return_info() 4209 tmp_range.min = MIN(tmp_range.min, 0); in zend_func_return_info() [all …]
|
/PHP-7.4/ext/intl/calendar/ |
H A D | gregoriancalendar_methods.cpp | 89 if (zend_parse_parameters_ex(zpp_flags, MIN(ZEND_NUM_ARGS(), 2), in _php_intlgregcal_constructor_body()
|
/PHP-7.4/ext/intl/grapheme/ |
H A D | grapheme_string.c | 859 if ( -1 != grapheme_ascii_check((unsigned char *)pstr, MIN(size + 1, str_len)) ) { in PHP_FUNCTION() 860 size_t nsize = MIN(size, str_len); in PHP_FUNCTION()
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gd_filter.c | 369 int yv = MIN(MAX(y - 1 + j, 0), src->sy - 1); in gdImageConvolution() 371 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.4/main/streams/ |
H A D | streams.c | 545 size_t to_read_now = MIN(size, stream->chunk_size); in _php_stream_fill_read_buffer() 1018 seek_len = MIN(STREAM_BUFFERED_AMOUNT(stream), maxlen); in _php_stream_search_delim() 1056 to_read_now = MIN(maxlen - buffered_len, stream->chunk_size); in php_stream_get_record() 1104 tent_ret_len = MIN(STREAM_BUFFERED_AMOUNT(stream), maxlen); in php_stream_get_record() 1363 if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) <= 0) { in _php_stream_seek() 1431 if (0 < (b = PHPWRITE(p + bcount, MIN(mapped - bcount, INT_MAX)))) { in _php_stream_passthru()
|
/PHP-7.4/ext/standard/ |
H A D | browscap.c | 102 return (uint8_t)MIN(i, UINT8_MAX); in browscap_compute_prefix_len() 128 *contains_len = (uint8_t)MIN(i - *contains_start, UINT8_MAX); in browscap_compute_contains()
|