/PHP-5.5/ext/mysql/tests/ |
H A D | mysql_pconnect.phpt | 22 …$myhost = (is_null($socket)) ? ((is_null($port)) ? $host : $host . ':' . $port) : $host . ':' . $s… 24 …printf("[002] Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port=… 25 $host, $myhost, $user, $db, $port, $socket); 30 …ect to the server using host=%s/%s, user=%s, passwd=***non_empty, dbname=%s, port=%s, socket=%s\n", 31 $host, $myhost, $user . 'unknown_really', $db, $port, $socket); 52 ini_set('mysql.default_port', $port);
|
H A D | mysql_pconn_kill.phpt | 18 else if ($port) 19 $myhost = sprintf("%s:%s", $host, $port); 24 …printf("[001] Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port=… 25 $host, $myhost, $user, $db, $port, $socket); 82 …printf("[012] Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port=… 83 $host, $myhost, $user, $db, $port, $socket); 89 …printf("[014] Cannot connect to the server using host=%s/%s, user=%s, passwd=***, dbname=%s, port=… 90 $host, $myhost, $user, $db, $port, $socket);
|
H A D | skipifconnectfailure.inc | 6 else if ($port) 7 $myhost = sprintf("%s:%s", $host, $port);
|
H A D | bug53649.phpt | 8 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) { 27 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) { 57 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) { 58 …printf("[clean] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%… 59 $host, $user, $db, $port, $socket);
|
H A D | mysql_close.phpt | 21 if (!$link = my_mysql_connect($host, $user, $passwd, $db, $port, $socket)) 22 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 23 $host, $user, $db, $port, $socket);
|
/PHP-5.5/ext/sockets/tests/ |
H A D | socket_create_listen-win32.phpt | 14 socket_getsockname($sock, $addr, $port); 15 var_dump($addr, $port);
|
H A D | socket_create_listen.phpt | 14 socket_getsockname($sock, $addr, $port); 15 var_dump($addr, $port);
|
H A D | socket_getsockname.phpt | 20 $s_conn = socket_getsockname($s_c, $ip, $port); 23 var_dump($port);
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | mysqli_close.phpt | 22 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 23 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 24 $host, $user, $db, $port, $socket);
|
H A D | mysqli_dump_debug_info_oo.phpt | 16 if (!$mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket)) 17 …erver using host=%s, user=%s, passwd=***, dbname=%s, port=%s, socket=%s\n", $host, $user, $db, $po…
|
H A D | mysqli_expire_password.phpt | 13 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 14 …die(sprintf("SKIP Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port… 15 $host, $user, $db, $port, $socket)); 61 if (!$link = my_mysqli_connect($host, 'expiretest', "", $db, $port, $socket)) { 72 if (!my_mysqli_real_connect($link, $host, 'expiretest', "", $db, $port, $socket)) { 83 if (!my_mysqli_real_connect($link, $host, 'expiretest', "", $db, $port, $socket)) { 95 if (!my_mysqli_real_connect($link, $host, 'expiretest', "", $db, $port, $socket)) { 108 if (!$link = my_mysqli_connect($host, 'expiretest', "expiretest", $db, $port, $socket)) {
|
H A D | mysqli_disable_reads_from_master.phpt | 26 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 27 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 28 $host, $user, $db, $port, $socket);
|
H A D | mysqli_enable_reads_from_master.phpt | 26 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 27 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 28 $host, $user, $db, $port, $socket);
|
H A D | mysqli_dump_debug_info.phpt | 22 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 23 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 24 $host, $user, $db, $port, $socket);
|
H A D | bug48909.phpt | 12 if (!($link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket))) 13 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 14 $host, $user, $db, $port, $socket);
|
H A D | mysqli_errno.phpt | 22 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 23 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 24 $host, $user, $db, $port, $socket);
|
H A D | mysqli_errno_oo.phpt | 20 if (!$mysqli = new mysqli($host, $user, $passwd, $db, $port, $socket)) 21 …printf("[002] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 22 $host, $user, $db, $port, $socket);
|
H A D | mysqli_warning_unclonable.phpt | 16 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 17 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 18 $host, $user, $db, $port, $socket);
|
H A D | mysqli_error_unicode.phpt | 22 if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket)) { 23 …printf("[003] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 24 $host, $user, $db, $port, $socket);
|
H A D | mysqli_change_user_oo.phpt | 21 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 22 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 23 $host, $user, $db, $port, $socket); 47 if (!$mysqli = new my_mysqli($host, $user, $passwd, $db, $port, $socket)) 48 …printf("[001] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 49 $host, $user, $db, $port, $socket);
|
H A D | mysqli_fork.phpt | 16 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 59 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 60 …printf("[005] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 61 $host, $user, $db, $port, $socket); 88 …if (!($plink = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) || !mysqli_autocommi… 132 if (!$plink = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 134 $host, $user, $db, $port, $socket); 212 if (!$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) 213 …printf("[018] Cannot connect to the server using host=%s, user=%s, passwd=***, dbname=%s, port=%s,… 214 $host, $user, $db, $port, $socket); [all …]
|
/PHP-5.5/ext/standard/tests/network/ |
H A D | tcp6loop.phpt | 15 $port = rand(10000, 65000); 17 $server = @stream_socket_server("tcp://[::1]:$port"); 28 $client = stream_socket_client("tcp://[::1]:$port");
|
H A D | udp6loop.phpt | 21 $port = rand(10000, 65000); 23 $server = @stream_socket_server("udp://[::1]:$port", $errno, $errstr, STREAM_SERVER_BIND); 34 $client = stream_socket_client("udp://[::1]:$port");
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | fgets_socket_variation1.phpt | 9 $port = rand(10000, 65000); 11 $server = @stream_socket_server("tcp://127.0.0.1:$port"); 18 $client = fsockopen("tcp://127.0.0.1:$port");
|
/PHP-5.5/main/ |
H A D | network.c | 459 ((struct sockaddr_in *)sa)->sin_port = htons(port); 512 short port; local 526 port = atoi(colon + 2); 533 port = atoi(colon + 1); 542 in6->sin6_port = htons(port); 550 in4->sin_port = htons(port); 573 in6->sin6_port = htons(port); 580 in4->sin_port = htons(port); 827 ((struct sockaddr_in *)sa)->sin_port = htons(port); 946 sin6->sin6_port = htons(port); [all …]
|