Home
last modified time | relevance | path

Searched refs:fec_pread (Results 1 – 5 of 5) sorted by relevance

/system/extras/libfec/include/fec/
Dio.h109 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/
Dfec_verity.cpp187 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()
Dfec_read.cpp446 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
Dfec_open.cpp230 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/
Dfec_unittest.cpp216 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()