MIN 1973 Zend/zend_API.c zend_str_tolower_copy(lcname, fptr->common.function_name, MIN(name_len, sizeof(lcname)-1)); MIN 1820 Zend/zend_compile.c zend_str_tolower_copy(lcname, CG(active_op_array)->function_name, MIN(name_len, sizeof(lcname)-1)); MIN 3353 Zend/zend_compile.c REALLOC_BUF_IF_EXCEED(buf, offset, length, MIN(Z_STRLEN_P(zv), 10)); MIN 3354 Zend/zend_compile.c memcpy(offset, Z_STRVAL_P(zv), MIN(Z_STRLEN_P(zv), 10)); MIN 3355 Zend/zend_compile.c offset += MIN(Z_STRLEN_P(zv), 10); MIN 2002 Zend/zend_operators.c retval = memcmp(s1, s2, MIN(len1, len2)); MIN 2018 Zend/zend_operators.c retval = memcmp(s1, s2, MIN(length, MIN(len1, len2))); MIN 2020 Zend/zend_operators.c return (MIN(length, len1) - MIN(length, len2)); MIN 2036 Zend/zend_operators.c len = MIN(len1, len2); MIN 2057 Zend/zend_operators.c len = MIN(length, MIN(len1, len2)); MIN 2066 Zend/zend_operators.c return MIN(length, len1) - MIN(length, len2); MIN 2079 Zend/zend_operators.c len = MIN(len1, len2); MIN 2100 Zend/zend_operators.c len = MIN(length, MIN(len1, len2)); MIN 2109 Zend/zend_operators.c return MIN(length, len1) - MIN(length, len2); MIN 72 ext/bcmath/libbcmath/src/bcmath.h #ifdef MIN MIN 87 ext/bcmath/libbcmath/src/compare.c count = n1->n_len + MIN (n1->n_scale, n2->n_scale); MIN 112 ext/bcmath/libbcmath/src/div.c n1->n_len + MIN(n1->n_scale,scale)); MIN 152 ext/bcmath/libbcmath/src/doaddsub.c min_len = MIN (n1->n_len, n2->n_len); MIN 153 ext/bcmath/libbcmath/src/doaddsub.c min_scale = MIN (n1->n_scale, n2->n_scale); MIN 81 ext/bcmath/libbcmath/src/raise.c rscale = MIN (num1->n_scale*exponent, MAX(scale, num1->n_scale)); MIN 101 ext/bcmath/libbcmath/src/recmul.c n2ptr = (char *) (n2end - MIN(indx, n2len-1)); MIN 288 ext/bcmath/libbcmath/src/recmul.c prod_scale = MIN(full_scale,MAX(scale,MAX(n1->n_scale,n2->n_scale))); MIN 114 ext/bcmath/libbcmath/src/sqrt.c cscale = MIN (cscale*3, rscale+1); MIN 70 ext/bcmath/libbcmath/src/str2num.c strscale = MIN(strscale, scale); MIN 1544 ext/curl/interface.c length = MIN((int) (size * nmemb), Z_STRLEN_P(retval_ptr)); MIN 120 ext/fileinfo/libmagic/file.h #ifndef MIN MIN 1995 ext/fileinfo/libmagic/softmagic.c slen = MIN(m->vallen, sizeof(m->value.s)); MIN 307 ext/gd/libgd/gd.c #ifndef MIN MIN 310 ext/gd/libgd/gd.c #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c))) MIN 263 ext/gd/libgd/gd_filter.c int yv = MIN(MAX(y - 1 + j, 0), src->sy - 1); MIN 265 ext/gd/libgd/gd_filter.c pxl = f(srcback, MIN(MAX(x - 1 + i, 0), src->sx - 1), yv); MIN 3 ext/gd/libgd/gd_intern.h #ifndef MIN MIN 6 ext/gd/libgd/gd_intern.h #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c))) MIN 67 ext/gd/libgd/gd_interpolation.c #ifndef MIN MIN 70 ext/gd/libgd/gd_interpolation.c #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c))) MIN 933 ext/gd/libgd/gd_interpolation.c int iRight = MIN((int)ceil(dCenter + width_d), (int)src_size - 1); MIN 113 ext/gd/libgd/gdft.c #ifndef MIN MIN 14 ext/gd/libgd/gdtestft.c ((MIN((x),(y))) < (MIN((z),(w))) ? (MIN((x),(y))) : (MIN((z),(w)))) MIN 906 ext/hash/hash.c salt_len = MIN(salt_len, SALT_SIZE); MIN 70 ext/intl/calendar/gregoriancalendar_methods.cpp if (zend_parse_parameters(MIN(ZEND_NUM_ARGS(), 2) TSRMLS_CC, MIN 235 ext/mbstring/oniguruma/regerror.c len = MIN((end - s), buf_size); MIN 3569 ext/mbstring/oniguruma/regexec.c int offset = (MIN(start, range) - str); MIN 200 ext/mbstring/oniguruma/regint.h #ifdef MIN MIN 1954 ext/mbstring/oniguruma/regparse.c to = MIN(to1, to2); MIN 1200 ext/mcrypt/mcrypt.c memcpy(key_s, key, MIN(key_len, key_length_sizes[0])); MIN 1213 ext/mcrypt/mcrypt.c memcpy(key_s, key, MIN(key_len, use_key_length)); MIN 2245 ext/mssql/php_mssql.c dbconvert(NULL, SQLBINARY, (BYTE*) binary, MIN(16, binary_len), SQLCHAR, buffer, -1); MIN 1442 ext/mysqlnd/mysqlnd.c size_t to_copy = MIN(table_len, MYSQLND_MAX_ALLOWED_DB_LEN); MIN 1449 ext/mysqlnd/mysqlnd.c size_t to_copy = MIN(wild_len, MYSQLND_MAX_ALLOWED_DB_LEN); MIN 78 ext/mysqlnd/mysqlnd_debug.c i = MIN(level, sizeof(pipe_buffer) / 2 - 1); MIN 176 ext/mysqlnd/mysqlnd_debug.c i = MIN(level, sizeof(pipe_buffer) / 2 - 1); MIN 591 ext/mysqlnd/mysqlnd_debug.c unsigned int func_name_len = MIN(sizeof(func_name) - 1, j - i - 1); MIN 78 ext/mysqlnd/mysqlnd_net.c net_stream->chunk_size = MIN(to_read, net->data->options.net_read_buffer_size); MIN 353 ext/mysqlnd/mysqlnd_net.c size_t comp_buf_size = MYSQLND_HEADER_SIZE + COMPRESSED_HEADER_SIZE + MYSQLND_HEADER_SIZE + MIN(left, MYSQLND_MAX_PACKET_SIZE); MIN 359 ext/mysqlnd/mysqlnd_net.c to_be_sent = MIN(left, MYSQLND_MAX_PACKET_SIZE); MIN 633 ext/mysqlnd/mysqlnd_net.c size_t to_read_from_buffer = MIN(net->uncompressed_data->bytes_left(net->uncompressed_data), to_read); MIN 264 ext/mysqlnd/mysqlnd_wireprotocol.c error_msg_len = MIN((int)((buf_len - (p - buf))), (int) (error_buf_len - 1)); MIN 508 ext/mysqlnd/mysqlnd_wireprotocol.c len = MIN(strlen(packet->user), MYSQLND_MAX_ALLOWED_USER_LEN); MIN 539 ext/mysqlnd/mysqlnd_wireprotocol.c size_t real_db_len = MIN(MYSQLND_MAX_ALLOWED_DB_LEN, packet->db_len); MIN 556 ext/mysqlnd/mysqlnd_wireprotocol.c size_t len = MIN(strlen(packet->auth_plugin_name), sizeof(buffer) - (p - buffer) - 1); MIN 710 ext/mysqlnd/mysqlnd_wireprotocol.c packet->message_len = MIN(i, buf_len - (p - begin)); MIN 850 ext/mysqlnd/mysqlnd_wireprotocol.c packet->message_len = MIN(i, buf_len - (p - begin)); MIN 532 ext/oci8/oci8_interface.c data_len = MIN(data_len, write_len); MIN 541 ext/oci8/oci8_interface.c data_len = MIN(data_len, write_len); MIN 42 ext/opcache/shared_alloc_shm.c #ifndef MIN MIN 76 ext/opcache/shared_alloc_shm.c allocate_size = MIN(requested_size, seg_allocate_size); MIN 102 ext/opcache/shared_alloc_shm.c allocate_size = MIN(remaining_bytes, seg_allocate_size); MIN 6343 ext/pgsql/pgsql.c smart_str_appendl(querystr, buf, MIN(snprintf(buf, sizeof(buf), "%F", Z_DVAL_PP(val)), sizeof(buf)-1)); MIN 112 ext/phar/dirstream.c to_read = MIN(keylen, count); MIN 229 ext/phar/phar_object.c got = php_stream_read(fp, buf, MIN(8192, info->uncompressed_filesize - position)); MIN 379 ext/phar/stream.c got = php_stream_read(data->fp, buf, MIN(count, entry->uncompressed_filesize - data->position)); MIN 93 ext/readline/readline_cli.c return fwrite(str, 1, MIN(str_length, 16384), pager_pipe); MIN 744 ext/reflection/php_reflection.c string_write(str, Z_STRVAL_P(zv), MIN(Z_STRLEN_P(zv), 15)); MIN 349 ext/session/session.c if (php_win32_get_random_bytes(rbuf, MIN(toread, sizeof(rbuf))) == SUCCESS){ MIN 375 ext/session/session.c n = read(fd, rbuf, MIN(to_read, sizeof(rbuf))); MIN 1230 ext/sockets/conversions.c size_t len = MIN(msghdr->msg_iov[i].iov_len, (size_t)bytes_left); MIN 1107 ext/sockets/sockets.c retval = write(php_sock->bsd_socket, str, MIN(length, str_len)); MIN 2842 ext/spl/spl_directory.c str_len = MAX(0, MIN(length, str_len)); MIN 55706 ext/sqlite3/libsqlite/sqlite3.c #ifndef MIN MIN 55906 ext/sqlite3/libsqlite/sqlite3.c const int nCopy = MIN(nSrcPgsz, nDestPgsz); MIN 56163 ext/sqlite3/libsqlite/sqlite3.c iEnd = MIN(PENDING_BYTE + pgszDest, iSize); MIN 69657 ext/sqlite3/libsqlite/sqlite3.c #ifndef MIN MIN 69723 ext/sqlite3/libsqlite/sqlite3.c int nCopy = MIN(nRead, (JOURNAL_CHUNKSIZE - iChunkOffset)); MIN 69757 ext/sqlite3/libsqlite/sqlite3.c int iSpace = MIN(nWrite, JOURNAL_CHUNKSIZE - iChunkOffset); MIN 111827 ext/sqlite3/libsqlite/sqlite3.c #ifndef MIN MIN 120654 ext/sqlite3/libsqlite/sqlite3.c nRead = MIN(pReader->nNode - pReader->nPopulate, FTS3_NODE_CHUNKSIZE); MIN 124695 ext/sqlite3/libsqlite/sqlite3.c #ifndef MIN MIN 125832 ext/sqlite3/libsqlite/sqlite3.c p1->aCoord[ii].f = MIN(p1->aCoord[ii].f, p2->aCoord[ii].f); MIN 125837 ext/sqlite3/libsqlite/sqlite3.c p1->aCoord[ii].i = MIN(p1->aCoord[ii].i, p2->aCoord[ii].i); MIN 125899 ext/sqlite3/libsqlite/sqlite3.c x2 = MIN(DCOORD(p->aCoord[jj+1]), DCOORD(aCell[ii].aCoord[jj+1])); MIN 274 ext/standard/crypt.c memcpy(salt, salt_in, MIN(PHP_MAX_SALT_LEN, salt_in_len)); MIN 290 ext/standard/crypt.c salt_in_len = MIN(PHP_MAX_SALT_LEN, salt_in_len); MIN 61 ext/standard/crypt_sha256.c #ifndef MIN MIN 384 ext/standard/crypt_sha256.c rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX)); MIN 389 ext/standard/crypt_sha256.c salt_len = MIN(strcspn(salt, "$"), SALT_LEN_MAX); MIN 537 ext/standard/crypt_sha256.c cp = __php_stpncpy(cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); MIN 538 ext/standard/crypt_sha256.c buflen -= MIN((size_t) MAX (0, buflen), salt_len); MIN 49 ext/standard/crypt_sha512.c #ifndef MIN MIN 418 ext/standard/crypt_sha512.c rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX)); MIN 423 ext/standard/crypt_sha512.c salt_len = MIN(strcspn(salt, "$"), SALT_LEN_MAX); MIN 572 ext/standard/crypt_sha512.c cp = __php_stpncpy(cp, salt, MIN((size_t) MAX(0, buflen), salt_len)); MIN 573 ext/standard/crypt_sha512.c buflen -= (int) MIN((size_t) MAX(0, buflen), salt_len); MIN 1183 ext/standard/file.c num_bytes = MAX(0, MIN((int)arg3, arg2len)); MIN 78 ext/standard/formatted_print.c copy_len = (expprec ? MIN(max_width, len) : len); MIN 639 ext/standard/ftp_fopen_wrapper.c tmp_len = MIN(sizeof(ent->d_name), basename_len - 1); MIN 2849 ext/standard/string.c shift->entries[h] = MIN(shift->entries[h], m - j - B); MIN 2966 ext/standard/string.c res->B = B = MIN(B, res->m); MIN 2967 ext/standard/string.c res->Bp = Bp = MIN(Bp, res->m); MIN 3146 ext/standard/string.c MIN(Z_STRLEN_PP(from), MIN 273 ext/sybase_ct/php_sybase_ct.c for (i = 0; i < (result->store ? result->num_rows : MIN(1, result->num_rows)); i++) { MIN 1006 main/streams/streams.c seek_len = MIN(STREAM_BUFFERED_AMOUNT(stream), maxlen); MIN 1044 main/streams/streams.c to_read_now = MIN(maxlen - buffered_len, stream->chunk_size); MIN 1092 main/streams/streams.c tent_ret_len = MIN(STREAM_BUFFERED_AMOUNT(stream), maxlen); MIN 1334 main/streams/streams.c if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) == 0) { MIN 170 sapi/aolserver/aolserver.c max_read = MIN(NSG(data_avail), count_bytes); MIN 163 sapi/apache2filter/sapi_apache2.c n = MIN(to_read, count_bytes); MIN 283 sapi/cgi/cgi_main.c ret = fwrite(str, 1, MIN(str_length, 16384), stdout); MIN 511 sapi/cgi/cgi_main.c count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); MIN 528 sapi/cgi/cgi_main.c count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); MIN 282 sapi/cli/php_cli.c ret = fwrite(str, 1, MIN(str_length, 16384), stdout); MIN 419 sapi/cli/php_cli_server.c size_t c = MIN((e + s + 1) / 2, e - 1); MIN 695 sapi/cli/php_cli_server.c size_t nbytes_copied = MIN(client->post_read_offset + count_bytes, content_len) - client->post_read_offset; MIN 26 sapi/cli/php_http_parser.c #ifndef MIN MIN 1434 sapi/cli/php_http_parser.c to_read = MIN(pe - p, (size_t)parser->content_length); MIN 1519 sapi/cli/php_http_parser.c to_read = MIN(pe - p, (size_t)(parser->content_length)); MIN 204 sapi/continuity/capi.c max_read = MIN(count_bytes, SG(request_info).content_length); MIN 208 sapi/continuity/capi.c max_read = MIN(count_bytes, (SG(request_info).content_length - rc->read_post_bytes)); MIN 58 sapi/embed/php_embed.c ret = fwrite(str, 1, MIN(str_length, 16384), stdout); MIN 913 sapi/fpm/fpm/fpm_conf.c fpm_globals.heartbeat = fpm_globals.heartbeat ? MIN(fpm_globals.heartbeat, (wp->config->request_terminate_timeout * 1000) / 3) : (wp->config->request_terminate_timeout * 1000) / 3; MIN 951 sapi/fpm/fpm/fpm_conf.c fpm_globals.heartbeat = fpm_globals.heartbeat ? MIN(fpm_globals.heartbeat, (wp->config->request_slowlog_timeout * 1000) / 3) : (wp->config->request_slowlog_timeout * 1000) / 3; MIN 60 sapi/fpm/fpm/fpm_config.h #ifndef MIN MIN 294 sapi/fpm/fpm/fpm_main.c return fwrite(str, 1, MIN(str_length, 16384), stdout); MIN 502 sapi/fpm/fpm/fpm_main.c count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - SG(read_post_bytes)); MIN 404 sapi/fpm/fpm/fpm_process_ctl.c children_to_fork = MIN(wp->idle_spawn_rate, wp->config->pm_min_spare_servers - idle); MIN 407 sapi/fpm/fpm/fpm_process_ctl.c children_to_fork = MIN(children_to_fork, wp->config->pm_max_children - wp->running_children); MIN 335 sapi/isapi/php5isapi.c read_from_buf = MIN(lpECB->cbAvailable-SG(read_post_bytes), count_bytes); MIN 343 sapi/isapi/php5isapi.c read_from_input = MIN(count_bytes-read_from_buf, lpECB->cbTotalBytes-SG(read_post_bytes)-read_from_buf); MIN 602 sapi/nsapi/nsapi.c count_bytes = MIN(count_bytes, SG(request_info).content_length-rc->read_post_bytes); MIN 613 sapi/nsapi/nsapi.c length = MIN(count_bytes, length); MIN 220 sapi/pi3web/pi3web_sapi.c read_from_buf = MIN(lpCB->cbAvailable-SG(read_post_bytes), count_bytes); MIN 228 sapi/pi3web/pi3web_sapi.c read_from_input = MIN(count_bytes-read_from_buf, lpCB->cbTotalBytes-SG(read_post_bytes)-read_from_buf); MIN 547 sapi/roxen/roxen.c buf_len = MIN(511, ind->u.string->len); MIN 253 sapi/thttpd/thttpd.c read_bytes = MIN(TG(unconsumed_length), count_bytes);