Home
last modified time | relevance | path

Searched refs:file_reader (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Virtualization/authfs/src/fsverity/
Dverifier.rs225 let file_reader = LocalFileReader::new(File::open(content_path)?)?; in new_reader_with_fsverity() localVariable
226 let file_size = file_reader.len(); in new_reader_with_fsverity()
230 file_reader, in new_reader_with_fsverity()
241 let (file_reader, file_size) = in fsverity_verify_full_read_4k()
246 assert!(file_reader.read_chunk(i, &mut buf).is_ok()); in fsverity_verify_full_read_4k()
253 let (file_reader, file_size) = in fsverity_verify_full_read_4k1()
258 assert!(file_reader.read_chunk(i, &mut buf).is_ok()); in fsverity_verify_full_read_4k1()
265 let (file_reader, file_size) = in fsverity_verify_full_read_4m()
270 assert!(file_reader.read_chunk(i, &mut buf).is_ok()); in fsverity_verify_full_read_4m()
277 let (file_reader, _) = new_reader_with_fsverity( in fsverity_verify_bad_merkle_tree()
[all …]
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/
Ddocument.h105 std::unique_ptr<FileReader> file_reader, bool is_linearized, in Document() argument
107 : file_reader_(std::move(file_reader)), in Document()