HomeSort by relevance Sort by last modified time
    Searched refs:is_ipv4_ (Results 1 - 2 of 2) sorted by null

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

Completed in 39 milliseconds