/system/update_engine/payload_consumer/ |
D | fake_file_descriptor.cc | 23 read_ops_.emplace_back(offset_, count); in Read() 26 if (offset_ >= static_cast<uint64_t>(size_) || count == 0) in Read() 34 if (failure.first <= offset_ && offset_ < failure.first + failure.second) { in Read() 38 if (failure.first > offset_) in Read() 41 count = std::min(static_cast<uint64_t>(count), first_failure - offset_); in Read() 45 uint16_t current_num = offset_ / 4; in Read() 46 uint8_t current_digit = (current_num >> (4 * (3 - offset_ % 4))) & 0x0f; in Read() 49 offset_++; in Read() 58 offset_ = offset; in Seek() 61 offset_ += offset; in Seek() [all …]
|
D | cached_file_descriptor.cc | 34 off64_t next_offset = whence == SEEK_SET ? offset : offset_ + offset; in Seek() 36 if (next_offset != offset_) { in Seek() 46 offset_ = next_offset; in Seek() 48 return offset_; in Seek() 71 offset_ += total_bytes_wrote; in Write() 80 offset_ = 0; in Close()
|
D | filesystem_verifier_action.cc | 159 offset_ = 0; in StartPartitionHashing() 181 offset_ < partition.hash_tree_data_offset + partition.hash_tree_data_size) in ScheduleRead() 184 offset_ < partition.fec_data_offset + partition.fec_data_size) in ScheduleRead() 187 std::min(static_cast<uint64_t>(buffer_.size()), read_end - offset_); in ScheduleRead() 214 LOG(ERROR) << "Failed to read the remaining " << partition_size_ - offset_ in OnReadDoneCallback() 232 (static_cast<double>(offset_) / partition_size_ + partition_index_) / in OnReadDoneCallback() 236 if (!verity_writer_->Update(offset_, buffer_.data(), bytes_read)) { in OnReadDoneCallback() 242 offset_ += bytes_read; in OnReadDoneCallback() 244 if (offset_ == partition_size_) { in OnReadDoneCallback()
|
D | extent_reader.cc | 52 if (offset_ == offset) { in Seek() 62 offset_ = offset; in Seek() 63 cur_extent_bytes_read_ = offset_ - extents_upper_bounds_[extent_idx]; in Seek() 91 offset_ += bytes_to_read; in Read()
|
D | extent_reader.h | 70 uint64_t offset_{0};
|
D | filesystem_verifier_action.h | 142 uint64_t offset_{0};
|
D | cached_file_descriptor.h | 69 off64_t offset_{0};
|
D | delta_performer.cc | 1310 offset_ += count; in Read() 1317 offset_ += count; in Write() 1324 offset_ = pos; in Seek() 1328 TEST_AND_RETURN_FALSE(offset_ == static_cast<uint64_t>(pos)); in Seek() 1347 offset_(0) {} in BsdiffExtentFile() 1352 uint64_t offset_; member in chromeos_update_engine::__anona5c7ad4d0311::BsdiffExtentFile 1417 *offset = offset_; in GetOffset() 1424 offset_ = offset; in Seek() 1428 TEST_AND_RETURN_FALSE(offset_ == offset); in Seek() 1436 offset_ += count; in Read() [all …]
|
D | fake_file_descriptor.h | 109 uint64_t offset_{0};
|
/system/libbase/include/android-base/ |
D | mapped_file.h | 70 char* data() const { return base_ + offset_; } in data() 81 size_t offset_; variable 85 : base_(base), size_(size), offset_(offset), handle_(handle) {} in MappedFile() 88 MappedFile(char* base, size_t size, size_t offset) : base_(base), size_(size), offset_(offset) {} in MappedFile()
|
/system/libbase/ |
D | mapped_file.cpp | 91 offset_(std::exchange(other.offset_, 0)) in MappedFile() 103 offset_ = std::exchange(other.offset_, 0); in operator =() 120 if (base_ != nullptr && size_ != 0) munmap(base_, size_ + offset_); in Close() 124 offset_ = size_ = 0; in Close()
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | link_layer_socket_device.cc | 45 offset_ = 0; in TimerTick() 47 size_t bytes_received = socket_.TryReceive(bytes_left_, received_->data() + offset_); in TimerTick() 52 offset_ += bytes_received; in TimerTick() 59 offset_ = 0; in TimerTick()
|
D | link_layer_socket_device.h | 56 size_t offset_{};
|
/system/update_engine/common/ |
D | multi_range_http_fetcher.h | 130 Range(off_t offset, size_t length) : offset_(offset), length_(length) {} in Range() 131 explicit Range(off_t offset) : offset_(offset), length_(0) {} in Range() 133 inline off_t offset() const { return offset_; } in offset() 141 off_t offset_;
|
D | file_fetcher.h | 47 void SetOffset(off_t offset) override { offset_ = offset; } in SetOffset() 110 uint64_t offset_{0};
|
D | file_fetcher.cc | 96 if (offset_) in BeginTransfer() 97 stream_->SetPosition(offset_, nullptr); in BeginTransfer()
|
/system/core/property_service/libpropertyinfoserializer/ |
D | trie_node_arena.h | 30 : arena_data_(arena_data), offset_(offset) {} in ArenaObjectPointer() 32 T* operator->() { return reinterpret_cast<T*>(arena_data_.data() + offset_); } 36 uint32_t offset_; variable
|
/system/core/libunwindstack/ |
D | MemoryRange.h | 41 uint64_t offset() { return offset_; } in offset() 48 uint64_t offset_; variable
|
D | Memory.cpp | 244 munmap(&data_[-offset_], size_ + offset_); in Clear() 265 offset_ = offset & (getpagesize() - 1); in Init() 274 if (!__builtin_add_overflow(size, offset_, &max_size) && max_size < size_) { in Init() 283 data_ = &reinterpret_cast<uint8_t*>(map)[offset_]; in Init() 284 size_ -= offset_; in Init() 349 : memory_(memory), begin_(begin), length_(length), offset_(offset) {} in MemoryRange() 352 if (addr < offset_) { in Read() 356 uint64_t read_offset = addr - offset_; in Read()
|
D | Symbols.cpp | 33 : offset_(offset), in Symbols() 53 if (!elf_memory->ReadFully(offset_ + symbol_index * entry_size_, &sym, sizeof(sym))) { in ReadFuncInfo() 102 size_t size = elf_memory->Read(offset_ + symbol_idx * entry_size_, buffer, read); in BuildRemapTable() 153 if (!elf_memory->ReadFully(offset_ + i * entry_size_, &entry, sizeof(entry))) { in GetGlobal()
|
D | MemoryFileAtOffset.h | 41 size_t offset_ = 0; variable
|
D | Symbols.h | 64 const uint64_t offset_; variable
|
/system/update_engine/payload_generator/ |
D | full_update_generator.cc | 58 offset_(offset), in ChunkProcessor() 79 off_t offset_; member in chromeos_update_engine::__anonfb5e7ce80111::ChunkProcessor 89 LOG(ERROR) << "Error processing region at " << offset_ << " of size " in Run() 99 fd_, buffer_in_.data(), buffer_in_.size(), offset_, &bytes_read)); in ProcessChunk()
|
/system/libziparchive/ |
D | zip_archive_stream_entry.cc | 43 offset_ = entry.offset; in Init() 94 if (!archive->mapped_zip.ReadAtOffset(data_.data(), bytes, offset_)) { in Read() 110 offset_ += bytes; in Read() 225 if (!archive->mapped_zip.ReadAtOffset(in_.data(), bytes, offset_)) { in Read() 235 offset_ += bytes; in Read()
|
/system/libziparchive/include/ziparchive/ |
D | zip_archive_stream_entry.h | 44 off64_t offset_ = 0; variable
|