Home
last modified time | relevance | path

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

/external/chromium_org/ppapi/tests/
Dtest_memory.cc14 size_t kTestBufferSize = 1000; variable
33 memory_dev_interface_->MemAlloc(kTestBufferSize)); in TestMemAlloc()
36 buffer[kTestBufferSize - 1] = '1'; in TestMemAlloc()
/external/chromium_org/net/base/
Dupload_data_stream_unittest.cc39 const size_t kTestBufferSize = 1 << 14; // 16KB. variable
44 scoped_refptr<IOBuffer> buf = new IOBuffer(kTestBufferSize); in ReadFromUploadDataStream()
48 stream->Read(buf.get(), kTestBufferSize, callback.callback()); in ReadFromUploadDataStream()
162 scoped_refptr<IOBuffer> buf = new IOBuffer(kTestBufferSize); in TEST_F()
165 stream.Read(buf.get(), kTestBufferSize, CompletionCallback()); in TEST_F()
194 scoped_refptr<IOBuffer> buf = new IOBuffer(kTestBufferSize); in TEST_F()
199 stream.Read(buf.get(), kTestBufferSize, read_callback.callback())); in TEST_F()
233 scoped_refptr<IOBuffer> buf = new IOBuffer(kTestBufferSize); in TEST_F()
238 stream.Read(buf.get(), kTestBufferSize, read_callback.callback())); in TEST_F()
271 scoped_refptr<IOBuffer> buf = new IOBuffer(kTestBufferSize); in TEST_F()
[all …]
/external/chromium_org/base/
Drand_util_unittest.cc134 const size_t kTestBufferSize = 1 * 1024 * 1024; in TEST() local
136 scoped_ptr<uint8[]> buffer(new uint8[kTestBufferSize]); in TEST()
139 base::RandBytes(buffer.get(), kTestBufferSize); in TEST()
142 LOG(INFO) << "RandBytes(" << kTestBufferSize << ") took: " in TEST()
/external/chromium_org/remoting/protocol/
Dbuffered_socket_writer_unittest.cc22 const int kTestBufferSize = 10 * 1024; // 10k; variable
55 test_buffer_ = new net::IOBufferWithSize(kTestBufferSize); in SetUp()
56 test_buffer_2_ = new net::IOBufferWithSize(kTestBufferSize); in SetUp()
57 for (int i = 0; i< kTestBufferSize; ++i) { in SetUp()