/system/update_engine/payload_generator/ |
D | annotated_operation.cc | 46 off_t data_offset = blob_file->StoreBlob(blob); in SetOperationBlob() local 47 TEST_AND_RETURN_FALSE(data_offset != -1); in SetOperationBlob() 48 op.set_data_offset(data_offset); in SetOperationBlob() 60 os << " @" << aop.op.data_offset(); in operator <<()
|
D | payload_file_unittest.cc | 77 EXPECT_EQ(0U, part0_aops[0].op.data_offset()); in TEST_F() 79 EXPECT_EQ(3U, part0_aops[1].op.data_offset()); in TEST_F() 83 EXPECT_EQ(4U, part1_aops[0].op.data_offset()); in TEST_F()
|
D | ab_generator.cc | 170 uint64_t data_offset = original_op.data_offset(); in SplitAReplaceOp() local 181 new_op.set_data_offset(data_offset); in SplitAReplaceOp() 182 data_offset += data_size; in SplitAReplaceOp()
|
D | ab_generator_unittest.cc | 157 first_op.data_offset(), in TestSplitReplaceOrReplaceBzOperation() 186 second_op.data_offset(), in TestSplitReplaceOrReplaceBzOperation() 192 EXPECT_EQ(first_op.data_offset() + first_op.data_length(), in TestSplitReplaceOrReplaceBzOperation() 193 second_op.data_offset()); in TestSplitReplaceOrReplaceBzOperation() 194 EXPECT_EQ(second_op.data_offset() + second_op.data_length(), in TestSplitReplaceOrReplaceBzOperation() 198 EXPECT_EQ(0U, first_op.data_offset()); in TestSplitReplaceOrReplaceBzOperation() 318 new_op.data_offset(), in TestMergeReplaceOrReplaceBzOperations()
|
D | payload_file.cc | 128 if (aop.op.data_offset() != next_blob_offset) { in WritePayload() 129 LOG(FATAL) << "bad blob offset! " << aop.op.data_offset() in WritePayload() 322 ssize_t rc = pread(in_fd, buf.data(), buf.size(), aop.op.data_offset()); in ReorderDataBlobs()
|
D | inplace_generator_unittest.cc | 579 EXPECT_EQ(0U, vertex.aop.op.data_offset()); in TEST_F()
|
/system/media/audio/include/system/ |
D | sound_trigger.h | 106 unsigned int data_offset; /* offset of opaque data start from head of struct member 170 unsigned int data_offset; /* offset of opaque data start from start of member 219 unsigned int data_offset; /* offset of opaque data start from start of this struct member 231 unsigned int data_offset; /* offset of data start from start of this struct member
|
/system/update_engine/scripts/update_payload/ |
D | test_utils.py | 194 def AddOperation(self, is_kernel, op_type, data_offset=None, argument 204 _SetMsgField(op, 'data_offset', data_offset) 275 data_offset = self.curr_offset 278 return data_length, data_offset 299 data_offset = data_length = data_sha256_hash = None 303 data_length, data_offset = self.AddData(data_blob) 305 self.AddOperation(is_kernel, op_type, data_offset=data_offset, 353 data_offset=self.curr_offset, data_length=sigs_len,
|
D | checker.py | 809 def _CheckMoveOperation(self, op, data_offset, total_src_blocks, argument 824 if data_offset is not None: 907 if op.data_offset: 944 def _CheckSourceCopyOperation(self, data_offset, total_src_blocks, argument 958 if data_offset is not None: 1022 data_offset = self._CheckOptionalField(op, 'data_offset', None) 1024 self._CheckPresentIff(data_offset, data_length, 'data_offset', 1041 if data_offset is None: 1047 actual_hash = hashlib.sha256(self.payload.ReadDataBlob(data_offset, 1054 elif data_offset is not None: [all …]
|
D | payload.py | 128 self.data_offset = None 192 offset=self.payload_file_offset + self.data_offset + 225 self.data_offset = self.metadata_size + self.header.metadata_signature_len 261 self.payload_file.seek(self.payload_file_offset + self.data_offset)
|
D | applier.py | 146 data_offset = 0 156 data_view = buffer(data, data_offset, write_length) 159 data_offset += write_length 539 data = self.payload.ReadDataBlob(op.data_offset, op.data_length)
|
D | checker_unittest.py | 914 op.data_offset = prev_data_offset + 16 916 op.data_offset = prev_data_offset 924 payload.ReadDataBlob(op.data_offset, op.data_length).AndReturn( 931 payload.ReadDataBlob(op.data_offset, op.data_length).AndReturn( 1014 data_offset=0, 1078 data_offset=payload_gen.curr_offset / 2,
|
/system/media/radio/src/ |
D | radio_metadata.c | 63 uint32_t data_offset = *((uint32_t *)metadata + index_offset); in check_size() local 73 req_size_int = data_offset + metadata->count + 1 + 1 + size_int; in check_size() 114 uint32_t data_offset; in add_metadata() local 126 data_offset = *((uint32_t *)metadata + index_offset); in add_metadata() 128 entry = (radio_metadata_entry_t *)((uint32_t *)metadata + data_offset); in add_metadata() 134 data_offset += entry_size_int; in add_metadata() 135 *((uint32_t *)metadata + index_offset -1) = data_offset; in add_metadata() 147 uint32_t data_offset = *((uint32_t *)metadata + index_offset); in get_entry_at_index() local 160 if (data_offset < min_offset) { in get_entry_at_index() 171 if (data_offset > max_offset) { in get_entry_at_index() [all …]
|
/system/extras/libfec/ |
D | fec_verity.cpp | 160 uint8_t *hash, uint64_t data_offset, uint8_t *data) in ecc_read_hashes() argument 173 if (fec_pread(f, data, FEC_BLOCKSIZE, data_offset) != FEC_BLOCKSIZE) { in ecc_read_hashes() 175 data_offset, strerror(errno)); in ecc_read_hashes() 204 uint64_t data_offset = hash_offset + FEC_BLOCKSIZE; in verify_tree() local 206 v->hash_data_offset = data_offset; in verify_tree() 235 v->hash_data_offset = data_offset; in verify_tree() 238 data_offset += blocks * FEC_BLOCKSIZE; in verify_tree() 262 data_offset = hash_offset + FEC_BLOCKSIZE; in verify_tree() 273 data_offset + j * FEC_BLOCKSIZE)) { in verify_tree() 282 data_offset + j * FEC_BLOCKSIZE, data) || in verify_tree() [all …]
|
/system/core/fs_mgr/libdm/ |
D | dm.cpp | 329 uint32_t data_offset = cursor + sizeof(dm_target_spec); in GetTable() local 333 if (next_cursor > data_offset) { in GetTable() 335 data = std::string(&buffer[data_offset], next_cursor - data_offset).c_str(); in GetTable()
|
/system/update_engine/payload_consumer/ |
D | verity_writer_android.h | 44 uint64_t data_offset,
|
D | verity_writer_android.cc | 120 uint64_t data_offset, in EncodeFEC() argument 160 data_offset + offset, in EncodeFEC()
|
D | delta_performer.cc | 991 if (operation.data_offset() < buffer_offset_) { in CanPerformInstallOperation() 996 return (operation.data_offset() + operation.data_length() <= in CanPerformInstallOperation() 1008 TEST_AND_RETURN_FALSE(buffer_offset_ == operation.data_offset()); in PerformReplaceOperation() 1322 TEST_AND_RETURN_FALSE(buffer_offset_ == operation.data_offset()); in PerformBsdiffOperation() 1427 TEST_AND_RETURN_FALSE(buffer_offset_ == operation.data_offset()); in PerformSourceBsdiffOperation() 1538 TEST_AND_RETURN_FALSE(buffer_offset_ == operation.data_offset()); in PerformPuffDiffOperation() 1572 manifest_.signatures_offset() != operation.data_offset()) { in ExtractSignatureMessageFromOperation() 1734 manifest_.signatures_offset() == operation.data_offset()) { in ValidateOperationHash() 1768 << " bytes at offset: " << operation.data_offset() << " = "; in ValidateOperationHash()
|
/system/timezone/zone_compactor/main/java/ |
D | ZoneCompactor.java | 162 int data_offset = (int) f.getFilePointer(); in ZoneCompactor() local 183 f.writeInt(data_offset); in ZoneCompactor()
|
/system/core/libziparchive/ |
D | zip_archive.cc | 677 const off64_t data_offset = local_header_offset + sizeof(LocalFileHeader) + in FindEntry() local 679 if (data_offset > cd_offset) { in FindEntry() 680 ALOGW("Zip: bad data offset %" PRId64 " in zip", static_cast<int64_t>(data_offset)); in FindEntry() 684 if (static_cast<off64_t>(data_offset + data->compressed_length) > cd_offset) { in FindEntry() 686 static_cast<int64_t>(data_offset), data->compressed_length, in FindEntry() 692 static_cast<off64_t>(data_offset + data->uncompressed_length) > cd_offset) { in FindEntry() 694 static_cast<int64_t>(data_offset), data->uncompressed_length, in FindEntry() 699 data->offset = data_offset; in FindEntry()
|
/system/update_engine/scripts/ |
D | payload_info.py | 155 print(' Data offset: %s' % op.data_offset)
|
D | payload_info_unittest.py | 80 data_offset=1,
|
/system/update_engine/ |
D | update_metadata.proto | 184 // Only minor version 6 or newer support 64 bits |data_offset| and 188 optional uint64 data_offset = 2; field 252 // associated operation blobs (in operations[i].data_offset, data_length)
|
/system/update_engine/update_engine/ |
D | update_metadata.proto | 184 // Only minor version 6 or newer support 64 bits |data_offset| and 188 optional uint64 data_offset = 2; field 252 // associated operation blobs (in operations[i].data_offset, data_length)
|