Searched refs:fec_pread (Results 1 – 5 of 5) sorted by relevance
/system/extras/libfec/include/fec/ |
D | io.h | 109 extern ssize_t fec_pread(struct fec_handle *f, void *buf, size_t count, 159 return fec_pread(handle_.get(), buf, count, offset); in pread()
|
/system/extras/libfec/ |
D | fec_verity.cpp | 187 fec_pread(f, hash, digest_length_, hash_offset) != digest_length_) { in ecc_read_hashes() 195 if (fec_pread(f, data, FEC_BLOCKSIZE, data_offset) != FEC_BLOCKSIZE) { in ecc_read_hashes() 357 } else if (fec_pread(f, const_cast<char *>(table.data()), size, offset) != in parse_table() 564 if (fec_pread(f, &v->ecc_header, sizeof(v->ecc_header), offset) != in verity_parse_header()
|
D | fec_read.cpp | 446 ssize_t rc = fec_pread(f, buf, count, f->pos); in fec_read() 516 ssize_t fec_pread(struct fec_handle *f, void *buf, size_t count, in fec_pread() function
|
D | fec_open.cpp | 230 if (fec_pread(f, buffer, sizeof(buffer), 0) != (ssize_t)sb_size) { in get_squashfs_size() 256 if (fec_pread(f, &sb, sizeof(sb), 1024) != sizeof(sb)) { in get_ext4_size()
|
/system/extras/libfec/test/ |
D | fec_unittest.cpp | 216 ASSERT_EQ(1024, fec_pread(handle, read_data.data(), 1024, corrupt_offset)); in TEST_F() 298 ASSERT_EQ(1024, fec_pread(handle, read_data.data(), 1024, corrupt_offset)); in TEST_F()
|