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

  /external/chromium-libpac/src/
net_util.cc 91 const IPAddressNumber& ip_prefix,
98 if (ip_number.size() != ip_prefix.size()) {
101 ip_prefix, prefix_length_in_bits);
104 ConvertIPv4NumberToIPv6Number(ip_prefix),
112 if (ip_number[i] != ip_prefix[i])
122 if ((ip_number[i] & mask) != (ip_prefix[i] & mask))
net_util.h 55 // The IP block is given by (|ip_prefix|, |prefix_length_in_bits|) -- any
57 // |ip_prefix| will be matched.
63 const IPAddressNumber& ip_prefix,
proxy_resolver_v8.cc 319 // Handler for "isInNetEx(ip_address, ip_prefix)". |ip_address| is a string
320 // containing an IPv4/IPv6 address, and |ip_prefix| is a string containg a
326 bool IsInNetEx(const std::string& ip_address, const std::string& ip_prefix) {
336 if (!ParseCIDRBlock(ip_prefix, &prefix, &prefix_length_in_bits))
674 std::string ip_prefix = V8StringToUTF8(args[1]->ToString()); local
675 return IsInNetEx(ip_address, ip_prefix) ? v8::True() : v8::False();
  /external/chromium/net/proxy/
proxy_bypass_rules.cc 84 // |ip_prefix| + |prefix_length| define the IP block to match.
87 const IPAddressNumber& ip_prefix,
91 ip_prefix_(ip_prefix),
288 IPAddressNumber ip_prefix; local
291 if (!ParseCIDRBlock(raw, &ip_prefix, &prefix_length_in_bits))
295 new BypassIPBlockRule(raw, scheme, ip_prefix, prefix_length_in_bits));
proxy_resolver_v8.cc 300 // Handler for "isInNetEx(ip_address, ip_prefix)". |ip_address| is a string
301 // containing an IPv4/IPv6 address, and |ip_prefix| is a string containg a
307 bool IsInNetEx(const std::string& ip_address, const std::string& ip_prefix) {
314 if (!ParseCIDRBlock(ip_prefix, &prefix, &prefix_length_in_bits))
667 std::string ip_prefix = V8StringToUTF8(args[1]->ToString());
668 if (!IsStringASCII(ip_prefix))
670 return IsInNetEx(ip_address, ip_prefix) ? v8::True() : v8::False();
  /external/chromium_org/net/proxy/
proxy_bypass_rules.cc 86 // |ip_prefix| + |prefix_length| define the IP block to match.
89 const IPAddressNumber& ip_prefix,
93 ip_prefix_(ip_prefix),
290 IPAddressNumber ip_prefix; local
293 if (!ParseCIDRBlock(raw, &ip_prefix, &prefix_length_in_bits))
297 new BypassIPBlockRule(raw, scheme, ip_prefix, prefix_length_in_bits));
proxy_resolver_v8.cc 312 // Handler for "isInNetEx(ip_address, ip_prefix)". |ip_address| is a string
313 // containing an IPv4/IPv6 address, and |ip_prefix| is a string containg a
319 bool IsInNetEx(const std::string& ip_address, const std::string& ip_prefix) {
326 if (!ParseCIDRBlock(ip_prefix, &prefix, &prefix_length_in_bits))
697 std::string ip_prefix = V8StringToUTF8(args[1]->ToString()); local
698 if (!IsStringASCII(ip_prefix)) {
702 args.GetReturnValue().Set(IsInNetEx(ip_address, ip_prefix));
  /external/chromium_org/net/base/
net_util.cc     [all...]
net_util.h 487 // The IP block is given by (|ip_prefix|, |prefix_length_in_bits|) -- any
489 // |ip_prefix| will be matched.
495 const IPAddressNumber& ip_prefix,
net_util_unittest.cc 3257 IPAddressNumber ip_prefix; local
    [all...]
  /external/chromium/net/base/
net_util.h 434 // The IP block is given by (|ip_prefix|, |prefix_length_in_bits|) -- any
436 // |ip_prefix| will be matched.
442 const IPAddressNumber& ip_prefix,
net_util.cc     [all...]
net_util_unittest.cc 2303 IPAddressNumber ip_prefix; local
    [all...]
  /external/chromium_org/chrome/browser/safe_browsing/
safe_browsing_database_unittest.cc 41 std::string HashedIpPrefix(const std::string& ip_prefix, size_t prefix_size) {
43 EXPECT_TRUE(net::ParseIPLiteralToNumber(ip_prefix, &ip_number));
    [all...]

Completed in 1134 milliseconds