Home
last modified time | relevance | path

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

/external/chromium/base/
Dshared_memory_unittest.cc38 const uint32 kDataSize = 1024; in ThreadMain() local
40 bool rv = memory.CreateNamed(s_test_name_, true, kDataSize); in ThreadMain()
42 rv = memory.Map(kDataSize); in ThreadMain()
82 const uint32 kDataSize = sizeof(int); in ThreadMain() local
87 true, kDataSize)); in ThreadMain()
95 EXPECT_TRUE(memory2.Map(kDataSize)); in ThreadMain()
120 const uint32 kDataSize = 1024; in TEST() local
132 rv = memory1.CreateNamed(test_name, false, kDataSize); in TEST()
134 rv = memory1.Map(kDataSize); in TEST()
139 rv = memory2.Map(kDataSize); in TEST()
[all …]
/external/chromium/webkit/glue/media/
Dsimple_data_source_unittest.cc37 static const int kDataSize = 1024; variable
53 for (int i = 0; i < kDataSize; ++i) { in SimpleDataSourceTest()
81 response.setExpectedContentLength(kDataSize); in RequestSucceeded()
86 EXPECT_EQ(kDataSize, size); in RequestSucceeded()
88 for (int i = 0; i < kDataSize; ++i) { in RequestSucceeded()
95 EXPECT_CALL(host_, SetTotalBytes(kDataSize)); in RequestSucceeded()
96 EXPECT_CALL(host_, SetBufferedBytes(kDataSize)); in RequestSucceeded()
133 for (int i = 0; i < kDataSize; ++i) { in AsyncRead()
154 char data_[kDataSize];
Dbuffered_resource_loader_unittest.cc49 static const int kDataSize = 1024; variable
71 for (int i = 0; i < kDataSize; ++i) in BufferedResourceLoaderTest()
236 uint8 data_[kDataSize];
Dbuffered_data_source_unittest.cc37 static const int kDataSize = 1024; variable