Home
last modified time | relevance | path

Searched refs:MIN (Results 51 – 75 of 93) sorted by relevance

1234

/PHP-7.3/main/streams/
H A Dstreams.c975 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 Dmysqlnd_wireprotocol.c228 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 Dgdft.c113 #ifndef MIN
114 #define MIN(a,b) ((a)<(b)?(a):(b)) macro
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)))
894 int iRight = MIN((int)ceil(dCenter + width_d), (int)src_size - 1); in _gdContributionsCalc()
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)))
/PHP-7.3/Zend/
H A Dzend_alloc.c1186 #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 Dzend_execute.h211 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 Dzend_exceptions.c517 smart_str_append_escaped(str, Z_STRVAL_P(arg), MIN(Z_STRLEN_P(arg), 15)); in _build_trace_args()
H A Dzend_execute_API.c1133 write(2, log_buffer, MIN(output_len, sizeof(log_buffer))); in zend_timeout_handler()
/PHP-7.3/ext/readline/
H A Dreadline_cli.c94 return fwrite(str, 1, MIN(str_length, 16384), pager_pipe); in readline_shell_write()
/PHP-7.3/ext/standard/
H A Dformatted_print.c80 copy_len = (expprec ? MIN(max_width, len) : len); in php_sprintf_appendstring()
H A Dftp_fopen_wrapper.c639 tmp_len = MIN(sizeof(ent->d_name), ZSTR_LEN(basename) - 1); in php_ftp_dirstream_read()
H A Dfile.c1209 num_bytes = MIN((size_t) maxlen, inputlen); in PHP_FUNCTION()
/PHP-7.3/ext/phar/
H A Ddirstream.c105 to_read = MIN(ZSTR_LEN(str_key), count); in phar_dir_read()
H A Dstream.c384 …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 Dfpm_conf.c931 …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 Dfpm_main.c274 return fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cgibin_single_write()
/PHP-7.3/ext/oci8/
H A Doci8_interface.c628 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 Dphp_cli.c281 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cli_single_write()
H A Dphp_cli_server.c314 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 Dcgi_main.c313 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 Dzend_dump.c956 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 Dhash.c1052 salt_len = MIN(salt_len, SALT_SIZE); in PHP_FUNCTION()
/PHP-7.3/ext/sockets/
H A Dconversions.c1205 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 Dsoftmagic.c1986 slen = MIN(m->vallen, sizeof(m->value.s)); in magiccheck()

Completed in 204 milliseconds

1234