Searched refs:addr_in (Results 1 – 5 of 5) sorted by relevance
83 struct sockaddr_in *addr_in = (struct sockaddr_in *)&addr; in get_random_bytes_prngd() local99 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()
65 grpc_sockaddr_in* addr_in = reinterpret_cast<grpc_sockaddr_in*>(addr.addr); in test_grpc_parse_ipv4() local66 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()
80 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,
130 bool DumpAnalysis::HasMemoryImpl(const void *addr_in, size_t structuresize, in HasMemoryImpl() argument132 uintptr_t address = reinterpret_cast<uintptr_t>(addr_in); in HasMemoryImpl()
182 sockaddr_in addr_in; in TEST() local183 from.ToSockAddr(&addr_in); in TEST()184 EXPECT_TRUE(addr.FromSockAddr(addr_in)); in TEST()