/bootable/libbootloader/gbl/libgbl/src/fastboot/ |
D | mod.rs | 36 part: [u8; GPT_NAME_LEN_U8], field 45 pub fn part(&self) -> &str { in part() method 47 CStr::from_bytes_until_nul(&self.part[..]).unwrap().to_str().unwrap() in part() 53 part: GblFbPartition, field 60 if add(rw_off, u64::try_from(rw_size)?)? > self.part.window_size { in check_range() 63 Ok(add(rw_off, self.part.window_start)?) in check_range() 69 let mut dev = (&mut self.devs).get(self.part.blk_id)?; in read() 70 Ok(match self.part.part() { in read() 72 part => dev.read_gpt_partition(part, offset, out), in read() 79 let mut dev = (&mut self.devs).get(self.part.blk_id)?; in write() [all …]
|
D | vars.rs | 81 let part = gbl_fb.parse_partition(args)?; in get() localVariable 83 PARTITION_SIZE => Some(snprintf!(out, "{:#x}", gbl_fb.partition_io(part).size()).len()), in get() 108 let part = ptn.gpt_entry().name_to_str(part_name)?; in get_all() localVariable 109 f(PARTITION_SIZE, &[part, id], snprintf!(size_str, "{:#x}", sz))?; in get_all() 111 f(PARTITION_TYPE, &[part, id], snprintf!(size_str, "raw"))?; in get_all()
|
/bootable/libbootloader/gbl/libstorage/src/ |
D | multi_blocks.rs | 63 fn check_part(&mut self, part: &str) -> Result<(u64, Partition)> { in check_part() 66 res = match v.find_partition(part).map(|v| (id, v)) { in check_part() 78 fn find_partition(&mut self, part: &str) -> Result<Partition> { in find_partition() 79 self.check_part(part)?; in find_partition() 80 until_ok(self, |dev, _| dev.find_partition(part)) in find_partition() 236 part: &str, in check_read_partition() 242 devs.read_gpt_partition(part, off, &mut out[..]).unwrap(); in check_read_partition() 273 part: &str, in check_write_partition() 280 devs.write_gpt_partition(part, off, to_write).unwrap(); in check_write_partition() 281 devs.read_gpt_partition(part, off, &mut out[..]).unwrap(); in check_write_partition() [all …]
|
D | gpt.rs | 233 pub(crate) fn find_partition(&self, part: &str) -> Result<&GptEntry> { in find_partition() 236 if entry.name_to_str(&mut name_conversion_buffer)? != part { in find_partition()
|
D | lib.rs | 422 fn find_partition(&mut self, part: &str) -> Result<Partition> { in find_partition() 425 *Gpt::from_existing(gpt_buffer)?.find_partition(part)?, in find_partition()
|
/bootable/libbootloader/gbl/docs/ |
D | gbl_fastboot.md | 26 <part>[:<block_id>] 27 <part>:[<block_id>][:<offset>] 28 <part>:[<block_id>]:[<offset>][:<size>] 30 This specifies range `[offset, offset+size)` in GPT partition `part` on the 55 This is similar to the case of GPT partitions except that `part` is an empty
|
/bootable/libbootloader/gbl/tools/ |
D | gen_gpt_disk.py | 143 for i, part in enumerate(args.partition, start=1): 144 name, size, file = part.split(",")
|
/bootable/libbootloader/gbl/libfastboot/src/ |
D | lib.rs | 284 fn flash(&mut self, part: &str, utils: &mut FastbootUtils) -> Result<(), CommandError>; in flash() 329 part: &str, in fetch() 835 let part = in flash() localVariable 837 fb_impl.flash(part, &mut self.utils(Some(&mut FastbootInfoSender::new(transport)))) in flash() 881 let part = &cmd[..cmd.len() - (off.len() + sz.len() + 2)]; in fetch() localVariable 884 fb_impl.fetch(part, hex_to_u64(off)?, hex_to_u64(sz)?, upload_builder, &mut utils) in fetch() 1061 fn flash(&mut self, part: &str, utils: &mut FastbootUtils) -> Result<(), CommandError> { in flash() 1062 (self.flash_cb.as_mut().unwrap())(part, utils) in flash() 1075 part: &str, in fetch() 1081 (self.fetch_cb.as_mut().unwrap())(part, offset, size, upload_builder, utils) in fetch() [all …]
|
/bootable/recovery/ |
D | NOTICE | 116 excluding those notices that do not pertain to any part of 119 (d) If the Work includes a "NOTICE" text file as part of its 123 pertain to any part of the Derivative Works, in at least one 125 as part of the Derivative Works; within the Source form or
|
D | README.md | 96 `bootable/recovery/etc/init.rc` disables Android USB gadget (via sysfs) as part of the `fs` action
|
/bootable/deprecated-ota/ |
D | NOTICE | 116 excluding those notices that do not pertain to any part of 119 (d) If the Work includes a "NOTICE" text file as part of its 123 pertain to any part of the Derivative Works, in at least one 125 as part of the Derivative Works; within the Source form or
|
/bootable/recovery/fonts/ |
D | OFL.txt | 40 or substituting -- in part or in whole -- any of the components of the 74 5) The Font Software, modified or unmodified, in part or in whole,
|
/bootable/libbootloader/libxbc/ |
D | COPYING | 104 excluding those notices that do not pertain to any part of 107 (d) If the Work includes a "NOTICE" text file as part of its 111 pertain to any part of the Derivative Works, in at least one 113 as part of the Derivative Works; within the Source form or
|
/bootable/libbootloader/ |
D | LICENSE | 104 excluding those notices that do not pertain to any part of 107 (d) If the Work includes a "NOTICE" text file as part of its 111 pertain to any part of the Derivative Works, in at least one 113 as part of the Derivative Works; within the Source form or
|
/bootable/deprecated-ota/edify/ |
D | README.md | 75 The else part is optional.
|