Searched refs:ecc_data (Results 1 – 2 of 2) sorted by relevance
/system/extras/libfec/ |
D | fec_read.cpp | 108 bool use_erasures, uint8_t *ecc_data, size_t *errors) in __ecc_read() argument 152 ecc_data[j * FEC_RSM + i] = bbuf[j]; in __ecc_read() 163 if (!raw_pread(f->fd, &ecc_data[i * FEC_RSM + e->rsn], e->roots, in __ecc_read() 172 memcpy(copy, &ecc_data[i * FEC_RSM], FEC_RSM); in __ecc_read() 176 int rc = decode_rs_char(rs, &ecc_data[i * FEC_RSM], erasures, neras); in __ecc_read() 196 dest[i] = ecc_data[i * FEC_RSM + data_index]; in __ecc_read() 209 std::unique_ptr<uint8_t[]>& ecc_data) in ecc_init() argument 221 ecc_data.reset(new (std::nothrow) uint8_t[FEC_RSM * FEC_BLOCKSIZE]); in ecc_init() 223 if (unlikely(!ecc_data)) { in ecc_init() 246 std::unique_ptr<uint8_t[]> ecc_data; in ecc_read() local [all …]
|
/system/update_engine/payload_generator/ |
D | payload_generation_config_android.cc | 209 fec_ecc_metadata ecc_data; in LoadVerityConfig() local 210 if (!part.disable_fec_computation && fh.get_ecc_metadata(ecc_data) && in LoadVerityConfig() 211 ecc_data.valid) { in LoadVerityConfig() 213 part.verity.fec_data_extent = ExtentForRange(0, ecc_data.blocks); in LoadVerityConfig() 215 ExtentForBytes(block_size, ecc_data.start, header->fec_size); in LoadVerityConfig() 216 part.verity.fec_roots = ecc_data.roots; in LoadVerityConfig()
|