/PHP-7.3/main/streams/ |
H A D | streams.c | 975 seek_len = MIN(STREAM_BUFFERED_AMOUNT(stream), maxlen); in _php_stream_search_delim() 1013 to_read_now = MIN(maxlen - buffered_len, stream->chunk_size); in php_stream_get_record() 1061 tent_ret_len = MIN(STREAM_BUFFERED_AMOUNT(stream), maxlen); in php_stream_get_record() 1313 if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) == 0) { in _php_stream_seek() 1381 if (0 < (b = PHPWRITE(p + bcount, MIN(mapped - bcount, INT_MAX)))) { in _php_stream_passthru()
|
/PHP-7.3/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() 520 len = MIN(strlen(packet->user), MYSQLND_MAX_ALLOWED_USER_LEN); in php_mysqlnd_auth_write() 551 size_t real_db_len = MIN(MYSQLND_MAX_ALLOWED_DB_LEN, packet->db_len); in php_mysqlnd_auth_write() 568 len = MIN(strlen(packet->auth_plugin_name), sizeof(buffer) - (p - buffer) - 1); in php_mysqlnd_auth_write() 715 packet->message_len = MIN(net_len, buf_len - (p - begin)); in php_mysqlnd_auth_response_read() 850 packet->message_len = MIN(net_len, buf_len - (p - begin)); in php_mysqlnd_ok_read()
|
/PHP-7.3/ext/gd/libgd/ |
H A D | gdft.c | 113 #ifndef MIN 114 #define MIN(a,b) ((a)<(b)?(a):(b)) macro
|
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))) 894 int iRight = MIN((int)ceil(dCenter + width_d), (int)src_size - 1); in _gdContributionsCalc()
|
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)))
|
/PHP-7.3/Zend/ |
H A D | zend_alloc.c | 1186 #ifndef MIN 1187 # define MIN(a, b) (((a) < (b)) ? (a) : (b)) macro 1546 …return zend_mm_realloc_slow(heap, ptr, size, MIN(old_size, copy_size) ZEND_FILE_LINE_RELAY_CC ZEND… 1589 copy_size = use_copy_size ? MIN(size, copy_size) : size; 1605 copy_size = use_copy_size ? MIN(old_size, copy_size) : old_size; 1700 copy_size = MIN(old_size, copy_size);
|
H A D | zend_execute.h | 211 used_stack += func->op_array.last_var + func->op_array.T - MIN(func->op_array.num_args, num_args); in zend_vm_calc_used_stack()
|
H A D | zend_exceptions.c | 517 smart_str_append_escaped(str, Z_STRVAL_P(arg), MIN(Z_STRLEN_P(arg), 15)); in _build_trace_args()
|
H A D | zend_execute_API.c | 1133 write(2, log_buffer, MIN(output_len, sizeof(log_buffer))); in zend_timeout_handler()
|
/PHP-7.3/ext/readline/ |
H A D | readline_cli.c | 94 return fwrite(str, 1, MIN(str_length, 16384), pager_pipe); in readline_shell_write()
|
/PHP-7.3/ext/standard/ |
H A D | formatted_print.c | 80 copy_len = (expprec ? MIN(max_width, len) : len); in php_sprintf_appendstring()
|
H A D | ftp_fopen_wrapper.c | 639 tmp_len = MIN(sizeof(ent->d_name), ZSTR_LEN(basename) - 1); in php_ftp_dirstream_read()
|
H A D | file.c | 1209 num_bytes = MIN((size_t) maxlen, inputlen); in PHP_FUNCTION()
|
/PHP-7.3/ext/phar/ |
H A D | dirstream.c | 105 to_read = MIN(ZSTR_LEN(str_key), count); in phar_dir_read()
|
H A D | stream.c | 384 …got = php_stream_read(data->fp, buf, MIN(count, (size_t)(entry->uncompressed_filesize - data->posi… in phar_stream_read()
|
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 931 …fpm_globals.heartbeat = fpm_globals.heartbeat ? MIN(fpm_globals.heartbeat, (wp->config->request_te… in fpm_conf_process_all_pools() 969 …fpm_globals.heartbeat = fpm_globals.heartbeat ? MIN(fpm_globals.heartbeat, (wp->config->request_sl… in fpm_conf_process_all_pools()
|
H A D | fpm_main.c | 274 return fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cgibin_single_write()
|
/PHP-7.3/ext/oci8/ |
H A D | oci8_interface.c | 628 data_len = MIN((zend_long) data_len, write_len); in PHP_FUNCTION() 637 data_len = MIN((zend_long) data_len, write_len); in PHP_FUNCTION()
|
/PHP-7.3/sapi/cli/ |
H A D | php_cli.c | 281 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cli_single_write()
|
H A D | php_cli_server.c | 314 size_t c = MIN((e + s + 1) / 2, e - 1); in get_template_string() 589 …size_t nbytes_copied = MIN(client->post_read_offset + count_bytes, content_len) - client->post_rea… in sapi_cli_server_read_post()
|
/PHP-7.3/sapi/cgi/ |
H A D | cgi_main.c | 313 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cgi_single_write() 495 count_bytes = MIN(count_bytes, remaining_bytes); in sapi_cgi_read_post()
|
/PHP-7.3/ext/opcache/Optimizer/ |
H A D | zend_dump.c | 956 for (j = 0; j < MIN(op_array->num_args, func_info->num_args ); j++) { in zend_dump_op_array()
|
/PHP-7.3/ext/hash/ |
H A D | hash.c | 1052 salt_len = MIN(salt_len, SALT_SIZE); in PHP_FUNCTION()
|
/PHP-7.3/ext/sockets/ |
H A D | conversions.c | 1205 size_t len = MIN(msghdr->msg_iov[i].iov_len, (size_t)bytes_left); in to_zval_read_iov()
|
/PHP-7.3/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 1986 slen = MIN(m->vallen, sizeof(m->value.s)); in magiccheck()
|