/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_trace.c | 9 int fpm_trace_get_strz(char *buf, size_t sz, long addr) /* {{{ */ in fpm_trace_get_strz() argument 12 long l = addr; in fpm_trace_get_strz() 17 for (addr = l; ; addr += SIZEOF_LONG) { in fpm_trace_get_strz() 18 if (0 > fpm_trace_get_long(addr, &l)) { in fpm_trace_get_strz()
|
H A D | fpm_trace_ptrace.c | 55 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument 60 .piod_offs = (void *) addr, in fpm_trace_get_long() 71 *data = ptrace(PTRACE_PEEKDATA, traced_pid, (void *) addr, 0); in fpm_trace_get_long()
|
H A D | fpm_trace.h | 11 int fpm_trace_get_long(long addr, long *data); 12 int fpm_trace_get_strz(char *buf, size_t sz, long addr);
|
H A D | fpm_trace_mach.c | 81 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument 83 size_t offset = ((uintptr_t) (addr) % fpm_pagesize); in fpm_trace_get_long() 84 vm_offset_t base = (uintptr_t) (addr) - offset; in fpm_trace_get_long()
|
H A D | fpm_sockets.c | 281 if ((status = getaddrinfo(addr, port, &hints, &servinfo)) != 0) { in fpm_socket_af_inet_socket_by_addr() 290 zlog(ZLOG_DEBUG, "Found address for %s, socket opened on %s", addr, tmpbuf); in fpm_socket_af_inet_socket_by_addr() 293 zlog(ZLOG_WARNING, "Found multiple addresses for %s, %s ignored", addr, tmpbuf); in fpm_socket_af_inet_socket_by_addr() 307 char *addr = NULL; in fpm_socket_af_inet_listening_socket() local 315 addr = dup_address; in fpm_socket_af_inet_listening_socket() 318 addr_len = strlen(addr); in fpm_socket_af_inet_listening_socket() 319 if (addr[0] == '[' && addr[addr_len - 1] == ']') { in fpm_socket_af_inet_listening_socket() 320 addr[addr_len - 1] = '\0'; in fpm_socket_af_inet_listening_socket() 321 addr++; in fpm_socket_af_inet_listening_socket() 334 if (addr) { in fpm_socket_af_inet_listening_socket() [all …]
|
H A D | fpm_trace_pread.c | 56 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument 58 if (sizeof(*data) != pread(mem_file, (void *) data, sizeof(*data), (uintptr_t) addr)) { in fpm_trace_get_long()
|
/PHP-7.3/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; 350 } else if (coll->reference.addr.ptr) { 370 if (Z_REFCOUNTED_P(watch->addr.zv)) { 390 if (Z_ISREF_P(watch->addr.zv)) { 406 coll->reference.addr.ptr = NULL; 507 if (element->watch->addr.ptr == ptr) { 545 zv = element->watch->addr.zv; 730 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.3/main/streams/ |
H A D | transports.c | 292 param.want_addr = addr ? 1 : 0; in php_stream_xport_accept() 300 if (addr) { in php_stream_xport_accept() 301 *addr = param.outputs.addr; in php_stream_xport_accept() 327 param.want_addr = addr ? 1 : 0; in php_stream_xport_get_name() 333 if (addr) { in php_stream_xport_get_name() 334 *addr = param.outputs.addr; in php_stream_xport_get_name() 410 if (!oob && addr == NULL) { in php_stream_xport_recvfrom() 435 param.want_addr = addr ? 1 : 0; in php_stream_xport_recvfrom() 444 if (addr) { in php_stream_xport_recvfrom() 445 *addr = param.outputs.addr; in php_stream_xport_recvfrom() [all …]
|
H A D | php_stream_transport.h | 84 void **addr, socklen_t *addrlen, 92 void **addr, socklen_t *addrlen 103 int flags, void **addr, socklen_t *addrlen, 109 int flags, void *addr, socklen_t addrlen); 145 struct sockaddr *addr; member 154 struct sockaddr *addr; member
|
/PHP-7.3/ext/standard/ |
H A D | net.c | 46 PHPAPI zend_string* php_inet_ntop(const struct sockaddr *addr) { in php_inet_ntop() argument 49 if (!addr) { return NULL; } in php_inet_ntop() 53 switch (addr->sa_family) { in php_inet_ntop() 57 …if (inet_ntop(AF_INET6, &(((struct sockaddr_in6*)addr)->sin6_addr), ZSTR_VAL(ret), INET6_ADDRSTRLE… in php_inet_ntop() 67 …if (inet_ntop(AF_INET, &(((struct sockaddr_in*)addr)->sin_addr), ZSTR_VAL(ret), INET_ADDRSTRLEN)) { in php_inet_ntop() 78 switch (addr->sa_family) { in php_inet_ntop() 86 if (getnameinfo(addr, addrlen, ZSTR_VAL(ret), NI_MAXHOST, NULL, 0, NI_NUMERICHOST) == SUCCESS) { in php_inet_ntop() 103 struct sockaddr *addr, struct sockaddr *netmask, in iface_append_unicast() argument 111 if (addr) { in iface_append_unicast() 112 add_assoc_long(&u, "family", addr->sa_family); in iface_append_unicast() [all …]
|
H A D | flock_compat.c | 178 register unsigned long acc = 0, addr = 0; in inet_aton() local 207 addr = addr << 8 | acc; in inet_aton() 218 addr <<= 8 * (3 - dots) ; in inet_aton() 223 ap->s_addr = htonl(addr); in inet_aton()
|
/PHP-7.3/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.3/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.3/main/ |
H A D | php_network.h | 252 const struct sockaddr *addr, 259 #define php_connect_nonb(sock, addr, addrlen, timeout) \ argument 260 php_network_connect_socket((sock), (addr), (addrlen), 0, (timeout), NULL, NULL) 268 struct sockaddr **addr, 278 struct sockaddr **addr, 284 struct sockaddr **addr, 288 PHPAPI void php_any_addr(int family, php_sockaddr_storage *addr, unsigned short port); 289 PHPAPI int php_sockaddr_size(php_sockaddr_storage *addr); 315 struct sockaddr **addr, 319 PHPAPI int php_network_parse_network_address_with_port(const char *addr,
|
H A D | network.c | 533 if (*addr == '[') { 539 addr++; 548 tmp = estrndup(addr, colon - addr); 612 struct sockaddr **addr, argument 616 if (addr) { 617 *addr = emalloc(sl); 618 memcpy(*addr, sa, sl); 673 struct sockaddr **addr, argument 684 addr, addrlen 704 addr, addrlen [all …]
|
/PHP-7.3/ext/soap/tests/ |
H A D | bug70211.phpt | 8 $addr = 0x4141414141414141; 20 $sf = new SoapFault('1', 'string', 'detail', 'header','line', str_repeat("A",232).ptr2str($addr));
|
/PHP-7.3/ext/sockets/ |
H A D | sockets.c | 150 ZEND_ARG_INFO(1, addr) 156 ZEND_ARG_INFO(1, addr) 168 ZEND_ARG_INFO(0, addr) 178 ZEND_ARG_INFO(0, addr) 210 ZEND_ARG_INFO(0, addr) 482 efree(addr->ai_addr); in php_destroy_addrinfo() 486 efree(addr); in php_destroy_addrinfo() 1515 char *addr; local 1622 char *addr; local 2800 inet_ntop(ai->ai_family, &sa->sin_addr, addr, sizeof(addr)); [all …]
|