Home
last modified time | relevance | path

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

/external/icing/icing/file/
Dmemory-mapped-file.cc99 max_file_size_(max_file_size), in MemoryMappedFile()
146 new_file_offset > max_file_size_ - new_mmap_size) { in GrowAndRemapIfNecessary()
150 new_file_offset, new_mmap_size, max_file_size_)); in GrowAndRemapIfNecessary()
247 if (new_file_size > max_file_size_) { in GrowFileSize()
251 new_file_size, max_file_size_)); in GrowFileSize()
380 std::swap(max_file_size_, other->max_file_size_); in Swap()
Dmemory-mapped-file.h242 int64_t max_file_size() const { return max_file_size_; } in max_file_size()
330 int64_t max_file_size_; variable
/external/webrtc/rtc_base/
Dfile_rotating_stream.cc188 max_file_size_(max_file_size), in FileRotatingStream()
216 RTC_DCHECK_LT(current_bytes_written_, max_file_size_); in Write()
217 size_t remaining_bytes = max_file_size_ - current_bytes_written_; in Write()
230 if (current_bytes_written_ >= max_file_size_) { in Write()
231 RTC_DCHECK_EQ(current_bytes_written_, max_file_size_); in Write()
Dfile_rotating_stream.h67 void SetMaxFileSize(size_t size) { max_file_size_ = size; } in SetMaxFileSize()
97 size_t max_file_size_; variable
/external/cronet/net/http/
Dmock_http_cache.h114 void set_max_file_size(int val) { max_file_size_ = val; } in set_max_file_size()
142 int max_file_size_; variable
235 void set_max_file_size(int new_size) { max_file_size_ = new_size; } in set_max_file_size()
267 int max_file_size_; variable
Dmock_http_cache.cc57 : key_(key), max_file_size_(std::numeric_limits<int>::max()) { in MockDiskEntry()
145 if (offset + buf_len > max_file_size_ && index == 1) in WriteData()
383 : Backend(DISK_CACHE), max_file_size_(std::numeric_limits<int>::max()) {} in MockDiskCache()
459 entry->set_max_file_size(max_file_size_); in OpenEntry()
512 new_entry->set_max_file_size(max_file_size_); in CreateEntry()
610 return max_file_size_; in MaxFileSize()