/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 | 84 EXPECT_EQ(0U, part0_aops[0].op.data_offset()); in TEST_F() 86 EXPECT_EQ(3U, part0_aops[1].op.data_offset()); in TEST_F() 90 EXPECT_EQ(4U, part1_aops[0].op.data_offset()); in TEST_F()
|
D | ab_generator.cc | 166 uint32_t data_offset = original_op.data_offset(); in SplitAReplaceOp() local 178 new_op.set_data_offset(data_offset); in SplitAReplaceOp() 179 data_offset += data_size; in SplitAReplaceOp()
|
D | ab_generator_unittest.cc | 160 first_op.data_offset(), in TestSplitReplaceOrReplaceBzOperation() 188 second_op.data_offset(), in TestSplitReplaceOrReplaceBzOperation() 194 EXPECT_EQ(first_op.data_offset() + first_op.data_length(), in TestSplitReplaceOrReplaceBzOperation() 195 second_op.data_offset()); in TestSplitReplaceOrReplaceBzOperation() 196 EXPECT_EQ(second_op.data_offset() + second_op.data_length(), data_file_size); in TestSplitReplaceOrReplaceBzOperation() 199 EXPECT_EQ(0U, first_op.data_offset()); in TestSplitReplaceOrReplaceBzOperation() 327 new_op.data_offset(), in TestMergeReplaceOrReplaceBzOperations()
|
D | payload_file.cc | 119 if (aop.op.data_offset() != next_blob_offset) { in WritePayload() 120 LOG(FATAL) << "bad blob offset! " << aop.op.data_offset() << " != " in WritePayload() 296 ssize_t rc = pread(in_fd, buf.data(), buf.size(), aop.op.data_offset()); in ReorderDataBlobs()
|
D | inplace_generator_unittest.cc | 566 EXPECT_EQ(0U, vertex.aop.op.data_offset()); in TEST_F()
|
/system/media/radio/src/ |
D | radio_metadata.c | 61 unsigned int data_offset = *((unsigned int *)metadata + index_offset); in check_size() local 69 req_size_int = data_offset + metadata->count + 1 + 1 + size_int; in check_size() 107 unsigned int data_offset; in add_metadata() local 119 data_offset = *((unsigned int *)metadata + index_offset); in add_metadata() 121 entry = (radio_metadata_entry_t *)((unsigned int *)metadata + data_offset); in add_metadata() 127 data_offset += entry_size_int; in add_metadata() 128 *((unsigned int *)metadata + index_offset -1) = data_offset; in add_metadata() 139 unsigned int data_offset = *((unsigned int *)metadata + index_offset); in get_entry_at_index() local 150 if (data_offset < min_offset) { in get_entry_at_index() 156 if (data_offset > max_offset) { in get_entry_at_index() [all …]
|
/system/media/audio/include/system/ |
D | sound_trigger.h | 109 unsigned int data_offset; /* offset of opaque data start from head of struct member 172 unsigned int data_offset; /* offset of opaque data start from start of member 221 unsigned int data_offset; /* offset of opaque data start from start of this struct member 233 unsigned int data_offset; /* offset of data start from start of this struct member
|
/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/libziparchive/ |
D | zip_archive_stream_entry.cc | 40 off64_t data_offset = entry.offset; in Init() local 41 if (lseek64(archive->fd, data_offset, SEEK_SET) != data_offset) { in Init() 42 ALOGW("lseek to data at %" PRId64 " failed: %s", data_offset, strerror(errno)); in Init()
|
D | zip_archive.cc | 619 const off64_t data_offset = local_header_offset + sizeof(LocalFileHeader) in FindEntry() local 621 if (data_offset > cd_offset) { in FindEntry() 622 ALOGW("Zip: bad data offset %" PRId64 " in zip", static_cast<int64_t>(data_offset)); in FindEntry() 626 if (static_cast<off64_t>(data_offset + data->compressed_length) > cd_offset) { in FindEntry() 628 static_cast<int64_t>(data_offset), data->compressed_length, static_cast<int64_t>(cd_offset)); in FindEntry() 633 static_cast<off64_t>(data_offset + data->uncompressed_length) > cd_offset) { in FindEntry() 635 static_cast<int64_t>(data_offset), data->uncompressed_length, in FindEntry() 640 data->offset = data_offset; in FindEntry() 1015 off64_t data_offset = entry->offset; in ExtractToWriter() local 1017 if (lseek64(archive->fd, data_offset, SEEK_SET) != data_offset) { in ExtractToWriter() [all …]
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
D | header.h | 110 u64 data_offset; member
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
D | header.h | 95 u64 data_offset; member
|
/system/update_engine/payload_consumer/ |
D | delta_performer.cc | 839 if (operation.data_offset() < buffer_offset_) { in CanPerformInstallOperation() 844 return (operation.data_offset() + operation.data_length() <= in CanPerformInstallOperation() 856 TEST_AND_RETURN_FALSE(buffer_offset_ == operation.data_offset()); in PerformReplaceOperation() 1110 TEST_AND_RETURN_FALSE(buffer_offset_ == operation.data_offset()); in PerformBsdiffOperation() 1169 TEST_AND_RETURN_FALSE(buffer_offset_ == operation.data_offset()); in PerformSourceBsdiffOperation() 1241 manifest_.signatures_offset() != operation.data_offset()) { in ExtractSignatureMessageFromOperation() 1468 manifest_.signatures_offset() == operation.data_offset()) { in ValidateOperationHash() 1503 << " bytes at offset: " << operation.data_offset() << " = "; in ValidateOperationHash()
|
/system/update_engine/ |
D | update_metadata.proto | 172 optional uint32 data_offset = 2; field 235 // associated operation blobs (in operations[i].data_offset, data_length)
|