Home
last modified time | relevance | path

Searched refs:hostname (Results 1 – 25 of 63) sorted by path

123

/PHP-7.4/azure/
H A Dsetup-slapd.sh10 (hostname && hostname -a && hostname -A && hostname -f) |
15 (hostname -i && hostname -I && echo "127.0.0.1 ::1") |
/PHP-7.4/build/
H A Dlibtool.m44160 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
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-7.4/ext/fileinfo/tests/
H A Dmagic9911 # hostname[33] XORed
9912 >>0x165 ubyte^0x1BF x \b, hostname %c
29405 # hostname
29413 # hostname
H A Dmagic私はガラスを食べられます9911 # hostname[33] XORed
9912 >>0x165 ubyte^0x1BF x \b, hostname %c
29405 # hostname
29413 # hostname
/PHP-7.4/ext/filter/
H A Dlogical_filters.c502 int hostname = flags & FILTER_FLAG_HOSTNAME; in _php_filter_validate_domain() local
522 if(*s == '.' || (hostname && !isalnum((int)*(unsigned char *)s))) { in _php_filter_validate_domain()
529 …if (*(s + 1) == '.' || (hostname && (!isalnum((int)*(unsigned char *)(s - 1)) || !isalnum((int)*(u… in _php_filter_validate_domain()
536 if (i > 63 || (hostname && *s != '-' && !isalnum((int)*(unsigned char *)s))) { in _php_filter_validate_domain()
/PHP-7.4/ext/filter/tests/
H A Dbug51192.phpt2 bug 51192, FILTER_VALIDATE_URL will invalidate a hostname that includes '-'
H A Dbug64441.phpt2 bug 64441, FILTER_VALIDATE_URL will invalidate a hostname that ended by dot
/PHP-7.4/ext/ldap/
H A Dldap.c4437 ZEND_ARG_INFO(0, hostname)
/PHP-7.4/ext/ldap/tests/
H A Dldap_connect_variation.phpt12 // no hostname, no port
28 // bad hostname (connect should work, not bind)
/PHP-7.4/ext/mysqli/
H A Dmysqli_nonapi.c57 char *hostname = NULL, *username=NULL, *passwd=NULL, *dbname=NULL, *socket=NULL, local
83 hostname = username = dbname = passwd = socket = NULL;
86 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|s!s!s!s!l!s!", &hostname, &hostname_len, &username, &…
105 …&hostname, &hostname_len, &username, &username_len, &passwd, &passwd_len, &dbname, &dbname_len, &p…
136 if (!hostname || !hostname_len) {
137 hostname = MyG(default_host);
147 if (strlen(SAFE_STR(hostname)) > 2 && !strncasecmp(hostname, "p:", 2)) {
148 hostname += 2;
154 …hash_key = strpprintf(0, "mysqli_%s_%s" ZEND_LONG_FMT "%s%s%s", SAFE_STR(hostname), SAFE_STR(socke…
285 …if (mysql_real_connect(mysql->mysql, hostname, username, passwd, dbname, port, socket, flags) == N…
[all …]
/PHP-7.4/ext/mysqli/tests/
H A Dbug38003.phpt10 private function __construct($hostname, $username, $password, $database) {
H A Dmysqli_real_connect.phpt39 …// ( mysqli link [, string hostname [, string username [, string passwd [, string dbname [, int p…
/PHP-7.4/ext/mysqlnd/
H A Dmysqlnd_connection.c283 if (conn->hostname.s) { in MYSQLND_METHOD()
285 conn->hostname.s = NULL; in MYSQLND_METHOD()
554 if (hostname.l == sizeof("localhost") - 1 && !strncasecmp(hostname.s, "localhost", hostname.l)) {
563 if (hostname.l == sizeof(".") - 1 && hostname.s[0] == '.') {
648 if (!hostname.s || !hostname.s[0]) {
649 hostname.s = "localhost";
650 hostname.l = strlen(hostname.s);
720 conn->hostname.s = mnd_pestrndup(hostname.s, hostname.l, conn->persistent);
721 if (!conn->hostname.s) {
725 conn->hostname.l = hostname.l;
[all …]
H A Dmysqlnd_structs.h443 …c_mysqlnd_conn_data__connect)(MYSQLND_CONN_DATA * conn, MYSQLND_CSTRING hostname, MYSQLND_CSTRING …
531 …ysqlnd_conn_data__get_scheme)(MYSQLND_CONN_DATA * conn, MYSQLND_CSTRING hostname, MYSQLND_CSTRING …
626 …tus (*func_mysqlnd_data__connect)(MYSQLND * conn, const MYSQLND_CSTRING hostname, const MYSQLND_CS…
925 MYSQLND_STRING hostname; member
/PHP-7.4/ext/oci8/tests/
H A Ddetails.inc11 * string like hostname:port/service_name:POOLED
/PHP-7.4/ext/snmp/
H A Dsnmp.c1073 static int netsnmp_session_init(php_snmp_session **session_p, int version, char *hostname, char *co… in netsnmp_session_init() argument
1093 strlcpy(session->peername, hostname, MAX_NAME_LEN); in netsnmp_session_init()
1155 php_error_docref(NULL, E_WARNING, "Unknown failure while resolving '%s'", hostname); in netsnmp_session_init()
/PHP-7.4/ext/snmp/tests/
H A Dbug60749.phpt2 Bug #60749: SNMP module should not strip non-standard SNMP port from hostname
13 $hostname = "php.net";
14 $ip = gethostbyname($hostname);
16 echo "Could not resolve $hostname properly!\n";
20 $session = new SNMP(SNMP::VERSION_1, "$hostname:$port", $community, $timeout, $retries);
22 if (strcmp($info["hostname"], "$ip:$port") !== 0) {
23 echo "'" . $info["hostname"] . "' != '$ip:$port'\n";
H A Dbug64124.phpt18 # hostname variable was modified inline in netsnmp_session_init()
H A Dbug64159.phpt18 var_dump(("ab8283f948419b2d24d22f44a80b17d3" === md5(snmpget($hostname, $community, '.1.3.6.1.4.1.2…
H A Dgeneric_timeout_error.phpt17 var_dump(snmpget($hostname, 'timeout_community_432', '.1.3.6.1.2.1.1.1.0', $timeout, $retries));
18 var_dump(snmpget($hostname, 'timeout_community_432', array('.1.3.6.1.2.1.1.1.0'), $timeout, $retrie…
H A Dskipif.inc8 //snmpget ( string $hostname , string $community ,
11 if (snmpget($hostname, $community, '.1.3.6.1.2.1.1.1.0', $timeout) === false)
H A Dsnmp-object-errno-errstr.phpt20 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
27 $session = new SNMP(SNMP::VERSION_2c, $hostname, 'timeout_community_432', $timeout, $retries);
35 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
42 $session = new SNMP(SNMP::VERSION_3, $hostname, 'somebogususer', $timeout, $retries);
52 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
58 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
64 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
70 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
80 $session = new SNMP(SNMP::VERSION_3, $hostname, $rwuser, $timeout, $retries);
H A Dsnmp-object-error.phpt18 var_dump(new SNMP(SNMP::VERSION_1, $hostname));
23 var_dump(new SNMP(SNMP::VERSION_1, $hostname, $community, ''));
28 var_dump(new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, ''));
33 var_dump(new SNMP(7, $hostname, $community));
39 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
56 $session = new SNMP(SNMP::VERSION_3, $hostname, $user_noauth, $timeout, $retries);
65 $session = new SNMP(SNMP::VERSION_2c, $hostname, $community, $timeout, $retries);
H A Dsnmp-object-properties.phpt21 $session = new SNMP(SNMP::VERSION_1, $hostname, $community, $timeout, $retries);
73 ["hostname"]=>
100 ["hostname"]=>
127 ["hostname"]=>
157 ["hostname"]=>
199 ["hostname"]=>

Completed in 219 milliseconds

123