Home
last modified time | relevance | path

Searched refs:part (Results 1 – 15 of 15) sorted by relevance

/bootable/libbootloader/gbl/libgbl/src/fastboot/
Dmod.rs36 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 …]
Dvars.rs81 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/
Dmulti_blocks.rs63 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 …]
Dgpt.rs233 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()
Dlib.rs422 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/
Dgbl_fastboot.md26 <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/
Dgen_gpt_disk.py143 for i, part in enumerate(args.partition, start=1):
144 name, size, file = part.split(",")
/bootable/libbootloader/gbl/libfastboot/src/
Dlib.rs284 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/
DNOTICE116 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
DREADME.md96 `bootable/recovery/etc/init.rc` disables Android USB gadget (via sysfs) as part of the `fs` action
/bootable/deprecated-ota/
DNOTICE116 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/
DOFL.txt40 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/
DCOPYING104 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/
DLICENSE104 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/
DREADME.md75 The else part is optional.