Home
last modified time | relevance | path

Searched refs:kFileSize (Results 1 – 4 of 4) sorted by relevance

/external/cronet/base/files/
Dmemory_mapped_file_unittest.cc63 const size_t kFileSize = 68 * 1024; in TEST_F() local
64 CreateTemporaryTestFile(kFileSize); in TEST_F()
67 ASSERT_EQ(kFileSize, map.length()); in TEST_F()
70 ASSERT_TRUE(CheckBufferContents(map.data(), kFileSize, 0)); in TEST_F()
74 const size_t kFileSize = 68 * 1024; in TEST_F() local
75 CreateTemporaryTestFile(kFileSize); in TEST_F()
79 ASSERT_EQ(kFileSize, map.length()); in TEST_F()
82 ASSERT_TRUE(CheckBufferContents(map.data(), kFileSize, 0)); in TEST_F()
86 const size_t kFileSize = 127; in TEST_F() local
87 CreateTemporaryTestFile(kFileSize); in TEST_F()
[all …]
/external/libchrome/base/files/
Dmemory_mapped_file_unittest.cc63 const size_t kFileSize = 68 * 1024; in TEST_F() local
64 CreateTemporaryTestFile(kFileSize); in TEST_F()
67 ASSERT_EQ(kFileSize, map.length()); in TEST_F()
70 ASSERT_TRUE(CheckBufferContents(map.data(), kFileSize, 0)); in TEST_F()
74 const size_t kFileSize = 68 * 1024; in TEST_F() local
75 CreateTemporaryTestFile(kFileSize); in TEST_F()
78 ASSERT_EQ(kFileSize, map.length()); in TEST_F()
81 ASSERT_TRUE(CheckBufferContents(map.data(), kFileSize, 0)); in TEST_F()
85 const size_t kFileSize = 127; in TEST_F() local
86 CreateTemporaryTestFile(kFileSize); in TEST_F()
[all …]
/external/libbrillo/brillo/
Dfile_utils_test.cc349 constexpr size_t kFileSize = 2 * 1024 * 1024; in TEST_F() local
355 std::string file_content = base::RandBytesAsString(kFileSize); in TEST_F()
363 EXPECT_GT(result_usage, kFileSize / 10 * 9); in TEST_F()
364 EXPECT_LT(result_usage, kFileSize / 10 * 11); in TEST_F()
374 constexpr size_t kFileSize = 2 * 1024 * 1024; in TEST_F() local
386 std::string file_content = base::RandBytesAsString(kFileSize); in TEST_F()
394 EXPECT_GT(result_usage, kFileSize / 10 * 9); in TEST_F()
395 EXPECT_LT(result_usage, kFileSize / 10 * 11); in TEST_F()
405 constexpr size_t kFileSize = 2 * 1024 * 1024; in TEST_F() local
412 std::string file_content = base::RandBytesAsString(kFileSize); in TEST_F()
[all …]
/external/cronet/net/log/
Dfile_net_log_observer_unittest.cc726 const int kFileSize = kTotalFileSize / kTotalNumFiles; in TEST_F() local
727 const int kNumEvents = kTotalNumFiles * ((kFileSize - 1) / kEventSize + 1); in TEST_F()
754 const int kFileSize = kTotalFileSize / kTotalNumFiles; in TEST_F() local
770 static_cast<size_t>(kTotalNumFiles * ((kFileSize - 1) / kEventSize + 1))); in TEST_F()
784 const int kFileSize = kTotalFileSize / kTotalNumFiles; in TEST_F() local
797 int events_per_file = (kFileSize - 1) / kEventSize + 1; in TEST_F()
824 const int kFileSize = kTotalFileSize / kTotalNumFiles; in TEST_F() local
837 int events_per_file = (kFileSize - 1) / kEventSize + 1; in TEST_F()
862 const int kFileSize = kTotalFileSize / kTotalNumFiles; in TEST_F() local
863 const int kNumEvents = kTotalNumFiles * ((kFileSize - 1) / kEventSize + 1); in TEST_F()
[all …]