/PHP-7.4/ext/pgsql/ |
H A D | pgsql.c | 6842 …smart_str_appendl(querystr, buf, MIN(snprintf(buf, sizeof(buf), "%F", Z_DVAL_P(val)), sizeof(buf) …
|
/PHP-7.4/ext/mysqlnd/ |
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/Zend/ |
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()
|
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_API.c | 2083 …zend_str_tolower_copy(lcname, ZSTR_VAL(fptr->common.function_name), MIN(name_len, sizeof(lcname)-1… in zend_check_magic_method_implementation()
|
H A D | zend_compile.c | 5282 n = MIN(func->common.num_args, MAX_ARG_FLAG_NUM); in zend_set_function_arg_flags()
|
H A D | zend_alloc.c | 1152 #ifndef MIN 1153 # define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro 1510 …return zend_mm_realloc_slow(heap, ptr, size, MIN(old_size, copy_size) ZEND_FILE_LINE_RELAY_CC ZEND… 1553 copy_size = use_copy_size ? MIN(size, copy_size) : size; 1568 copy_size = use_copy_size ? MIN(old_size, copy_size) : old_size; 1662 copy_size = MIN(old_size, copy_size);
|
/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/sapi/fpm/fpm/ |
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()
|
H A D | fpm_main.c | 267 return fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cgibin_single_write()
|
/PHP-7.4/ext/zip/ |
H A D | php_zip.c | 452 return MIN(num, ZEND_LONG_MAX); in php_zip_get_num_files() 1580 RETVAL_LONG(MIN(num, ZEND_LONG_MAX));
|
/PHP-7.4/ext/gd/libgd/ |
H A D | gd.c | 347 #ifndef MIN 348 #define MIN(a,b) ((a)<(b)?(a):(b)) macro 350 #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c)))
|
H A D | gd_interpolation.c | 79 #ifndef MIN 80 #define MIN(a,b) ((a)<(b)?(a):(b)) macro 82 #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c))) 899 int iRight = MIN((int)ceil(dCenter + width_d), (int)src_size - 1); in _gdContributionsCalc()
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 1736 #ifndef MIN 1737 #define MIN(a,b) (((a) < (b)) ? (a) : (b))
|
/PHP-7.4/ext/curl/ |
H A D | interface.c | 1681 length = MIN((int) (size * nmemb), Z_STRLEN(retval)); in curl_read()
|
/PHP-7.4/build/ |
H A D | pkg.m4 | 28 dnl PKG_PREREQ(MIN-VERSION) 33 dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's 49 dnl PKG_PROG_PKG_CONFIG([MIN-VERSION]) 55 dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is
|
/PHP-7.4/ext/phar/ |
H A D | phar_object.c | 199 got = php_stream_read(fp, buf, MIN(8192, info->uncompressed_filesize - position)); in phar_file_action()
|
/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()
|
H A D | php_cli.c | 268 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cli_single_write()
|
H A D | php_cli_server.c | 321 size_t c = MIN((e + s + 1) / 2, e - 1); in get_template_string() 644 …size_t nbytes_copied = MIN(client->post_read_offset + count_bytes, content_len) - client->post_rea… in sapi_cli_server_read_post()
|
/PHP-7.4/ext/bcmath/libbcmath/src/ |
H A D | bcmath.h | 71 #ifdef MIN 72 #undef MIN 76 #define MIN(a, b) ((a)>(b)?(b):(a)) macro
|
H A D | num2str.c | 53 …signch = num->n_sign != PLUS && !bc_is_zero_for_scale(num, MIN(num->n_scale, scale)); /* Number o…
|
/PHP-7.4/sapi/cgi/ |
H A D | cgi_main.c | 305 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cgi_single_write() 488 count_bytes = MIN(count_bytes, remaining_bytes); in sapi_cgi_read_post()
|
/PHP-7.4/ext/standard/ |
H A D | string.c | 3534 MIN(Z_STRLEN_P(from), to_len)));
|
/PHP-7.4/ext/spl/ |
H A D | spl_directory.c | 2925 str_len = MIN((size_t)length, str_len); in SPL_METHOD()
|