Home
last modified time | relevance | path

Searched refs:read_offset (Results 1 – 6 of 6) sorted by relevance

/system/logging/logd/
DSerializedFlushToState.cpp56 int read_offset = 0; in CreateLogPosition() local
57 while (read_offset < it->write_offset()) { in CreateLogPosition()
58 const auto* entry = it->log_entry(read_offset); in CreateLogPosition()
62 read_offset += entry->total_len(); in CreateLogPosition()
64 log_position.read_offset = read_offset; in CreateLogPosition()
71 auto read_offset = log_positions_[log_id]->read_offset; in UpdateLogsNeeded() local
74 if (read_offset < buffer_it->write_offset()) { in UpdateLogsNeeded()
76 } else if (read_offset == buffer_it->write_offset()) { in UpdateLogsNeeded()
86 log_positions_[log_id]->read_offset = 0; in UpdateLogsNeeded()
95 LOG(FATAL) << "read_offset (" << read_offset << ") > buffer_it->write_offset() (" in UpdateLogsNeeded()
[all …]
DSerializedFlushToState.h30 int read_offset; member
32 const SerializedLogEntry* log_entry() const { return buffer_it->log_entry(read_offset); } in log_entry()
/system/incremental_delivery/incfs/util/
Dmap_ptr.cpp111 const off64_t read_offset = (curr_index * INCFS_DATA_FILE_BLOCK_SIZE) + start_block_offset_; in Verify() local
112 if (UNLIKELY(TEMP_FAILURE_RETRY(pread64(fd_, &value, 1U, read_offset)) <= 0)) { in Verify()
/system/extras/boottime_tools/io_analysis/
Dcheck_file_read.py72 read_offset = offset
75 self.add_if_single_block(self.block_single_block_accesses, s, read_offset, process_name)
76 read_offset += s
/system/unwinding/libunwindstack/
DMemory.cpp369 uint64_t read_offset = addr - offset_; in Read() local
370 if (read_offset >= length_) { in Read()
374 uint64_t read_length = std::min(static_cast<uint64_t>(size), length_ - read_offset); in Read()
376 if (__builtin_add_overflow(read_offset, begin_, &read_addr)) { in Read()
/system/libziparchive/
Dzip_archive.cc1578 off64_t read_offset; in ReadAtOffset() local
1579 if (__builtin_add_overflow(fd_offset_, off, &read_offset)) { in ReadAtOffset()
1600 if (!android::base::ReadFullyAtOffset(fd_, buf, len, read_offset)) { in ReadAtOffset()