Lines Matching refs:start_offset
2483 uint32_t start_offset, in WriteQuickeningInfoOffsetsMethodVisitor() argument
2487 start_offset_(start_offset), in WriteQuickeningInfoOffsetsMethodVisitor()
2542 size_t start_offset = RoundUp(initial_offset, 4u); in WriteQuickeningInfo() local
2544 off_t actual_offset = vdex_out->Seek(start_offset, kSeekSet); in WriteQuickeningInfo()
2545 if (actual_offset != static_cast<off_t>(start_offset)) { in WriteQuickeningInfo()
2547 << " Expected: " << start_offset in WriteQuickeningInfo()
2552 size_t current_offset = start_offset; in WriteQuickeningInfo()
2616 size_quickening_info_ = current_offset - start_offset; in WriteQuickeningInfo()
2627 vdex_size_ = start_offset + size_quickening_info_; in WriteQuickeningInfo()
2628 vdex_quickening_info_offset_ = start_offset; in WriteQuickeningInfo()
2629 size_quickening_info_alignment_ = start_offset - initial_offset; in WriteQuickeningInfo()
2644 size_t start_offset = RoundUp(initial_offset, 4u); in WriteVerifierDeps() local
2646 vdex_size_ = start_offset; in WriteVerifierDeps()
2648 size_verifier_deps_alignment_ = start_offset - initial_offset; in WriteVerifierDeps()
2650 off_t actual_offset = vdex_out->Seek(start_offset, kSeekSet); in WriteVerifierDeps()
2651 if (actual_offset != static_cast<off_t>(start_offset)) { in WriteVerifierDeps()
2653 << " Expected: " << start_offset in WriteVerifierDeps()
3381 size_t start_offset = RoundUp(initial_offset, 4); in SeekToDexFile() local
3382 size_dex_file_alignment_ += start_offset - initial_offset; in SeekToDexFile()
3385 start_offset += sizeof(VdexFile::QuickeningTableOffsetType); in SeekToDexFile()
3389 size_t file_offset = start_offset; in SeekToDexFile()
3413 vdex_size_ = start_offset; in SeekToDexFile()
3414 oat_dex_file->dex_file_offset_ = start_offset; in SeekToDexFile()
3522 size_t start_offset = vdex_size_; in WriteDexFile() local
3523 DCHECK_EQ(static_cast<off_t>(start_offset), out->Seek(0, kSeekCurrent)); in WriteDexFile()
3543 if (extracted_end < static_cast<off_t>(start_offset)) { in WriteDexFile()
3545 << " Start: " << start_offset in WriteDexFile()
3549 uint64_t extracted_size = static_cast<uint64_t>(extracted_end - start_offset); in WriteDexFile()
3557 off_t actual_offset = lseek(file->Fd(), start_offset, SEEK_SET); in WriteDexFile()
3558 if (actual_offset != static_cast<off_t>(start_offset)) { in WriteDexFile()
3560 << " Expected: " << start_offset in WriteDexFile()
3572 size_t end_offset = start_offset + oat_dex_file->dex_file_size_; in WriteDexFile()
3609 size_t start_offset = vdex_size_; in WriteDexFile() local
3610 DCHECK_EQ(static_cast<off_t>(start_offset), out->Seek(0, kSeekCurrent)); in WriteDexFile()
3633 size_t end_offset = start_offset + oat_dex_file->dex_file_size_; in WriteDexFile()