Home
last modified time | relevance | path

Searched refs:rand (Results 1 – 25 of 42) sorted by last modified time

12

/PHP-8.0/sapi/litespeed/
H A Dlsapilib.c1366 srand( (tv.tv_sec % 0x1000 + tv.tv_usec) ^ rand() ); in init_conn_key()
1369 s_conn_key_packet[i]=(int) (256.0*rand()/(RAND_MAX+1.0)); in init_conn_key()
/PHP-8.0/ext/standard/
H A Dconfig.m4463 microtime.c pack.c pageinfo.c quot_print.c rand.c mt_rand.c \
H A Dbasic_functions_arginfo.h2721 ZEND_FUNCTION(rand);
3362 ZEND_FE(rand, arginfo_rand)
H A Dbasic_functions.stub.php1177 function rand(int $min = UNKNOWN, int $max = UNKNOWN): int {} function
/PHP-8.0/ext/oci8/tests/
H A Dbug43497.phpt109 $s .= rand();
/PHP-8.0/ext/ftp/tests/
H A Dserver.inc8 $port = rand(50000, 65535);
14 $pasv_port = rand(50000, 65535);
448 $pasv_port = rand(50000, 65535);
/PHP-8.0/ext/zlib/tests/
H A Dbug_34821.phpt22 $s .= chr(rand(0,255));
H A Dinflate_add_basic.phpt48 $uncompressed .= chr(rand(48,125));
/PHP-8.0/ext/standard/tests/streams/
H A Dstream_set_timeout_error.phpt8 $port = rand(10000, 65000);
/PHP-8.0/ext/standard/tests/network/
H A Dtcp6loop.phpt17 $port = rand(10000, 65000);
H A Dudp6loop.phpt23 $port = rand(10000, 65000);
H A Dshutdown.phpt11 $port = rand(10000, 65000);
H A Dsocket_bug74429.phpt11 $port = rand(10000, 65000);
H A Dsocket_get_status_basic.phpt7 $port = rand(10000, 65000);
H A Dtcp4loop.phpt7 $port = rand(10000, 65000);
H A Dfsockopen_basic.phpt10 $port = rand(10000, 65000);
H A Dfsockopen_variation1.phpt8 $port = rand(10000, 65000);
/PHP-8.0/ext/standard/tests/math/
H A Drand_basic.phpt2 Test rand() - basic function test rand()
9 $res = rand();
41 $res = rand($min[$x], $max[$x]);
69 $res = rand($min[$x], 100);
83 rand() tests with default min and max value (i.e 0 thru %i)
86 rand() tests with defined min and max value
H A Drand_inverted_order.phpt2 Test rand function when min and max are in proper or inverted order
9 $correct_order = rand($min_value, $max_value);
10 $incorrect_order = rand($max_value, $min_value);
/PHP-8.0/ext/standard/tests/general_functions/
H A Drand.phpt2 rand() and mt_rand() tests
10 var_dump(rand());
11 var_dump(rand(-1,1));
12 var_dump(rand(0,3));
/PHP-8.0/ext/standard/tests/file/
H A Duserstreams.phpt216 $offset = rand(0, $DATALEN - 1);
220 $offset = -rand(0, $DATALEN - 1);
224 $offset = rand(0, $DATALEN - 1);
H A Dfread_socket_variation1.phpt7 $port = rand(10000, 65000);
H A Dfgets_socket_variation1.phpt9 $port = rand(10000, 65000);
H A Dfgets_socket_variation2.phpt20 $port = rand(10000, 65000);
H A D004.phpt14 $old_int = $int = rand();

Completed in 79 milliseconds

12