• Home
  • Raw
  • Download

Lines Matching refs:to_vec

131             bytes.append(&mut part.to_vec());  in to_aml_bytes()
174 bytes.append(&mut self.to_le_bytes().to_vec()); in to_aml_bytes()
183 bytes.append(&mut self.to_le_bytes().to_vec()); in to_aml_bytes()
192 bytes.append(&mut self.to_le_bytes().to_vec()); in to_aml_bytes()
455 bytes.append(&mut 9u16.to_le_bytes().to_vec()); in to_aml_bytes()
459 bytes.append(&mut self.base.to_le_bytes().to_vec()); in to_aml_bytes()
460 bytes.append(&mut self.length.to_le_bytes().to_vec()); in to_aml_bytes()
522 bytes.append(&mut (length as u16).to_le_bytes().to_vec()); in push_header()
538 bytes.append(&mut 0u16.to_le_bytes().to_vec()); /* Granularity */ in to_aml_bytes()
539 bytes.append(&mut self.min.to_le_bytes().to_vec()); /* Min */ in to_aml_bytes()
540 bytes.append(&mut self.max.to_le_bytes().to_vec()); /* Max */ in to_aml_bytes()
541 bytes.append(&mut 0u16.to_le_bytes().to_vec()); /* Translation */ in to_aml_bytes()
543 bytes.append(&mut len.to_le_bytes().to_vec()); /* Length */ in to_aml_bytes()
555 bytes.append(&mut 0u32.to_le_bytes().to_vec()); /* Granularity */ in to_aml_bytes()
556 bytes.append(&mut self.min.to_le_bytes().to_vec()); /* Min */ in to_aml_bytes()
557 bytes.append(&mut self.max.to_le_bytes().to_vec()); /* Max */ in to_aml_bytes()
558 bytes.append(&mut 0u32.to_le_bytes().to_vec()); /* Translation */ in to_aml_bytes()
560 bytes.append(&mut len.to_le_bytes().to_vec()); /* Length */ in to_aml_bytes()
572 bytes.append(&mut 0u64.to_le_bytes().to_vec()); /* Granularity */ in to_aml_bytes()
573 bytes.append(&mut self.min.to_le_bytes().to_vec()); /* Min */ in to_aml_bytes()
574 bytes.append(&mut self.max.to_le_bytes().to_vec()); /* Max */ in to_aml_bytes()
575 bytes.append(&mut 0u64.to_le_bytes().to_vec()); /* Translation */ in to_aml_bytes()
577 bytes.append(&mut len.to_le_bytes().to_vec()); /* Length */ in to_aml_bytes()
605 bytes.append(&mut self.min.to_le_bytes().to_vec()); in to_aml_bytes()
606 bytes.append(&mut self.max.to_le_bytes().to_vec()); in to_aml_bytes()
643 bytes.append(&mut 6u16.to_le_bytes().to_vec()); in to_aml_bytes()
650 bytes.append(&mut self.number.to_le_bytes().to_vec()); in to_aml_bytes()
1525 assert_eq!(create_pkg_length(&[0u8; 62].to_vec(), true), vec![63]); in test_pkg_length()
1527 create_pkg_length(&[0u8; 64].to_vec(), true), in test_pkg_length()
1531 create_pkg_length(&[0u8; 4096].to_vec(), true), in test_pkg_length()
1553 assert_eq!(s5_sleep_data.to_vec(), aml); in test_package()