Lines Matching defs:value
254 assert!(minversion <= maxversion, "Invalid value");
270 version = Version::new(version.value() + 1);
493 let size: u8 = ver.value() * 4 + 17;
519 if ver.value() >= 7 {
568 let ver = u32::from(self.version().value()); // uint6, in the range [7, 40]
599 let data = u32::from(ecl.format_bits() << 3 | mask.value());
678 // the same mask value a second time will undo the mask. A final well-formed
689 match mask.value() {
794 let ver: u8 = self.version().value();
816 let ver = usize::from(ver.value());
842 table[ecl.ordinal()][usize::from(ver.value())] as usize
951 // Pushes the given value to the front and drops the last value.
997 // Version: (note that index 0 is for padding, and is set to an illegal value)
1006 // Version: (note that index 0 is for padding, and is set to an illegal value)
1162 /// (ECI) designator with the given assignment value.
1174 panic!("ECI assignment value out of range");
1288 // where each character value maps to the index in the string.
1308 // Returns an unsigned 4-bit integer value (range 0 to 15)
1332 })[usize::from((ver.value() + 7) / 17)]
1369 // Appends the given number of low-order bits of the given value to this byte-based
1435 assert!((Version::MIN.value() ..= Version::MAX.value()).contains(&ver), "Version number out of range");
1439 /// Returns the value, which is in the range [1, 40].
1440 pub fn value(self) -> u8 {
1462 assert!(mask <= 7, "Mask value out of range");
1466 /// Returns the value, which is in the range [0, 7].
1467 pub fn value(self) -> u8 {