/external/chromium_org/content/browser/fileapi/ |
upload_file_system_file_element_reader_unittest.cc | 141 net::TestCompletionCallback read_callback1; local 143 reader_->Read(buf.get(), buf->size(), read_callback1.callback())); 144 EXPECT_EQ(buf->size(), read_callback1.WaitForResult()); 175 net::TestCompletionCallback read_callback1; local 177 reader_->Read(buf.get(), buf->size(), read_callback1.callback())); 178 EXPECT_EQ(buf->size(), read_callback1.WaitForResult()); 203 net::TestCompletionCallback read_callback1; local 205 reader_->Read(buf.get(), buf->size(), read_callback1.callback())); 230 EXPECT_FALSE(read_callback1.have_result());
|
/external/chromium_org/net/base/ |
upload_file_element_reader_unittest.cc | 65 TestCompletionCallback read_callback1; local 68 wrapped_buffer.get(), buf.size(), read_callback1.callback())); 69 EXPECT_EQ(static_cast<int>(buf.size()), read_callback1.WaitForResult()); 117 TestCompletionCallback read_callback1; local 120 wrapped_buffer.get(), buf.size(), read_callback1.callback())); 121 EXPECT_EQ(static_cast<int>(buf.size()), read_callback1.WaitForResult()); 147 TestCompletionCallback read_callback1; local 150 wrapped_buffer.get(), buf.size(), read_callback1.callback())); 176 EXPECT_FALSE(read_callback1.have_result());
|
upload_data_stream_unittest.cc | 510 TestCompletionCallback read_callback1; local 512 stream.Read(buf.get(), kTestDataSize, read_callback1.callback())); 514 EXPECT_FALSE(read_callback1.have_result()); 686 TestCompletionCallback read_callback1; local 691 stream.Read(wrapped_buffer.get(), buf.size(), read_callback1.callback())); 692 EXPECT_EQ(static_cast<int>(buf.size()), read_callback1.WaitForResult()); 791 TestCompletionCallback read_callback1; local 796 stream.Read(wrapped_buffer.get(), buf.size(), read_callback1.callback())); 817 EXPECT_FALSE(read_callback1.have_result());
|