Home
last modified time | relevance | path

Searched refs:addr_in (Results 1 – 5 of 5) sorted by relevance

/external/openssh/
Dentropy.c83 struct sockaddr_in *addr_in = (struct sockaddr_in *)&addr; in get_random_bytes_prngd() local
99 addr_in->sin_family = AF_INET; in get_random_bytes_prngd()
100 addr_in->sin_addr.s_addr = htonl(INADDR_LOOPBACK); in get_random_bytes_prngd()
101 addr_in->sin_port = htons(tcp_port); in get_random_bytes_prngd()
102 addr_len = sizeof(*addr_in); in get_random_bytes_prngd()
/external/grpc-grpc/test/core/client_channel/
Dparse_address_test.cc65 grpc_sockaddr_in* addr_in = reinterpret_cast<grpc_sockaddr_in*>(addr.addr); in test_grpc_parse_ipv4() local
66 GPR_ASSERT(GRPC_AF_INET == addr_in->sin_family); in test_grpc_parse_ipv4()
67 GPR_ASSERT(nullptr != grpc_inet_ntop(GRPC_AF_INET, &addr_in->sin_addr, in test_grpc_parse_ipv4()
70 GPR_ASSERT(grpc_ntohs(addr_in->sin_port) == port); in test_grpc_parse_ipv4()
/external/google-breakpad/src/client/windows/unittests/
Ddump_analysis.h80 bool HasMemory(const void* addr_in, StructureType** structure = NULL) const {
81 return HasMemoryImpl(addr_in, sizeof(StructureType),
98 bool HasMemoryImpl(const void* addr_in, size_t pointersize,
Ddump_analysis.cc130 bool DumpAnalysis::HasMemoryImpl(const void *addr_in, size_t structuresize, in HasMemoryImpl() argument
132 uintptr_t address = reinterpret_cast<uintptr_t>(addr_in); in HasMemoryImpl()
/external/webrtc/webrtc/base/
Dsocketaddress_unittest.cc182 sockaddr_in addr_in; in TEST() local
183 from.ToSockAddr(&addr_in); in TEST()
184 EXPECT_TRUE(addr.FromSockAddr(addr_in)); in TEST()