/php-src/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.c | 2489 struct addrinfo hints, *result, *rp; local 2499 memset(&hints, 0, sizeof(hints)); 2505 hints.ai_flags = zval_get_long(hint); 2507 hints.ai_socktype = zval_get_long(hint); 2509 hints.ai_protocol = zval_get_long(hint); 2511 hints.ai_family = zval_get_long(hint); 2521 if (getaddrinfo(ZSTR_VAL(hostname), service, &hints, &result) != 0) {
|
H A D | sockets.stub.php | 2073 function socket_addrinfo_lookup(string $host, ?string $service = null, array $hints = []): array|fa… argument
|
H A D | sockets_arginfo.h | 186 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, hints, IS_ARRAY, 0, "[]")
|
/php-src/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"; 151 ---> Type hints with callback function: 162 ---> Type hints with callback static method: 173 ---> 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-src/Zend/tests/type_declarations/ |
H A D | default_boolean_hint_values.phpt | 2 Default values for boolean hints should work
|
/php-src/ext/sockets/tests/ |
H A D | socket_addrinfo_lookup.phpt | 19 socket_addrinfo_lookup(): Argument #3 ($hints) must only contain array keys "ai_flags", "ai_socktyp…
|
/php-src/ext/reflection/tests/ |
H A D | bug26695.phpt | 2 Reflection Bug #26695 (Reflection API does not recognize mixed-case class hints)
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 307 struct addrinfo hints, *servinfo, *p; in fpm_socket_af_inet_socket_by_addr() local 312 memset(&hints, 0, sizeof hints); in fpm_socket_af_inet_socket_by_addr() 313 hints.ai_family = AF_UNSPEC; in fpm_socket_af_inet_socket_by_addr() 314 hints.ai_socktype = SOCK_STREAM; in fpm_socket_af_inet_socket_by_addr() 316 if ((status = getaddrinfo(addr, port, &hints, &servinfo)) != 0) { in fpm_socket_af_inet_socket_by_addr()
|
/php-src/main/ |
H A D | network.c | 156 struct addrinfo hints, *res, *sai; in php_network_getaddresses() local 166 memset(&hints, '\0', sizeof(hints)); in php_network_getaddresses() 168 hints.ai_family = AF_INET; /* default to regular inet (see below) */ in php_network_getaddresses() 169 hints.ai_socktype = socktype; in php_network_getaddresses() 189 hints.ai_family = ipv6_borked ? AF_INET : AF_UNSPEC; in php_network_getaddresses() 192 if ((n = getaddrinfo(host, NULL, &hints, &res))) { in php_network_getaddresses()
|
/php-src/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-src/ext/opcache/jit/ir/ |
H A D | ir_x86.h | 230 int8_t hints[IR_MAX_REG_ARGS + 3]; member
|
H A D | ir_aarch64.h | 186 int8_t hints[IR_MAX_REG_ARGS + 3]; member
|
H A D | ir_ra.c | 550 reg = (j < constraints.hints_count) ? constraints.hints[j] : IR_REG_NONE; in ir_add_fusion_ranges() 817 ir_reg reg = (j < constraints.hints_count) ? constraints.hints[j] : IR_REG_NONE; in ir_compute_live_ranges() 1207 reg = (j < constraints.hints_count) ? constraints.hints[j] : IR_REG_NONE; in ir_add_fusion_ranges() 1433 ir_reg reg = (j < constraints.hints_count) ? constraints.hints[j] : IR_REG_NONE; in ir_compute_live_ranges()
|
H A D | ir_x86.dasc | 1168 constraints->hints[1] = IR_REG_NONE; 1169 constraints->hints[2] = IR_REG_RCX; 1177 constraints->hints[1] = IR_REG_RAX; 1187 constraints->hints[1] = IR_REG_RAX; 1196 constraints->hints[1] = IR_REG_RAX; 1372 constraints->hints[2] = IR_REG_NONE; 1373 constraints->hints_count = ir_get_args_regs(ctx, insn, constraints->hints); 1492 constraints->hints[2] = IR_REG_INT_RET1; 1498 constraints->hints[2] = IR_REG_FP_RET1; 10093 ir_reg reg = (j < constraints.hints_count) ? constraints.hints[j] : IR_REG_NONE;
|
H A D | ir_aarch64.dasc | 579 constraints->hints[2] = IR_REG_NONE; 580 constraints->hints_count = ir_get_args_regs(ctx, insn, constraints->hints); 635 constraints->hints[2] = IR_REG_INT_RET1; 640 constraints->hints[2] = IR_REG_FP_RET1; 5686 ir_reg reg = (j < constraints.hints_count) ? constraints.hints[j] : IR_REG_NONE;
|
/php-src/sapi/litespeed/ |
H A D | lsapilib.c | 2638 struct addrinfo *res, hints; in LSAPI_ParseSockAddr() local 2707 memset(&hints, 0, sizeof(hints)); in LSAPI_ParseSockAddr() 2709 hints.ai_family = pAddr->sa_family; in LSAPI_ParseSockAddr() 2710 hints.ai_socktype = SOCK_STREAM; in LSAPI_ParseSockAddr() 2711 hints.ai_protocol = IPPROTO_TCP; in LSAPI_ParseSockAddr() 2713 if ( getaddrinfo(p, NULL, &hints, &res) ) in LSAPI_ParseSockAddr()
|
/php-src/ |
H A D | configure.ac | 624 struct addrinfo *ai, *pai, hints; 626 memset(&hints, 0, sizeof(hints)); 627 hints.ai_flags = AI_NUMERICHOST; 629 if (getaddrinfo("127.0.0.1", 0, &hints, &ai) < 0) {
|
/php-src/ext/mbstring/tests/ |
H A D | mb_detect_encoding.phpt | 119 // We do not have any strong hints showing that the second one is actually UTF-8...
|
/php-src/ext/mbstring/tests/data/ |
H A D | MacJapanese-SJIS.txt | 29 # Use standard Unicodes plus transcoding hints 281 # hints." These are used in combination with standard Unicode characters 284 # hints are "grouping hints" - they indicate that the next 2-4 Unicode 286 # other sixteen transcoding hints are "variant tags" - they are like 292 # The transcoding coding hints used in this mapping table are:
|
/php-src/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 2351 # Provides content hints for version 0 files. Assumes that the root 2846 # The SVR4 "cpio(4)" hints that there are additional formats, but they 15899 # /var/run/ld.so.hints 15901 0 lelong 011421044151 ld.so hints file (Little Endian 15904 0 belong 011421044151 ld.so hints file (Big Endian
|