/PHP-7.0/sapi/fpm/fpm/ |
H A D | fpm_trace.c | 11 int fpm_trace_get_strz(char *buf, size_t sz, long addr) /* {{{ */ in fpm_trace_get_strz() argument 14 long l = addr; in fpm_trace_get_strz() 19 for (addr = l; ; addr += SIZEOF_LONG) { in fpm_trace_get_strz() 20 if (0 > fpm_trace_get_long(addr, &l)) { in fpm_trace_get_strz()
|
H A D | fpm_trace_ptrace.c | 57 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument 62 .piod_offs = (void *) addr, in fpm_trace_get_long() 73 *data = ptrace(PTRACE_PEEKDATA, traced_pid, (void *) addr, 0); in fpm_trace_get_long()
|
H A D | fpm_trace.h | 13 int fpm_trace_get_long(long addr, long *data); 14 int fpm_trace_get_strz(char *buf, size_t sz, long addr);
|
H A D | fpm_trace_mach.c | 83 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument 85 size_t offset = ((uintptr_t) (addr) % fpm_pagesize); in fpm_trace_get_long() 86 vm_offset_t base = (uintptr_t) (addr) - offset; in fpm_trace_get_long()
|
H A D | fpm_sockets.c | 254 char *addr = NULL; in fpm_socket_af_inet_listening_socket() local 264 addr = dup_address; in fpm_socket_af_inet_listening_socket() 269 addr = "::"; in fpm_socket_af_inet_listening_socket() 278 addr_len = strlen(addr); in fpm_socket_af_inet_listening_socket() 279 if (addr[0] == '[' && addr[addr_len - 1] == ']') { in fpm_socket_af_inet_listening_socket() 280 addr[addr_len - 1] = '\0'; in fpm_socket_af_inet_listening_socket() 281 addr++; in fpm_socket_af_inet_listening_socket() 288 if ((status = getaddrinfo(addr, port_str, &hints, &servinfo)) != 0) { in fpm_socket_af_inet_listening_socket() 298 zlog(ZLOG_DEBUG, "Found address for %s, socket opened on %s", addr, tmpbuf); in fpm_socket_af_inet_listening_socket() 301 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 | 58 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument 60 if (sizeof(*data) != pread(mem_file, (void *) data, sizeof(*data), (uintptr_t) addr)) { in fpm_trace_get_long()
|
/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg_watch.h | 67 } addr; member 96 int phpdbg_watchpoint_segfault_handler(void *addr); 99 void phpdbg_create_addr_watchpoint(void *addr, size_t size, phpdbg_watchpoint_t *watch); 114 static zend_always_inline void *phpdbg_get_page_boundary(void *addr) { in phpdbg_get_page_boundary() argument 115 return (void *) ((size_t) addr & ~(phpdbg_pagesize - 1)); in phpdbg_get_page_boundary() 118 static zend_always_inline size_t phpdbg_get_total_page_size(void *addr, size_t size) { in phpdbg_get_total_page_size() argument 119 …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 | 121 …addr.ptr) > (char *) addr || (char *) phpdbg_get_page_boundary(watch->addr.ptr) + phpdbg_get_total… in phpdbg_check_for_watchpoint() 151 watch->addr.ptr = addr; in phpdbg_create_addr_watchpoint() 313 ref = Z_COUNTED_P(parent->addr.zv); in phpdbg_get_refcount_watch() 396 if (Z_ISREF_P(watch->addr.zv)) { in phpdbg_create_watchpoint() 415 zval *zv = zv_watch->addr.zv; in phpdbg_create_array_watchpoint() 494 zvp = watch->addr.zv; in phpdbg_create_recursive_zval_watch() 554 ht = HT_FROM_ZVP(watch->addr.zv); in phpdbg_delete_watchpoint_recursive() 816 addr 950 watch->addr.ptr = curTest; 1044 watch->addr.ptr = oldPtr; [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); 306 wrote = snprintf(buf, 128, "Could not translate address '%s'", addr); 316 wrote = snprintf(buf, 256, "Host '%s' not found. %s", addr, estrdup(gai_strerror(rc)));
|
/PHP-7.0/main/streams/ |
H A D | transports.c | 298 param.want_addr = addr ? 1 : 0; in php_stream_xport_accept() 306 if (addr) { in php_stream_xport_accept() 307 *addr = param.outputs.addr; in php_stream_xport_accept() 333 param.want_addr = addr ? 1 : 0; in php_stream_xport_get_name() 339 if (addr) { in php_stream_xport_get_name() 340 *addr = param.outputs.addr; in php_stream_xport_get_name() 416 if (!oob && addr == NULL) { in php_stream_xport_recvfrom() 441 param.want_addr = addr ? 1 : 0; in php_stream_xport_recvfrom() 450 if (addr) { in php_stream_xport_recvfrom() 451 *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.0/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.0/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.0/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"], 64 [addr] => ::1 78 [addr] => ::1
|
H A D | socket_sendrecvmsg_multi_msg-win32.phpt | 19 $addr = '::1'; 38 "name" => [ "addr" => "::1", "port" => 3000], 44 'addr' => '::1', 53 "name" => ["family" => AF_INET6, "addr" => "::1"], 74 [addr] => ::1 88 [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"], 77 [addr] => ::1 91 [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.0/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, 277 struct sockaddr **addr, 283 struct sockaddr **addr, 287 PHPAPI void php_any_addr(int family, php_sockaddr_storage *addr, unsigned short port); 288 PHPAPI int php_sockaddr_size(php_sockaddr_storage *addr); 314 struct sockaddr **addr, 318 PHPAPI int php_network_parse_network_address_with_port(const char *addr,
|
H A D | network.c | 536 if (*addr == '[') { 542 addr++; 551 tmp = estrndup(addr, colon - addr); 615 struct sockaddr **addr, argument 619 if (addr) { 620 *addr = emalloc(sl); 621 memcpy(*addr, sa, sl); 676 struct sockaddr **addr, argument 687 addr, addrlen 707 addr, addrlen [all …]
|
/PHP-7.0/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.0/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.0/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);
|