MIN 1972 Zend/zend_API.c zend_str_tolower_copy(lcname, fptr->common.function_name, MIN(name_len, sizeof(lcname)-1)); MIN 1848 Zend/zend_compile.c zend_str_tolower_copy(lcname, CG(active_op_array)->function_name, MIN(name_len, sizeof(lcname)-1)); MIN 3496 Zend/zend_compile.c REALLOC_BUF_IF_EXCEED(buf, offset, length, MIN(Z_STRLEN_P(zv), 10)); MIN 3497 Zend/zend_compile.c memcpy(offset, Z_STRVAL_P(zv), MIN(Z_STRLEN_P(zv), 10)); MIN 3498 Zend/zend_compile.c offset += MIN(Z_STRLEN_P(zv), 10); MIN 2174 Zend/zend_operators.c retval = memcmp(s1, s2, MIN(len1, len2)); MIN 2190 Zend/zend_operators.c retval = memcmp(s1, s2, MIN(length, MIN(len1, len2))); MIN 2192 Zend/zend_operators.c return (MIN(length, len1) - MIN(length, len2)); MIN 2208 Zend/zend_operators.c len = MIN(len1, len2); MIN 2229 Zend/zend_operators.c len = MIN(length, MIN(len1, len2)); MIN 2238 Zend/zend_operators.c return MIN(length, len1) - MIN(length, len2); MIN 2251 Zend/zend_operators.c len = MIN(len1, len2); MIN 2272 Zend/zend_operators.c len = MIN(length, MIN(len1, len2)); MIN 2281 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 1574 ext/curl/interface.c length = MIN((int) (size * nmemb), Z_STRLEN_P(retval_ptr)); MIN 120 ext/fileinfo/libmagic/file.h #ifndef MIN MIN 2066 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 69 ext/gd/libgd/gd_interpolation.c #ifndef MIN MIN 72 ext/gd/libgd/gd_interpolation.c #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c))) MIN 931 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 950 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 1962 ext/mbstring/oniguruma/regparse.c to = MIN(to1, to2); MIN 2245 ext/mssql/php_mssql.c dbconvert(NULL, SQLBINARY, (BYTE*) binary, MIN(16, binary_len), SQLCHAR, buffer, -1); MIN 1483 ext/mysqlnd/mysqlnd.c size_t to_copy = MIN(table_len, MYSQLND_MAX_ALLOWED_DB_LEN); MIN 1490 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 354 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 360 ext/mysqlnd/mysqlnd_net.c to_be_sent = MIN(left, MYSQLND_MAX_PACKET_SIZE); MIN 638 ext/mysqlnd/mysqlnd_net.c size_t to_read_from_buffer = MIN(net->uncompressed_data->bytes_left(net->uncompressed_data), to_read); MIN 265 ext/mysqlnd/mysqlnd_wireprotocol.c error_msg_len = MIN((int)((buf_len - (p - buf))), (int) (error_buf_len - 1)); MIN 509 ext/mysqlnd/mysqlnd_wireprotocol.c len = MIN(strlen(packet->user), MYSQLND_MAX_ALLOWED_USER_LEN); MIN 540 ext/mysqlnd/mysqlnd_wireprotocol.c size_t real_db_len = MIN(MYSQLND_MAX_ALLOWED_DB_LEN, packet->db_len); MIN 557 ext/mysqlnd/mysqlnd_wireprotocol.c size_t len = MIN(strlen(packet->auth_plugin_name), sizeof(buffer) - (p - buffer) - 1); MIN 711 ext/mysqlnd/mysqlnd_wireprotocol.c packet->message_len = MIN(i, buf_len - (p - begin)); MIN 851 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 6796 ext/pgsql/pgsql.c smart_str_appendl(querystr, buf, MIN(snprintf(buf, sizeof(buf), "%F", Z_DVAL_PP(val)), sizeof(buf)-1)); MIN 106 ext/phar/dirstream.c to_read = MIN(keylen, count); MIN 541 ext/phar/phar_internal.h tmp_len = MIN(MAXPATHLEN, entry->filename_len + entry->phar->fname_len); MIN 542 ext/phar/phar_internal.h len = MIN(entry->phar->fname_len, tmp_len); MIN 544 ext/phar/phar_internal.h len = MIN(tmp_len - len, entry->filename_len); 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 752 ext/reflection/php_reflection.c string_write(str, Z_STRVAL_P(zv), MIN(Z_STRLEN_P(zv), 15)); MIN 351 ext/session/session.c if (php_win32_get_random_bytes(rbuf, MIN(toread, sizeof(rbuf))) == SUCCESS){ MIN 377 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 1104 ext/sockets/sockets.c retval = write(php_sock->bsd_socket, str, MIN(length, str_len)); MIN 2923 ext/spl/spl_directory.c str_len = MAX(0, MIN(length, str_len)); MIN 34485 ext/sqlite3/libsqlite/sqlite3.c int nMin = MIN(nBuf, (SQLITE_WIN32_DBG_BUF_SIZE - 1)); /* may be negative. */ MIN 38362 ext/sqlite3/libsqlite/sqlite3.c sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s%c%s", MIN 38384 ext/sqlite3/libsqlite/sqlite3.c sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zUtf8); MIN 38403 ext/sqlite3/libsqlite/sqlite3.c sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s%c%s", MIN 38406 ext/sqlite3/libsqlite/sqlite3.c sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zRelative); MIN 38436 ext/sqlite3/libsqlite/sqlite3.c sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s%c%s", MIN 38497 ext/sqlite3/libsqlite/sqlite3.c sqlite3_snprintf(MIN(nFull, pVfs->mxPathname), zFull, "%s", zOut); MIN 59393 ext/sqlite3/libsqlite/sqlite3.c int nAdd = MIN(nNew,iOld-iNew); MIN 62541 ext/sqlite3/libsqlite/sqlite3.c const int nCopy = MIN(nSrcPgsz, nDestPgsz); MIN 62833 ext/sqlite3/libsqlite/sqlite3.c iEnd = MIN(PENDING_BYTE + pgszDest, iSize); MIN 68496 ext/sqlite3/libsqlite/sqlite3.c int nCmp = MIN(mem1.n, pRhs->n); MIN 68517 ext/sqlite3/libsqlite/sqlite3.c int nCmp = MIN(nStr, pRhs->n); MIN 68692 ext/sqlite3/libsqlite/sqlite3.c nCmp = MIN( pPKey2->aMem[0].n, nStr ); MIN 78718 ext/sqlite3/libsqlite/sqlite3.c res = memcmp(v1, v2, MIN(n1, n2)); MIN 78892 ext/sqlite3/libsqlite/sqlite3.c pSorter->mxPmaSize = MIN((i64)mxCache*pgsz, SQLITE_MAX_PMASZ); MIN 80329 ext/sqlite3/libsqlite/sqlite3.c nReader = MIN(pTask->nPMA - i, SORTER_MAX_MERGE_COUNT); MIN 80979 ext/sqlite3/libsqlite/sqlite3.c int nCopy = MIN(nRead, (JOURNAL_CHUNKSIZE - iChunkOffset)); MIN 81013 ext/sqlite3/libsqlite/sqlite3.c int iSpace = MIN(nWrite, JOURNAL_CHUNKSIZE - iChunkOffset); MIN 94137 ext/sqlite3/libsqlite/sqlite3.c int nCopy = MIN(ArraySize(aVal), pIdx->nKeyCol); MIN 117955 ext/sqlite3/libsqlite/sqlite3.c mxBitCol = MIN(BMS-1,pTable->nCol); MIN 122187 ext/sqlite3/libsqlite/sqlite3.c aFrom[0].nRow = MIN(pParse->nQueryLoop, 48); assert( 48==sqlite3LogEst(28) ); MIN 132756 ext/sqlite3/libsqlite/sqlite3.c #ifndef MIN MIN 144209 ext/sqlite3/libsqlite/sqlite3.c nRead = MIN(pReader->nNode - pReader->nPopulate, FTS3_NODE_CHUNKSIZE); MIN 147063 ext/sqlite3/libsqlite/sqlite3.c int nCmp = MIN(nLhs, nRhs); MIN 151330 ext/sqlite3/libsqlite/sqlite3.c #ifndef MIN MIN 152739 ext/sqlite3/libsqlite/sqlite3.c p1->aCoord[ii].f = MIN(p1->aCoord[ii].f, p2->aCoord[ii].f); MIN 152744 ext/sqlite3/libsqlite/sqlite3.c p1->aCoord[ii].i = MIN(p1->aCoord[ii].i, p2->aCoord[ii].i); MIN 152795 ext/sqlite3/libsqlite/sqlite3.c x2 = MIN(DCOORD(p->aCoord[jj+1]), DCOORD(aCell[ii].aCoord[jj+1])); MIN 273 ext/standard/crypt.c memcpy(salt, salt_in, MIN(PHP_MAX_SALT_LEN, salt_in_len)); MIN 291 ext/standard/crypt.c salt_in_len = MIN(PHP_MAX_SALT_LEN, salt_in_len); MIN 55 ext/standard/crypt_sha256.c #ifndef MIN MIN 378 ext/standard/crypt_sha256.c rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX)); MIN 383 ext/standard/crypt_sha256.c salt_len = MIN(strcspn(salt, "$"), SALT_LEN_MAX); MIN 531 ext/standard/crypt_sha256.c cp = __php_stpncpy(cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); MIN 532 ext/standard/crypt_sha256.c buflen -= MIN((size_t) MAX (0, buflen), salt_len); MIN 43 ext/standard/crypt_sha512.c #ifndef MIN MIN 412 ext/standard/crypt_sha512.c rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX)); MIN 417 ext/standard/crypt_sha512.c salt_len = MIN(strcspn(salt, "$"), SALT_LEN_MAX); MIN 566 ext/standard/crypt_sha512.c cp = __php_stpncpy(cp, salt, MIN((size_t) MAX(0, buflen), salt_len)); MIN 567 ext/standard/crypt_sha512.c buflen -= (int) MIN((size_t) MAX(0, buflen), salt_len); MIN 1198 ext/standard/file.c num_bytes = MAX(0, MIN((int) maxlen, inputlen)); MIN 83 ext/standard/formatted_print.c copy_len = (expprec ? MIN(max_width, len) : len); MIN 641 ext/standard/ftp_fopen_wrapper.c tmp_len = MIN(sizeof(ent->d_name), basename_len - 1); MIN 585 ext/standard/http_fopen_wrapper.c (strncmp(protocol_version, "1.0", MIN(protocol_version_len, 3)) > 0)) { MIN 2870 ext/standard/string.c shift->entries[h] = MIN(shift->entries[h], m - j - B); MIN 2987 ext/standard/string.c res->B = B = MIN(B, res->m); MIN 2988 ext/standard/string.c res->Bp = Bp = MIN(Bp, res->m); MIN 3171 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 1010 main/streams/streams.c seek_len = MIN(STREAM_BUFFERED_AMOUNT(stream), maxlen); MIN 1048 main/streams/streams.c to_read_now = MIN(maxlen - buffered_len, stream->chunk_size); MIN 1096 main/streams/streams.c tent_ret_len = MIN(STREAM_BUFFERED_AMOUNT(stream), maxlen); MIN 1338 main/streams/streams.c if ((didread = php_stream_read(stream, tmp, MIN(offset, sizeof(tmp)))) == 0) { MIN 1405 main/streams/streams.c if (0 < (b = PHPWRITE(p, MIN(mapped - bcount, INT_MAX)))) { MIN 170 sapi/aolserver/aolserver.c max_read = MIN(NSG(data_avail), 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, 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 424 sapi/cli/php_cli_server.c size_t c = MIN((e + s + 1) / 2, e - 1); MIN 699 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 927 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 965 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 295 sapi/fpm/fpm/fpm_main.c return fwrite(str, 1, MIN(str_length, 16384), stdout); 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);