Home
last modified time | relevance | path

Searched refs:min (Results 26 – 50 of 146) sorted by relevance

123456

/php-src/ext/random/tests/03_randomizer/methods/
H A DgetFloat_opposite_signs.phpt27 $min = -1;
29 printf("%.17g\n", $min);
34 $float = $r->getFloat($min, $max);
/php-src/ext/random/tests/01_functions/
H A Dbug46587.phpt2 Bug #46587 (mt_rand() does not check that max is greater than min).
17 mt_rand(): Argument #2 ($max) must be greater than or equal to argument #1 ($min)
H A Dbug75514.phpt2 Bug #75514 mt_rand returns value outside [$min,$max]
H A Drand_inverted_order.phpt2 Test rand function when min and max are in proper or inverted order
/php-src/ext/standard/tests/math/
H A Dallowed_rounding_error.inc8 $min = $expected - $small_number;
11 if ($number < $max && $number > $min ) {
/php-src/ext/date/tests/
H A Dgmmktime_basic.phpt9 $min = 8;
16 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
H A Dcheckdate_basic1.phpt17 var_dump( checkdate(7, 2, 1) ); // min year
26 var_dump( checkdate(7, 2, 0) ); // <min year
/php-src/Zend/Optimizer/
H A Dzend_inference.c1178 tmp->min = MAX(constraint->range.min, tmp->min); in zend_inference_calc_range()
1183 …tmp->min = MAX(ssa->var_info[constraint->min_ssa_var].range.min + constraint->range.min, tmp->min); in zend_inference_calc_range()
1201 tmp->min = constraint->range.min; in zend_inference_calc_range()
1240 tmp->min = MIN(tmp->min, ssa->var_info[p->sources[i]].range.min); in zend_inference_calc_range()
1620 ssa->var_info[var].range.min = min; in zend_inference_init_range()
1633 r->min < var_info->range.min) { in zend_inference_widening_meet()
1643 if (var_info->range.min == r->min && in zend_inference_widening_meet()
1674 var_info->range.min < r->min) { in zend_inference_narrowing_meet()
1675 r->min = var_info->range.min; in zend_inference_narrowing_meet()
1688 if (var_info->range.min == r->min && in zend_inference_narrowing_meet()
[all …]
/php-src/ext/date/lib/
H A Dtimelib.c188 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec) in timelib_decimal_hour_to_hms() argument
201 *min = seconds / 60; in timelib_decimal_hour_to_hms()
209 void timelib_hms_to_decimal_hour(int hour, int min, int sec, double *h) in timelib_hms_to_decimal_hour() argument
212 *h = ((double)hour + (double)min / 60 + (double)sec / 3600); in timelib_hms_to_decimal_hour()
214 *h = ((double)hour - (double)min / 60 - (double)sec / 3600); in timelib_hms_to_decimal_hour()
218 void timelib_hmsf_to_decimal_hour(int hour, int min, int sec, int us, double *h) in timelib_hmsf_to_decimal_hour() argument
221 …*h = ((double)hour + (double)min / MINS_PER_HOUR + (double)sec / SECS_PER_HOUR) + (double)us / USE… in timelib_hmsf_to_decimal_hour()
223 …*h = ((double)hour - (double)min / MINS_PER_HOUR - (double)sec / SECS_PER_HOUR) - (double)us / USE… in timelib_hmsf_to_decimal_hour()
/php-src/ext/gmp/tests/
H A Dgmp_random_range.phpt77 gmp_random_range(): Argument #1 ($min) must be less than argument #2 ($maximum)
78 gmp_random_range(): Argument #1 ($min) must be less than argument #2 ($maximum)
79 gmp_random_range(): Argument #1 ($min) must be less than argument #2 ($maximum)
H A Dcomparison.phpt12 var_dump(min(gmp_init(3), 4));
/php-src/ext/random/
H A Dengine_user.c68 static zend_long range(void *state, zend_long min, zend_long max) in range() argument
73 }, min, max); in range()
H A Dengine_combinedlcg.c65 static zend_long range(void *state, zend_long min, zend_long max) in range() argument
70 }, min, max); in range()
/php-src/ext/intl/tests/
H A Dlocale_get_primary_language.phpt51 'zh-min',
52 'zh-min-nan-Hant-CN',
111 zh-min: primary_language='zh-min'
112 zh-min-nan-Hant-CN: primary_language='zh'
H A Dlocale_set_default.phpt51 'zh-min',
52 'zh-min-nan-Hant-CN',
122 zh-min: set locale 'zh-min'
123 zh-min-nan-Hant-CN: set locale 'zh-min-nan-Hant-CN'
H A Dlocale_get_script.phpt50 'zh-min',
51 'zh-min-nan-Hant-CN',
110 zh-min: script=''
111 zh-min-nan-Hant-CN: script=''
H A Dlocale_get_region.phpt51 'zh-min',
52 'zh-min-nan-Hant-CN',
112 zh-min: region=''
113 zh-min-nan-Hant-CN: region='MIN'
H A Dlocale_parse_locale2.phpt51 'zh-min',
52 'zh-min-nan-Hant-CN',
172 zh-min:
173 grandfathered : 'zh-min' ,
175 zh-min-nan-Hant-CN:
H A Dlocale_get_keywords2.phpt56 'zh-min',
57 'zh-min-nan-Hant-CN',
131 zh-min: No keywords found.
132 zh-min-nan-Hant-CN: No keywords found.
/php-src/ext/fileinfo/tests/upstream/
H A Dbcachefs.result1 bcachefs, UUID=46bd306f-80ad-4cd0-af4f-147e7d85f393, label "Label", version 13, min version 13, dev…
/php-src/ext/pcre/tests/
H A Dbug67238.phpt2 Bug #67238 Ungreedy and min/max quantifier bug in PCRE 8.34 upstream
/php-src/ext/pdo_firebird/
H A Dphp_pdo_firebird_int.h52 #ifndef min
53 #define min(a,b) ((a)<(b)?(a):(b)) macro
/php-src/Zend/tests/in-de-crement/
H A Ddecrement_001.phpt2 Decrementing min int values 32bit
H A Ddecrement_001_64bit.phpt2 Decrementing min int values 64bit
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_study.c138 int d, min, recno; in find_minlength() local
609 min = 0; in find_minlength()
616 min = 1; in find_minlength()
623 min = GET2(cc, 1); in find_minlength()
628 min = 1; in find_minlength()
636 if ((d > 0 && (INT_MAX/d) < min) || UINT16_MAX - branchlength < min*d) in find_minlength()
638 else branchlength += min * d; in find_minlength()
1891 int min; in PRIV() local
1894 min = find_minlength(re, code, code, utf, NULL, &count, backref_cache); in PRIV()
1895 switch(min) in PRIV()
[all …]

Completed in 64 milliseconds

123456