Home
last modified time | relevance | path

Searched refs:is_ipv4_ (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/net/base/
Dip_pattern.cc55 IPPattern::IPPattern() : is_ipv4_(true) {} in IPPattern()
65 if (address_is_ipv4 != is_ipv4_) in Match()
75 if (!is_ipv4_) { in Match()
93 is_ipv4_ = false; in ParsePattern()
96 base::SplitString(ip_pattern, is_ipv4_ ? '.' : ':', &components); in ParsePattern()
97 if (components.size() != (is_ipv4_ ? 4u : 8u)) { in ParsePattern()
109 *component_it = is_ipv4_ ? "[0-255]" : "[0-FFFF]"; in ParsePattern()
171 bool ok = is_ipv4_ ? base::StringToUint(input, output) : in ValueTextToInt()
177 if (is_ipv4_ && *output > 255u) { in ValueTextToInt()
181 if (!is_ipv4_ && *output > 0xFFFFu) { in ValueTextToInt()
Dip_pattern.h32 bool is_ipv4() const { return is_ipv4_; } in is_ipv4()
46 bool is_ipv4_; variable