Home
last modified time | relevance | path

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

/php-src/ext/random/tests/01_functions/
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-src/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_bit.phpt39 $max_value = 1;
41 $max_value = pow(2, $bits) - 1;
55 $value = $max_value;
57 if ($max_value > $rand_max) {
58 $max_loops = floor($max_value/$rand_max);
64 $value = mt_rand(0, $max_value);
H A Dmysqli_stmt_get_result_bit.phpt42 $max_value = 1;
44 $max_value = pow(2, $bits) - 1;
61 $value = $max_value;
63 if ($max_value > $rand_max) {
64 $max_loops = floor($max_value/$rand_max);
70 $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.phpt26 $max_value = pow(2, $bits) - 1;
35 while ($tests < min($max_value, 20)) {
37 $value = mt_rand(0, $max_value);
/php-src/win32/
H A Dregistry.c78 DWORD keys, values, max_key, max_name, max_value; in LoadDirectory() local
82 …if (RegQueryInfoKey(key, NULL, NULL, NULL, &keys, &max_key, NULL, &values, &max_name, &max_value, … in LoadDirectory()
87 char *value = (char*)emalloc(max_value+1); in LoadDirectory()
92 value_len = max_value+1; in LoadDirectory()
95 memset(value, '\0', max_value+1); in LoadDirectory()
/php-src/ext/intl/locale/
H A Dlocale_methods.c880 int max_value = 0, i; in append_multiple_key_values() local
883 max_value = MAX_NO_VARIANT; in append_multiple_key_values()
886 max_value = MAX_NO_EXTLANG; in append_multiple_key_values()
889 max_value = MAX_NO_PRIVATE; in append_multiple_key_values()
894 for( i=0 ; i< max_value; i++ ){ in append_multiple_key_values()
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_compile.c1326 uint32_t max_value, uint32_t max_error, int *intptr, int *errorcodeptr) in read_number() argument
1340 max_value -= allow_sign; in read_number()
1354 if (n > max_value) in read_number()

Completed in 51 milliseconds