/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 | 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 | install_operation_executor.cc | 61 offset_ += count; in Read() 68 offset_ += count; in Write() 75 offset_ = pos; in Seek() 79 TEST_AND_RETURN_FALSE(offset_ == static_cast<uint64_t>(pos)); in Seek() 98 offset_(0) {} in BsdiffExtentFile() 103 uint64_t offset_; member in chromeos_update_engine::BsdiffExtentFile 127 *offset = offset_; in GetOffset() 134 offset_ = offset; in Seek() 138 TEST_AND_RETURN_FALSE(offset_ == offset); in Seek() 146 offset_ += count; in Read() [all …]
|
D | extent_reader.h | 70 uint64_t offset_{0};
|
D | fake_file_descriptor.h | 109 uint64_t offset_{0};
|
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/ |
D | snapshot_reader.cpp | 103 uint64_t start_chunk = offset_ / block_size_; in Read() 104 uint64_t end_chunk = (offset_ + count - 1) / block_size_; in Read() 107 size_t start_offset = offset_ % block_size_; in Read() 117 offset_ += rv; in Read() 126 offset_ += rv; in Read() 136 offset_ += rv; in Read() 243 offset_ = offset; in Seek() 246 offset_ = static_cast<off64_t>(block_device_size_) + offset; in Seek() 249 offset_ += offset; in Seek() 256 return offset_; in Seek()
|
D | snapshot_reader.h | 58 off64_t offset_ = 0; variable
|
/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/unwinding/libunwindstack/ |
D | MemoryBuffer.h | 30 MemoryBuffer(size_t size) : raw_(size > kMaxBufferSize ? 0 : size), offset_(0) {} in MemoryBuffer() 32 : raw_(size > kMaxBufferSize ? 0 : size), offset_(offset) {} in MemoryBuffer() 44 uint64_t offset_; variable
|
D | Memory.cpp | 236 if (addr < offset_) { in Read() 239 addr -= offset_; in Read() 252 if (addr < offset_) { in GetPtr() 255 addr -= offset_; in GetPtr() 268 munmap(&data_[-offset_], size_ + offset_); in Clear() 289 offset_ = offset & (getpagesize() - 1); in Init() 298 if (!__builtin_add_overflow(size, offset_, &max_size) && max_size < size_) { in Init() 307 data_ = &reinterpret_cast<uint8_t*>(map)[offset_]; in Init() 308 size_ -= offset_; in Init() 363 : memory_(memory), begin_(begin), length_(length), offset_(offset) {} in MemoryRange() [all …]
|
D | MemoryRange.h | 40 uint64_t offset() { return offset_; } in offset() 47 uint64_t offset_; variable
|
D | Symbols.cpp | 34 : offset_(offset), in Symbols() 80 if (__builtin_add_overflow(offset, offset_, &offset)) { in BinarySearch() 118 if (__builtin_add_overflow(offset, offset_, &offset)) { in BuildRemapTable() 173 if (__builtin_add_overflow(offset, offset_, &offset)) { in GetName() 209 if (__builtin_add_overflow(offset_, offset, &offset)) { in GetGlobal()
|
D | MemoryFileAtOffset.h | 42 size_t offset_ = 0; variable
|
D | Symbols.h | 63 const uint64_t offset_; variable
|
/system/update_engine/common/ |
D | multi_range_http_fetcher.h | 131 Range(off_t offset, size_t length) : offset_(offset), length_(length) {} in Range() 132 explicit Range(off_t offset) : offset_(offset), length_(0) {} in Range() 134 inline off_t offset() const { return offset_; } in offset() 142 off_t offset_;
|
D | file_fetcher.h | 46 void SetOffset(off_t offset) override { offset_ = offset; } in SetOffset() 109 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/update_engine/payload_generator/ |
D | full_update_generator.cc | 58 offset_(offset), in ChunkProcessor() 79 off_t offset_; member in chromeos_update_engine::__anon86205efc0111::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/unwinding/libunwindstack/include/unwindstack/ |
D | MapInfo.h | 44 offset_(offset), in MapInfo() 52 offset_(offset), in MapInfo() 142 inline uint64_t offset() const { return offset_; } in offset() 143 inline void set_offset(uint64_t value) { offset_ = value; } in set_offset() 223 uint64_t offset_ = 0; variable
|
/system/libziparchive/ |
D | zip_archive_stream_entry.cc | 44 offset_ = entry.offset; in Init() 95 auto res = archive->mapped_zip.ReadAtOffset(data_.data(), bytes, offset_); in Read() 114 offset_ += bytes; in Read() 227 auto res = archive->mapped_zip.ReadAtOffset(in_.data(), bytes, offset_); in Read() 238 offset_ += bytes; in Read()
|
/system/update_engine/lz4diff/ |
D | lz4patch.cc | 79 *offset = offset_; in GetOffset() 88 offset_ = offset; in Seek() 94 TEST_AND_RETURN_FALSE(offset_ + length <= read_memory_.size()); in Read() 95 memcpy(buffer, read_memory_.data() + offset_, length); in Read() 96 offset_ += length; in Read() 120 uint64_t offset_{}; member in chromeos_update_engine::__anonb93419ce0111::StringViewStream
|
/system/libziparchive/include/ziparchive/ |
D | zip_archive_stream_entry.h | 44 off64_t offset_ = 0; variable
|