Home
last modified time | relevance | path

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

1234

/PHP-7.4/ext/bcmath/libbcmath/src/
H A Drecmul.c92 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 Ddiv.c111 n1->n_len + MIN(n1->n_scale,scale)); in bc_divide()
/PHP-7.4/ext/intl/tests/
H A Dlocale_get_display_region3.phpt222 disp_locale=en : display_region=MIN
223 disp_locale=fr : display_region=MIN
224 disp_locale=de : display_region=MIN
H A Dlocale_get_display_region2.phpt222 disp_locale=en : display_region=MIN
223 disp_locale=fr : display_region=MIN
224 disp_locale=de : display_region=MIN
H A Dlocale_get_region.phpt113 zh-min-nan-Hant-CN: region='MIN'
H A Dlocale_parse_locale2.phpt176 language : 'zh' , region : 'MIN' , variant0 : 'NAN' , variant1 : 'HANT' , variant2 : 'CN' ,
/PHP-7.4/sapi/embed/
H A Dphp_embed.c61 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in php_embed_single_write()
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_process_ctl.c407 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 Dzlog.c291 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 Dzend_operators.c2728 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 Dzend_portability.h433 #undef MIN
436 #define MIN(a, b) (((a)<(b))?(a):(b)) macro
H A Dzend_string.h195 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 Dmysqlnd_protocol_frame_codec.c133 …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 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_wireprotocol.c228 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 Dfile.h127 #ifndef MIN
128 #define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro
/PHP-7.4/ext/phar/
H A Dphar_internal.h505 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 Dphp_http_parser.c26 #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 Dzend_inference.c454 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 Dgregoriancalendar_methods.cpp89 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 Dgrapheme_string.c859 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 Dgd_filter.c369 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 Dgdft.c113 #ifndef MIN
114 #define MIN(a,b) ((a)<(b)?(a):(b)) macro
/PHP-7.4/main/streams/
H A Dstreams.c545 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 Dbrowscap.c102 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()

Completed in 95 milliseconds

1234