Searched refs:read_offset (Results 1 – 8 of 8) sorted by relevance
/system/core/logd/ |
D | SerializedFlushToState.cpp | 53 int read_offset = 0; in CreateLogPosition() local 54 while (read_offset < it->write_offset()) { in CreateLogPosition() 55 const auto* entry = it->log_entry(read_offset); in CreateLogPosition() 59 read_offset += entry->total_len(); in CreateLogPosition() 61 log_position.read_offset = read_offset; in CreateLogPosition() 68 auto read_offset = log_positions_[log_id]->read_offset; in AddMinHeapEntry() local 71 if (read_offset < buffer_it->write_offset()) { in AddMinHeapEntry() 72 auto* entry = buffer_it->log_entry(read_offset); in AddMinHeapEntry() 74 } else if (read_offset == buffer_it->write_offset()) { in AddMinHeapEntry() 84 log_positions_[log_id]->read_offset = 0; in AddMinHeapEntry() [all …]
|
D | SerializedLogChunk.cpp | 64 int read_offset = 0; in ClearUidLogs() local 66 while (read_offset < write_offset_) { in ClearUidLogs() 67 const auto* entry = log_entry(read_offset); in ClearUidLogs() 69 read_offset += entry->total_len(); in ClearUidLogs() 76 if (read_offset != new_write_offset) { in ClearUidLogs() 77 memmove(contents_.data() + new_write_offset, contents_.data() + read_offset, in ClearUidLogs() 80 read_offset += entry_total_len; in ClearUidLogs()
|
D | SerializedLogChunkTest.cpp | 238 size_t read_offset = 0; in TEST_P() local 239 auto* entry = chunk.log_entry(read_offset); in TEST_P() 241 read_offset += entry->total_len(); in TEST_P() 243 entry = chunk.log_entry(read_offset); in TEST_P() 245 read_offset += entry->total_len(); in TEST_P() 247 entry = chunk.log_entry(read_offset); in TEST_P() 249 read_offset += entry->total_len(); in TEST_P() 251 EXPECT_EQ(static_cast<int>(read_offset), chunk.write_offset()); in TEST_P() 269 size_t read_offset = 0; in TEST_P() local 270 auto* entry = chunk.log_entry(read_offset); in TEST_P() [all …]
|
D | SerializedLogBuffer.cpp | 120 int read_offset = 0; in RemoveChunkFromStats() local 121 while (read_offset < chunk.write_offset()) { in RemoveChunkFromStats() 122 auto* entry = chunk.log_entry(read_offset); in RemoveChunkFromStats() 124 read_offset += entry->total_len(); in RemoveChunkFromStats()
|
D | SerializedFlushToState.h | 29 int read_offset; member
|
/system/core/libunwindstack/ |
D | Memory.cpp | 356 uint64_t read_offset = addr - offset_; in Read() local 357 if (read_offset >= length_) { in Read() 361 uint64_t read_length = std::min(static_cast<uint64_t>(size), length_ - read_offset); in Read() 363 if (__builtin_add_overflow(read_offset, begin_, &read_addr)) { in Read()
|
/system/extras/boottime_tools/io_analysis/ |
D | check_file_read.py | 72 read_offset = offset 75 self.add_if_single_block(self.block_single_block_accesses, s, read_offset, process_name) 76 read_offset += s
|
/system/libziparchive/ |
D | zip_archive.cc | 1498 off64_t read_offset; in ReadAtOffset() local 1499 if (__builtin_add_overflow(fd_offset_, off, &read_offset)) { in ReadAtOffset() 1520 if (!android::base::ReadFullyAtOffset(fd_, buf, len, read_offset)) { in ReadAtOffset()
|