Searched defs:addr (Results 1 - 25 of 54) sorted by relevance

123

/PHP_TRUNK/main/
H A Dalloca.c106 static char *addr = NULL; /* Address of first `dummy', once known. */ local
109 if (addr == NULL)
111 addr = ADDRESS_FUNCTION (dummy);
118 if (ADDRESS_FUNCTION (dummy) > addr)
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_trace.c11 int fpm_trace_get_strz(char *buf, size_t sz, long addr) /* {{{ */ argument
17 if (0 > fpm_trace_get_long(addr, &l)) {
23 for (addr = l; ; addr += SIZEOF_LONG) {
24 if (0 > fpm_trace_get_long(addr, &l)) {
H A Dfpm_trace_mach.c83 int fpm_trace_get_long(long addr, long *data) /* {{{ */ argument
85 size_t offset = ((uintptr_t) (addr) % fpm_pagesize);
86 vm_offset_t base = (uintptr_t) (addr) - offset;
H A Dfpm_trace_pread.c58 int fpm_trace_get_long(long addr, long *data) /* {{{ */ argument
60 if (sizeof(*data) != pread(mem_file, (void *) data, sizeof(*data), (uintptr_t) addr)) {
H A Dfpm_trace_ptrace.c57 int fpm_trace_get_long(long addr, long *data) /* {{{ */ argument
62 .piod_offs = (void *) addr,
73 *data = ptrace(PTRACE_PEEKDATA, traced_pid, (void *) addr, 0);
H A Dfpm_sockets.c246 char *addr = NULL; local
255 addr = dup_address;
267 if (addr != NULL) {
268 addr_len = strlen(addr);
269 if (addr[0] == '[' && addr[addr_len - 1] == ']') {
270 addr[addr_len - 1] = '\0';
271 addr++;
279 if ((status = getaddrinfo(addr, port_str, &hints, &servinfo)) != 0) {
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitNativeMIPS_32.c350 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) argument
352 sljit_ins *inst = (sljit_ins*)addr;
359 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) argument
361 sljit_ins *inst = (sljit_ins*)addr;
H A DsljitNativeMIPS_64.c449 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) argument
451 sljit_ins *inst = (sljit_ins*)addr;
460 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) argument
462 sljit_ins *inst = (sljit_ins*)addr;
H A DsljitNativePPC_32.c253 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) argument
255 sljit_ins *inst = (sljit_ins*)addr;
262 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) argument
264 sljit_ins *inst = (sljit_ins*)addr;
H A DsljitNativePPC_64.c401 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) argument
403 sljit_ins *inst = (sljit_ins*)addr;
412 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) argument
414 sljit_ins *inst = (sljit_ins*)addr;
H A DsljitNativeSPARC_32.c148 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_jump_addr(sljit_uw addr, sljit_uw new_addr) argument
150 sljit_ins *inst = (sljit_ins*)addr;
157 SLJIT_API_FUNC_ATTRIBUTE void sljit_set_const(sljit_uw addr, sljit_sw new_constant) argument
159 sljit_ins *inst = (sljit_ins*)addr;
H A DsljitNativeX86_64.c53 jump->addr = (sljit_uw)code_ptr;
68 static sljit_ub* generate_fixed_jump(sljit_ub *code_ptr, sljit_sw addr, sljit_si type) argument
70 sljit_sw delta = addr - ((sljit_sw)code_ptr + 1 + sizeof(sljit_si));
80 *(sljit_sw*)code_ptr = addr;
/PHP_TRUNK/TSRM/
H A Dtsrm_win32.h54 void *addr; member in struct:__anon2
/PHP_TRUNK/ext/ftp/
H A Dftp.c91 static int my_accept(ftpbuf_t *ftp, php_socket_t s, struct sockaddr *addr, socklen_t *addrlen);
1346 my_accept(ftpbuf_t *ftp, php_socket_t s, struct sockaddr *addr, socklen_t *addrlen) argument
1360 return accept(s, addr, addrlen);
1371 php_sockaddr_storage addr; local
1421 php_any_addr(sa->sa_family, &addr, 0);
1422 size = php_sockaddr_size(&addr);
1424 if (bind(fd, (struct sockaddr*) &addr, size) != 0) {
1429 if (getsockname(fd, (struct sockaddr*) &addr, &size) != 0) {
1447 snprintf(eprtarg, sizeof(eprtarg), "|2|%s|%hu|", out, ntohs(((struct sockaddr_in6 *) &addr)->sin6_port));
1464 ipbox.s[2] = ((struct sockaddr_in*) &addr)
1491 php_sockaddr_storage addr; local
[all...]
/PHP_TRUNK/ext/shmop/
H A Dphp_shmop.h47 char *addr; member in struct:php_shmop
/PHP_TRUNK/ext/sockets/
H A Dmulticast.c473 struct in_addr addr;
478 if (php_if_index_to_addr4(if_index, sock, &addr TSRMLS_CC) ==
481 mreq.imr_interface = addr;
538 struct in_addr addr;
547 if (php_if_index_to_addr4(if_index, sock, &addr TSRMLS_CC) ==
550 mreqs.imr_interface = addr;
671 int php_add4_to_if_index(struct in_addr *addr, php_socket *php_sock, unsigned *if_index TSRMLS_DC) argument
680 if (addr->s_addr == INADDR_ANY) {
701 if (r.dwAddr == addr->s_addr) {
709 inet_ntop(AF_INET, addr, addr_st
755 php_add4_to_if_index(struct in_addr *addr, php_socket *php_sock, unsigned *if_index TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Dflock_compat.c178 register unsigned long acc = 0, addr = 0; local
207 addr = addr << 8 | acc;
218 addr <<= 8 * (3 - dots) ;
223 ap->s_addr = htonl(addr);
/PHP_TRUNK/main/streams/
H A Dxp_socket.c245 struct sockaddr *addr, socklen_t addrlen
249 if (addr) {
250 ret = sendto(sock->socket, buf, XP_SOCK_BUF_SIZE(buflen), flags, addr, XP_SOCK_BUF_SIZE(addrlen));
259 struct sockaddr **addr, socklen_t *addrlen
265 int want_addr = textaddr || addr;
271 textaddr, addr, addrlen TSRMLS_CC);
349 xparam->want_addr ? &xparam->outputs.addr : NULL,
357 xparam->want_addr ? &xparam->outputs.addr : NULL,
370 xparam->inputs.addr,
392 xparam->want_addr ? &xparam->outputs.addr
244 sock_sendto(php_netstream_data_t *sock, const char *buf, size_t buflen, int flags, struct sockaddr *addr, socklen_t addrlen TSRMLS_DC) argument
257 sock_recvfrom(php_netstream_data_t *sock, char *buf, size_t buflen, int flags, zend_string **textaddr, struct sockaddr **addr, socklen_t *addrlen TSRMLS_DC) argument
[all...]
H A Dphp_stream_transport.h85 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 TSRMLS_DC);
146 struct sockaddr *addr; member in struct:_php_stream_xport_param::__anon8
155 struct sockaddr *addr; member in struct:_php_stream_xport_param::__anon9
H A Dtransports.c286 void **addr, socklen_t *addrlen,
298 param.want_addr = addr ? 1 : 0;
306 if (addr) {
307 *addr = param.outputs.addr;
324 void **addr, socklen_t *addrlen
333 param.want_addr = addr ? 1 : 0;
339 if (addr) {
340 *addr = param.outputs.addr;
284 php_stream_xport_accept(php_stream *stream, php_stream **client, zend_string **textaddr, void **addr, socklen_t *addrlen, struct timeval *timeout, zend_string **error_text TSRMLS_DC) argument
322 php_stream_xport_get_name(php_stream *stream, int want_peer, zend_string **textaddr, void **addr, socklen_t *addrlen TSRMLS_DC) argument
395 php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, int flags, void **addr, socklen_t *addrlen, zend_string **textaddr TSRMLS_DC) argument
464 php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, int flags, void *addr, socklen_t addrlen TSRMLS_DC) argument
[all...]
/PHP_TRUNK/sapi/continuity/
H A Dcapi.c405 static void capi_free(void *addr) argument
407 if (addr != NULL)
408 free(addr);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.h56 zend_ulong addr; member in struct:_phpdbg_param
73 (v)->addr = 0; \
H A Dphpdbg_io.c168 PHPDBG_API int phpdbg_create_listenable_socket(const char *addr, unsigned short port, struct addrinfo *addr_res TSRMLS_DC) { argument
174 int8_t any_addr = *addr == '*';
186 rc = inet_pton(AF_INET, addr, &serveraddr);
193 rc = inet_pton(AF_INET6, addr, &serveraddr);
206 rc = getaddrinfo(addr, port_buf, &hints, &res);
217 wrote = snprintf(buf, 128, "Could not translate address '%s'", addr);
227 wrote = snprintf(buf, 256, "Host '%s' not found. %s", addr, estrdup(gai_strerror(rc)));
H A Dphpdbg_watch.h64 } addr; member in struct:_phpdbg_watchpoint_t
88 int phpdbg_watchpoint_segfault_handler(void *addr TSRMLS_DC);
91 void phpdbg_create_addr_watchpoint(void *addr, size_t size, phpdbg_watchpoint_t *watch);
106 static zend_always_inline void *phpdbg_get_page_boundary(void *addr) { argument
107 return (void *) ((size_t) addr & ~(phpdbg_pagesize - 1));
110 static zend_always_inline size_t phpdbg_get_total_page_size(void *addr, size_t size) { argument
111 return (size_t) phpdbg_get_page_boundary((void *) ((size_t) addr + size - 1)) - (size_t) phpdbg_get_page_boundary(addr) + phpdbg_pagesize;
H A Dphpdbg_win.c24 int mprotect(void *addr, size_t size, int protection) { argument
26 return (int)VirtualProtect(addr, size, protection == (PROT_READ | PROT_WRITE) ? PAGE_READWRITE : PAGE_READONLY, &var);

Completed in 34 milliseconds

123