/bootable/recovery/ |
D | recovery-persist.cpp | 189 ssize_t read{}; in main() local 190 while ((read = getline(&line, &len, fp)) != -1) { in main()
|
D | recovery_main.cpp | 217 ssize_t ret = TEMP_FAILURE_RETRY(read(connection_fd, &msg, sizeof(msg))); in ListenRecoverySocket()
|
/bootable/libbootloader/gbl/libstorage/src/ |
D | non_blocking.rs | 484 pub fn read( in read() method 553 dev.read(offset, &mut Some(out), 0, len)?; in read_scoped() 670 blk_ex.read(1, &mut to_read, 1, 2).unwrap(); in test_write() 723 blk_ex.read(1, &mut to_read, 1, 2).unwrap(); in test_abort() 749 assert!(blk_ex.read(1, &mut io_other_ref, 1, 2).is_err()); in read_write_error_on_busy()
|
D | lib.rs | 369 fn read(&mut self, offset: u64, out: &mut [u8]) -> Result<()> { in read() method 370 with_partitioned_scratch(self, |io, alignment, _, _| read(io, offset, out, alignment))? in read() 448 self.read(offset, out) in read_gpt_partition() 695 fn read( in read() function 972 blk.read(case.rw_offset, out).unwrap(); in read_test_helper() 1310 assert!(blk.read(0, &mut vec![0u8; block_size.try_into().unwrap()]).is_err()); in test_scratch_too_small() 1321 assert!(blk.read(512, &mut vec![0u8; 1]).is_err()); in test_read_overflow() 1322 assert!(blk.read(0, &mut vec![0u8; 513]).is_err()); in test_read_overflow() 1333 assert!(blk.read(u64::MAX, &mut vec![0u8; 1]).is_err()); in test_read_arithmetic_overflow()
|
D | multi_blocks.rs | 173 devs.get(0).unwrap().read(u64::try_from(off).unwrap(), &mut out[..]).unwrap(); in test_multi_block_read() 177 devs.get(1).unwrap().read(u64::try_from(off).unwrap(), &mut out[..]).unwrap(); in test_multi_block_read()
|
D | gpt.rs | 15 use crate::{aligned_subslice, read, write_bytes_mut, BlockIo, Result, StorageError}; 267 read(blk_dev, header_start.try_into()?, header_bytes, scratch)?; in validate_gpt() 295 read(blk_dev, entries_offset.try_into()?, out, scratch)?; in validate_gpt()
|
/bootable/recovery/updater_sample/tools/ |
D | test_gen_update_config.py | 41 raw_data = pkg_file.read(size)
|
/bootable/libbootloader/gbl/smoltcp/ |
D | BUILD.smoltcp.bazel | 76 IFS=" " read -a srcs <<< "$(SRCS)" && \ 77 IFS=" " read -a outs <<< "$(OUTS)" && \
|
/bootable/recovery/minadbd/ |
D | fuse_adb_provider_test.cpp | 66 ASSERT_EQ(-1, read(host_socket, &tmp, 1)); in TEST()
|
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/ |
D | FileDownloader.java | 77 int count = input.read(data, 0, needToRead); in download()
|
/bootable/libbootloader/gbl/libbootimg/ |
D | BUILD | 94 IFS=" " read -a srcs <<< "$(SRCS)" && \ 95 IFS=" " read -a outs <<< "$(OUTS)" && \
|
/bootable/libbootloader/gbl/libelf/ |
D | elf_static_relocation_checker.cpp | 37 elf_file.read(reinterpret_cast<char*>(ret.data()), file_size); in ReadFile()
|
/bootable/libbootloader/gbl/ |
D | BUILD | 20 # Note: can't read files in subpackages, not sure how to add a dependency on all,
|
/bootable/recovery/update_verifier/ |
D | care_map_generator.py | 115 content = input_care_map.read()
|
/bootable/recovery/minui/ |
D | events.cpp | 108 ssize_t r = TEMP_FAILURE_RETRY(read(fd, buf.data(), event_len)); in inotify_cb() 258 ssize_t r = TEMP_FAILURE_RETRY(read(fd, ev, sizeof(*ev))); in ev_get_input()
|
/bootable/libbootloader/gbl/tools/ |
D | gen_gpt_disk.py | 115 data = src_f.read(size)
|
/bootable/libbootloader/gbl/libgbl/src/fastboot/ |
D | mod.rs | 67 pub fn read(&mut self, offset: u64, out: &mut [u8]) -> Result<(), CommandError> { in read() method 71 "" => dev.read(offset, out), in read() 232 self.partition_io(part).read(curr, &mut buffer[..to_usize(to_send)?])?; in fetch()
|
/bootable/recovery/updater_sample/ |
D | README.md | 175 This directory is expected to be read-only, unless explicitly remounted. 253 ## Getting read/write access to `/data/ota_package/`
|
/bootable/recovery/fuse_sideload/ |
D | fuse_sideload.cpp | 416 ssize_t len = TEMP_FAILURE_RETRY(read(fd.ffd, request_buffer, sizeof(request_buffer))); in run_fuse_sideload()
|
/bootable/recovery/recovery_ui/ |
D | ui.cpp | 553 int connected = (TEMP_FAILURE_RETRY(read(fd, &buf, 1)) == 1) && (buf == 'C'); in IsUsbConnected()
|
/bootable/libbootloader/gbl/libgbl/src/ |
D | lib.rs | 674 fs::read(full_path).unwrap() in testdata()
|
/bootable/recovery/tests/testdata/ |
D | recovery_body | 5936 …send_msggetattrsetattracceptgetoptreadsetopt… 5938 …relabelfromlinkunlinkioctlgetattrsetattrread 5939 …createwrite unix_readdestroygetattrsetattrread 6037 …createwriteviewlinksetattrreadsearch… 8664 # Make HW RNG readable by group system to let EntropyMixer read it. 8670 # Anyone can read the logs, but if they're not in the "logs"
|