/PHP-7.1/sapi/fpm/fpm/ |
H A D | fpm_trace.c | 10 int fpm_trace_get_strz(char *buf, size_t sz, long addr) /* {{{ */ in fpm_trace_get_strz() argument 13 long l = addr; in fpm_trace_get_strz() 18 for (addr = l; ; addr += SIZEOF_LONG) { in fpm_trace_get_strz() 19 if (0 > fpm_trace_get_long(addr, &l)) { in fpm_trace_get_strz()
|
H A D | fpm_trace_ptrace.c | 56 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument 61 .piod_offs = (void *) addr, in fpm_trace_get_long() 72 *data = ptrace(PTRACE_PEEKDATA, traced_pid, (void *) addr, 0); in fpm_trace_get_long()
|
H A D | fpm_trace.h | 12 int fpm_trace_get_long(long addr, long *data); 13 int fpm_trace_get_strz(char *buf, size_t sz, long addr);
|
H A D | fpm_trace_mach.c | 82 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument 84 size_t offset = ((uintptr_t) (addr) % fpm_pagesize); in fpm_trace_get_long() 85 vm_offset_t base = (uintptr_t) (addr) - offset; in fpm_trace_get_long()
|
H A D | fpm_sockets.c | 276 char *addr = NULL; in fpm_socket_af_inet_listening_socket() local 286 addr = dup_address; in fpm_socket_af_inet_listening_socket() 291 addr = "::"; in fpm_socket_af_inet_listening_socket() 300 addr_len = strlen(addr); in fpm_socket_af_inet_listening_socket() 301 if (addr[0] == '[' && addr[addr_len - 1] == ']') { in fpm_socket_af_inet_listening_socket() 302 addr[addr_len - 1] = '\0'; in fpm_socket_af_inet_listening_socket() 303 addr++; in fpm_socket_af_inet_listening_socket() 310 if ((status = getaddrinfo(addr, port_str, &hints, &servinfo)) != 0) { in fpm_socket_af_inet_listening_socket() 320 zlog(ZLOG_DEBUG, "Found address for %s, socket opened on %s", addr, tmpbuf); in fpm_socket_af_inet_listening_socket() 323 zlog(ZLOG_WARNING, "Found multiple addresses for %s, %s ignored", addr, tmpbuf); in fpm_socket_af_inet_listening_socket()
|
H A D | fpm_trace_pread.c | 57 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument 59 if (sizeof(*data) != pread(mem_file, (void *) data, sizeof(*data), (uintptr_t) addr)) { in fpm_trace_get_long()
|
/PHP-7.1/sapi/phpdbg/ |
H A D | phpdbg_watch.h | 70 } addr; member 126 int phpdbg_watchpoint_segfault_handler(void *addr); 129 void phpdbg_create_addr_watchpoint(void *addr, size_t size, phpdbg_watchpoint_t *watch); 144 static zend_always_inline void *phpdbg_get_page_boundary(void *addr) { in phpdbg_get_page_boundary() argument 145 return (void *) ((size_t) addr & ~(phpdbg_pagesize - 1)); in phpdbg_get_page_boundary() 148 static zend_always_inline size_t phpdbg_get_total_page_size(void *addr, size_t size) { in phpdbg_get_total_page_size() argument 149 …t) phpdbg_get_page_boundary((void *) ((size_t) addr + size - 1)) - (size_t) phpdbg_get_page_bounda… in phpdbg_get_total_page_size()
|
H A D | phpdbg_watch.c | 233 …addr.ptr) > (char *) addr || (char *) phpdbg_get_page_boundary(watch->addr.ptr) + phpdbg_get_total… in phpdbg_check_for_watchpoint() 263 addr 295 watch->addr.ptr = addr; 349 } else if (coll->reference.addr.ptr) { 369 if (Z_REFCOUNTED_P(watch->addr.zv)) { 389 if (Z_ISREF_P(watch->addr.zv)) { 405 coll->reference.addr.ptr = NULL; 506 if (element->watch->addr.ptr == ptr) { 544 zv = element->watch->addr.zv; 729 zv = element->parent->watch->addr.zv; [all …]
|
H A D | phpdbg_win.c | 24 int mprotect(void *addr, size_t size, int protection) { in mprotect() argument 26 …return (int)VirtualProtect(addr, size, protection == (PROT_READ | PROT_WRITE) ? PAGE_READWRITE : P… in mprotect()
|
H A D | phpdbg_io.c | 257 PHPDBG_API int phpdbg_create_listenable_socket(const char *addr, unsigned short port, struct addrin… argument 263 int8_t any_addr = *addr == '*'; 275 rc = inet_pton(AF_INET, addr, &serveraddr); 282 rc = inet_pton(AF_INET6, addr, &serveraddr); 295 rc = getaddrinfo(addr, port_buf, &hints, &res); 305 snprintf(buf, sizeof(buf), "Could not translate address '%s'", addr); 314 snprintf(buf, sizeof(buf), "Host '%s' not found. %s", addr, estrdup(gai_strerror(rc)));
|
/PHP-7.1/main/streams/ |
H A D | transports.c | 299 param.want_addr = addr ? 1 : 0; in php_stream_xport_accept() 307 if (addr) { in php_stream_xport_accept() 308 *addr = param.outputs.addr; in php_stream_xport_accept() 334 param.want_addr = addr ? 1 : 0; in php_stream_xport_get_name() 340 if (addr) { in php_stream_xport_get_name() 341 *addr = param.outputs.addr; in php_stream_xport_get_name() 417 if (!oob && addr == NULL) { in php_stream_xport_recvfrom() 442 param.want_addr = addr ? 1 : 0; in php_stream_xport_recvfrom() 451 if (addr) { in php_stream_xport_recvfrom() 452 *addr = param.outputs.addr; in php_stream_xport_recvfrom() [all …]
|
H A D | php_stream_transport.h | 85 void **addr, socklen_t *addrlen, 93 void **addr, socklen_t *addrlen 104 int flags, void **addr, socklen_t *addrlen, 110 int flags, void *addr, socklen_t addrlen); 146 struct sockaddr *addr; member 155 struct sockaddr *addr; member
|
/PHP-7.1/ext/standard/ |
H A D | flock_compat.c | 184 register unsigned long acc = 0, addr = 0; in inet_aton() local 213 addr = addr << 8 | acc; in inet_aton() 224 addr <<= 8 * (3 - dots) ; in inet_aton() 229 ap->s_addr = htonl(addr); in inet_aton()
|
/PHP-7.1/ext/curl/tests/ |
H A D | curl_basic_008.phpt | 8 $addr = "www.".uniqid().".".uniqid(); 9 if (gethostbyname($addr) != $addr) {
|
H A D | curl_basic_010.phpt | 8 $addr = "www.".uniqid().".".uniqid(); 9 if (gethostbyname($addr) != $addr) {
|
/PHP-7.1/ext/sockets/tests/ |
H A D | socket_recvmsg.phpt | 21 $addr = '::1'; 38 $r = socket_sendto($sends1, $m = "testing packet", strlen($m), 0, $addr, 3000); 44 "name" => ["family" => AF_INET6, "addr" => "::1"], 63 [addr] => ::1 77 [addr] => ::1
|
H A D | socket_sendrecvmsg_multi_msg-win32.phpt | 18 $addr = '::1'; 37 "name" => [ "addr" => "::1", "port" => 3000], 43 'addr' => '::1', 52 "name" => ["family" => AF_INET6, "addr" => "::1"], 72 [addr] => ::1 86 [addr] => ::1
|
H A D | socket_sendrecvmsg_multi_msg.phpt | 25 $addr = '::1'; 44 "name" => [ "addr" => "::1", "port" => 3000], 56 "name" => ["family" => AF_INET6, "addr" => "::1"], 76 [addr] => ::1 90 [addr] => ::1
|
H A D | socket_create_listen-win32.phpt | 14 socket_getsockname($sock, $addr, $port); 15 var_dump($addr, $port);
|
H A D | socket_create_listen.phpt | 14 socket_getsockname($sock, $addr, $port); 15 var_dump($addr, $port);
|
/PHP-7.1/main/ |
H A D | php_network.h | 254 const struct sockaddr *addr, 261 #define php_connect_nonb(sock, addr, addrlen, timeout) \ argument 262 php_network_connect_socket((sock), (addr), (addrlen), 0, (timeout), NULL, NULL) 270 struct sockaddr **addr, 280 struct sockaddr **addr, 286 struct sockaddr **addr, 290 PHPAPI void php_any_addr(int family, php_sockaddr_storage *addr, unsigned short port); 291 PHPAPI int php_sockaddr_size(php_sockaddr_storage *addr); 317 struct sockaddr **addr, 321 PHPAPI int php_network_parse_network_address_with_port(const char *addr,
|
H A D | network.c | 541 if (*addr == '[') { 547 addr++; 556 tmp = estrndup(addr, colon - addr); 620 struct sockaddr **addr, argument 624 if (addr) { 625 *addr = emalloc(sl); 626 memcpy(*addr, sa, sl); 681 struct sockaddr **addr, argument 692 addr, addrlen 712 addr, addrlen [all …]
|
/PHP-7.1/ext/soap/tests/ |
H A D | bug70211.phpt | 6 $addr = 0x4141414141414141; 18 $sf = new SoapFault('1', 'string', 'detail', 'header','line', str_repeat("A",232).ptr2str($addr));
|
/PHP-7.1/ext/sockets/ |
H A D | multicast.c | 473 struct in_addr addr; in _php_mcast_join_leave() 478 if (php_if_index_to_addr4(if_index, sock, &addr) == in _php_mcast_join_leave() 481 mreq.imr_interface = addr; in _php_mcast_join_leave() 538 struct in_addr addr; in _php_mcast_source_op() 547 if (php_if_index_to_addr4(if_index, sock, &addr) == in _php_mcast_source_op() 550 mreqs.imr_interface = addr; in _php_mcast_source_op() 680 if (addr->s_addr == INADDR_ANY) { in php_add4_to_if_index() 701 if (r.dwAddr == addr->s_addr) { in php_add4_to_if_index() 709 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str)); in php_add4_to_if_index() 764 if (addr->s_addr == INADDR_ANY) { [all …]
|
/PHP-7.1/ext/oci8/tests/ |
H A D | bind_rowid.phpt | 39 $addr = $row['ADDRESS']; 41 $addr = 'Some new text'; 46 oci_bind_by_name($s, ':a_bv', $addr);
|