/PHP-8.2/ext/standard/ |
H A D | crypt_sha512.c | 33 #ifndef MIN 34 # define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro 404 salt_len = MIN(strcspn(salt, "$"), SALT_LEN_MAX); in php_sha512_crypt_r() 562 cp = __php_stpncpy(cp, salt, MIN((size_t) MAX(0, buflen), salt_len)); in php_sha512_crypt_r() 563 buflen -= (int) MIN((size_t) MAX(0, buflen), salt_len); in php_sha512_crypt_r()
|
H A D | browscap.c | 100 return (uint8_t)MIN(i, UINT8_MAX); in browscap_compute_prefix_len() 126 *contains_len = (uint8_t)MIN(i - *contains_start, UINT8_MAX); in browscap_compute_contains()
|
/PHP-8.2/ext/bcmath/libbcmath/src/ |
H A D | recmul.c | 89 n2ptr = (char *) (n2end - MIN(indx, n2len-1)); in _bc_simp_mul() 276 prod_scale = MIN(full_scale,MAX(scale,MAX(n1->n_scale,n2->n_scale))); in bc_multiply()
|
H A D | div.c | 107 n1->n_len + MIN(n1->n_scale,scale)); in bc_divide()
|
/PHP-8.2/ext/intl/tests/ |
H A D | locale_get_display_region3.phpt | 223 disp_locale=en : display_region=MIN 224 disp_locale=fr : display_region=MIN 225 disp_locale=de : display_region=MIN
|
H A D | locale_get_display_region2.phpt | 223 disp_locale=en : display_region=MIN 224 disp_locale=fr : display_region=MIN 225 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-8.2/sapi/embed/ |
H A D | php_embed.c | 66 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in php_embed_single_write()
|
/PHP-8.2/ext/mysqlnd/ |
H A D | mysqlnd_protocol_frame_codec.c | 131 …size_t comp_buf_size = MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE + MIN(le… in MYSQLND_METHOD() 137 to_be_sent = MIN(left, MYSQLND_MAX_PACKET_SIZE); in MYSQLND_METHOD() 326 …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 | 65 i = MIN(level, sizeof(pipe_buffer) / 2 - 1); in MYSQLND_METHOD() 162 i = MIN(level, sizeof(pipe_buffer) / 2 - 1); in MYSQLND_METHOD() 577 unsigned int func_name_len = MIN(sizeof(func_name) - 1, j - i - 1); in MYSQLND_METHOD()
|
/PHP-8.2/ext/gd/libgd/ |
H A D | gd_avif.c | 101 tiles = MIN(tiles, MAX_TILES); in setEncoderTilesAndThreads() 102 tiles = MIN(tiles, MAX_THREADS); in setEncoderTilesAndThreads()
|
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()
|
/PHP-8.2/sapi/fpm/fpm/ |
H A D | fpm_process_ctl.c | 422 children_to_fork = MIN(wp->idle_spawn_rate, wp->config->pm_min_spare_servers - idle); in fpm_pctl_perform_idle_server_maintenance() 425 children_to_fork = MIN(children_to_fork, wp->config->pm_max_children - wp->running_children); in fpm_pctl_perform_idle_server_maintenance()
|
/PHP-8.2/ext/phar/ |
H A D | phar_internal.h | 511 tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); in phar_set_inode() 513 len1 = MIN(entry->phar->fname_len, tmp_len); in phar_set_inode() 518 len2 = MIN(tmp_len - len1, entry->filename_len); in phar_set_inode()
|
/PHP-8.2/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-8.2/Zend/ |
H A D | zend_operators.c | 2962 retval = memcmp(s1, s2, MIN(len1, len2)); in zend_binary_strcmp() 2978 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2))); in zend_binary_strncmp() 2980 return ZEND_THREEWAY_COMPARE(MIN(length, len1), MIN(length, len2)); in zend_binary_strncmp() 2996 len = MIN(len1, len2); in zend_binary_strcasecmp() 3017 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp() 3026 return ZEND_THREEWAY_COMPARE(MIN(length, len1), MIN(length, len2)); in zend_binary_strncasecmp() 3039 len = MIN(len1, len2); in zend_binary_strcasecmp_l() 3060 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp_l() 3069 return ZEND_THREEWAY_COMPARE(MIN(length, len1), MIN(length, len2)); in zend_binary_strncasecmp_l()
|
H A D | zend_portability.h | 434 #undef MIN 437 #define MIN(a, b) (((a)<(b))?(a):(b)) macro
|
H A D | zend_smart_str.c | 186 smart_str_append_escaped(str, ZSTR_VAL(value), MIN(length, ZSTR_LEN(value))); in smart_str_append_escaped_truncated()
|
H A D | zend_string.h | 235 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), MIN(len, ZSTR_LEN(s)) + 1); in zend_string_realloc() 297 memcpy(ZSTR_VAL(ret), ZSTR_VAL(s), MIN((n * m) + l, ZSTR_LEN(s)) + 1); in zend_string_safe_realloc()
|
/PHP-8.2/ext/intl/calendar/ |
H A D | gregoriancalendar_methods.cpp | 76 if (zend_parse_parameters(MIN(ZEND_NUM_ARGS(), 2), in _php_intlgregcal_constructor_body()
|
/PHP-8.2/ext/fileinfo/libmagic/ |
H A D | file.h | 132 #ifndef MIN 133 #define MIN(a,b) (((a) < (b)) ? (a) : (b)) macro
|
/PHP-8.2/Zend/Optimizer/ |
H A D | zend_inference.c | 686 tmp->min = MIN(a, c); in zend_ssa_range_or() 879 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range() 911 tmp->min = MIN(MIN(MIN(t1, t2), MIN(t3, t4)), MIN(MIN(t1_, t2_), MIN(t3_, t4_))); in zend_inference_calc_binary_op_range() 947 tmp->max = MIN(op1_max, op2_abs_max - 1); in zend_inference_calc_binary_op_range() 953 tmp->max = MIN(op1_max, op2_abs_max - 1); in zend_inference_calc_binary_op_range() 990 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range() 1031 tmp->min = MIN(MIN(t1, t2), MIN(t3, t4)); in zend_inference_calc_binary_op_range() 1188 tmp->max = MIN(constraint->range.max, tmp->max); in zend_inference_calc_range() 1240 tmp->min = MIN(tmp->min, ssa->var_info[p->sources[i]].range.min); in zend_inference_calc_range() 4518 tmp_range.min = MIN(tmp_range.min, Z_LVAL_P(zv)); in zend_func_return_info() [all …]
|
/PHP-8.2/main/streams/ |
H A D | streams.c | 546 size_t to_read_now = MIN(size, stream->chunk_size); in _php_stream_fill_read_buffer() 1030 seek_len = MIN(STREAM_BUFFERED_AMOUNT(stream), maxlen); in _php_stream_search_delim() 1068 to_read_now = MIN(maxlen - buffered_len, stream->chunk_size); in php_stream_get_record() 1116 tent_ret_len = MIN(STREAM_BUFFERED_AMOUNT(stream), maxlen); in php_stream_get_record() 1155 ssize_t justwrote = stream->ops->write(stream, buf, MIN(chunk_size, count)); in _php_stream_write_buffer() 1387 if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) <= 0) { in _php_stream_seek() 1464 if (0 < (b = PHPWRITE(p + bcount, MIN(mapped - bcount, INT_MAX)))) { in _php_stream_passthru() 1605 const size_t cfr_max = MIN(maxlen, (size_t)SSIZE_MAX); in _php_stream_copy_to_stream_ex()
|
/PHP-8.2/ext/intl/grapheme/ |
H A D | grapheme_string.c | 776 if ( -1 != grapheme_ascii_check((unsigned char *)pstr, MIN(size + 1, str_len)) ) { in PHP_FUNCTION() 777 size_t nsize = MIN(size, str_len); in PHP_FUNCTION()
|