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
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
313
// Handler for "isInNetEx(ip_address,
ip_prefix
)". |ip_address| is a string
314
// containing an IPv4/IPv6 address, and |
ip_prefix
| is a string containg a
320
bool IsInNetEx(const std::string& ip_address, const std::string&
ip_prefix
) {
327
if (!ParseCIDRBlock(
ip_prefix
, &prefix, &prefix_length_in_bits))
693
std::string
ip_prefix
= V8StringToUTF8(args[1]->ToString());
local
694
if (!base::IsStringASCII(
ip_prefix
)) {
698
args.GetReturnValue().Set(IsInNetEx(ip_address,
ip_prefix
));
/external/chromium_org/net/base/
net_util.cc
146
const unsigned char*
ip_prefix
,
151
if (ip_number[i] !=
ip_prefix
[i])
161
if ((ip_number[i] & mask) != (
ip_prefix
[i] & mask))
879
const IPAddressNumber&
ip_prefix
,
884
DCHECK(
ip_prefix
.size() == 4 ||
ip_prefix
.size() == 16);
886
DCHECK_LE(prefix_length_in_bits,
ip_prefix
.size() * 8);
890
if (ip_number.size() !=
ip_prefix
.size()) {
893
ip_prefix
, prefix_length_in_bits);
896
ConvertIPv4NumberToIPv6Number(
ip_prefix
),
[
all
...]
net_util_unittest.cc
658
IPAddressNumber
ip_prefix
;
local
662
&
ip_prefix
,
667
ip_prefix
,
net_util.h
407
// The IP block is given by (|
ip_prefix
|, |prefix_length_in_bits|) -- any
409
// |
ip_prefix
| will be matched.
415
const IPAddressNumber&
ip_prefix
,
/external/chromium_org/chrome/browser/safe_browsing/
safe_browsing_database_unittest.cc
39
std::string HashedIpPrefix(const std::string&
ip_prefix
, size_t prefix_size) {
41
EXPECT_TRUE(net::ParseIPLiteralToNumber(
ip_prefix
, &ip_number));
[
all
...]
Completed in 177 milliseconds