Home
last modified time | relevance | path

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

1234

/PHP-8.1/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.1/ext/opcache/jit/
H A Dzend_jit_disasm.c117 sym->addr = addr; in zend_jit_disasm_add_symbol()
127 if (sym->addr > node->addr) { in zend_jit_disasm_add_symbol()
136 } else if (sym->addr < node->addr) { in zend_jit_disasm_add_symbol()
145 ZEND_ASSERT(sym->addr == node->addr); in zend_jit_disasm_add_symbol()
213 if (addr < node->addr) { in zend_jit_disasm_find_symbol()
218 *offset = addr - node->addr; in zend_jit_disasm_find_symbol()
305 uint64_t addr; local
464 addr = 0;
467 addr = addr * 16 + (*r - '0');
469 addr = addr * 16 + (*r - 'A' + 10);
[all …]
/PHP-8.1/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.c222addr.ptr) > (char *) addr || (char *) phpdbg_get_page_boundary(watch->addr.ptr) + phpdbg_get_total… in phpdbg_check_for_watchpoint()
252 addr
284 watch->addr.ptr = addr;
339 } else if (coll->reference.addr.ptr) {
359 if (Z_REFCOUNTED_P(watch->addr.zv)) {
379 if (Z_ISREF_P(watch->addr.zv)) {
395 coll->reference.addr.ptr = NULL;
496 if (element->watch->addr.ptr == ptr) {
534 zv = element->watch->addr.zv;
720 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.1/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.1/ext/standard/
H A Dflock_compat.c165 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.1/ext/curl/tests/
H A Dcurl_basic_008.phpt9 $addr = "www.".uniqid().".".uniqid();
10 if (gethostbyname($addr) != $addr) {
H A Dcurl_basic_010.phpt9 $addr = "www.".uniqid().".".uniqid();
10 if (gethostbyname($addr) != $addr) {
/PHP-8.1/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.phpt19 $addr = '::1';
38 "name" => [ "addr" => "::1", "port" => 3003],
44 'addr' => '::1',
53 "name" => ["family" => AF_INET6, "addr" => "::1"],
76 [addr] => ::1
90 [addr] => ::1
H A Dsocket_sendrecvmsg_multi_msg-unix.phpt24 $addr = '::1';
43 "name" => [ "addr" => "::1", "port" => 3002],
55 "name" => ["family" => AF_INET6, "addr" => "::1"],
78 [addr] => ::1
92 [addr] => ::1
H A Dsocket_create_listen.phpt13 socket_getsockname($sock, $addr, $port);
14 var_dump($addr, $port);
H A Dsocket_create_listen-win32.phpt13 socket_getsockname($sock, $addr, $port);
14 var_dump($addr, $port);
/PHP-8.1/main/
H A Dphp_network.h274 const struct sockaddr *addr,
281 #define php_connect_nonb(sock, addr, addrlen, timeout) \ argument
282 php_network_connect_socket((sock), (addr), (addrlen), 0, (timeout), NULL, NULL)
290 struct sockaddr **addr,
300 struct sockaddr **addr,
306 struct sockaddr **addr,
310 PHPAPI void php_any_addr(int family, php_sockaddr_storage *addr, unsigned short port);
311 PHPAPI int php_sockaddr_size(php_sockaddr_storage *addr);
337 struct sockaddr **addr,
341 PHPAPI int php_network_parse_network_address_with_port(const char *addr,
H A Dnetwork.c529 if (*addr == '[') {
535 addr++;
544 tmp = estrndup(addr, colon - addr);
612 struct sockaddr **addr, argument
616 if (addr) {
617 *addr = emalloc(sl);
618 memcpy(*addr, sa, sl);
677 struct sockaddr **addr, argument
688 addr, addrlen
708 addr, addrlen
[all …]
/PHP-8.1/ext/pcre/pcre2lib/sljit/
H A DsljitNativeMIPS_common.c336 inst = (sljit_ins *)jump->addr; in detect_jump_type()
376 jump->addr -= sizeof(sljit_ins); in detect_jump_type()
473 sljit_uw addr = put_label->label->addr; in put_label_set() local
512 sljit_uw addr; in sljit_generate_code() local
600 addr = (jump->flags & JUMP_LABEL) ? jump->u.label->addr : jump->u.target; in sljit_generate_code()
605 SLJIT_ASSERT((sljit_sw)addr <= SIMM_MAX && (sljit_sw)addr >= SIMM_MIN); in sljit_generate_code()
645 addr = put_label->label->addr; in sljit_generate_code()
650 buf_ptr[1] |= addr & 0xffff; in sljit_generate_code()
1910 jump->addr = compiler->size; in sljit_emit_jump()
2048 jump->addr = compiler->size; in sljit_emit_cmp()
[all …]
/PHP-8.1/ext/soap/tests/
H A Dbug70211.phpt12 $addr = 0x4141414141414141;
24 $sf = new SoapFault('1', 'string', 'detail', 'header','line', str_repeat("A",232).ptr2str($addr));

Completed in 54 milliseconds

1234