Home
last modified time | relevance | path

Searched refs:prefix_length (Results 1 – 23 of 23) 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/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/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/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/opencv3/3rdparty/libpng/
Dpngrutil.c1242 png_size_t slength, prefix_length, data_length; in png_handle_iCCP() local
1319 prefix_length = profile - png_ptr->chunkdata; in png_handle_iCCP()
1321 slength, prefix_length, &data_length); in png_handle_iCCP()
1323 profile_length = data_length - prefix_length; in png_handle_iCCP()
1325 if (prefix_length > data_length || profile_length < 4) in png_handle_iCCP()
1334 pC = (png_bytep)(png_ptr->chunkdata + prefix_length); in png_handle_iCCP()
1362 compression_type, (png_bytep)png_ptr->chunkdata + prefix_length, in png_handle_iCCP()
Dpngpriv.h783 int comp_type, png_size_t chunklength, png_size_t prefix_length,
DCHANGES1154 Added a check for prefix_length > data_length in iCCP chunk handler.
/external/v8/src/regexp/
Djsregexp.cc4935 int prefix_length = atom->length(); in RationalizeConsecutiveAtoms() local
4950 prefix_length = Min(prefix_length, atom->length()); in RationalizeConsecutiveAtoms()
4961 for (int j = 1; j < run_length && prefix_length > 1; j++) { in RationalizeConsecutiveAtoms()
4964 for (int k = 1; k < prefix_length; k++) { in RationalizeConsecutiveAtoms()
4966 prefix_length = k; in RationalizeConsecutiveAtoms()
4972 new (zone) RegExpAtom(atom->data().SubVector(0, prefix_length)); in RationalizeConsecutiveAtoms()
4981 if (len == prefix_length) { in RationalizeConsecutiveAtoms()
4985 old_atom->data().SubVector(prefix_length, old_atom->length())); in RationalizeConsecutiveAtoms()
/external/v8/src/
Dobjects.cc11944 int prefix_length = x->length(); in Compare() local
11945 if (y->length() < prefix_length) { in Compare()
11946 prefix_length = y->length(); in Compare()
11948 } else if (y->length() > prefix_length) { in Compare()
11958 r = CompareChars(x_chars.start(), y_chars.start(), prefix_length); in Compare()
11961 r = CompareChars(x_chars.start(), y_chars.start(), prefix_length); in Compare()
11967 r = CompareChars(x_chars.start(), y_chars.start(), prefix_length); in Compare()
11970 r = CompareChars(x_chars.start(), y_chars.start(), prefix_length); in Compare()
/external/srtp/doc/
Drfc3711.txt1977 SRTP prefix_length 0 0
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/guice/extensions/struts2/lib/
Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...
/external/icu/tools/srcgen/currysrc/libs/
Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_ ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...