Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 25 of 100) sorted by relevance

1234

/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_trace.c9 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 Dfpm_trace_ptrace.c55 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 Dfpm_trace.h11 int fpm_trace_get_long(long addr, long *data);
12 int fpm_trace_get_strz(char *buf, size_t sz, long addr);
H A Dfpm_trace_mach.c80 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument
82 size_t offset = ((uintptr_t) (addr) % fpm_pagesize); in fpm_trace_get_long()
83 vm_offset_t base = (uintptr_t) (addr) - offset; in fpm_trace_get_long()
H A Dfpm_sockets.c297 if ((status = getaddrinfo(addr, port, &hints, &servinfo)) != 0) { in fpm_socket_af_inet_socket_by_addr()
306 zlog(ZLOG_DEBUG, "Found address for %s, socket opened on %s", addr, tmpbuf); in fpm_socket_af_inet_socket_by_addr()
309 zlog(ZLOG_WARNING, "Found multiple addresses for %s, %s ignored", addr, tmpbuf); in fpm_socket_af_inet_socket_by_addr()
323 char *addr = NULL; in fpm_socket_af_inet_listening_socket() local
331 addr = dup_address; in fpm_socket_af_inet_listening_socket()
334 addr_len = strlen(addr); in fpm_socket_af_inet_listening_socket()
335 if (addr[0] == '[' && addr[addr_len - 1] == ']') { in fpm_socket_af_inet_listening_socket()
336 addr[addr_len - 1] = '\0'; in fpm_socket_af_inet_listening_socket()
337 addr++; in fpm_socket_af_inet_listening_socket()
351 if (addr) { in fpm_socket_af_inet_listening_socket()
[all …]
H A Dfpm_trace_pread.c52 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument
54 if (sizeof(*data) != pread(mem_file, (void *) data, sizeof(*data), (uintptr_t) addr)) { in fpm_trace_get_long()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_disasm_x86.c54 uint64_t addr; member
109 sym->addr = addr; in zend_jit_disasm_add_symbol()
119 if (sym->addr > node->addr) { in zend_jit_disasm_add_symbol()
128 } else if (sym->addr < node->addr) { in zend_jit_disasm_add_symbol()
137 ZEND_ASSERT(sym->addr == node->addr); in zend_jit_disasm_add_symbol()
205 if (addr < node->addr) { in zend_jit_disasm_find_symbol()
210 *offset = addr - node->addr; in zend_jit_disasm_find_symbol()
265 uint64_t addr; in zend_jit_disasm() local
281 if (addr >= (uint64_t)(uintptr_t)start && addr < (uint64_t)(uintptr_t)end) { in zend_jit_disasm()
292 if (addr >= (uint64_t)(uintptr_t)start && addr < (uint64_t)(uintptr_t)end) { in zend_jit_disasm()
[all …]
H A Dzend_jit_x86.h246 #define Z_MODE(addr) (((addr) & _ZEND_ADDR_MODE_MASK)) argument
247 #define Z_ZV(addr) ((zval*)(addr)) argument
248 #define Z_OFFSET(addr) ((uint32_t)((addr)>>_ZEND_ADDR_OFFSET_SHIFT)) argument
249 #define Z_REG(addr) ((zend_reg)(((addr)>>_ZEND_ADDR_REG_SHIFT) & _ZEND_ADDR_REG_MASK)) argument
250 #define Z_STORE(addr) ((zend_reg)(((addr)>>_ZEND_ADDR_REG_STORE_BIT) & 1)) argument
251 #define Z_LOAD(addr) ((zend_reg)(((addr)>>_ZEND_ADDR_REG_LOAD_BIT) & 1)) argument
252 #define Z_LAST_USE(addr) ((zend_reg)(((addr)>>_ZEND_ADDR_REG_LAST_USE_BIT) & 1)) argument
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_watch.h68 } addr; member
125 int phpdbg_watchpoint_segfault_handler(void *addr);
128 void phpdbg_create_addr_watchpoint(void *addr, size_t size, phpdbg_watchpoint_t *watch);
143 static zend_always_inline void *phpdbg_get_page_boundary(void *addr) { in phpdbg_get_page_boundary() argument
144 return (void *) ((size_t) addr & ~(phpdbg_pagesize - 1)); in phpdbg_get_page_boundary()
147 static zend_always_inline size_t phpdbg_get_total_page_size(void *addr, size_t size) { in phpdbg_get_total_page_size() argument
148 …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 Dphpdbg_watch.c231addr.ptr) > (char *) addr || (char *) phpdbg_get_page_boundary(watch->addr.ptr) + phpdbg_get_total… in phpdbg_check_for_watchpoint()
261 addr
293 watch->addr.ptr = addr;
348 } else if (coll->reference.addr.ptr) {
368 if (Z_REFCOUNTED_P(watch->addr.zv)) {
388 if (Z_ISREF_P(watch->addr.zv)) {
404 coll->reference.addr.ptr = NULL;
505 if (element->watch->addr.ptr == ptr) {
543 zv = element->watch->addr.zv;
729 zv = element->parent->watch->addr.zv;
[all …]
H A Dphpdbg_win.c22 int mprotect(void *addr, size_t size, int protection) { in mprotect() argument
24 …return (int)VirtualProtect(addr, size, protection == (PROT_READ | PROT_WRITE) ? PAGE_READWRITE : P… in mprotect()
/PHP-8.0/main/streams/
H A Dtransports.c298 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 Dphp_stream_transport.h82 void **addr, socklen_t *addrlen,
90 void **addr, socklen_t *addrlen
101 int flags, void **addr, socklen_t *addrlen,
107 int flags, void *addr, socklen_t addrlen);
143 struct sockaddr *addr; member
152 struct sockaddr *addr; member
/PHP-8.0/ext/standard/
H A Dflock_compat.c165 register unsigned long acc = 0, addr = 0; in inet_aton() local
194 addr = addr << 8 | acc; in inet_aton()
205 addr <<= 8 * (3 - dots) ; in inet_aton()
210 ap->s_addr = htonl(addr); in inet_aton()
H A Dnet.c50 PHPAPI zend_string* php_inet_ntop(const struct sockaddr *addr) { in php_inet_ntop() argument
53 if (!addr) { return NULL; } in php_inet_ntop()
57 switch (addr->sa_family) { in php_inet_ntop()
61 …if (inet_ntop(AF_INET6, &(((struct sockaddr_in6*)addr)->sin6_addr), ZSTR_VAL(ret), INET6_ADDRSTRLE… in php_inet_ntop()
71 …if (inet_ntop(AF_INET, &(((struct sockaddr_in*)addr)->sin_addr), ZSTR_VAL(ret), INET_ADDRSTRLEN)) { in php_inet_ntop()
82 switch (addr->sa_family) { in php_inet_ntop()
90 if (getnameinfo(addr, addrlen, ZSTR_VAL(ret), NI_MAXHOST, NULL, 0, NI_NUMERICHOST) == SUCCESS) { in php_inet_ntop()
107 struct sockaddr *addr, struct sockaddr *netmask, in iface_append_unicast() argument
115 if (addr) { in iface_append_unicast()
116 add_assoc_long(&u, "family", addr->sa_family); in iface_append_unicast()
[all …]
/PHP-8.0/ext/curl/tests/
H A Dcurl_basic_008.phpt8 $addr = "www.".uniqid().".".uniqid();
9 if (gethostbyname($addr) != $addr) {
H A Dcurl_basic_010.phpt8 $addr = "www.".uniqid().".".uniqid();
9 if (gethostbyname($addr) != $addr) {
/PHP-8.0/ext/sockets/tests/
H A Dsocket_recvmsg.phpt21 $addr = '::1';
38 $r = socket_sendto($sends1, $m = "testing packet", strlen($m), 0, $addr, 3001);
44 "name" => ["family" => AF_INET6, "addr" => "::1"],
66 [addr] => ::1
80 [addr] => ::1
H A Dsocket_sendrecvmsg_multi_msg.phpt20 $addr = '::1';
39 "name" => [ "addr" => "::1", "port" => 3003],
45 'addr' => '::1',
54 "name" => ["family" => AF_INET6, "addr" => "::1"],
77 [addr] => ::1
91 [addr] => ::1
H A Dsocket_sendrecvmsg_multi_msg-unix.phpt25 $addr = '::1';
44 "name" => [ "addr" => "::1", "port" => 3002],
56 "name" => ["family" => AF_INET6, "addr" => "::1"],
79 [addr] => ::1
93 [addr] => ::1
H A Dsocket_create_listen-win32.phpt14 socket_getsockname($sock, $addr, $port);
15 var_dump($addr, $port);
H A Dsocket_create_listen.phpt14 socket_getsockname($sock, $addr, $port);
15 var_dump($addr, $port);
/PHP-8.0/main/
H A Dphp_network.h267 const struct sockaddr *addr,
274 #define php_connect_nonb(sock, addr, addrlen, timeout) \ argument
275 php_network_connect_socket((sock), (addr), (addrlen), 0, (timeout), NULL, NULL)
283 struct sockaddr **addr,
293 struct sockaddr **addr,
299 struct sockaddr **addr,
303 PHPAPI void php_any_addr(int family, php_sockaddr_storage *addr, unsigned short port);
304 PHPAPI int php_sockaddr_size(php_sockaddr_storage *addr);
330 struct sockaddr **addr,
334 PHPAPI int php_network_parse_network_address_with_port(const char *addr,
H A Dnetwork.c530 if (*addr == '[') {
536 addr++;
545 tmp = estrndup(addr, colon - addr);
609 struct sockaddr **addr, argument
613 if (addr) {
614 *addr = emalloc(sl);
615 memcpy(*addr, sa, sl);
670 struct sockaddr **addr, argument
681 addr, addrlen
701 addr, addrlen
[all …]
/PHP-8.0/ext/soap/tests/
H A Dbug70211.phpt8 $addr = 0x4141414141414141;
20 $sf = new SoapFault('1', 'string', 'detail', 'header','line', str_repeat("A",232).ptr2str($addr));

Completed in 53 milliseconds

1234