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 | 316 uint64_t curr_offset = curr * FEC_BLOCKSIZE; in verity_read() local 318 bool expect_zeros = is_zero(f, curr_offset); in verity_read() 328 if (!raw_pread(f, data, FEC_BLOCKSIZE, curr_offset)) { in verity_read() 356 if (__ecc_read(f, rs.get(), data, curr_offset, false, ecc_data.get(), in verity_read() 363 if (__ecc_read(f, rs.get(), data, curr_offset, true, ecc_data.get(), in verity_read() 371 offset, offset + count, curr, curr_offset); in verity_read() 380 !raw_pwrite(f, data, FEC_BLOCKSIZE, curr_offset)) { in verity_read()
|