Searched refs:tail (Results 1 – 3 of 3) sorted by relevance
/bootable/recovery/uncrypt/ |
D | uncrypt.cpp | 289 int head = 0, tail = 0; in ProductBlockMap() local 342 if ((tail+1) % WINDOW_SIZE == head) { in ProductBlockMap() 373 if (!android::base::ReadFully(fd, buffers[tail].data(), to_read)) { in ProductBlockMap() 384 tail = (tail+1) % WINDOW_SIZE; in ProductBlockMap() 387 while (head != tail) { in ProductBlockMap()
|
/bootable/libbootloader/gbl/libgbl/src/ |
D | lib.rs | 121 let (partition_map, tail) = partitions_ram_map.split_first_mut().unwrap(); in get_boot_image() 122 (partition_map.address.take().map(BootImage), tail) in get_boot_image() 136 let (partition_map, tail) = partitions_ram_map.split_first_mut().unwrap(); in get_vendor_boot_image() 137 (partition_map.address.take().map(VendorBootImage), tail) in get_vendor_boot_image() 150 let (partition_map, tail) = partitions_ram_map.split_first_mut().unwrap(); in get_init_boot_image() 151 (partition_map.address.take().map(InitBootImage), tail) in get_init_boot_image()
|
/bootable/libbootloader/gbl/third_party/libzbi/src/ |
D | lib.rs | 146 let (item_payload, tail) = payload.split_at(item_payload_len); in parse() 148 Ok((item, tail)) in parse() 248 let (payload, tail) = item_tail.split_at(payload_len); in new() 250 Ok((ZbiItem { header, payload }, tail)) in new() 678 Ok((item, mut tail)) => { in next() 681 core::mem::swap(&mut tail, &mut self.buffer); in next()
|