Searched refs:curr_offset (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/scripts/update_payload/ |
D | test_utils.py | 270 self.curr_offset = 0 275 data_offset = self.curr_offset 276 self.curr_offset += data_length 344 self.SetSignatures(self.curr_offset, sigs_len) 353 data_offset=self.curr_offset, data_length=sigs_len,
|
D | checker_unittest.py | 1071 payload_gen.SetSignatures(payload_gen.curr_offset, len(sigs_data)) 1078 data_offset=payload_gen.curr_offset / 2,
|
/system/extras/libfec/ |
D | fec_read.cpp | 315 uint64_t curr_offset = curr * FEC_BLOCKSIZE; in verity_read() local 317 bool expect_zeros = is_zero(f, curr_offset); in verity_read() 327 if (!raw_pread(f->fd, data, FEC_BLOCKSIZE, curr_offset)) { in verity_read() 355 if (__ecc_read(f, rs.get(), data, curr_offset, false, ecc_data.get(), in verity_read() 362 if (__ecc_read(f, rs.get(), data, curr_offset, true, ecc_data.get(), in verity_read() 370 offset, offset + count, curr, curr_offset); in verity_read() 379 !raw_pwrite(f->fd, data, FEC_BLOCKSIZE, curr_offset)) { in verity_read()
|