Home
last modified time | relevance | path

Searched refs:read (Results 1 – 22 of 22) sorted by relevance

/bootable/recovery/
Drecovery-persist.cpp189 ssize_t read{}; in main() local
190 while ((read = getline(&line, &len, fp)) != -1) { in main()
Drecovery_main.cpp217 ssize_t ret = TEMP_FAILURE_RETRY(read(connection_fd, &msg, sizeof(msg))); in ListenRecoverySocket()
/bootable/libbootloader/gbl/libstorage/src/
Dnon_blocking.rs484 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()
Dlib.rs369 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()
Dmulti_blocks.rs173 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()
Dgpt.rs15 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/
Dtest_gen_update_config.py41 raw_data = pkg_file.read(size)
/bootable/libbootloader/gbl/smoltcp/
DBUILD.smoltcp.bazel76 IFS=" " read -a srcs <<< "$(SRCS)" && \
77 IFS=" " read -a outs <<< "$(OUTS)" && \
/bootable/recovery/minadbd/
Dfuse_adb_provider_test.cpp66 ASSERT_EQ(-1, read(host_socket, &tmp, 1)); in TEST()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/
DFileDownloader.java77 int count = input.read(data, 0, needToRead); in download()
/bootable/libbootloader/gbl/libbootimg/
DBUILD94 IFS=" " read -a srcs <<< "$(SRCS)" && \
95 IFS=" " read -a outs <<< "$(OUTS)" && \
/bootable/libbootloader/gbl/libelf/
Delf_static_relocation_checker.cpp37 elf_file.read(reinterpret_cast<char*>(ret.data()), file_size); in ReadFile()
/bootable/libbootloader/gbl/
DBUILD20 # Note: can't read files in subpackages, not sure how to add a dependency on all,
/bootable/recovery/update_verifier/
Dcare_map_generator.py115 content = input_care_map.read()
/bootable/recovery/minui/
Devents.cpp108 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/
Dgen_gpt_disk.py115 data = src_f.read(size)
/bootable/libbootloader/gbl/libgbl/src/fastboot/
Dmod.rs67 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/
DREADME.md175 This directory is expected to be read-only, unless explicitly remounted.
253 ## Getting read/write access to `/data/ota_package/`
/bootable/recovery/fuse_sideload/
Dfuse_sideload.cpp416 ssize_t len = TEMP_FAILURE_RETRY(read(fd.ffd, request_buffer, sizeof(request_buffer))); in run_fuse_sideload()
/bootable/recovery/recovery_ui/
Dui.cpp553 int connected = (TEMP_FAILURE_RETRY(read(fd, &buf, 1)) == 1) && (buf == 'C'); in IsUsbConnected()
/bootable/libbootloader/gbl/libgbl/src/
Dlib.rs674 fs::read(full_path).unwrap() in testdata()
/bootable/recovery/tests/testdata/
Drecovery_body5936 …send_msg������getattr������setattr������accept������getopt������read������setopt����…
5938 …���relabelfrom��� ���link��� ���unlink������ioctl������getattr������setattr������read���
5939 …�����create������write ������unix_read������destroy������getattr������setattr������read
6037 …������create������write������view������link������setattr������read������search������…
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"