Home
last modified time | relevance | path

Searched refs:MIN (Results 1 – 25 of 91) sorted by last modified time

1234

/PHP-7.4/ext/pgsql/
H A Dpgsql.c6842 …smart_str_appendl(querystr, buf, MIN(snprintf(buf, sizeof(buf), "%F", Z_DVAL_P(val)), sizeof(buf) …
/PHP-7.4/ext/mysqlnd/
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/Zend/
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()
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_API.c2083 …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 Dzend_compile.c5282 n = MIN(func->common.num_args, MAX_ARG_FLAG_NUM); in zend_set_function_arg_flags()
H A Dzend_alloc.c1152 #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 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/sapi/fpm/fpm/
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()
H A Dfpm_main.c267 return fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cgibin_single_write()
/PHP-7.4/ext/zip/
H A Dphp_zip.c452 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 Dgd.c347 #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 Dgd_interpolation.c79 #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 Dlibmagic.patch1736 #ifndef MIN
1737 #define MIN(a,b) (((a) < (b)) ? (a) : (b))
/PHP-7.4/ext/curl/
H A Dinterface.c1681 length = MIN((int) (size * nmemb), Z_STRLEN(retval)); in curl_read()
/PHP-7.4/build/
H A Dpkg.m428 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 Dphar_object.c199 got = php_stream_read(fp, buf, MIN(8192, info->uncompressed_filesize - position)); in phar_file_action()
/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()
H A Dphp_cli.c268 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cli_single_write()
H A Dphp_cli_server.c321 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 Dbcmath.h71 #ifdef MIN
72 #undef MIN
76 #define MIN(a, b) ((a)>(b)?(b):(a)) macro
H A Dnum2str.c53 …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 Dcgi_main.c305 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 Dstring.c3534 MIN(Z_STRLEN_P(from), to_len)));
/PHP-7.4/ext/spl/
H A Dspl_directory.c2925 str_len = MIN((size_t)length, str_len); in SPL_METHOD()

Completed in 472 milliseconds

1234