Home
last modified time | relevance | path

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

/system/extras/libfec/
Davb_utils.cpp31 if (!raw_pread(f->fd, &footer_read, AVB_FOOTER_SIZE, in parse_vbmeta_from_footer()
48 if (!raw_pread(f->fd, vbmeta_data.data(), vbmeta_data.size(), in parse_vbmeta_from_footer()
Dfec_read.cpp138 if (!raw_pread(f->fd, bbuf, FEC_BLOCKSIZE, interleaved)) { in __ecc_read()
163 if (!raw_pread(f->fd, &ecc_data[i * FEC_RSM + e->rsn], e->roots, in __ecc_read()
327 if (!raw_pread(f->fd, data, FEC_BLOCKSIZE, curr_offset)) { in verity_read()
471 bool raw_pread(int fd, void *buf, size_t count, uint64_t offset) { in raw_pread() function
547 if (raw_pread(f->fd, buf, count, offset)) { in fec_pread()
Dfec_verity.cpp223 if (!raw_pread(f->fd, data, FEC_BLOCKSIZE, hash_offset) || in verify_tree()
281 if (!raw_pread(f->fd, buffer.data(), padded_digest_length_, in verify_tree()
283 !raw_pread(f->fd, data, FEC_BLOCKSIZE, in verify_tree()
353 if (!raw_pread(f->fd, const_cast<char *>(table.data()), size, offset)) { in parse_table()
551 if (!raw_pread(f->fd, &v->header, sizeof(v->header), offset)) { in verity_parse_header()
Dfec_private.h153 extern bool raw_pread(int fd, void *buf, size_t count, uint64_t offset);
Dfec_open.cpp115 if (!raw_pread(f->fd, &header, sizeof(fec_header), offset)) { in parse_ecc_header()
175 if (!raw_pread(f->fd, buf, len, f->ecc.start + n)) { in parse_ecc_header()