/php-src/ext/sodium/tests/ |
H A D | pwhash_argon2i.phpt | 10 $passwd = 'password'; 13 ($passwd, SODIUM_CRYPTO_PWHASH_OPSLIMIT_INTERACTIVE, 19 $c = sodium_crypto_pwhash_str_verify($testHash, $passwd); 23 $c = sodium_crypto_pwhash_str_verify($testHash, $passwd); 26 $c = sodium_crypto_pwhash_str_verify($hash, $passwd); 29 $c = sodium_crypto_pwhash_str_verify($hash, 'passwd'); 35 ($out_len, $passwd, $salt, 41 ($out_len, $passwd, $salt,
|
H A D | pwhash_scrypt.phpt | 10 $passwd = 'test'; 13 ($passwd, SODIUM_CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_INTERACTIVE, 18 $c = sodium_crypto_pwhash_scryptsalsa208sha256_str_verify($hash, $passwd); 21 $c = sodium_crypto_pwhash_scryptsalsa208sha256_str_verify($hash, 'passwd'); 27 ($out_len, $passwd, $salt,
|
/php-src/ext/mysqli/tests/ |
H A D | mysqli_change_user.phpt | 13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 20 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 24 if (false !== ($tmp = @mysqli_change_user($link, $user, $passwd . '_unknown_really', $db))) 28 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 42 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, $db))) 60 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 70 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 77 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, ""))) 91 mysqli_change_user($link, $user, $passwd, $db); 96 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) [all …]
|
H A D | 001.phpt | 19 $link = my_mysqli_connect($host, $user, $passwd, "", $port, $socket); 25 $test.= (my_mysqli_real_connect($link, $host, $user, $passwd, "", $port, $socket) ) 31 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 37 $test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 46 if (!my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 55 …$test .= (my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, MYSQLI_CLIENT_…
|
H A D | mysqli_pconn_twice.phpt | 19 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 20 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 23 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))) 37 $link = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 39 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket))) 53 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 56 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 57 …printf("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 60 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
|
H A D | mysqli_change_user_old.phpt | 16 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 17 …printf("[006] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 20 …if (false !== ($tmp = mysqli_change_user($link, $user . '_unknown_really', $passwd . 'non_empty', … 23 if (false !== ($tmp = mysqli_change_user($link, $user, $passwd . '_unknown_really', $db))) 26 if (false !== ($tmp = mysqli_change_user($link, $user, $passwd, $db . '_unknown_really'))) 33 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 47 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, $db))) 69 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 79 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 86 if (true !== ($tmp = mysqli_change_user($link, $user, $passwd, ""))) [all …]
|
H A D | bug29311.phpt | 16 global $host, $user, $passwd, $db, $port, $socket; 17 parent::__construct($host, $user, $passwd, $db, $port, $socket); 25 global $host, $user, $passwd, $db, $port, $socket; 26 $this->connect($host, $user, $passwd, $db, $port, $socket); 37 $foo[2] = new mysql3($host, $user, $passwd, $db, $port, $socket);
|
H A D | mysqli_pconn_conn_multiple.phpt | 19 if (!$link = my_mysqli_connect($phost, $user, $passwd, $db, $port, $socket)) 44 $link = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 49 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket))) 67 if (true !== ($tmp = $link->connect($phost, $user, $passwd, $db, $port, $socket))) 70 if (!$link = mysqli_connect($phost, $user, $passwd, $db, $port, $socket)) 74 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 79 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 104 $link = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 127 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 130 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) [all …]
|
H A D | mysqli_connect_twice.phpt | 13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 14 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 20 if (true !== ($tmp = my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket))) 38 $link = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 43 if (true !== ($tmp = $link->real_connect($host, $user, $passwd, $db, $port, $socket))) 61 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket))) 64 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 65 …printf("[014] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 68 if (true !== ($tmp = $link->connect($host, $user, $passwd, $db, $port, $socket)))
|
H A D | connect.inc | 15 $passwd = getenv("MYSQL_TEST_PASSWD") ?: ""; 36 … function my_mysqli_connect($host, $user, $passwd, $db, $port, $socket, $enable_env_flags = true) { 40 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags)) 43 $link = mysqli_connect($host, $user, $passwd, $db, $port, $socket); 54 …function my_mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags = 0, $en… 59 return mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, $flags); 63 …public function __construct($host, $user, $passwd, $db, $port, $socket, $enable_env_flags = true) { 75 $this->real_connect($host, $user, $passwd, $db, $port, $socket, $flags); 77 parent::__construct($host, $user, $passwd, $db, $port, $socket);
|
H A D | mysqli_change_user_new.phpt | 9 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 10 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port… 23 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 24 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 28 …if (false !== ($tmp = @mysqli_change_user($link, $user . '_unknown_really', $passwd . 'non_empty',…
|
H A D | mysqli_change_user_oo.phpt | 18 $mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 20 …if (false !== ($tmp = $mysqli->change_user($user . '_unknown_really', $passwd . 'non_empty', $db))) 23 if (false !== ($tmp = $mysqli->change_user($user, $passwd . '_unknown_really', $db))) 26 if (false !== ($tmp = $mysqli->change_user($user, $passwd, $db . '_unknown_really'))) 30 $mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket); 42 if (true !== ($tmp = $mysqli->change_user($user, $passwd, $db))) 64 if (false !== ($tmp = @$mysqli->change_user($user, $passwd, $db)))
|
H A D | bug74547.phpt | 15 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 16 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 19 var_dump(mysqli_change_user($link, $user, $passwd, NULL));
|
H A D | mysqli_pconnect.phpt | 14 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 15 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 23 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 39 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 55 … if (!$connections[$index] = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
H A D | bug36949.phpt | 17 global $user, $host, $passwd, $db, $port, $socket; 18 $this->mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket); 35 global $user, $host, $passwd, $db, $port, $socket; 36 $this->mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket); 54 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))
|
H A D | mysqli_real_connect.phpt | 15 …// ( mysqli link [, string hostname [, string username [, string passwd [, string dbname [, int p… 19 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket)) 20 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 27 …if (false !== ($tmp = mysqli_real_connect($link, $host, $user . 'unknown_really', $passwd . 'non_e… 28 …olean/false got %s/%s. Can connect to the server using host=%s, user=%s, passwd=***non_empty, dbna… 32 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port)) { 41 if (!mysqli_real_connect($link, $host, $user, $passwd, $db)) { 49 ini_set('mysqli.default_pw', $passwd); 77 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 65536)) 96 if (!mysqli_real_connect($link, $host, $user, $passwd, $db, $port, $socket, 128)) [all …]
|
H A D | mysqli_connect_error.phpt | 22 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 23 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 31 …if (false !== @my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $por… 32 …printf("[003] Connect to the server should fail using host=%s, user=%s, passwd=***non_empty, dbnam…
|
H A D | bug33263.phpt | 15 public function __construct($host, $user, $passwd, $db, $port, $socket) { 17 parent::real_connect($host, $user, $passwd, $db, $port, $socket); 21 $mysql = new test($host, $user, $passwd, $db, $port, $socket);
|
H A D | mysqli_report_new.phpt | 9 if (!$link = @my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 10 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port… 30 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 31 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
|
H A D | mysqli_get_connection_stats_off.phpt | 17 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 18 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 28 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 29 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,…
|
H A D | mysqli_connect_errno.phpt | 22 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 23 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 31 …$link = @my_mysqli_connect($host, $user . 'unknown_really', $passwd . 'non_empty', $db, $port, $so… 33 …printf("[004] Connect to the server should fail using host=%s, user=%s, passwd=***non_empty, dbnam…
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_auth.h | 23 const char * const passwd, 47 const char * const passwd, 70 const char * const passwd, 86 const char * const passwd,
|
/php-src/ext/standard/ |
H A D | php_crypt_r.c | 103 ZEND_TLS char passwd[MD5_HASH_MAX_LEN], *p; in php_md5_crypt_r() local 158 memcpy(passwd, MD5_MAGIC, MD5_MAGIC_LEN); in php_md5_crypt_r() 159 strlcpy(passwd + MD5_MAGIC_LEN, sp, sl + 1); in php_md5_crypt_r() 160 strcat(passwd, "$"); in php_md5_crypt_r() 191 p = passwd + sl + MD5_MAGIC_LEN + 1; in php_md5_crypt_r() 203 return (passwd); in php_md5_crypt_r()
|
/php-src/ext/ldap/tests/ |
H A D | ldap_set_rebind_proc_basic.phpt | 19 global $passwd; 25 if (!ldap_bind($a, $user, $passwd)) { 30 $link = ldap_connect_and_bind($uri, $user, $passwd, $protocol_version);
|
H A D | ldap_unbind_variation.phpt | 19 global $passwd; 25 if (!ldap_bind($a, $user, $passwd)) { 30 $link = ldap_connect_and_bind($uri, $user, $passwd, $protocol_version);
|