Home
last modified time | relevance | path

Searched refs:random (Results 1 – 25 of 51) sorted by relevance

123

/php-src/ext/random/
H A Dconfig.w321 EXTENSION("random", "random.c", false /* never shared */, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
3 …ro256starstar.c engine_secure.c engine_user.c gammasection.c randomizer.c zend_utils.c", "random");
4 PHP_INSTALL_HEADERS("ext/random", "php_random.h php_random_csprng.h php_random_uint128.h");
H A Dconfig.m423 PHP_NEW_EXTENSION([random], m4_normalize([
31 random.c
37 PHP_INSTALL_HEADERS([ext/random], m4_normalize([
H A Dphp_random.h193 PHP_MINIT_FUNCTION(random);
194 PHP_MSHUTDOWN_FUNCTION(random);
195 PHP_RINIT_FUNCTION(random);
197 ZEND_BEGIN_MODULE_GLOBALS(random)
203 ZEND_END_MODULE_GLOBALS(random)
205 PHPAPI ZEND_EXTERN_MODULE_GLOBALS(random)
207 # define RANDOM_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(random, v)
H A Drandom.c56 PHPAPI ZEND_DECLARE_MODULE_GLOBALS(random)
722 static PHP_GINIT_FUNCTION(random) argument
729 PHP_MINIT_FUNCTION(random) argument
797 PHP_MSHUTDOWN_FUNCTION(random) argument
806 PHP_RINIT_FUNCTION(random) argument
820 PHP_MINIT(random), /* PHP_MINIT - Module initialization */
821 PHP_MSHUTDOWN(random), /* PHP_MSHUTDOWN - Module shutdown */
822 PHP_RINIT(random), /* PHP_RINIT - Request initialization */
826 PHP_MODULE_GLOBALS(random), /* ZTS Module globals */
827 PHP_GINIT(random), /* PHP_GINIT - Global initialization */
H A DCREDITS1 random
/php-src/ext/random/tests/03_randomizer/
H A Dengine_unsafe_empty_string.phpt78 A random engine must return a non-empty string
79 A random engine must return a non-empty string
80 A random engine must return a non-empty string
81 A random engine must return a non-empty string
82 A random engine must return a non-empty string
83 A random engine must return a non-empty string
84 A random engine must return a non-empty string
85 A random engine must return a non-empty string
86 A random engine must return a non-empty string
H A Dengine_unsafe_biased.phpt78 Failed to generate an acceptable random number in 50 attempts
81 Failed to generate an acceptable random number in 50 attempts
82 Failed to generate an acceptable random number in 50 attempts
83 Failed to generate an acceptable random number in 50 attempts
84 Failed to generate an acceptable random number in 50 attempts
85 Failed to generate an acceptable random number in 50 attempts
86 Failed to generate an acceptable random number in 50 attempts
/php-src/ext/bz2/tests/
H A Dwith_strings.phpt10 This is some random data
14 #$blaat= 'This is some random data';
H A Dbug71263.phpt15 // Set a random byte in the middle of the compressed data
/php-src/main/
H A Dphp_open_temporary_file.c102 uint64_t random; in php_do_open_temporary_file() local
141 if (php_random_bytes_silent(&random, sizeof(random)) == FAILURE) { in php_do_open_temporary_file()
142 random = php_random_generate_fallback_seed(); in php_do_open_temporary_file()
151 *p = base32alphabet[random % strlen(base32alphabet)]; in php_do_open_temporary_file()
153 random /= strlen(base32alphabet); in php_do_open_temporary_file()
/php-src/ext/standard/tests/network/
H A Ddns_get_record_error_conditions.phpt6 // A random DNS Mode
20 // A random DNS Mode
H A Ddns_check_record_error_conditions.phpt11 // A random DNS Mode
/php-src/ext/filter/tests/
H A Dbug39846.phpt7 var_dump(filter_var('192.168.1.100random-text-here', FILTER_VALIDATE_IP));
/php-src/Zend/tests/
H A Dbug34786.phpt2 Bug #34786 (2 @ results in change to error_reporting() to random value)
/php-src/ext/hash/tests/
H A Dhash_update_stream_basic_001.phpt12 // Create pseudo-random hash
/php-src/ext/standard/tests/general_functions/
H A Dini_set_types.phpt17 // Just use a random string property, even though it doesn't make sense.
/php-src/ext/openssl/tests/
H A Dopenssl_spki_new_basic.phpt34 /* generate a random challenge */
H A Dopenssl_spki_export_basic.phpt41 /* generate a random challenge */
H A Dopenssl_spki_verify_basic.phpt37 /* generate a random challenge */
/php-src/ext/mysqli/tests/
H A Dmysqli_execute_query.phpt39 if (false === $link->execute_query("some random gibberish", [1, "foo"])) {
92 …esponds to your %s server version for the right syntax to use near 'some random gibberish' at line…
/php-src/tests/func/
H A D010.phpt10 // the stack size + some random constant
/php-src/.github/
H A Dlabeler.yml233 "Extension: random":
236 - ext/random/**/*
468 - 'ext/random/php_random.h'
469 - 'ext/random/php_random_csprng.h'
470 - 'ext/random/php_random_uint128.h'
/php-src/ext/gd/tests/
H A Dcreatefromstring.phpt60 //random string > 12
/php-src/ext/dom/tests/modern/html/interactions/
H A DHTMLDocument_should_retain_properties_and_owner_01.phpt21 // Test if property is preserved (any random doc_props property will do)
H A DHTMLDocument_should_retain_properties_and_owner_02.phpt21 // Test if property is preserved (any random doc_props property will do)

Completed in 29 milliseconds

123