Searched refs:file_size_ (Results 1 – 8 of 8) sorted by relevance
/external/icing/icing/file/ |
D | memory-mapped-file.cc | 100 file_size_(file_size), in MemoryMappedFile() 184 file_size_ = actual_file_size; in PersistToDisk() 193 std::min(file_size_ - adjusted_offset(), adjusted_mmap_size()), in PersistToDisk() 210 std::min(mmap_size_, file_size_ - file_offset_))) { in PersistToDisk() 243 if (new_file_size <= file_size_) { in GrowFileSize() 259 file_size_ = actual_file_size; in GrowFileSize() 279 int64_t size_to_write = std::min(page_size - (file_size_ % page_size), in GrowFileSize() 280 new_file_size - file_size_); in GrowFileSize() 286 while (size_to_write > 0 && file_size_ < new_file_size) { in GrowFileSize() 291 file_size_ += size_to_write; in GrowFileSize() [all …]
|
D | file-backed-proto-log.h | 211 int64_t file_size_; variable 601 file_size_(filesystem.GetFileSize(file_path.c_str())) { in Iterator() 602 if (file_size_ == Filesystem::kBadFileSize) { in Iterator() 604 file_size_ = 0; in Iterator() 617 ReadProtoMetadata(&mmapped_file_, current_offset_, file_size_)); in Advance() 621 if (current_offset_ < file_size_) { in Advance() 627 static_cast<long long>(file_size_))); in Advance()
|
D | memory-mapped-file.h | 262 std::max(INT64_C(0), file_size_ - file_offset_)); in available_size() 339 int64_t file_size_; variable
|
D | portable-file-backed-proto-log.h | 420 int64_t file_size_; variable 1111 file_size_ = filesystem_->GetFileSize(fd_); in Iterator() 1112 if (file_size_ == Filesystem::kBadFileSize) { in Iterator() 1114 file_size_ = 0; in Iterator() 1128 ReadProtoMetadata(filesystem_, fd_, current_offset_, file_size_)); in Advance() 1132 if (current_offset_ < file_size_) { in Advance() 1138 static_cast<long long>(file_size_))); in Advance()
|
/external/pdfium/core/fpdfapi/parser/ |
D | cpdf_read_validator.cpp | 48 file_size_(file_read_->GetSize()) {} in CPDF_ReadValidator() 66 if (!end_offset.IsValid() || end_offset.ValueOrDie() > file_size_) in ReadBlockAtOffset() 83 return file_size_; in GetSize() 99 std::min(file_size_, AlignUp(end_segment_offset.ValueOrDie())); in ScheduleDownload() 117 const FX_SAFE_SIZE_T safe_size = file_size_; in IsWholeFileAvailable() 128 if (offset > file_size_) in CheckDataRangeAndRequestIfUnavailable() 140 file_size_, static_cast<FX_FILESIZE>(end_segment_offset.ValueOrDie())); in CheckDataRangeAndRequestIfUnavailable() 159 const FX_SAFE_SIZE_T safe_size = file_size_; in CheckWholeFileAndRequestIfUnavailable()
|
D | cpdf_read_validator.h | 67 const FX_FILESIZE file_size_; variable
|
/external/libvpx/test/ |
D | cq_test.cc | 61 file_size_ = 0; in BeginPassHook() 82 file_size_ += pkt->data.frame.sz; in FramePktHook() 87 return pow(10.0, avg_psnr / 10.0) / file_size_; in GetLinearPSNROverBitrate() 91 size_t file_size() const { return file_size_; } in file_size() 98 size_t file_size_; member in __anon005a90d00111::CQTest
|
/external/cronet/net/disk_cache/simple/ |
D | simple_synchronous_entry.cc | 119 : file_size_(file_size), earliest_requested_offset_(file_size) {} in PrefetchData() 171 return file_size_ - earliest_requested_offset_; in GetDesiredTrailerPrefetchSize() 178 DCHECK_LE(earliest_requested_offset_, file_size_); in UpdateEarliestOffset() 182 const size_t file_size_; member in disk_cache::SimpleSynchronousEntry::PrefetchData
|