Searched refs:file_entry (Results 1 – 4 of 4) sorted by relevance
/system/iorap/src/prefetcher/ |
D | read_ahead.cc | 371 for (const serialize::proto::TraceFileEntry& file_entry : file_list.entries()) { in BeginTask() local 374 if (file_entry.file_length() < 0 || file_entry.file_offset() < 0) { in BeginTask() 376 << "index_id=" << file_entry.index_id() << ", skipping"; in BeginTask() 381 …if (!PerformReadAhead(session, file_entry.index_id(), kind, file_entry.file_length(), file_entry.f… in BeginTask() 385 prefetch_bytes += static_cast<size_t>(file_entry.file_length()); in BeginTask() 395 length_sum += static_cast<size_t>(file_entry.file_length()); in BeginTask() 431 for (const serialize::proto::TraceFileEntry& file_entry : file_list.entries()) { in PrefetchSizeInBytes() local 433 if (file_entry.file_length() < 0 || file_entry.file_offset() < 0) { in PrefetchSizeInBytes() 435 << "index_id=" << file_entry.index_id() << ", skipping"; in PrefetchSizeInBytes() 439 length_sum += static_cast<size_t>(file_entry.file_length()); in PrefetchSizeInBytes()
|
D | session.cc | 392 for (const serialize::proto::TraceFileEntry& file_entry : file_list.entries()) { in ProcessFd() local 395 if (file_entry.file_length() < 0 || file_entry.file_offset() < 0) { in ProcessFd() 397 << "index_id=" << file_entry.index_id() << ", skipping"; in ProcessFd() 402 if (!this->ReadAhead(file_entry.index_id(), in ProcessFd() 404 file_entry.file_length(), in ProcessFd() 405 file_entry.file_offset())) { in ProcessFd()
|
/system/libziparchive/ |
D | zip_writer.cc | 223 FileEntry file_entry = {}; in StartAlignedEntryWithTime() local 224 file_entry.local_file_header_offset = current_offset_; in StartAlignedEntryWithTime() 225 file_entry.path = path; in StartAlignedEntryWithTime() 227 if (file_entry.local_file_header_offset > std::numeric_limits<uint32_t>::max()) { in StartAlignedEntryWithTime() 231 if (!IsValidEntryName(reinterpret_cast<const uint8_t*>(file_entry.path.data()), in StartAlignedEntryWithTime() 232 file_entry.path.size())) { in StartAlignedEntryWithTime() 237 file_entry.compression_method = kCompressDeflated; in StartAlignedEntryWithTime() 244 file_entry.compression_method = kCompressStored; in StartAlignedEntryWithTime() 247 ExtractTimeAndDate(time, &file_entry.last_mod_time, &file_entry.last_mod_date); in StartAlignedEntryWithTime() 249 off_t offset = current_offset_ + sizeof(LocalFileHeader) + file_entry.path.size(); in StartAlignedEntryWithTime() [all …]
|
D | zip_archive_test.cc | 1070 [&local_file_header_offset](const LocalFileEntry& file_entry) { in AddEntry() argument 1071 local_file_header_offset += file_entry.GetSize(); in AddEntry() 1135 [&zip64_eocd](const LocalFileEntry& file_entry) { in ConstructEocd() argument 1136 zip64_eocd.cd_start_offset += file_entry.GetSize(); in ConstructEocd() 1162 for (const auto& file_entry : file_entries_) { in ConstructZipFile() local 1163 file_entry.CopyToOutput(&zip_content_); in ConstructZipFile() 1369 [&local_file_header_offset](const LocalFileEntry& file_entry) { in TEST_F() argument 1370 local_file_header_offset += file_entry.GetSize(); in TEST_F()
|