Home
last modified time | relevance | path

Searched refs:max_value (Results 1 – 8 of 8) sorted by relevance

/PHP-7.4/ext/standard/tests/math/
H A Drand_inverted_order.phpt8 $max_value = 20;
9 $correct_order = rand($min_value, $max_value);
10 $incorrect_order = rand($max_value, $min_value);
12 var_dump($correct_order <= $max_value);
14 var_dump($incorrect_order <= $max_value);
/PHP-7.4/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_bit.phpt43 $max_value = 1;
45 $max_value = pow(2, $bits) - 1;
59 $value = $max_value;
61 if ($max_value > $rand_max) {
62 $max_loops = floor($max_value/$rand_max);
68 $value = mt_rand(0, $max_value);
H A Dmysqli_stmt_get_result_bit.phpt46 $max_value = 1;
48 $max_value = pow(2, $bits) - 1;
65 $value = $max_value;
67 if ($max_value > $rand_max) {
68 $max_loops = floor($max_value/$rand_max);
74 $value = mt_rand(0, $max_value);
H A Dmysqli_stmt_bind_result_bit.phpt39 $max_value = 1;
41 $max_value = pow(2, $bits) - 1;
76 $value = $max_value;
78 if ($max_value > $rand_max) {
79 $max_loops = floor($max_value/$rand_max);
85 $value = mt_rand(0, $max_value);
H A Dmysqli_stmt_fetch_bit.phpt27 $max_value = pow(2, $bits) - 1;
36 while ($tests < min($max_value, 20)) {
38 $value = mt_rand(0, $max_value);
/PHP-7.4/win32/
H A Dregistry.c80 DWORD keys, values, max_key, max_name, max_value; in LoadDirectory() local
84 …if (RegQueryInfoKey(key, NULL, NULL, NULL, &keys, &max_key, NULL, &values, &max_name, &max_value, … in LoadDirectory()
89 char *value = (char*)emalloc(max_value+1); in LoadDirectory()
94 value_len = max_value+1; in LoadDirectory()
97 memset(value, '\0', max_value+1); in LoadDirectory()
/PHP-7.4/ext/intl/locale/
H A Dlocale_methods.c850 int max_value = 0, i; in append_multiple_key_values() local
853 max_value = MAX_NO_VARIANT; in append_multiple_key_values()
856 max_value = MAX_NO_EXTLANG; in append_multiple_key_values()
859 max_value = MAX_NO_PRIVATE; in append_multiple_key_values()
864 for( i=0 ; i< max_value; i++ ){ in append_multiple_key_values()
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_compile.c1313 uint32_t max_value, uint32_t max_error, int *intptr, int *errorcodeptr) in read_number() argument
1327 max_value -= allow_sign; in read_number()
1341 if (n > max_value) in read_number()

Completed in 37 milliseconds