• Home
  • Raw
  • Download

Lines Matching refs:addr1

42     ip::address_v4 addr1;  in test()  local
50 bool b = addr1.is_loopback(); in test()
53 b = addr1.is_unspecified(); in test()
57 b = addr1.is_class_a(); in test()
60 b = addr1.is_class_b(); in test()
63 b = addr1.is_class_c(); in test()
67 b = addr1.is_multicast(); in test()
70 ip::address_v4::bytes_type bytes_value = addr1.to_bytes(); in test()
73 ip::address_v4::uint_type uint_value = addr1.to_uint(); in test()
77 unsigned long ulong_value = addr1.to_ulong(); in test()
81 std::string string_value = addr1.to_string(); in test()
83 string_value = addr1.to_string(ec); in test()
89 addr1 = ip::address_v4::from_string("127.0.0.1"); in test()
90 addr1 = ip::address_v4::from_string("127.0.0.1", ec); in test()
91 addr1 = ip::address_v4::from_string(string_value); in test()
92 addr1 = ip::address_v4::from_string(string_value, ec); in test()
95 addr1 = ip::address_v4::any(); in test()
97 addr1 = ip::address_v4::loopback(); in test()
99 addr1 = ip::address_v4::broadcast(); in test()
102 addr1 = ip::address_v4::broadcast(addr2, addr3); in test()
104 addr1 = ip::address_v4::netmask(addr2); in test()
109 b = (addr1 == addr2); in test()
112 b = (addr1 != addr2); in test()
115 b = (addr1 < addr2); in test()
118 b = (addr1 > addr2); in test()
121 b = (addr1 <= addr2); in test()
124 b = (addr1 >= addr2); in test()
129 addr1 = ip::make_address_v4(const_bytes_value); in test()
130 addr1 = ip::make_address_v4(const_ulong_value); in test()
131 addr1 = ip::make_address_v4("127.0.0.1"); in test()
132 addr1 = ip::make_address_v4("127.0.0.1", ec); in test()
133 addr1 = ip::make_address_v4(string_value); in test()
134 addr1 = ip::make_address_v4(string_value, ec); in test()
141 addr1 = ip::make_address_v4(string_view_value); in test()
142 addr1 = ip::make_address_v4(string_view_value, ec); in test()
148 os << addr1; in test()
152 wos << addr1; in test()
156 std::size_t hash1 = std::hash<ip::address_v4>()(addr1); in test()