Searched refs:current_offset (Results 1 – 3 of 3) sorted by relevance
371 size_t current_offset = 0u; in AssignImageBinSlot() local455 current_offset = it->second.offset_; in AssignImageBinSlot()466 current_offset = bin_slot_sizes_[bin]; // How many bytes the current bin is at (aligned). in AssignImageBinSlot()471 BinSlot new_bin_slot(bin, current_offset); in AssignImageBinSlot()
745 Elf_Word current_offset = lseek(elf_file->Fd(), 0, SEEK_CUR); in Write() local746 CHECK_EQ(current_offset, header->sh_offset + header->sh_size) in Write()
206 uint32_t current_offset = gap_start; in AddFieldGap() local207 while (current_offset != gap_end) { in AddFieldGap()208 size_t remaining = gap_end - current_offset; in AddFieldGap()209 if (remaining >= sizeof(uint32_t) && IsAligned<4>(current_offset)) { in AddFieldGap()210 gaps->push(FieldGap {current_offset, sizeof(uint32_t)}); in AddFieldGap()211 current_offset += sizeof(uint32_t); in AddFieldGap()212 } else if (remaining >= sizeof(uint16_t) && IsAligned<2>(current_offset)) { in AddFieldGap()213 gaps->push(FieldGap {current_offset, sizeof(uint16_t)}); in AddFieldGap()214 current_offset += sizeof(uint16_t); in AddFieldGap()216 gaps->push(FieldGap {current_offset, sizeof(uint8_t)}); in AddFieldGap()[all …]