Home
last modified time | relevance | path

Searched refs:MAX (Results 1 – 25 of 37) sorted by last modified time

12

/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_process_ctl.c457 fpm_globals.heartbeat = MAX(fpm_globals.heartbeat, FPM_PCTL_MIN_HEARTBEAT); in fpm_pctl_heartbeat()
H A Dfpm_config.h64 #ifndef MAX
65 # define MAX(a,b) (((a)>(b))?(a):(b)) macro
/PHP-5.5/main/
H A Doutput.c903 size_t grow_max = MAX(grow_int, grow_buf); in php_output_handler_append()
/PHP-5.5/ext/standard/
H A Dstring.c5658 cmp_len = (uint) (len ? len : MAX(s2_len, (s1_len - offset)));
H A Dpack.c327 int arg_cp = (code != 'Z') ? arg : MAX(0, arg - 1); in PHP_FUNCTION()
H A Dmath.c1117 dec = MAX(0, dec); in _php_math_number_format_ex_len()
H A Dformatted_print.c92 m_width = MAX(min_width, copy_len); in php_sprintf_appendstring()
H A Dfile.c1191 num_bytes = MAX(0, MIN((int)arg3, arg2len)); in PHP_FUNCTION()
H A Dcrypt_sha256.c64 #ifndef MAX
65 # define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
384 rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX)); in php_sha256_crypt_r()
524 cp = __php_stpncpy(buffer, sha256_salt_prefix, MAX(0, buflen)); in php_sha256_crypt_r()
529 int n = _snprintf(cp, MAX(0, buflen), "%s%u$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
531 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha256_rounds_prefix, rounds); in php_sha256_crypt_r()
537 cp = __php_stpncpy(cp, salt, MIN ((size_t) MAX (0, buflen), salt_len)); in php_sha256_crypt_r()
538 buflen -= MIN((size_t) MAX (0, buflen), salt_len); in php_sha256_crypt_r()
H A Dcrypt_sha512.c52 #ifndef MAX
53 # define MAX(a, b) (((a) > (b)) ? (a) : (b)) macro
418 rounds = MAX(ROUNDS_MIN, MIN(srounds, ROUNDS_MAX)); in php_sha512_crypt_r()
559 cp = __php_stpncpy(buffer, sha512_salt_prefix, MAX(0, buflen)); in php_sha512_crypt_r()
564 int n = _snprintf(cp, MAX(0, buflen), "%s%u$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
566 int n = snprintf(cp, MAX(0, buflen), "%s%zu$", sha512_rounds_prefix, rounds); in php_sha512_crypt_r()
572 cp = __php_stpncpy(cp, salt, MIN((size_t) MAX(0, buflen), salt_len)); in php_sha512_crypt_r()
573 buflen -= (int) MIN((size_t) MAX(0, buflen), salt_len); in php_sha512_crypt_r()
/PHP-5.5/ext/sqlite3/libsqlite/
H A Dsqlite3.c8918 #define MAX(A,B) ((A)>(B)?(A):(B)) macro
78438 int nNew = MAX(128, p->nAlloc*2);
89045 pParse->nMem = MAX(pParse->nMem, iMem);
89076 pParse->nTab = MAX(pParse->nTab, iTab);
89284 pParse->nMem = MAX(pParse->nMem, regCol+nCol);
105068 pParse->nMem = MAX( pParse->nMem, cnt+8 );
105105 pParse->nMem = MAX(pParse->nMem, 8+j);
132759 #ifndef MAX
132760 # define MAX(x,y) ((x)>(y)?(x):(y))
151327 #ifndef MAX
[all …]
/PHP-5.5/ext/spl/
H A Dspl_directory.c2853 str_len = MAX(0, MIN(length, str_len)); in SPL_METHOD()
/PHP-5.5/ext/sockets/
H A Dmulticast.c802 entry_len = MAX(entry_len, sizeof(*cur_req));
/PHP-5.5/ext/pcntl/
H A Dpcntl.c964 for (signo = 1; signo < MAX(NSIG-1, SIGRTMAX); ++signo) { in PHP_FUNCTION()
/PHP-5.5/ext/mbstring/oniguruma/
H A Dregint.h203 #ifdef MAX
204 #undef MAX
207 #define MAX(a,b) (((a)<(b))?(b):(a)) macro
H A Dregparse.c1953 from = MAX(from1, from2); in and_code_range_buf()
/PHP-5.5/ext/gd/libgd/
H A Dgd_interpolation.c71 #ifndef MAX
72 #define MAX(a,b) ((a)<(b)?(b):(a)) macro
74 #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c)))
1135 const unsigned long new_width = MAX(1, width); in gdImageScaleNearestNeighbour()
1136 const unsigned long new_height = MAX(1, height); in gdImageScaleNearestNeighbour()
1234 long _width = MAX(1, new_width); in gdImageScaleBilinearPalette()
1235 long _height = MAX(1, new_height); in gdImageScaleBilinearPalette()
1332 long dst_w = MAX(1, new_width); in gdImageScaleBilinearTC()
1333 long dst_h = MAX(1, new_height); in gdImageScaleBilinearTC()
1428 const long new_width = MAX(1, width); in gdImageScaleBicubicFixed()
[all …]
H A Dgdft.c109 #ifndef MAX
110 #define MAX(a,b) ((a)>(b)?(a):(b)) macro
H A Dgd.c315 #ifndef MAX
316 #define MAX(a,b) ((a)<(b)?(b):(a)) macro
318 #define MAX3(a,b,c) ((a)<(b)?(MAX(b,c)):(MAX(a,c)))
H A Dgd_filter.c263 int yv = MIN(MAX(y - 1 + j, 0), src->sy - 1); in gdImageConvolution()
265 pxl = f(srcback, MIN(MAX(x - 1 + i, 0), src->sx - 1), yv); in gdImageConvolution()
/PHP-5.5/ext/fileinfo/libmagic/
H A Dapprentice.c595 errs = MAX(errs, file_err); in file_apprentice()
673 val += m->vallen * MAX(MULT / m->vallen, 1); in apprentice_magic_strength()
H A Dfile.h124 #ifndef MAX
125 #define MAX(a,b) (((a) > (b)) ? (a) : (b)) macro
/PHP-5.5/ext/bcmath/libbcmath/src/
H A Dadd.c73 res_scale = MAX (scale_min, MAX(n1->n_scale, n2->n_scale));
H A Dbcmath.h74 #undef MAX
76 #define MAX(a, b) ((a)>(b)?(a):(b)) macro
H A Ddivmod.c58 rscale = MAX (num1->n_scale, num2->n_scale+scale); in bc_divmod()

Completed in 520 milliseconds

12