Searched refs:addr (Results 1 - 25 of 71) sorted by relevance

123

/bionic/libc/bionic/
H A Dether_ntoa.c38 ether_ntoa_r (const struct ether_addr *addr, char * buf) argument
41 addr->ether_addr_octet[0], addr->ether_addr_octet[1],
42 addr->ether_addr_octet[2], addr->ether_addr_octet[3],
43 addr->ether_addr_octet[4], addr->ether_addr_octet[5]);
51 ether_ntoa (const struct ether_addr *addr) argument
54 return ether_ntoa_r(addr, buf);
H A Daccept.cpp19 int accept(int sockfd, sockaddr* addr, socklen_t* addrlen) { argument
20 return accept4(sockfd, addr, addrlen, 0);
H A Dconnect.cpp21 int connect(int sockfd, const sockaddr* addr, socklen_t addrlen) { argument
22 return __netdClientDispatch.connect(sockfd, addr, addrlen);
H A Daccept4.cpp21 int accept4(int sockfd, sockaddr* addr, socklen_t* addrlen, int flags) { argument
22 return __netdClientDispatch.accept4(sockfd, addr, addrlen, flags);
H A Dether_aton.c53 ether_aton_r (const char *asc, struct ether_addr * addr) argument
67 addr->ether_addr_octet[i] = (u_int8_t)((val0 << 4) + val1);
77 return addr;
87 static struct ether_addr addr; local
88 return ether_aton_r(asc, &addr);
H A Dptrace.cpp32 extern "C" long __ptrace(int req, pid_t pid, void* addr, void* data);
41 void* addr = va_arg(args, void*); local
50 long result = __ptrace(req, pid, addr, data);
H A Dmmap.cpp42 void* mmap64(void* addr, size_t size, int prot, int flags, int fd, off64_t offset) { argument
49 void* result = __mmap2(addr, size, prot, flags, fd, offset >> MMAP2_SHIFT);
62 void* mmap(void* addr, size_t size, int prot, int flags, int fd, off_t offset) { argument
63 return mmap64(addr, size, prot, flags, fd, static_cast<off64_t>(offset));
/bionic/libc/kernel/uapi/asm-arm/asm/
H A Dmman.h20 #define arch_mmap_check(addr, len, flags) (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ? -EINVAL : 0)
/bionic/libc/upstream-openbsd/lib/libc/net/
H A Dinet_makeaddr.c42 in_addr_t addr; local
45 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);
47 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST);
49 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST);
51 addr = net | host;
52 addr = htonl(addr);
53 return (*(struct in_addr *)&addr);
H A Dinet_addr.c82 inet_aton(const char *cp, struct in_addr *addr) argument
172 if (addr)
173 addr->s_addr = htonl(val);
/bionic/libc/include/sys/
H A Dcachectl.h33 extern int __cachectl (void *addr, __const int nbytes, __const int op);
34 extern int _flush_cache (char *addr, __const int nbytes, __const int op);
/bionic/tests/
H A Dsys_socket_test.cpp55 struct sockaddr_un addr; local
56 memset(&addr, 0, sizeof(addr));
57 addr.sun_family = AF_UNIX;
58 addr.sun_path[0] = '\0';
59 strcpy(addr.sun_path + 1, SOCK_PATH);
61 if (connect(fd, reinterpret_cast<struct sockaddr*>(&addr), sizeof(addr)) < 0) {
79 struct sockaddr_un addr; local
80 memset(&addr,
120 TestAccept4(struct sockaddr_un* addr, int fd) argument
159 TestRecvMMsg(struct sockaddr_un *addr, int fd) argument
237 TestSendMMsg(struct sockaddr_un *addr, int fd) argument
[all...]
H A Ddlfcn_test.cpp163 void* addr = reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(sym) + 2); local
166 int rc = dladdr(addr, &info);
261 void* addr = dlsym(RTLD_DEFAULT, "ANY_UNKNOWN_SYMBOL_NAME"); local
262 ASSERT_TRUE(addr == NULL);
266 void* addr = dlsym(RTLD_DEFAULT, "fopen"); local
267 ASSERT_TRUE(addr != NULL);
271 void* addr = dlsym(RTLD_NEXT, "ANY_UNKNOWN_SYMBOL_NAME"); local
272 ASSERT_TRUE(addr == NULL);
276 void* addr = dlsym(RTLD_NEXT, "fopen"); local
277 ASSERT_TRUE(addr !
[all...]
/bionic/libc/kernel/uapi/linux/
H A Datm_he.h30 unsigned addr, val; member in struct:he_ioctl_reg
H A Dif_pppol2tp.h26 struct sockaddr_in addr; member in struct:pppol2tp_addr
37 struct sockaddr_in6 addr; member in struct:pppol2tpin6_addr
44 struct sockaddr_in addr; member in struct:pppol2tpv3_addr
55 struct sockaddr_in6 addr; member in struct:pppol2tpv3in6_addr
H A Delf-fdpic.h25 Elf32_Addr addr; member in struct:elf32_fdpic_loadseg
H A Dipv6.h66 struct in6_addr addr[0]; member in struct:rt0_hdr
74 struct in6_addr addr; member in struct:rt2_hdr
81 struct in6_addr addr; member in struct:ipv6_destopt_hao
H A Datm_tcp.h41 struct sockaddr_atmpvc addr; member in struct:atmtcp_control
/bionic/libc/dns/resolv/
H A Dres_private.h13 } addr, mask; member in struct:__res_state_ext::sort_list
/bionic/libc/kernel/uapi/xen/
H A Dprivcmd.h46 __u64 addr; member in struct:privcmd_mmapbatch
56 __u64 addr; member in struct:privcmd_mmapbatch_v2
/bionic/libm/i387/
H A Dnpx.h153 int npxgetregs(struct thread *td, union savefpu *addr);
155 void npxsave(union savefpu *addr);
156 void npxsetregs(struct thread *td, union savefpu *addr);
/bionic/libc/include/
H A Ddlfcn.h41 lower than addr */
50 extern int dladdr(const void* addr, Dl_info *info);
/bionic/libc/kernel/uapi/asm-x86/asm/
H A De820.h37 __u64 addr; member in struct:e820entry
H A Dmce.h27 __u64 addr; member in struct:mce
/bionic/linker/
H A Ddebugger.cpp76 sockaddr_un addr; local
80 if ((namelen + 1) > sizeof(addr.sun_path)) {
90 memset(&addr, 0, sizeof(addr));
91 addr.sun_family = AF_LOCAL;
92 addr.sun_path[0] = 0;
93 memcpy(addr.sun_path + 1, name, namelen);
102 int rc = TEMP_FAILURE_RETRY(connect(s, reinterpret_cast<sockaddr*>(&addr), alen));
168 char addr_desc[32]; // ", fault addr 0x1234"
175 __libc_format_buffer(addr_desc, sizeof(addr_desc), ", fault addr
[all...]

Completed in 401 milliseconds

123