Home
last modified time | relevance | path

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

1234

/PHP-5.6/ext/phar/
H A Ddirstream.c106 to_read = MIN(keylen, count); in phar_dir_read()
H A Dstream.c379 got = php_stream_read(data->fp, buf, MIN(count, entry->uncompressed_filesize - data->position)); in phar_stream_read()
/PHP-5.6/ext/standard/
H A Dformatted_print.c83 copy_len = (expprec ? MIN(max_width, len) : len); in php_sprintf_appendstring()
H A Dftp_fopen_wrapper.c643 tmp_len = MIN(sizeof(ent->d_name), basename_len - 1); in php_ftp_dirstream_read()
H A Dstring.c2884 shift->entries[h] = MIN(shift->entries[h], m - j - B);
3001 res->B = B = MIN(B, res->m);
3002 res->Bp = Bp = MIN(Bp, res->m);
3191 MIN(Z_STRLEN_PP(from),
H A Dfile.c1198 num_bytes = MAX(0, MIN((int) maxlen, inputlen)); in PHP_FUNCTION()
/PHP-5.6/sapi/thttpd/
H A Dthttpd.c253 read_bytes = MIN(TG(unconsumed_length), count_bytes); in sapi_thttpd_read_post()
/PHP-5.6/sapi/fpm/fpm/
H A Dfpm_conf.c929 …fpm_globals.heartbeat = fpm_globals.heartbeat ? MIN(fpm_globals.heartbeat, (wp->config->request_te… in fpm_conf_process_all_pools()
967 …fpm_globals.heartbeat = fpm_globals.heartbeat ? MIN(fpm_globals.heartbeat, (wp->config->request_sl… in fpm_conf_process_all_pools()
H A Dfpm_main.c295 return fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cgibin_single_write()
/PHP-5.6/ext/gd/libgd/
H A Dgd.c311 #ifndef MIN
312 #define MIN(a,b) ((a)<(b)?(a):(b)) macro
314 #define MIN3(a,b,c) ((a)<(b)?(MIN(a,c)):(MIN(b,c)))
/PHP-5.6/ext/oci8/
H A Doci8_interface.c532 data_len = MIN(data_len, write_len);
541 data_len = MIN(data_len, write_len);
/PHP-5.6/sapi/cgi/
H A Dcgi_main.c287 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cgi_single_write()
516 count_bytes = MIN(count_bytes, SG(request_info).content_length - SG(read_post_bytes)); in sapi_cgi_read_post()
/PHP-5.6/sapi/cli/
H A Dphp_cli.c286 ret = fwrite(str, 1, MIN(str_length, 16384), stdout); in sapi_cli_single_write()
H A Dphp_cli_server.c425 size_t c = MIN((e + s + 1) / 2, e - 1); in get_template_string()
700 …size_t nbytes_copied = MIN(client->post_read_offset + count_bytes, content_len) - client->post_rea… in sapi_cli_server_read_post()
/PHP-5.6/ext/hash/
H A Dhash.c950 salt_len = MIN(salt_len, SALT_SIZE); in PHP_FUNCTION()
/PHP-5.6/ext/session/
H A Dsession.c353 if (php_win32_get_random_bytes(rbuf, MIN(toread, sizeof(rbuf))) == SUCCESS){ in php_session_create_id()
379 n = read(fd, rbuf, MIN(to_read, sizeof(rbuf))); in php_session_create_id()
/PHP-5.6/ext/sockets/
H A Dconversions.c1230 size_t len = MIN(msghdr->msg_iov[i].iov_len, (size_t)bytes_left); in to_zval_read_iov()
H A Dsockets.c1104 retval = write(php_sock->bsd_socket, str, MIN(length, str_len));
/PHP-5.6/ext/mysqlnd/
H A Dmysqlnd.c1484 size_t to_copy = MIN(table_len, MYSQLND_MAX_ALLOWED_DB_LEN);
1491 size_t to_copy = MIN(wild_len, MYSQLND_MAX_ALLOWED_DB_LEN);
/PHP-5.6/ext/fileinfo/libmagic/
H A Dsoftmagic.c2066 slen = MIN(m->vallen, sizeof(m->value.s)); in magiccheck()
/PHP-5.6/ext/mssql/
H A Dphp_mssql.c2244 …if (dbconvert(NULL, SQLBINARY, (BYTE*) binary, MIN(16, binary_len), SQLCHAR, buffer, (DBINT) -1) =…
/PHP-5.6/ext/pcre/pcrelib/
H A DHACKING252 UTF-32 mode these are one-unit items. Those with "MIN" in their names are the
/PHP-5.6/ext/sybase_ct/
H A Dphp_sybase_ct.c273 for (i = 0; i < (result->store ? result->num_rows : MIN(1, result->num_rows)); i++) { in _free_sybase_result()
/PHP-5.6/Zend/
H A Dzend_compile.c1848 …zend_str_tolower_copy(lcname, CG(active_op_array)->function_name, MIN(name_len, sizeof(lcname)-1)); in zend_do_end_function_declaration()
3499 REALLOC_BUF_IF_EXCEED(buf, offset, length, MIN(Z_STRLEN_P(zv), 10)); in zend_get_function_declaration()
3500 memcpy(offset, Z_STRVAL_P(zv), MIN(Z_STRLEN_P(zv), 10)); in zend_get_function_declaration()
3501 offset += MIN(Z_STRLEN_P(zv), 10); in zend_get_function_declaration()
/PHP-5.6/ext/fileinfo/
H A Dlibmagic.patch1387 #ifndef MIN
1388 #define MIN(a,b) (((a) < (b)) ? (a) : (b))

Completed in 176 milliseconds

1234