Home
last modified time | relevance | path

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

123456

/PHP-7.2/ext/filter/tests/
H A Dfilter_ipv4_rfc6890.phpt21 list($min, $max) = $range;
23 var_dump(filter_var($min, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_PRIV_RANGE));
75 list($min, $max) = $range;
77 var_dump(filter_var($min, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_RES_RANGE));
/PHP-7.2/ext/standard/tests/general_functions/
H A Dbug76717.phpt6 $min = eval('return '.var_export(PHP_INT_MIN, true).';');
8 var_dump($min === PHP_INT_MIN);
H A Dbug46587.phpt2 Bug #46587 (mt_rand() does not check that max is greater than min).
14 Warning: mt_rand(): max(3) is smaller than min(8) in %s on line %d
/PHP-7.2/ext/date/tests/
H A Dgmmktime_error.phpt5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]…
16 $min = 8;
23 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year, $extra_arg) );
H A Ddate_time_set_error.phpt25 $min = 15;
29 var_dump( date_time_set($datetime, $hour, $min, $sec, $microseconds, $extra_arg) );
33 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) );
35 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) );
37 var_dump( date_time_set($invalid_obj, $hour, $min, $sec) );
H A Dcheckdate_basic1.phpt23 var_dump( checkdate(7, 2, 1) ); // min year
32 var_dump( checkdate(7, 2, 0) ); // <min year
H A DDateTime_setTime_error.phpt25 $min = 15;
29 var_dump( $datetime->setTime($hour, $min, $sec, $microseconds, $extra_arg) );
/PHP-7.2/ext/standard/tests/math/
H A Dallowed_rounding_error.inc8 $min = $expected - $small_number;
11 if ($number < $max && $number > $min ) {
H A Dbug75514.phpt2 Bug #75514 mt_rand returns value outside [$min,$max]
/PHP-7.2/ext/date/lib/
H A Dtimelib.c185 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec) in timelib_decimal_hour_to_hms() argument
189 *min = floor((h - *hour) * 60); in timelib_decimal_hour_to_hms()
190 *sec = (h - *hour - ((float) *min / 60)) * 3600; in timelib_decimal_hour_to_hms()
193 *min = 0 - ceil((h - *hour) * 60); in timelib_decimal_hour_to_hms()
194 *sec = 0 - (h - *hour - ((float) *min / -60)) * 3600; in timelib_decimal_hour_to_hms()
198 void timelib_hms_to_decimal_hour(int hour, int min, int sec, double *h) in timelib_hms_to_decimal_hour() argument
201 *h = ((double)hour + (double)min / 60 + (double)sec / 3600); in timelib_hms_to_decimal_hour()
203 *h = ((double)hour - (double)min / 60 - (double)sec / 3600); in timelib_hms_to_decimal_hour()
/PHP-7.2/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_parse_locale.phpt52 'zh-min',
53 'zh-min-nan-Hant-CN',
172 zh-min:
173 grandfathered : 'zh-min' ,
175 zh-min-nan-Hant-CN:
H A Dlocale_parse_locale2.phpt52 'zh-min',
53 'zh-min-nan-Hant-CN',
173 zh-min:
174 grandfathered : 'zh-min' ,
176 zh-min-nan-Hant-CN:
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_get_keywords.phpt57 'zh-min',
58 'zh-min-nan-Hant-CN',
129 zh-min: No keywords found.
130 zh-min-nan-Hant-CN: No keywords found.
H A Dlocale_get_keywords2.phpt57 'zh-min',
58 'zh-min-nan-Hant-CN',
132 zh-min: No keywords found.
133 zh-min-nan-Hant-CN: No keywords found.
/PHP-7.2/ext/pdo_firebird/
H A Dphp_pdo_firebird_int.h60 #ifndef min
61 #define min(a,b) ((a)<(b)?(a):(b)) macro
/PHP-7.2/ext/standard/tests/array/
H A Dmax_error.phpt2 Test wrong number of arguments for min()
6 * proto mixed min(mixed arg1 [, mixed arg2 [, mixed ...]])
/PHP-7.2/ext/pcre/tests/
H A Dbug67238.phpt2 Bug #67238 Ungreedy and min/max quantifier bug in PCRE 8.34 upstream
/PHP-7.2/ext/mbstring/oniguruma/src/
H A Dregcomp.c2505 *min = 0; in get_min_len()
2523 if (*min > tmin) *min = tmin; in get_min_len()
2556 else if (*min > tmin) *min = tmin; in get_min_len()
4096 if (d2->min < d1->min) return 1; in comp_distance_value()
4097 if (d2->min > d1->min) return -1; in comp_distance_value()
4111 mml->min = min; in set_mml()
4124 to->min = from->min; in copy_mml()
4131 to->min = distance_add(to->min, from->min); in add_mml()
4139 to->min = distance_add(to->min, len);
4147 if (to->min > from->min) to->min = from->min; in alt_merge_mml()
[all …]
/PHP-7.2/ext/gmp/tests/
H A Dcomparison.phpt12 var_dump(min(gmp_init(3), 4));
/PHP-7.2/ext/pcre/pcrelib/
H A Dpcre_study.c105 int d, min; in find_minlength() local
478 min = 0; in find_minlength()
485 min = 1; in find_minlength()
492 min = GET2(cc, 1); in find_minlength()
497 min = 1; in find_minlength()
501 branchlength += min * d; in find_minlength()
1461 int min; in pcre_study() local
1549 switch(min = find_minlength(re, code, code, re->options, NULL, &count)) in pcre_study()
1565 if (bits_set || min > 0 || (options & ( in pcre_study()
1615 if (min > 0) in pcre_study()
[all …]
/PHP-7.2/ext/ldap/tests/
H A Dldap_set_option_tls_protocol_min_basic.phpt2 ldap_set_option() - Basic test for TLS protocol min ldap option

Completed in 55 milliseconds

123456