OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ip_prefix
(Results
1 - 9
of
9
) 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
320
// Handler for "isInNetEx(ip_address,
ip_prefix
)". |ip_address| is a string
321
// containing an IPv4/IPv6 address, and |
ip_prefix
| is a string containg a
327
bool IsInNetEx(const std::string& ip_address, const std::string&
ip_prefix
) {
337
if (!ParseCIDRBlock(
ip_prefix
, &prefix, &prefix_length_in_bits))
694
std::string
ip_prefix
= V8StringToUTF8(args[1]->ToString());
local
695
args.GetReturnValue().Set(IsInNetEx(ip_address,
ip_prefix
));
/external/chromium_org/net/proxy/
proxy_bypass_rules.cc
88
// |
ip_prefix
| + |prefix_length| define the IP block to match.
91
const IPAddressNumber&
ip_prefix
,
95
ip_prefix_(
ip_prefix
),
293
IPAddressNumber
ip_prefix
;
local
296
if (!ParseCIDRBlock(raw, &
ip_prefix
, &prefix_length_in_bits))
300
new BypassIPBlockRule(raw, scheme,
ip_prefix
, prefix_length_in_bits));
proxy_resolver_v8.cc
314
// Handler for "isInNetEx(ip_address,
ip_prefix
)". |ip_address| is a string
315
// containing an IPv4/IPv6 address, and |
ip_prefix
| is a string containg a
321
bool IsInNetEx(const std::string& ip_address, const std::string&
ip_prefix
) {
328
if (!ParseCIDRBlock(
ip_prefix
, &prefix, &prefix_length_in_bits))
694
std::string
ip_prefix
= V8StringToUTF8(args[1]->ToString());
local
695
if (!base::IsStringASCII(
ip_prefix
)) {
699
args.GetReturnValue().Set(IsInNetEx(ip_address,
ip_prefix
));
/external/chromium_org/net/base/
net_util.cc
147
const unsigned char*
ip_prefix
,
152
if (ip_number[i] !=
ip_prefix
[i])
162
if ((ip_number[i] & mask) != (
ip_prefix
[i] & mask))
931
const IPAddressNumber&
ip_prefix
,
936
DCHECK(
ip_prefix
.size() == 4 ||
ip_prefix
.size() == 16);
938
DCHECK_LE(prefix_length_in_bits,
ip_prefix
.size() * 8);
942
if (ip_number.size() !=
ip_prefix
.size()) {
945
ip_prefix
, prefix_length_in_bits);
948
ConvertIPv4NumberToIPv6Number(
ip_prefix
),
[
all
...]
net_util.h
419
// The IP block is given by (|
ip_prefix
|, |prefix_length_in_bits|) -- any
421
// |
ip_prefix
| will be matched.
427
const IPAddressNumber&
ip_prefix
,
net_util_unittest.cc
697
IPAddressNumber
ip_prefix
;
local
701
&
ip_prefix
,
706
ip_prefix
,
/external/chromium_org/chrome/browser/safe_browsing/
safe_browsing_database_unittest.cc
52
std::string HashedIpPrefix(const std::string&
ip_prefix
, size_t prefix_size) {
54
EXPECT_TRUE(net::ParseIPLiteralToNumber(
ip_prefix
, &ip_number));
[
all
...]
Completed in 126 milliseconds