Searched refs:wrapped_buffer (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/net/base/ |
D | upload_bytes_element_reader_unittest.cc | 35 scoped_refptr<IOBuffer> wrapped_buffer = new WrappedIOBuffer(&buf[0]); in TEST_F() local 38 reader_->Read(wrapped_buffer.get(), buf.size(), CompletionCallback())); in TEST_F() 46 scoped_refptr<IOBuffer> wrapped_buffer = new WrappedIOBuffer(&buf[0]); in TEST_F() local 49 reader_->Read(wrapped_buffer.get(), buf.size(), CompletionCallback())); in TEST_F() 54 0, reader_->Read(wrapped_buffer.get(), buf.size(), CompletionCallback())); in TEST_F() 60 scoped_refptr<IOBuffer> wrapped_buffer = new WrappedIOBuffer(&buf[0]); in TEST_F() local 63 reader_->Read(wrapped_buffer.get(), buf.size(), CompletionCallback())); in TEST_F() 71 scoped_refptr<IOBuffer> wrapped_buffer = new WrappedIOBuffer(&buf[0]); in TEST_F() local 76 reader_->Read(wrapped_buffer.get(), buf.size(), CompletionCallback())); in TEST_F() 88 reader_->Read(wrapped_buffer.get(), buf.size(), CompletionCallback())); in TEST_F()
|
D | upload_file_element_reader_unittest.cc | 64 scoped_refptr<IOBuffer> wrapped_buffer = new WrappedIOBuffer(&buf[0]); in TEST_F() local 68 wrapped_buffer.get(), buf.size(), read_callback1.callback())); in TEST_F() 76 wrapped_buffer.get(), buf.size(), read_callback2.callback())); in TEST_F() 84 scoped_refptr<IOBuffer> wrapped_buffer = new WrappedIOBuffer(&buf[0]); in TEST_F() local 88 wrapped_buffer.get(), buf.size(), read_callback.callback())); in TEST_F() 95 wrapped_buffer.get(), buf.size(), read_callback.callback())); in TEST_F() 101 scoped_refptr<IOBuffer> wrapped_buffer = new WrappedIOBuffer(&buf[0]); in TEST_F() local 105 wrapped_buffer.get(), buf.size(), read_callback.callback())); in TEST_F() 114 scoped_refptr<IOBuffer> wrapped_buffer = new WrappedIOBuffer(&buf[0]); in TEST_F() local 120 wrapped_buffer.get(), buf.size(), read_callback1.callback())); in TEST_F() [all …]
|
D | upload_data_stream_unittest.cc | 688 scoped_refptr<IOBuffer> wrapped_buffer = new WrappedIOBuffer(&buf[0]); in TEST_F() local 691 stream.Read(wrapped_buffer.get(), buf.size(), read_callback1.callback())); in TEST_F() 793 scoped_refptr<IOBuffer> wrapped_buffer = new WrappedIOBuffer(&buf[0]); in TEST_F() local 796 stream.Read(wrapped_buffer.get(), buf.size(), read_callback1.callback())); in TEST_F()
|
/external/chromium_org/content/browser/appcache/ |
D | appcache_url_request_job_unittest.cc | 171 scoped_refptr<IOBuffer> wrapped_buffer( in ReadSome() local 175 request->Read(wrapped_buffer.get(), kBlockSize, &bytes_read)); in ReadSome()
|