Home
last modified time | relevance | path

Searched refs:hostname (Results 1 – 25 of 41) sorted by relevance

12

/PHP-5.3/ext/standard/tests/strings/
H A Ddirname_variation.phpt23 "hostname:/home/user/bar.tar",
24 "hostname:/home/user/tbar.gz/",
25 "hostname:/home/user/My Pics.gz",
26 "hostname:/home/user/My Pics.gz/",
27 "hostname:/home/user/My Pics/",
28 "hostname:/home/user/My Pics",
85 string\(19\) "hostname:(\\|\/)home(\\|\/)user"
88 string\(19\) "hostname:(\\|\/)home(\\|\/)user"
91 string\(19\) "hostname:(\\|\/)home(\\|\/)user"
94 string\(19\) "hostname:(\\|\/)home(\\|\/)user"
[all …]
H A Dbasename_variation.phpt25 array("hostname:/home/usr/bar.tar"),
26 array("hostname:/home/user/bar.tar", "home"),
27 array("hostname:/home/user/tbar.gz", "bar.gz"),
28 array("hostname:/home/user/tbar.gz", "/bar.gz"),
29 array("hostname:/home/user/tbar.gz", "/bar.gz/"),
30 array("hostname:/home/user/tbar.gz/", "/bar.gz/"),
35 array("hostname:/home/user/My Pics.gz/", ".gz"),
36 array("hostname:/home/user/My Pics.gz/"),
37 array("hostname:/home/user/My Pics.gz/", NULL),
38 array("hostname:/home/user/My Pics.gz/", ' '),
[all …]
/PHP-5.3/ext/sybase_ct/tests/
H A Dtest_appname.phpt23 $hostname= 'php.net';
24 ini_set('sybct.hostname', $hostname);
29 hostname,
39 compare_string($hostname, $r[0]['hostname'])
47 hostname,
/PHP-5.3/ext/standard/tests/network/
H A Dfsockopen_variation1.phpt9 echo "\nCalling fsockopen() without a protocol in the hostname string:\n";
10 $hostname = '127.0.0.1';
12 $client = fsockopen($hostname, $port);
17 $address = $hostname . ':' . $port;
27 Calling fsockopen() without a protocol in the hostname string:
H A Dfsockopen_basic.phpt5 /* Prototype : proto resource fsockopen(string hostname, int port [, int errno [, string errstr [,…
18 $hostname = 'tcp://127.0.0.1'; // loopback address
25 $client = fsockopen($hostname, $port, $errno, $errstr, $timeout);
30 $second_client = fsockopen($hostname, $port);
35 $address = $hostname . ':' . $port;
H A Dfsockopen_error.phpt5 /* Prototype : proto resource fsockopen(string hostname, int port [, int errno [, string errstr [,…
16 $hostname = 'string_val';
22 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout, $extra_arg) );
30 $hostname = 'tcp://127.0.0.1'; // loopback address
35 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
39 $hostname = 'invalid://127.0.0.1'; // loopback address
44 var_dump( fsockopen($hostname, $port, $errno, $errstr, $timeout) );
H A Dfsockopen_variation2.phpt6 $hostname = 'udp://127.0.0.1';
10 $server = stream_socket_server($hostname . ':' . $port, $errno, $errstr, STREAM_SERVER_BIND);
13 $client = fsockopen($hostname, $port);
22 $address = $hostname . ':' . $port;
H A Dgethostbynamel_error.phpt5 /* Prototype : proto array gethostbynamel(string hostname)
6 * Description: Return a list of IP addresses that a given hostname resolves to.
19 $hostname = 'string_val';
21 var_dump( gethostbynamel($hostname, $extra_arg) );
H A Dgethostbyname_basic003.phpt5 /* Prototype : string gethostbyname ( string $hostname )
H A Dgethostbynamel_basic1.phpt5 /* Prototype : array gethostbynamel ( string $hostname )
/PHP-5.3/ext/standard/
H A Dfsock.c44 char *hostname = NULL; in php_fsockopen_stream() local
59 hostname_len = spprintf(&hostname, 0, "%s:%ld", host, port); in php_fsockopen_stream()
62 hostname = host; in php_fsockopen_stream()
79 stream = php_stream_xport_create(hostname, hostname_len, ENFORCE_SAFE_MODE | REPORT_ERRORS, in php_fsockopen_stream()
83 efree(hostname); in php_fsockopen_stream()
H A Ddns.c157 char *hostname; in PHP_FUNCTION() local
163 hostname = php_gethostbyaddr(addr); in PHP_FUNCTION()
165 if (hostname == NULL) { in PHP_FUNCTION()
173 RETVAL_STRING(hostname, 0); in PHP_FUNCTION()
217 char *hostname; in PHP_FUNCTION() local
225 addr = php_gethostbyname(hostname); in PHP_FUNCTION()
235 char *hostname; in PHP_FUNCTION() local
245 hp = gethostbyname(hostname); in PHP_FUNCTION()
348 char *hostname, *rectype = NULL; in PHP_FUNCTION() local
710 char *hostname; in PHP_FUNCTION() local
[all …]
H A Ddns_win32.c46 char *hostname; in PHP_FUNCTION() local
53 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|z", &hostname, &hostname_len, &mx_list, &… in PHP_FUNCTION()
57 status = DnsQuery_A(hostname, DNS_TYPE_MX, DNS_QUERY_STANDARD, NULL, &pResult, NULL); in PHP_FUNCTION()
95 char *hostname, *rectype = NULL; in PHP_FUNCTION() local
102 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &hostname, &hostname_len, &rectype, &r… in PHP_FUNCTION()
130 status = DnsQuery_A(hostname, type, DNS_QUERY_STANDARD, NULL, &pResult, NULL); in PHP_FUNCTION()
340 char *hostname; in PHP_FUNCTION() local
346 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lzz", &hostname, &hostname_len, &type_para… in PHP_FUNCTION()
422 status = DnsQuery_A(hostname, type_to_fetch, DNS_QUERY_STANDARD, NULL, &pResult, NULL); in PHP_FUNCTION()
/PHP-5.3/ext/standard/tests/file/
H A Dbasename_variation1.phpt23 "hostname:",
177 basename for path hostname:foo is:
178 string(12) "hostname:foo"
179 basename for path hostname:foo/ is:
180 string(12) "hostname:foo"
181 basename for path hostname:foo\ is:
182 string(13) "hostname:foo\"
184 string(16) "hostname:foo.bar"
186 string(16) "hostname:foo.bar"
188 string(17) "hostname:foo.bar\"
[all …]
H A Dbasename.phpt74 array("hostname:/home/usr/bar.tar"),
75 array("hostname:/home/user/bar.tar", "home"),
76 array("hostname:/home/user/tbar.gz", "bar.gz"),
77 array("hostname:/home/user/tbar.gz", "/bar.gz"),
78 array("hostname:/home/user/tbar.gz", "/bar.gz/"),
79 array("hostname:/home/user/tbar.gz/", "/bar.gz/"),
84 array("hostname:/home/user/My Pics.gz/", ".gz"),
85 array("hostname:/home/user/My Pics.gz/"),
86 array("hostname:/home/user/My Pics.gz/", NULL),
87 array("hostname:/home/user/My Pics.gz/", ' '),
[all …]
H A Dbasename_variation1-win32.phpt23 "hostname:",
177 basename for path hostname:foo is:
178 string(12) "hostname:foo"
179 basename for path hostname:foo/ is:
180 string(12) "hostname:foo"
181 basename for path hostname:foo\ is:
182 string(12) "hostname:foo"
183 basename for path hostname:foo.bar is:
184 string(16) "hostname:foo.bar"
186 string(16) "hostname:foo.bar"
[all …]
/PHP-5.3/ext/ldap/tests/
H A Dldap_connect_variation.phpt12 // no hostname, no port
28 // bad hostname (connect should work, not bind)
/PHP-5.3/ext/soap/tests/bugs/
H A Dbug32941.phpt24 <ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">steckovic</ns2:hostname>
/PHP-5.3/ext/mysqli/
H A Dmysqli_nonapi.c64 char *hostname = NULL, *username=NULL, *passwd=NULL, *dbname=NULL, *socket=NULL; local
88 hostname = username = dbname = passwd = socket = NULL;
91 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ssssls", &hostname, &hostname_len, &usernam…
110 …&hostname, &hostname_len, &username, &username_len, &passwd, &passwd_len, &dbname, &dbname_len, &p…
140 if (!hostname || !hostname_len) {
141 hostname = MyG(default_host);
151 if (strlen(SAFE_STR(hostname)) > 2 && !strncasecmp(hostname, "p:", 2)) {
152 hostname += 2;
158 hash_len = spprintf(&hash_key, 0, "mysqli_%s_%s%ld%s%s%s", SAFE_STR(hostname), SAFE_STR(socket),
239 …if (mysql_real_connect(mysql->mysql, hostname, username, passwd, dbname, port, socket, flags) == N…
[all …]
/PHP-5.3/ext/filter/tests/
H A Dbug51192.phpt2 bug 51192, FILTER_VALIDATE_URL will invalidate a hostname that includes '-'
/PHP-5.3/ext/mysqli/tests/
H A Dbug38003.phpt10 private function __construct($hostname, $username, $password, $database) {
/PHP-5.3/build/
H A Dshtool679 hostname=''
682 hostname="`(uname -n) 2>/dev/null |\
684 if [ ".$hostname" = . ]; then
685 hostname="`(hostname) 2>/dev/null |\
687 if [ ".$hostname" = . ]; then
688 hostname='unknown'
691 case $hostname in
693 domainname=".`echo $hostname | cut -d. -f2-`"
694 hostname="`echo $hostname | cut -d. -f1`"
759 -e "s/%h/${hostname}/g" \
/PHP-5.3/ext/snmp/
H A Dsnmp.c786 char hostname[MAX_NAME_LEN]; in php_snmp() local
811 strlcpy(hostname, a1, sizeof(hostname)); in php_snmp()
812 if ((pptr = strchr (hostname, ':'))) { in php_snmp()
816 session.peername = hostname; in php_snmp()
1184 char hostname[MAX_NAME_LEN]; local
1211 strlcpy(hostname, a1, sizeof(hostname));
1212 if ((pptr = strchr(hostname, ':'))) {
1215 session.peername = hostname;
/PHP-5.3/ext/interbase/
H A Dibase_service.c34 char *hostname; member
49 if (sv->hostname) { in _php_ibase_free_service()
50 efree(sv->hostname); in _php_ibase_free_service()
247 svm->hostname = estrdup(host); in PHP_FUNCTION()
/PHP-5.3/ext/mysql/tests/
H A Dbug51242.phpt12 // 127.0.0.1:3306 as a (hopefully) moderately sensible default if the hostname

Completed in 47 milliseconds

12