/external/chromium/net/base/ |
ip_endpoint_unittest.cc | 80 // Convert to a sockaddr. 83 struct sockaddr* sockaddr = reinterpret_cast<struct sockaddr*>(&addr); local 84 EXPECT_TRUE(ip_endpoint.ToSockAddr(sockaddr, &addr_len)); 90 EXPECT_EQ(ip_endpoint.port(), GetPortFromSockaddr(sockaddr, addr_len)); 94 EXPECT_TRUE(ip_endpoint2.FromSockAddr(sockaddr, addr_len)); 106 struct sockaddr* sockaddr = reinterpret_cast<struct sockaddr*>(&addr) local [all...] |
net_util.cc | 2275 const struct sockaddr_in* sockaddr = local 2280 const struct sockaddr_in6* sockaddr = local [all...] |
/external/clang/test/Analysis/ |
casts.c | 5 // 'struct sockaddr *'. 12 struct sockaddr { sa_family_t sa_family; }; struct 19 struct sockaddr* sockaddr = (struct sockaddr*)&storage; local 21 getsockname(sock, sockaddr, &addrlen); 22 switch (sockaddr->sa_family) { // no-warning
|
/external/dbus/dbus/ |
sd-daemon.c | 204 struct sockaddr sa; 221 union sockaddr_union sockaddr; local 224 memset(&sockaddr, 0, sizeof(sockaddr)); 225 l = sizeof(sockaddr); 227 if (getsockname(fd, &sockaddr.sa, &l) < 0) 233 return sockaddr.sa.sa_family == family; 240 union sockaddr_union sockaddr; local 250 memset(&sockaddr, 0, sizeof(sockaddr)); 285 union sockaddr_union sockaddr; local [all...] |
/external/qemu/slirp-android/ |
udp.c | 447 SockAddress sockaddr; local 473 if (socket_get_address(so->s, &sockaddr) < 0) 477 cu_head->s_port = htons( sock_address_get_port(&sockaddr)); 478 cu_head->so_addr = htonl( sock_address_get_ip(&sockaddr));
|
tcp_subr.c | 417 SockAddress sockaddr; local 530 sock_address_to_string(&sockaddr), try_proxy)); 532 sock_address_init_inet( &sockaddr, sock_ip, sock_port ); 535 if (!proxy_manager_add(&sockaddr, SOCKET_STREAM, 545 socket_connect(s, &sockaddr);
|
/external/quake/quake/src/WinQuake/ |
net_udp.cpp | 232 struct sockaddr sockaddr; member in union:__anon10847 245 if( bind (newsocket, &address.sockaddr, sizeof(address.in)) == -1) 352 ret = recvfrom (socket, buf, len, 0, (struct sockaddr *)addr, (socklen_t*) &addrlen); 399 ret = sendto (socket, buf, len, 0, (struct sockaddr *)addr, sizeof(struct qsockaddr)); 441 getsockname(socket, (struct sockaddr *)addr, (socklen_t*) &addrlen);
|
mplpc.cpp | 115 struct sockaddr sockaddr;
member in struct:__anon10821 124 struct sockaddr sockaddr;
member in struct:__anon10822 139 struct sockaddr address;
154 struct sockaddr addr;
378 bind(SOCKET s, const struct sockaddr *name, int namelen)
496 getsockname(SOCKET s, struct sockaddr *name, int *namelen)
728 recvfrom(SOCKET s, char *buf, int len, int flags, struct sockaddr *from,
760 fmemcpyfrom(from, &data->addr, sizeof(struct sockaddr));
[all...] |
mpdosock.h | 452 struct sockaddr {
struct 682 SOCKET PASCAL FAR accept (SOCKET s, struct sockaddr FAR *addr,
685 int PASCAL FAR bind (SOCKET s, const struct sockaddr FAR *addr, int namelen);
689 int PASCAL FAR connect (SOCKET s, const struct sockaddr FAR *name, int namelen);
693 int PASCAL FAR getpeername (SOCKET s, struct sockaddr FAR *name,
696 int PASCAL FAR getsockname (SOCKET s, struct sockaddr FAR *name,
719 struct sockaddr FAR *from, int FAR * fromlen);
729 const struct sockaddr FAR *to, int tolen);
761 typedef struct sockaddr SOCKADDR;
[all...] |
/bionic/libc/kernel/common/linux/ |
socket.h | 16 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) 35 struct sockaddr { struct
|
/development/ndk/platforms/android-3/include/linux/ |
socket.h | 16 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) 35 struct sockaddr { struct
|
/external/kernel-headers/original/linux/ |
socket.h | 8 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) 39 struct sockaddr { struct
|
/external/qemu/ |
gdbstub.c | 2237 struct sockaddr_in sockaddr; local 2269 struct sockaddr_in sockaddr; local [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
socket.h | 146 /* Get the definition of the macro to define the common sockaddr members. */ 147 #include <bits/sockaddr.h> 150 struct sockaddr struct
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
socket.h | 8 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) 38 struct sockaddr { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
socket.h | 16 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) 35 struct sockaddr { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
socket.h | 16 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) 35 struct sockaddr { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
socket.h | 16 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) 35 struct sockaddr { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
socket.h | 16 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) 35 struct sockaddr { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
socket.h | 16 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) 35 struct sockaddr { struct
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
socket.h | 16 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) 35 struct sockaddr { struct
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/ |
socket.h | 16 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) 35 struct sockaddr { struct
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/ |
socket.h | 16 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) 35 struct sockaddr { struct
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/ |
socket.h | 16 #define _K_SS_ALIGNSIZE (__alignof__ (struct sockaddr *)) 35 struct sockaddr { struct
|
/external/qemu/android/ |
console.c | 633 SockAddress sockaddr; local 645 sock_address_init_inet( &sockaddr, SOCK_ADDRESS_INET_LOOPBACK, control_port ); 647 ret = socket_bind(fd, &sockaddr ); [all...] |