/external/chromium/net/base/ |
D | address_list_unittest.cc | 139 ai.ai_addrlen = sizeof(address); in TEST() 207 EXPECT_EQ(good_ai->ai_addrlen, test_ai->ai_addrlen); in TEST() 243 good_ai->ai_addrlen, in TEST() 249 EXPECT_EQ(good_ai->ai_addrlen, test_ai->ai_addrlen); in TEST()
|
D | address_list.cc | 64 ai->ai_addrlen = sockaddr_in_size; in AddressList() 77 ai->ai_addrlen = sockaddr_in6_size; in AddressList() 223 ai->ai_addrlen = address_length; in CreateAddressListFromSockaddr()
|
D | host_port_pair.cc | 27 GetPortFromSockaddr(ai->ai_addr, ai->ai_addrlen)); in FromAddrInfo()
|
D | host_resolver_impl_unittest.cc | 285 EXPECT_EQ(sizeof(struct sockaddr_in), ainfo->ai_addrlen); in TEST_F() 330 EXPECT_EQ(sizeof(struct sockaddr_in), ainfo->ai_addrlen); in TEST_F() 421 EXPECT_EQ(sizeof(struct sockaddr_in), ainfo->ai_addrlen); in TEST_F() 446 EXPECT_EQ(sizeof(struct sockaddr_in6), ainfo->ai_addrlen); in TEST_F() 1690 EXPECT_EQ(sizeof(struct sockaddr_in), ainfo->ai_addrlen); in TEST_F()
|
/external/qemu/ |
D | qemu-sockets.c | 116 getnameinfo((struct sockaddr*)e->ai_addr,e->ai_addrlen, in inet_print_addrinfo() 173 getnameinfo((struct sockaddr*)e->ai_addr,e->ai_addrlen, in inet_listen_opts() 193 if (bind(slisten, e->ai_addr, e->ai_addrlen) == 0) { in inet_listen_opts() 275 if (getnameinfo((struct sockaddr*)e->ai_addr,e->ai_addrlen, in inet_connect_opts() 290 if (connect(sock,e->ai_addr,e->ai_addrlen) < 0) { in inet_connect_opts() 383 if (getnameinfo((struct sockaddr*)local->ai_addr,local->ai_addrlen, in inet_dgram_opts() 389 if (bind(sock, local->ai_addr, local->ai_addrlen) < 0) { in inet_dgram_opts() 396 if (getnameinfo((struct sockaddr*)peer->ai_addr, peer->ai_addrlen, in inet_dgram_opts() 402 if (connect(sock,peer->ai_addr,peer->ai_addrlen) < 0) { in inet_dgram_opts()
|
/external/chromium/net/tools/flip_server/ |
D | create_listener.cc | 176 if (bind(sock, results->ai_addr, results->ai_addrlen)) { in CreateListeningSocket() 282 if ( connect( sock, results->ai_addr, results->ai_addrlen ) ) { in CreateConnectedSocket()
|
/external/tcpdump/missing/ |
D | addrinfo.h | 76 size_t ai_addrlen; /* length of ai_addr */ member
|
D | getaddrinfo.c | 322 pai->ai_addrlen = 0; 331 if (hints->ai_addrlen || hints->ai_canonname || 1008 ai->ai_addrlen = afd->a_socklen;
|
/external/dropbear/ |
D | fake-rfc2553.h | 129 size_t ai_addrlen; /* length of ai_addr */ member
|
D | fake-rfc2553.c | 131 ai->ai_addrlen = sizeof(struct sockaddr_in); in malloc_ai()
|
D | dbutil.c | 259 if (bind(sock, res->ai_addr, res->ai_addrlen) < 0) { in dropbear_listen() 354 if (connect(sock, res->ai_addr, res->ai_addrlen) < 0) { in connect_remote()
|
/external/openssh/openbsd-compat/ |
D | fake-rfc2553.h | 142 size_t ai_addrlen; /* length of ai_addr */ member
|
D | fake-rfc2553.c | 136 ai->ai_addrlen = sizeof(struct sockaddr_in); in malloc_ai()
|
/external/ipsec-tools/src/libipsec/ |
D | policy_parse.y | 426 newaddr = malloc(res->ai_addrlen); 432 memcpy(newaddr, res->ai_addr, res->ai_addrlen);
|
/external/chromium/net/spdy/ |
D | spdy_session_pool.cc | 216 endpoint.FromSockAddr(address->ai_addr, address->ai_addrlen); in GetFromAlias() 350 endpoint.FromSockAddr(address->ai_addr, address->ai_addrlen); in AddAliases()
|
/external/openssh/ |
D | sshconnect.c | 232 if (bind(sock, res->ai_addr, res->ai_addrlen) < 0) { in ssh_create_socket() 376 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, in ssh_connect() 391 if (timeout_connect(sock, ai->ai_addr, ai->ai_addrlen, in ssh_connect() 394 memcpy(hostaddr, ai->ai_addr, ai->ai_addrlen); in ssh_connect()
|
D | canohost.c | 128 if (getnameinfo(ai->ai_addr, ai->ai_addrlen, ntop2, in get_remote_hostname()
|
/external/netcat/ |
D | netcat.c | 629 ares->ai_addrlen) < 0) in remote_connect() 636 if (timeout_connect(s, res0->ai_addr, res0->ai_addrlen) == 0) in remote_connect() 738 res0->ai_addrlen) == 0) in local_listen()
|
/external/chromium/net/websockets/ |
D | websocket_throttle.cc | 45 addrinfo->ai_addrlen).c_str()); in AddrinfoToHashkey()
|
/external/chromium/net/socket/ |
D | tcp_server_socket_unittest.cc | 49 address.head()->ai_addr, address.head()->ai_addrlen)); in GetPeerAddress()
|
D | tcp_client_socket_libevent.cc | 247 static_cast<int>(current_ai_->ai_addrlen)))) { in DoConnect() 470 static_cast<int>(current_ai_->ai_addrlen))); in InternalWrite()
|
/external/opencv/otherlibs/highgui/ |
D | cvcap_socket.cpp | 229 if (connect(sockd, pAddrInfo->ai_addr, pAddrInfo->ai_addrlen) < 0 || errno != 0) in grabFrame()
|
/external/netperf/ |
D | nettest_sctp.c | 615 remote_res->ai_addrlen) == INVALID_SOCKET) { 1756 remote_res->ai_addrlen) == INVALID_SOCKET){ 1870 remote_res->ai_addrlen, 1947 remote_res->ai_addrlen, 0, MSG_EOF, 0, 0, 0); 2826 remote_res->ai_addrlen) <0){ 3883 remote_res->ai_addrlen) < 0){ 3963 remote_res->ai_addrlen, 3995 remote_res->ai_addrlen,
|
/external/libxml2/ |
D | nanohttp.c | 1079 if (res->ai_addrlen > sizeof(sockin)) { in xmlNanoHTTPConnectHost() 1084 memcpy (&sockin, res->ai_addr, res->ai_addrlen); in xmlNanoHTTPConnectHost() 1089 if (res->ai_addrlen > sizeof(sockin6)) { in xmlNanoHTTPConnectHost() 1094 memcpy (&sockin6, res->ai_addr, res->ai_addrlen); in xmlNanoHTTPConnectHost()
|
/external/chromium/third_party/libevent/ |
D | http.c | 149 size_t ai_addrlen; member 166 ai->ai_addrlen = sizeof(struct sockaddr_in); in fake_getaddrinfo() 167 if (NULL == (ai->ai_addr = malloc(ai->ai_addrlen))) in fake_getaddrinfo() 170 memset(sa, 0, ai->ai_addrlen); in fake_getaddrinfo() 2711 r = bind(fd, ai->ai_addr, ai->ai_addrlen); in bind_socket_ai() 2801 if (connect(fd, ai->ai_addr, ai->ai_addrlen) == -1) { in socket_connect()
|