Lines Matching refs:Version
33 struct Version(usize); struct
209 impl Version { implementation
211 fn from_segments(segments: &[&Segment<'_>]) -> Option<Version> { in from_segments() argument
213 .map(Version) in from_segments()
250 if *self >= Version(7) { in version_info()
319 fn length_bits_count(&self, version: Version) -> usize { in length_bits_count()
320 let Version(v) = version; in length_bits_count() localVariable
346 fn get_length_field(&self, version: Version) -> (u16, usize) { in get_length_field()
353 fn total_size_bits(&self, version: Version) -> usize { in total_size_bits()
460 version: Version,
467 let version = Version::from_segments(segments)?; in new()
643 version: Version,
982 let max_data = Version(version as usize).max_data(); in drm_panic_qr_max_data_size()