/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_io.c | 259 struct addrinfo hints, *res = NULL; local 264 memset(&hints, 0, sizeof hints); 266 hints.ai_flags = AI_PASSIVE; 268 hints.ai_flags = AI_NUMERICSERV; 270 hints.ai_family = AF_UNSPEC; 271 hints.ai_socktype = SOCK_STREAM; 275 hints.ai_family = AF_INET; 277 hints.ai_flags |= AI_NUMERICHOST; 282 hints.ai_family = AF_INET6; 284 hints.ai_flags |= AI_NUMERICHOST; [all …]
|
/PHP-8.0/ext/sockets/ |
H A D | sockaddr_conv.c | 20 struct addrinfo hints; in php_set_inet6_addr() local 30 memset(&hints, 0, sizeof(struct addrinfo)); in php_set_inet6_addr() 31 hints.ai_family = AF_INET6; in php_set_inet6_addr() 33 hints.ai_flags = AI_V4MAPPED | AI_ADDRCONFIG; in php_set_inet6_addr() 35 hints.ai_flags = AI_ADDRCONFIG; in php_set_inet6_addr() 37 getaddrinfo(string, NULL, &hints, &addrinfo); in php_set_inet6_addr()
|
H A D | sockets.stub.php | 104 function socket_addrinfo_lookup(string $host, ?string $service = null, array $hints = []): array|fa… argument
|
H A D | sockets.c | 2302 struct addrinfo hints, *result, *rp; local 2309 memset(&hints, 0, sizeof(hints)); 2315 hints.ai_flags = zval_get_long(hint); 2317 hints.ai_socktype = zval_get_long(hint); 2319 hints.ai_protocol = zval_get_long(hint); 2321 hints.ai_family = zval_get_long(hint); 2331 if (getaddrinfo(ZSTR_VAL(hostname), service, &hints, &result) != 0) {
|
H A D | sockets_arginfo.h | 180 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, hints, IS_ARRAY, 0, "[]")
|
/PHP-8.0/tests/classes/ |
H A D | type_hinting_004.phpt | 2 Ensure type hints are enforced for functions invoked as callbacks. 6 echo "---> Type hints with callback function:\n"; 45 echo "\n\n---> Type hints with callback static method:\n"; 94 echo "\n\n---> Type hints with callback instance method:\n"; 146 ---> Type hints with callback function: 157 ---> Type hints with callback static method: 168 ---> Type hints with callback instance method:
|
H A D | type_hinting_005d.phpt | 2 Check type hint compatibility in overrides with array hints.
|
H A D | type_hinting_005c.phpt | 2 Check type hint compatibility in overrides with array hints.
|
H A D | type_hinting_005a.phpt | 2 Check type hint compatibility in overrides with array hints.
|
H A D | autoload_009.phpt | 2 Ensure type hints for unknown types do not trigger autoload.
|
/PHP-8.0/Zend/tests/type_declarations/ |
H A D | default_boolean_hint_values.phpt | 2 Default values for boolean hints should work
|
/PHP-8.0/ext/sockets/tests/ |
H A D | socket_addrinfo_lookup.phpt | 22 socket_addrinfo_lookup(): Argument #3 ($hints) must only contain array keys "ai_flags", "ai_socktyp…
|
/PHP-8.0/ext/reflection/tests/ |
H A D | bug26695.phpt | 2 Reflection Bug #26695 (Reflection API does not recognize mixed-case class hints)
|
/PHP-8.0/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 288 struct addrinfo hints, *servinfo, *p; in fpm_socket_af_inet_socket_by_addr() local 293 memset(&hints, 0, sizeof hints); in fpm_socket_af_inet_socket_by_addr() 294 hints.ai_family = AF_UNSPEC; in fpm_socket_af_inet_socket_by_addr() 295 hints.ai_socktype = SOCK_STREAM; in fpm_socket_af_inet_socket_by_addr() 297 if ((status = getaddrinfo(addr, port, &hints, &servinfo)) != 0) { in fpm_socket_af_inet_socket_by_addr()
|
/PHP-8.0/main/ |
H A D | network.c | 162 struct addrinfo hints, *res, *sai; in php_network_getaddresses() local 172 memset(&hints, '\0', sizeof(hints)); in php_network_getaddresses() 174 hints.ai_family = AF_INET; /* default to regular inet (see below) */ in php_network_getaddresses() 175 hints.ai_socktype = socktype; in php_network_getaddresses() 195 hints.ai_family = ipv6_borked ? AF_INET : AF_UNSPEC; in php_network_getaddresses() 198 if ((n = getaddrinfo(host, NULL, &hints, &res))) { in php_network_getaddresses()
|
/PHP-8.0/docs/ |
H A D | mailinglist-rules.md | 51 The next few rules are more some general hints: 71 Finally, additional hints on how to behave inside the virtual community can be
|
/PHP-8.0/sapi/litespeed/ |
H A D | lsapilib.c | 2623 struct addrinfo *res, hints; in LSAPI_ParseSockAddr() local 2693 memset(&hints, 0, sizeof(hints)); in LSAPI_ParseSockAddr() 2695 hints.ai_family = pAddr->sa_family; in LSAPI_ParseSockAddr() 2696 hints.ai_socktype = SOCK_STREAM; in LSAPI_ParseSockAddr() 2697 hints.ai_protocol = IPPROTO_TCP; in LSAPI_ParseSockAddr() 2699 if ( getaddrinfo(p, NULL, &hints, &res) ) in LSAPI_ParseSockAddr()
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit.c | 1485 …ssa, zend_lifetime_interval *current, zend_regset available, zend_regset *hints, zend_lifetime_int… in zend_jit_try_allocate_free_reg() argument 1521 if (!ZEND_REGSET_IN(*hints, it->reg) && in zend_jit_try_allocate_free_reg() 1541 ZEND_REGSET_EXCL(*hints, hint); in zend_jit_try_allocate_free_reg() 1640 ZEND_REGSET_INCL(*hints, hint); in zend_jit_try_allocate_free_reg() 1651 low_priority_regs = *hints; in zend_jit_try_allocate_free_reg() 1687 ZEND_REGSET_INCL(*hints, reg); in zend_jit_try_allocate_free_reg() 1696 ZEND_REGSET_INCL(*hints, reg2); in zend_jit_try_allocate_free_reg() 1708 ZEND_REGSET_INCL(*hints, reg); in zend_jit_try_allocate_free_reg() 1732 zend_regset hints = ZEND_REGSET_EMPTY; in zend_jit_linear_scan() local 1785 …if (zend_jit_try_allocate_free_reg(op_array, ssa_opcodes, ssa, current, available, &hints, active,… in zend_jit_linear_scan()
|
/PHP-8.0/ |
H A D | configure.ac | 635 struct addrinfo *ai, *pai, hints; 637 memset(&hints, 0, sizeof(hints)); 638 hints.ai_flags = AI_NUMERICHOST; 640 if (getaddrinfo("127.0.0.1", 0, &hints, &ai) < 0) {
|
/PHP-8.0/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 2034 # Provides content hints for version 0 files. Assumes that the root 2507 # The SVR4 "cpio(4)" hints that there are additional formats, but they 13899 # /var/run/ld.so.hints 13901 0 lelong 011421044151 ld.so hints file (Little Endian 13904 0 belong 011421044151 ld.so hints file (Big Endian
|
H A D | magic | 2034 # Provides content hints for version 0 files. Assumes that the root 2507 # The SVR4 "cpio(4)" hints that there are additional formats, but they 13899 # /var/run/ld.so.hints 13901 0 lelong 011421044151 ld.so hints file (Little Endian 13904 0 belong 011421044151 ld.so hints file (Big Endian
|