/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
recvfrom.c | 11 struct sockaddr* addr, socklen_t* addrlen) { 12 return ki_recvfrom(fd, buf, len, flags, addr, addrlen);
|
sendto.c | 11 const struct sockaddr* addr, socklen_t addrlen) { 12 return ki_sendto(fd, buf, len, flags, addr, addrlen);
|
/external/chromium_org/third_party/openssl/openssl/patches/ |
fix_clang_build.patch | 7 - int s=INVALID_SOCKET,cs,addrlen; 9 + socklen_t addrlen; 17 - addrlen = res->ai_addrlen<=sizeof(server) ? 18 + addrlen = res->ai_addrlen <= (socklen_t)sizeof(server) ? 21 - memcpy(&server, res->ai_addr, addrlen); 23 + memcpy(&server, res->ai_addr, (size_t)addrlen); 31 - addrlen = sizeof(server.sa_in); 32 + addrlen = (socklen_t)sizeof(server.sa_in);
|
/external/openssl/patches/ |
fix_clang_build.patch | 7 - int s=INVALID_SOCKET,cs,addrlen; 9 + socklen_t addrlen; 17 - addrlen = res->ai_addrlen<=sizeof(server) ? 18 + addrlen = res->ai_addrlen <= (socklen_t)sizeof(server) ? 21 - memcpy(&server, res->ai_addr, addrlen); 23 + memcpy(&server, res->ai_addr, (size_t)addrlen); 31 - addrlen = sizeof(server.sa_in); 32 + addrlen = (socklen_t)sizeof(server.sa_in);
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/ |
socket_test.cc | 76 socklen_t addrlen = sizeof(addr); local 79 int err = ki_bind(fd, (sockaddr*)&addr, addrlen); 233 socklen_t addrlen = sizeof(addr); local 237 ki_sendto(sock1_, outbuf, sizeof(outbuf), 0, (sockaddr*) &addr, addrlen); 246 ki_recvfrom(sock2_, inbuf, sizeof(inbuf), 0, (sockaddr*) &addr, &addrlen); 248 EXPECT_EQ(sizeof(sockaddr_in), addrlen); local 268 socklen_t addrlen = sizeof(addr2); local 274 EXPECT_EQ(addrlen, out_addrlen); 279 sendto(sock1_, outbuf, sizeof(outbuf), 0, (sockaddr*) &addr2, addrlen); 285 EXPECT_EQ(addrlen, out_addrlen) 296 EXPECT_EQ(sizeof(sockaddr_in), addrlen); local 312 socklen_t addrlen = sizeof(addr); local 342 socklen_t addrlen = sizeof(addr); local 372 socklen_t addrlen = sizeof(addr); local 533 socklen_t addrlen = sizeof(addr); local 589 socklen_t addrlen = sizeof(addr); local 662 socklen_t addrlen = sizeof(addr); local 702 socklen_t addrlen = sizeof(addr); local 744 socklen_t addrlen = sizeof(addr); local 776 socklen_t addrlen = sizeof(addr); local [all...] |
/external/dropbear/ |
svr-tcpfwd.c | 141 unsigned int addrlen; local 148 bindaddr = buf_getstring(ses.payload, &addrlen); 149 if (addrlen > MAX_IP_LEN) { 150 TRACE(("addr len too long: %d", addrlen)) 176 unsigned int addrlen; local 182 bindaddr = buf_getstring(ses.payload, &addrlen); 183 if (addrlen > MAX_IP_LEN) { 184 TRACE(("addr len too long: %d", addrlen))
|
/external/linux-tools-perf/util/ui/browsers/ |
map.c | 50 u8 addrlen; member in struct:map_browser 62 mb->addrlen, sym->start, mb->addrlen, sym->end, 65 width = self->width - ((mb->addrlen * 2) + 4); 154 mb.addrlen = snprintf(tmp, sizeof(tmp), "%" PRIx64, maxaddr);
|
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
RenderServer.h | 25 static RenderServer *create(char* addr, size_t addrLen);
|
RenderServer.cpp | 43 RenderServer *RenderServer::create(char* addr, size_t addrLen) 68 if (len > addrLen) { 70 len, addrLen);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
kernel_handle.h | 61 socklen_t* addrlen, 70 socklen_t addrlen,
|
kernel_handle.cc | 191 socklen_t* addrlen, 200 return sock->RecvFrom(handle_attr_, buf, len, flags, src_addr, addrlen, 222 socklen_t addrlen, 231 return sock->SendTo(handle_attr_, buf, len, flags, dest_addr, addrlen,
|
mount_node_socket.h | 84 socklen_t* addrlen, 96 socklen_t addrlen,
|
mount_node_socket.cc | 332 socklen_t* addrlen, 338 *addrlen = ResourceToSockAddr(addr, *addrlen, src_addr); 392 socklen_t addrlen, 397 PP_Resource addr = SockAddrToResource(dest_addr, addrlen);
|
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_common_interceptors.inc | [all...] |
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
TcpStream.cpp | 60 socklen_t addrLen = sizeof(addr); 62 if (getsockname(m_sock, (struct sockaddr*)&addr, &addrLen) < 0) {
|
/external/openssh/ |
sshlogin.c | 127 const char *host, struct sockaddr *addr, socklen_t addrlen) 135 login_set_addr(li, addr, addrlen); 143 const char *host, struct sockaddr *addr, socklen_t addrlen) 148 login_set_addr(li, addr, addrlen);
|
canohost.c | 250 socklen_t addrlen; local 255 addrlen = sizeof(addr); 259 if (getpeername(sock, (struct sockaddr *)&addr, &addrlen) 263 if (getsockname(sock, (struct sockaddr *)&addr, &addrlen) 270 addrlen = sizeof(struct sockaddr_in6); 272 ipv64_normalise_mapped(&addr, &addrlen); 275 if ((r = getnameinfo((struct sockaddr *)&addr, addrlen, ntop,
|
/external/dnsmasq/src/ |
cache.c | 303 int addrlen = (flags & F_IPV6) ? IN6ADDRSZ : INADDRSZ; local 305 int addrlen = INADDRSZ; local 323 memcmp(&crecp->addr.addr, addr, addrlen) == 0) 584 int addrlen = (prot == F_IPV6) ? IN6ADDRSZ : INADDRSZ; local 586 int addrlen = INADDRSZ; local 607 memcmp(&crecp->addr.addr, addr, addrlen) == 0) 638 memcmp(&ans->addr.addr, addr, addrlen) == 0) 644 static void add_hosts_entry(struct crec *cache, struct all_addr *addr, int addrlen, 655 if (memcmp(&lookup->addr.addr, addr, addrlen) == 0) 678 memcmp(&lookup->addr.addr, addr, addrlen) == 0 760 int atnl, addrlen = 0, addr_dup; local [all...] |
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
socket_test.cc | 160 socklen_t addrlen = 4; local 162 EXPECT_LT(ki_recvfrom(123, NULL, len, 0, &addr, &addrlen), 0); 166 EXPECT_LT(ki_recvfrom(-1, buf, len, 0, &addr, &addrlen), 0); 168 EXPECT_LT(ki_recvfrom(0, buf, len, 0, &addr, &addrlen), 0); 199 socklen_t addrlen = 4; local 201 EXPECT_LT(ki_sendto(123, NULL, len, 0, &addr, addrlen), 0); 203 EXPECT_LT(ki_sendto(-1, buf, len, 0, &addr, addrlen), 0); 205 EXPECT_LT(ki_sendto(0, buf, len, 0, &addr, addrlen), 0);
|
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/ |
_beos.h | 544 NSPR_API(PRInt32) _MD_connect(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout); 545 NSPR_API(PRInt32) _MD_accept(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout); 546 NSPR_API(PRInt32) _MD_bind(PRFileDesc *fd, const PRNetAddr *addr, PRUint32 addrlen); 552 // NSPR_API(PRInt32) _MD_fast_accept(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout, PRBool fast, _PR_AcceptTimeoutCallback callback, void *callbackArg); 555 NSPR_API(PRStatus) _MD_getsockname(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen); 556 NSPR_API(PRStatus) _MD_getpeername(PRFileDesc *fd, PRNetAddr *addr, PRUint32 *addrlen); 559 NSPR_API(PRInt32) _MD_recvfrom(PRFileDesc *fd, void *buf, PRInt32 amount, PRIntn flags, PRNetAddr *addr, PRUint32 *addrlen, PRIntervalTime timeout); 560 NSPR_API(PRInt32) _MD_sendto(PRFileDesc *fd, const void *buf, PRInt32 amount, PRIntn flags, const PRNetAddr *addr, PRUint32 addrlen, PRIntervalTime timeout);
|
/external/clang/test/Analysis/ |
casts.c | 22 socklen_t addrlen = sizeof(storage); local 23 getsockname(sock, sockaddr, &addrlen);
|
/external/iptables/libipq/ |
libipq.c | 127 unsigned int addrlen; local 135 addrlen = sizeof(h->peer); 168 (struct sockaddr *)&h->peer, &addrlen); 173 if (addrlen != sizeof(h->peer)) {
|
/external/qemu/ |
osdep.c | 170 int qemu_accept(int s, struct sockaddr *addr, socklen_t *addrlen) 175 ret = accept4(s, addr, addrlen, SOCK_CLOEXEC); 180 ret = accept(s, addr, addrlen);
|
sockets.c | 1014 socklen_t addrlen; local 1016 if (sock_address_to_bsd(address, &addr, &addrlen) < 0) 1019 SOCKET_CALL(connect(fd,addr.sa,addrlen)); 1026 socklen_t addrlen; local 1028 if (sock_address_to_bsd(address, &addr, &addrlen) < 0) 1031 SOCKET_CALL(bind(fd, addr.sa, addrlen)); 1038 socklen_t addrlen = sizeof(addr); local 1041 QSOCKET_CALL(ret, getsockname(fd, addr.sa, &addrlen)); 1045 return sock_address_from_bsd(address, &addr, addrlen); 1052 socklen_t addrlen = sizeof(addr) local 1072 socklen_t addrlen = sizeof(addr); local [all...] |
/sdk/emulator/opengl/tests/event_injector/ |
sockets.c | 1018 socklen_t addrlen; local 1020 if (sock_address_to_bsd(address, &addr, &addrlen) < 0) 1023 SOCKET_CALL(connect(fd,addr.sa,addrlen)); 1030 socklen_t addrlen; local 1032 if (sock_address_to_bsd(address, &addr, &addrlen) < 0) 1035 SOCKET_CALL(bind(fd, addr.sa, addrlen)); 1042 socklen_t addrlen = sizeof(addr); local 1045 QSOCKET_CALL(ret, getsockname(fd, addr.sa, &addrlen)); 1049 return sock_address_from_bsd(address, &addr, addrlen); 1056 socklen_t addrlen = sizeof(addr) local 1076 socklen_t addrlen = sizeof(addr); local [all...] |