Home
last modified time | relevance | path

Searched refs:hints (Results 1 – 21 of 21) sorted by relevance

/PHP-7.2/sapi/phpdbg/
H A Dphpdbg_io.c261 struct addrinfo hints, *res = NULL; local
266 memset(&hints, 0, sizeof hints);
268 hints.ai_flags = AI_PASSIVE;
270 hints.ai_flags = AI_NUMERICSERV;
272 hints.ai_family = AF_UNSPEC;
273 hints.ai_socktype = SOCK_STREAM;
277 hints.ai_family = AF_INET;
279 hints.ai_flags |= AI_NUMERICHOST;
284 hints.ai_family = AF_INET6;
286 hints.ai_flags |= AI_NUMERICHOST;
[all …]
/PHP-7.2/ext/sockets/
H A Dsockaddr_conv.c20 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 Dsockets.c281 ZEND_ARG_INFO(0, hints)
2549 struct addrinfo hints, *result, *rp, *res; local
2551 memset(&hints, 0, sizeof(hints));
2561 hints.ai_flags = zval_get_long(hint);
2563 hints.ai_socktype = zval_get_long(hint);
2565 hints.ai_protocol = zval_get_long(hint);
2567 hints.ai_family = zval_get_long(hint);
2575 if (getaddrinfo(ZSTR_VAL(hostname), service, &hints, &result) != 0) {
/PHP-7.2/tests/classes/
H A Dtype_hinting_004.phpt2 Ensure type hints are enforced for functions invoked as callbacks.
11 echo "---> Type hints with callback function:\n";
50 echo "\n\n---> Type hints with callback static method:\n";
99 echo "\n\n---> Type hints with callback instance method:\n";
151 ---> Type hints with callback function:
162 ---> Type hints with callback static method:
173 ---> Type hints with callback instance method:
H A Dtype_hinting_005d.phpt2 Check type hint compatibility in overrides with array hints.
H A Dtype_hinting_005c.phpt2 Check type hint compatibility in overrides with array hints.
H A Dautoload_009.phpt2 Ensure type hints for unknown types do not trigger autoload.
H A Dtype_hinting_005a.phpt2 Check type hint compatibility in overrides with array hints.
/PHP-7.2/Zend/tests/type_declarations/
H A Ddefault_boolean_hint_values.phpt2 Default values for boolean hints should work
/PHP-7.2/sapi/fpm/fpm/
H A Dfpm_sockets.c273 struct addrinfo hints, *servinfo, *p; in fpm_socket_af_inet_socket_by_addr() local
278 memset(&hints, 0, sizeof hints); in fpm_socket_af_inet_socket_by_addr()
279 hints.ai_family = AF_UNSPEC; in fpm_socket_af_inet_socket_by_addr()
280 hints.ai_socktype = SOCK_STREAM; in fpm_socket_af_inet_socket_by_addr()
282 if ((status = getaddrinfo(addr, port, &hints, &servinfo)) != 0) { in fpm_socket_af_inet_socket_by_addr()
/PHP-7.2/ext/reflection/tests/
H A Dbug26695.phpt2 Reflection Bug #26695 (Reflection API does not recognize mixed-case class hints)
/PHP-7.2/main/
H A Dnetwork.c167 struct addrinfo hints, *res, *sai; in php_network_getaddresses() local
177 memset(&hints, '\0', sizeof(hints)); in php_network_getaddresses()
179 hints.ai_family = AF_INET; /* default to regular inet (see below) */ in php_network_getaddresses()
180 hints.ai_socktype = socktype; in php_network_getaddresses()
200 hints.ai_family = ipv6_borked ? AF_INET : AF_UNSPEC; in php_network_getaddresses()
203 if ((n = getaddrinfo(host, NULL, &hints, &res))) { in php_network_getaddresses()
/PHP-7.2/
H A DREADME.MAILINGLIST_RULES54 The next few rules are more some general hints:
74 Finally, additional hints on how to behave inside the virtual community can be
H A Dconfigure.ac699 struct addrinfo *ai, *pai, hints;
701 memset(&hints, 0, sizeof(hints));
702 hints.ai_flags = AI_NUMERICHOST;
704 if (getaddrinfo("127.0.0.1", 0, &hints, &ai) < 0) {
H A DINSTALL166 This section contains notes and hints specific to Apache 2.x installs
317 This section contains notes and hints specific to Lighttpd 1.4 installs
417 This section contains notes and hints specific to Sun Java System Web
649 This section contains notes and hints specific to installing PHP on
667 This section contains notes and hints specific to installing PHP on
744 This section contains notes and hints specific to installing PHP on
787 This section contains notes and hints specific to installing PHP on
871 This section contains notes and hints specific to installing PHP on Mac
/PHP-7.2/ext/pdo/
H A DTODO30 If the API needs hints from the client side, we need
/PHP-7.2/sapi/litespeed/
H A Dlsapilib.c2615 struct addrinfo *res, hints; in LSAPI_ParseSockAddr() local
2684 memset(&hints, 0, sizeof(hints)); in LSAPI_ParseSockAddr()
2686 hints.ai_family = pAddr->sa_family; in LSAPI_ParseSockAddr()
2687 hints.ai_socktype = SOCK_STREAM; in LSAPI_ParseSockAddr()
2688 hints.ai_protocol = IPPROTO_TCP; in LSAPI_ParseSockAddr()
2690 if ( getaddrinfo(p, NULL, &hints, &res) ) in LSAPI_ParseSockAddr()
/PHP-7.2/win32/
H A Dinstall.txt362 This section contains notes and hints specific to IIS (Microsoft
479 This section contains notes and hints specific to Apache 1.3.x installs
573 This section contains notes and hints specific to Apache 2.0.x installs
688 This section contains notes and hints specific to Sun Java System Web
866 This section contains notes and hints specific to OmniHTTPd on Windows.
901 This section contains notes and hints specific to Xitami on Windows.
/PHP-7.2/ext/fileinfo/tests/
H A Dmagic1805 # Provides content hints for version 0 files. Assumes that the root
2127 # The SVR4 "cpio(4)" hints that there are additional formats, but they
11309 # /var/run/ld.so.hints
11311 0 lelong 011421044151 ld.so hints file (Little Endian
11314 0 belong 011421044151 ld.so hints file (Big Endian
H A Dmagic私はガラスを食べられます1805 # Provides content hints for version 0 files. Assumes that the root
2127 # The SVR4 "cpio(4)" hints that there are additional formats, but they
11309 # /var/run/ld.so.hints
11311 0 lelong 011421044151 ld.so hints file (Little Endian
11314 0 belong 011421044151 ld.so hints file (Big Endian
/PHP-7.2/ext/sqlite3/libsqlite/
H A Dsqlite3.c62693 u8 hints; /* As configured by CursorSetHints() */
64131 pCur->hints = x;
71562 pCur->hints&BTREE_BULKLOAD);
73583 return (pCsr->hints & mask)!=0;

Completed in 555 milliseconds