Searched refs:prefix_length (Results 1 – 11 of 11) sorted by relevance
65 size_t prefix_length = GetSwitchPrefixLength(string); in IsSwitch() local66 if (prefix_length == 0 || prefix_length == string.length()) in IsSwitch()338 size_t prefix_length = GetSwitchPrefixLength(combined_switch_string); in AppendSwitchNative() local340 switches_.insert(make_pair(switch_key.substr(prefix_length), value)); in AppendSwitchNative()344 if (prefix_length == 0) in AppendSwitchNative()
2717 png_uint_32 prefix_length; in png_handle_iTXt() local2760 for (prefix_length=0; in png_handle_iTXt()2761 prefix_length < length && buffer[prefix_length] != 0; in png_handle_iTXt()2762 ++prefix_length) in png_handle_iTXt()2766 if (prefix_length > 79 || prefix_length < 1) in png_handle_iTXt()2773 else if (prefix_length + 5 > length) in png_handle_iTXt()2776 else if (buffer[prefix_length+1] == 0 || in png_handle_iTXt()2777 (buffer[prefix_length+1] == 1 && in png_handle_iTXt()2778 buffer[prefix_length+2] == PNG_COMPRESSION_TYPE_BASE)) in png_handle_iTXt()2780 int compressed = buffer[prefix_length+1] != 0; in png_handle_iTXt()[all …]
1161 Added a check for prefix_length > data_length in iCCP chunk handler.
183 PACK_STRUCT_FLD_8(u8_t prefix_length);240 PACK_STRUCT_FLD_8(u8_t prefix_length);
364 let prefix_length = result.prefix_length(); in store_vector() localVariable366 width = max(width, val.width_in_vector(buffer.len(), i + prefix_length)); in store_vector()
145 pub fn prefix_length(&self) -> usize { in prefix_length() method
17 size_t prefix_length = GetSwitchPrefixLength(combined_switch_string);
165 let prefix_length = a.into_iter() in generic_jaro_winkler() localVariable171 jaro_distance + (0.1 * prefix_length as f64 * (1.0 - jaro_distance)); in generic_jaro_winkler()
198 if (pref_life > valid_life || prefix_opt->prefix_length != 64) { in nd6_process_autoconfig_prefix()724 (prefix_opt->prefix_length == 64)) { in nd6_input()