Home
last modified time | relevance | path

Searched refs:max (Results 26 – 50 of 258) sorted by relevance

1234567891011

/php-src/ext/standard/tests/strings/
H A Dsprintf_variation28.phpt18 -2147483648, // max negative integer value
20 2147483647, // max positive integer value
26 -0x80000000, // max negative integer as hexadecimal
27 0x7fffffff, // max positive integer as hexadecimal
28 0x7FFFFFFF, // max positive integer as hexadecimal
31 -020000000000, // max negative integer as octal
32 017777777777 // max positive integer as octal
H A Dsprintf_variation28_64bit.phpt14 -2147483648, // max negative integer value
16 2147483647, // max positive integer value
22 -0x80000000, // max negative integer as hexadecimal
23 0x7fffffff, // max positive integer as hexadecimal
24 0x7FFFFFFF, // max positive integer as hexadecimal
27 -020000000000, // max negative integer as octal
28 017777777777 // max positive integer as octal
H A Dsprintf_variation3.phpt12 -2147483648, // max negative integer value
14 2147483647, // max positive integer value
20 -0x80000000, // max negative integer as hexadecimal
21 0x7fffffff, // max positive integer as hexadecimal
22 0x7FFFFFFF, // max positive integer as hexadecimal
25 -020000000000, // max negative integer as octal
26 017777777777 // max positive integer as octal
H A Dsprintf_variation40.phpt18 -2147483648, // max negative integer value
20 2147483647, // max positive integer value
26 -0x80000000, // max negative integer as hexadecimal
27 0x7fffffff, // max positive integer as hexadecimal
28 0x7FFFFFFF, // max positive integer as hexadecimal
31 -020000000000, // max negative integer as octal
32 017777777777 // max positive integer as octal
H A Dsprintf_variation40_64bit.phpt14 -2147483648, // max negative integer value
16 2147483647, // max positive integer value
22 -0x80000000, // max negative integer as hexadecimal
23 0x7fffffff, // max positive integer as hexadecimal
24 0x7FFFFFFF, // max positive integer as hexadecimal
27 -020000000000, // max negative integer as octal
28 017777777777 // max positive integer as octal
/php-src/ext/standard/tests/general_functions/
H A Dstrval.phpt31 -2147483648, // max negative integer value
33 2147483647, // max positive integer value
41 -0x80000000, // max negative integer as hexadecimal
42 0x7fffffff, // max positive integer as hexadecimal
43 0x7FFFFFFF, // max positive integer as hexadecimal
46 -020000000000, // max negative integer as octal
47 017777777777, // max positive integer as octal
50 -0x80000001, // float value, beyond max negative int
51 0x800000001, // float value, beyond max positive int
52 020000000001, // float value, beyond max positive int
[all …]
H A Dbug76717.phpt7 $max = eval('return '.var_export(PHP_INT_MAX, true).';');
9 var_dump($max === PHP_INT_MAX);
/php-src/Zend/
H A Dzend_ptr_stack.h24 int top, max; member
46 if (stack->top+count > stack->max) { \ in END_EXTERN_C()
49 stack->max += PTR_STACK_BLOCK_SIZE; \ in END_EXTERN_C()
50 } while (stack->top+count > stack->max); \ in END_EXTERN_C()
51 …stack->elements = (void **) safe_perealloc(stack->elements, sizeof(void *), (stack->max), 0, stack… in END_EXTERN_C()
H A Dzend_stack.c29 stack->max = 0; in zend_stack_init()
36 if (stack->top >= stack->max) { in zend_stack_push()
37 stack->max += STACK_BLOCK_SIZE; in zend_stack_push()
38 stack->elements = safe_erealloc(stack->elements, stack->size, stack->max, 0); in zend_stack_push()
158 stack->top = stack->max = 0; in zend_stack_clean()
/php-src/ext/random/
H A Drandom.stub.php25 function rand(int $min = UNKNOWN, int $max = UNKNOWN): int {} argument
27 function mt_rand(int $min = UNKNOWN, int $max = UNKNOWN): int {} argument
37 function random_int(int $min, int $max): int {} argument
139 …public function getFloat(float $min, float $max, IntervalBoundary $boundary = IntervalBoundary::Cl… argument
141 public function getInt(int $min, int $max): int {} argument
H A Drandom.c435 return php_mt_rand_range(min, max);
507 zend_long min, max; local
517 Z_PARAM_LONG(max)
520 if (UNEXPECTED(max < min)) {
525 RETURN_LONG(php_mt_rand_common(min, max));
545 zend_long min, max; local
555 Z_PARAM_LONG(max)
558 if (max < min) {
597 zend_long min, max, result; local
601 Z_PARAM_LONG(max)
[all …]
H A Dphp_random.h58 PHPAPI zend_long php_mt_rand_range(zend_long min, zend_long max);
59 PHPAPI zend_long php_mt_rand_common(zend_long min, zend_long max);
101 zend_long (*range)(void *state, zend_long min, zend_long max);
165 PHPAPI zend_long php_random_range(php_random_algo_with_state engine, zend_long min, zend_long max);
194 …ble php_random_gammasection_closed_open(php_random_algo_with_state engine, double min, double max);
195 …e php_random_gammasection_closed_closed(php_random_algo_with_state engine, double min, double max);
196 …ble php_random_gammasection_open_closed(php_random_algo_with_state engine, double min, double max);
197 …ouble php_random_gammasection_open_open(php_random_algo_with_state engine, double min, double max);
H A Dengine_secure.c40 static zend_long range(void *state, zend_long min, zend_long max) in range() argument
44 php_random_int_throw(min, max, &result); in range()
/php-src/ext/opcache/tests/jit/
H A Dbug79888.phpt26 $max = 1000;
28 echo "Testing Primes until: " . $max . "\n";
29 for ($i = 2; $i <= $max; $i++)
/php-src/ext/standard/tests/array/
H A Darray_push_error2.phpt2 Test array_push() function : error conditions - max int value as key
12 $array = array(PHP_INT_MAX => 'max');
26 string(3) "max"
H A Dmax_basiclong_64bit.phpt2 Test max function : 64bit long tests
27 var_dump(max($arrayVals));
28 var_dump(max($longVals));
/php-src/ext/standard/tests/file/
H A Dfread_variation1.phpt111 -- Reading file content less than max. file size, expected : 1000 bytes --
126 -- Reading file content less than max. file size, expected : 1000 bytes --
141 -- Reading file content less than max. file size, expected : 1000 bytes --
156 -- Reading file content less than max. file size, expected : 1000 bytes --
171 -- Reading file content less than max. file size, expected : 1000 bytes --
186 -- Reading file content less than max. file size, expected : 1000 bytes --
201 -- Reading file content less than max. file size, expected : 1000 bytes --
216 -- Reading file content less than max. file size, expected : 1000 bytes --
231 -- Reading file content less than max. file size, expected : 1000 bytes --
248 -- Reading file content less than max. file size, expected : 1000 bytes --
[all …]
/php-src/sapi/fpm/tests/
H A Dstatus-basic.phpt24 'max listen queue' => 0,
28 'max active processes' => 1,
29 'max children reached' => 0,
H A Dstatus-listen.phpt25 'max listen queue' => 0,
29 'max active processes' => 1,
30 'max children reached' => 0,
/php-src/ext/filter/tests/
H A Dfilter_ipv4_rfc6890.phpt23 list($min, $max) = $range;
26 var_dump(filter_var($max, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_PRIV_RANGE));
77 list($min, $max) = $range;
80 var_dump(filter_var($max, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_RES_RANGE));
/php-src/tests/classes/
H A Diterators_004.phpt20 public $max = 3;
33 return $this->num < $this->max;
57 object:max=>3
/php-src/Zend/tests/
H A Dsymtable_cache_recursive_dtor.phpt7 static $max = 40;
9 if (self::$max-- < 0) return;
/php-src/ext/random/tests/03_randomizer/methods/
H A DgetFloat_opposite_signs.phpt28 $max = 1;
30 printf("%.17g\n\n", $max);
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)
/php-src/ext/standard/tests/math/
H A Dallowed_rounding_error.inc9 $max = $expected + $small_number;
11 if ($number < $max && $number > $min ) {

Completed in 36 milliseconds

1234567891011