Home
last modified time | relevance | path

Searched refs:prefix_length (Results 1 – 15 of 15) sorted by relevance

/external/bison/lib/
Ddirname-lgpl.c34 size_t prefix_length = FILE_SYSTEM_PREFIX_LEN (file); in dir_len() local
38 prefix_length += (prefix_length != 0 in dir_len()
40 && ISSLASH (file[prefix_length])) in dir_len()
49 prefix_length < length; length--) in dir_len()
/external/webrtc/webrtc/base/
Dnetwork.cc70 if (a->prefix_length() == b->prefix_length()) { in CompareNetworks()
158 int prefix_length) { in MakeNetworkKey() argument
160 ost << name << "%" << prefix.ToString() << "/" << prefix_length; in MakeNetworkKey()
253 network->prefix_length()); in MergeNetworkList()
435 int prefix_length = CountIPMaskBits(mask); in ConvertIfAddrs() local
436 prefix = TruncateIP(ip, prefix_length); in ConvertIfAddrs()
438 prefix, prefix_length); in ConvertIfAddrs()
454 prefix_length, adapter_type)); in ConvertIfAddrs()
600 int prefix_length = GetPrefix(prefixlist, ip, &prefix); in CreateNetworks() local
601 std::string key = MakeNetworkKey(name, prefix, prefix_length); in CreateNetworks()
[all …]
Dfakenetwork.h95 int prefix_length = 0; in DoUpdateNetworks() local
97 prefix_length = kFakeIPv4NetworkPrefixLength; in DoUpdateNetworks()
99 prefix_length = kFakeIPv6NetworkPrefixLength; in DoUpdateNetworks()
101 IPAddress prefix = TruncateIP(it->first.ipaddr(), prefix_length); in DoUpdateNetworks()
104 prefix_length, it->second)); in DoUpdateNetworks()
Dnetwork.h56 int prefix_length);
267 int prefix_length);
272 int prefix_length,
294 int prefix_length() const { return prefix_length_; } in prefix_length() function
Dnetwork_unittest.cc158 EXPECT_EQ(24, ipv4_network1.prefix_length()); in TEST_F()
/external/tcpdump/
Dprint-rpki-rtr.c56 u_char prefix_length; member
69 u_char prefix_length; member
230 pdu->prefix_length, pdu->max_length, in rpki_rtr_pdu_print()
244 pdu->prefix_length, pdu->max_length, in rpki_rtr_pdu_print()
/external/libchrome/base/
Dcommand_line.cc61 size_t prefix_length = GetSwitchPrefixLength(string); in IsSwitch() local
62 if (prefix_length == 0 || prefix_length == string.length()) in IsSwitch()
332 size_t prefix_length = GetSwitchPrefixLength(combined_switch_string); in AppendSwitchNative() local
334 switches_.insert(make_pair(switch_key.substr(prefix_length), value)); in AppendSwitchNative()
339 if (prefix_length == 0) in AppendSwitchNative()
/external/pdfium/third_party/lpng_v163/
Dpngrutil.c2554 png_uint_32 prefix_length; in png_handle_iTXt() local
2597 for (prefix_length=0; in png_handle_iTXt()
2598 prefix_length < length && buffer[prefix_length] != 0; in png_handle_iTXt()
2599 ++prefix_length) in png_handle_iTXt()
2603 if (prefix_length > 79 || prefix_length < 1) in png_handle_iTXt()
2610 else if (prefix_length + 5 > length) in png_handle_iTXt()
2613 else if (buffer[prefix_length+1] == 0 || in png_handle_iTXt()
2614 (buffer[prefix_length+1] == 1 && in png_handle_iTXt()
2615 buffer[prefix_length+2] == PNG_COMPRESSION_TYPE_BASE)) in png_handle_iTXt()
2617 int compressed = buffer[prefix_length+1] != 0; in png_handle_iTXt()
[all …]
/external/libpng/
Dpngrutil.c2615 png_uint_32 prefix_length; in png_handle_iTXt() local
2658 for (prefix_length=0; in png_handle_iTXt()
2659 prefix_length < length && buffer[prefix_length] != 0; in png_handle_iTXt()
2660 ++prefix_length) in png_handle_iTXt()
2664 if (prefix_length > 79 || prefix_length < 1) in png_handle_iTXt()
2671 else if (prefix_length + 5 > length) in png_handle_iTXt()
2674 else if (buffer[prefix_length+1] == 0 || in png_handle_iTXt()
2675 (buffer[prefix_length+1] == 1 && in png_handle_iTXt()
2676 buffer[prefix_length+2] == PNG_COMPRESSION_TYPE_BASE)) in png_handle_iTXt()
2678 int compressed = buffer[prefix_length+1] != 0; in png_handle_iTXt()
[all …]
DCHANGES1162 Added a check for prefix_length > data_length in iCCP chunk handler.
/external/webrtc/tools/sslroots/
Dgenerate_sslroots.py101 prefix_length = len(_PREFIX)
103 label = current_file[prefix_length:length]
/external/libchrome/base/strings/
Dsafe_sprintf.cc337 const size_t prefix_length = reverse_prefix - prefix; in IToASCII() local
403 if (discarded > 8*sizeof(num) + prefix_length) { in IToASCII()
/external/v8/src/regexp/
Djsregexp.cc5298 int prefix_length = atom->length(); in RationalizeConsecutiveAtoms() local
5313 prefix_length = Min(prefix_length, atom->length()); in RationalizeConsecutiveAtoms()
5324 for (int j = 1; j < run_length && prefix_length > 1; j++) { in RationalizeConsecutiveAtoms()
5327 for (int k = 1; k < prefix_length; k++) { in RationalizeConsecutiveAtoms()
5329 prefix_length = k; in RationalizeConsecutiveAtoms()
5335 new (zone) RegExpAtom(atom->data().SubVector(0, prefix_length)); in RationalizeConsecutiveAtoms()
5344 if (len == prefix_length) { in RationalizeConsecutiveAtoms()
5348 old_atom->data().SubVector(prefix_length, old_atom->length())); in RationalizeConsecutiveAtoms()
/external/v8/src/
Dobjects.cc11216 int prefix_length = x->length(); in Compare() local
11217 if (y->length() < prefix_length) { in Compare()
11218 prefix_length = y->length(); in Compare()
11220 } else if (y->length() > prefix_length) { in Compare()
11230 r = CompareChars(x_chars.start(), y_chars.start(), prefix_length); in Compare()
11233 r = CompareChars(x_chars.start(), y_chars.start(), prefix_length); in Compare()
11239 r = CompareChars(x_chars.start(), y_chars.start(), prefix_length); in Compare()
11242 r = CompareChars(x_chars.start(), y_chars.start(), prefix_length); in Compare()
/external/srtp/doc/
Drfc3711.txt1977 SRTP prefix_length 0 0