Home
last modified time | relevance | path

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

12345

/PHP-8.2/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.c315 if ((status = getaddrinfo(addr, port, &hints, &servinfo)) != 0) { in fpm_socket_af_inet_socket_by_addr()
324 zlog(ZLOG_DEBUG, "Found address for %s, socket opened on %s", addr, tmpbuf); in fpm_socket_af_inet_socket_by_addr()
327 zlog(ZLOG_WARNING, "Found multiple addresses for %s, %s ignored", addr, tmpbuf); in fpm_socket_af_inet_socket_by_addr()
341 char *addr = NULL; in fpm_socket_af_inet_listening_socket() local
349 addr = dup_address; in fpm_socket_af_inet_listening_socket()
352 addr_len = strlen(addr); in fpm_socket_af_inet_listening_socket()
353 if (addr[0] == '[' && addr[addr_len - 1] == ']') { in fpm_socket_af_inet_listening_socket()
354 addr[addr_len - 1] = '\0'; in fpm_socket_af_inet_listening_socket()
355 addr++; in fpm_socket_af_inet_listening_socket()
369 if (addr) { in fpm_socket_af_inet_listening_socket()
[all …]
H A Dfpm_trace_pread.c54 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument
56 if (sizeof(*data) != pread(mem_file, (void *) data, sizeof(*data), (uintptr_t) addr)) { in fpm_trace_get_long()
/PHP-8.2/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.2/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.c229addr.ptr) > (char *) addr || (char *) phpdbg_get_page_boundary(watch->addr.ptr) + phpdbg_get_total… in phpdbg_check_for_watchpoint()
289 addr
347 watch->addr.ptr = addr;
402 } else if (coll->reference.addr.ptr) {
422 if (Z_REFCOUNTED_P(watch->addr.zv)) {
442 if (Z_ISREF_P(watch->addr.zv)) {
458 coll->reference.addr.ptr = NULL;
561 if (element->watch->addr.ptr == ptr) {
599 zv = element->watch->addr.zv;
785 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.2/main/streams/
H A Dtransports.c301 param.want_addr = addr ? 1 : 0; in php_stream_xport_accept()
309 if (addr) { in php_stream_xport_accept()
310 *addr = param.outputs.addr; in php_stream_xport_accept()
336 param.want_addr = addr ? 1 : 0; in php_stream_xport_get_name()
342 if (addr) { in php_stream_xport_get_name()
343 *addr = param.outputs.addr; in php_stream_xport_get_name()
419 if (!oob && addr == NULL) { in php_stream_xport_recvfrom()
444 param.want_addr = addr ? 1 : 0; in php_stream_xport_recvfrom()
453 if (addr) { in php_stream_xport_recvfrom()
454 *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.2/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.2/ext/curl/tests/
H A Dcurl_basic_008.phpt9 $addr = "www.".uniqid().".invalid";
10 if (gethostbyname($addr) != $addr) {
H A Dcurl_basic_010.phpt9 $addr = "www.".uniqid().".".uniqid();
10 if (gethostbyname($addr) != $addr) {
/PHP-8.2/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.2/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.c531 if (*addr == '[') {
537 addr++;
546 tmp = estrndup(addr, colon - addr);
614 struct sockaddr **addr, argument
618 if (addr) {
619 *addr = emalloc(sl);
620 memcpy(*addr, sa, sl);
679 struct sockaddr **addr, argument
690 addr, addrlen
710 addr, addrlen
[all …]
/PHP-8.2/ext/soap/tests/
H A Dbug70211.phpt12 $addr = 0x4141414141414141;
24 $sf = new SoapFault('1', 'string', 'detail', 'header','line', str_repeat("A",232).ptr2str($addr));
/PHP-8.2/ext/pcre/pcre2lib/sljit/
H A DsljitNativePPC_common.c249 context->addr = addr ? addr : ptrs[0]; in sljit_set_function_context()
355 sljit_uw addr = put_label->label->addr; in put_label_set() local
394 sljit_uw addr; in sljit_generate_code() local
527 addr = (jump->flags & JUMP_LABEL) ? jump->u.label->addr : jump->u.target; in sljit_generate_code()
534 SLJIT_ASSERT((sljit_sw)addr <= 0x7fff && (sljit_sw)addr >= -0x8000); in sljit_generate_code()
538 SLJIT_ASSERT(addr <= 0xffff); in sljit_generate_code()
545 SLJIT_ASSERT((sljit_sw)addr <= 0x01ffffff && (sljit_sw)addr >= -0x02000000); in sljit_generate_code()
592 addr = put_label->label->addr; in sljit_generate_code()
597 buf_ptr[1] |= addr & 0xffff; in sljit_generate_code()
2145 jump->addr = compiler->size; in sljit_emit_jump()
[all …]

Completed in 67 milliseconds

12345