/external/icing/icing/file/ |
D | memory-mapped-file_test.cc | 56 constexpr int max_file_size = 8192; in TEST_F() local 62 stragegy, max_file_size)); in TEST_F() 65 EXPECT_THAT(mmapped_file.max_file_size(), Eq(max_file_size)); in TEST_F() 83 constexpr int max_file_size = 8192; in TEST_F() local 89 stragegy, max_file_size)); in TEST_F() 92 EXPECT_THAT(mmapped_file.max_file_size(), Eq(max_file_size)); in TEST_F() 128 constexpr int max_file_size = 8192; in TEST_F() local 136 MemoryMappedFile::Create(filesystem_, file_path_, stragegy, max_file_size, in TEST_F() 140 EXPECT_THAT(mmapped_file.max_file_size(), Eq(max_file_size)); in TEST_F() 172 int max_file_size = page_size * 2; in TEST_F() local [all …]
|
D | memory-mapped-file.cc | 38 int64_t max_file_size) { in Create() argument 39 if (max_file_size <= 0 || max_file_size > kMaxFileSize) { in Create() 42 max_file_size)); in Create() 54 return MemoryMappedFile(filesystem, file_path, mmap_strategy, max_file_size, in Create() 61 int64_t max_file_size, int64_t pre_mapping_file_offset, in Create() argument 63 if (max_file_size <= 0 || max_file_size > kMaxFileSize) { in Create() 66 max_file_size)); in Create() 73 pre_mapping_file_offset > max_file_size - pre_mapping_mmap_size) { in Create() 77 pre_mapping_file_offset, pre_mapping_mmap_size, max_file_size)); in Create() 82 Create(filesystem, file_path, mmap_strategy, max_file_size)); in Create() [all …]
|
D | file-backed-vector.h | 220 int32_t max_file_size = kMaxFileSize, 499 int32_t max_file_size, int32_t pre_mapping_mmap_size); 506 int32_t max_file_size, int32_t pre_mapping_mmap_size); 560 int32_t max_file_size, in Create() argument 574 if (max_file_size < Header::kHeaderSize + kElementTypeSize || in Create() 575 max_file_size > kMaxFileSize) { in Create() 594 if (max_file_size < file_size) { in Create() 602 mmap_strategy, max_file_size, in Create() 606 mmap_strategy, max_file_size, in Create() 616 int32_t max_file_size, in InitializeNewFile() argument [all …]
|
D | memory-mapped-file.h | 137 Strategy mmap_strategy, int64_t max_file_size = kDefaultMaxFileSize); 156 Strategy mmap_strategy, int64_t max_file_size, 242 int64_t max_file_size() const { return max_file_size_; } in max_file_size() function 268 int64_t max_file_size, int64_t file_size);
|
D | persistent-hash-map.cc | 347 int32_t max_file_size = in InitializeNewFiles() local 353 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC, max_file_size, in InitializeNewFiles() 358 max_file_size = in InitializeNewFiles() 364 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC, max_file_size, in InitializeNewFiles() 370 max_file_size = in InitializeNewFiles() 376 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC, max_file_size, in InitializeNewFiles() 438 int32_t max_file_size = in InitializeExistingFiles() local 444 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC, max_file_size, in InitializeExistingFiles() 449 max_file_size = in InitializeExistingFiles() 455 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC, max_file_size, in InitializeExistingFiles() [all …]
|
D | file-backed-vector_test.cc | 602 int32_t max_file_size = (1 << 10) - 1; in TEST_F() local 604 (max_file_size - FileBackedVector<char>::Header::kHeaderSize) / in TEST_F() 611 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC, max_file_size)); in TEST_F() 694 int32_t max_file_size = (1 << 10) - 1; in TEST_F() local 696 (max_file_size - FileBackedVector<char>::Header::kHeaderSize) / in TEST_F() 703 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC, max_file_size)); in TEST_F() 805 int32_t max_file_size = (1 << 20) - 1; in TEST_F() local 815 ASSERT_THAT((max_file_size - header_size) % element_type_size, Not(Eq(0))); in TEST_F() 816 int32_t max_num_elements = (max_file_size - header_size) / element_type_size; in TEST_F() 825 MemoryMappedFile::Strategy::READ_WRITE_AUTO_SYNC, max_file_size)); in TEST_F() [all …]
|
/external/ltp/testcases/kernel/fs/mongo/ |
D | reiser_fract_tree.c | 250 long determine_nr_of_files(int median_file_size, double max_file_size, in determine_nr_of_files() argument 259 byte_total += determine_size(median_file_size, max_file_size); in determine_nr_of_files() 463 max_dir_nr_files, max_dir_branching, max_file_size; in main() local 479 max_file_size = atol(argv[3]); in main() 484 determine_nr_of_files(median_file_size, max_file_size, in main() 494 make_fractal_tree(median_file_size, max_file_size, median_dir_nr_files, in main()
|
D | mongo.pl | 120 $max_file_size = 100000000; 132 $max_file_size = 1000000; 405 …$cmd_1 = "$TOPDIR/reiser_fract_tree $bytes_to_consume $median_file_size $max_file_size $median_dir…
|
/external/perfetto/src/perfetto_cmd/ |
D | config.h | 33 std::string max_file_size; member
|
D | config_unittest.cc | 127 options.max_file_size = "2s"; in TEST_F() 133 options.max_file_size = "1gb"; in TEST_F()
|
D | config.cc | 113 if (!ConvertSizeToKb(options.max_file_size, &max_file_size_kb)) { in CreateConfigFromOptions()
|
D | perfetto_cmd.cc | 427 config_options.max_file_size = std::string(optarg); in ParseCmdlineAndMaybeDaemonize()
|
/external/webrtc/rtc_base/ |
D | file_rotating_stream.cc | 184 size_t max_file_size, in FileRotatingStream() argument 188 max_file_size_(max_file_size), in FileRotatingStream() 193 RTC_DCHECK_GT(max_file_size, 0); in FileRotatingStream()
|
D | file_rotating_stream.h | 35 size_t max_file_size,
|
D | file_rotating_stream_unittest.cc | 50 size_t max_file_size, in Init() argument 61 stream_.reset(new FileRotatingStream(dir_path_, file_prefix, max_file_size, in Init()
|
/external/cronet/net/disk_cache/memory/ |
D | mem_entry_impl.cc | 360 int max_file_size = backend_->MaxFileSize(); in InternalWriteData() local 363 if (offset > max_file_size || buf_len > max_file_size || in InternalWriteData() 365 end_offset > max_file_size) { in InternalWriteData()
|
/external/leveldb/include/leveldb/ |
D | options.h | 115 size_t max_file_size = 2 * 1024 * 1024; member
|
/external/fmtlib/test/ |
D | posix-mock-test.cc | 90 static off_t max_file_size() { return std::numeric_limits<off_t>::max(); } in max_file_size() function 94 if (fstat_sim == MAX_SIZE) buf->st_size = max_file_size(); in fstat() 100 static LONGLONG max_file_size() { return std::numeric_limits<LONGLONG>::max(); } in max_file_size() function 280 EXPECT_EQ(max_file_size(), f.size()); in TEST()
|
/external/trace-cmd/tracecmd/ |
D | trace-read.c | 89 static int max_file_size; variable 369 if (strlen(item->file) > max_file_size) in add_handle() 370 max_file_size = strlen(item->file); in add_handle() 1182 printf("%*s: ", max_file_size, handles->file); in print_handle_file() 1184 printf("%*s ", max_file_size, ""); in print_handle_file()
|
/external/cronet/net/disk_cache/blockfile/ |
D | entry_impl.cc | 1129 int max_file_size = backend_->MaxFileSize(); in InternalWriteData() local 1132 if (offset > max_file_size || buf_len > max_file_size || in InternalWriteData() 1134 end_offset > max_file_size) { in InternalWriteData()
|
/external/leveldb/benchmarks/ |
D | db_bench.cc | 766 options.max_file_size = FLAGS_max_file_size; in Open() 1023 FLAGS_max_file_size = leveldb::Options().max_file_size; in main()
|
/external/leveldb/db/ |
D | c.cc | 426 opt->rep.max_file_size = s; in leveldb_options_set_max_file_size()
|
D | version_set.cc | 25 return options->max_file_size; in TargetFileSize()
|
D | db_impl.cc | 103 ClipToRange(&result.max_file_size, 1 << 20, 1 << 30); in SanitizeOptions()
|