Searched refs:drainable (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/content/browser/loader/ |
D | temporary_file_stream_unittest.cc | 86 scoped_refptr<net::DrainableIOBuffer> drainable = in TEST() local 91 drainable.get(), drainable->BytesRemaining(), in TEST() 96 drainable->DidConsume(rv); in TEST()
|
/external/chromium_org/chrome/browser/devtools/device/ |
D | port_forwarding_controller.cc | 152 scoped_refptr<net::DrainableIOBuffer> drainable = in OnRead() local 156 result = to->Write(drainable.get(), in OnRead() 160 drainable, in OnRead() 164 OnWritten(drainable, from, to, result); in OnRead() 167 void OnWritten(scoped_refptr<net::DrainableIOBuffer> drainable, in OnWritten() argument 177 drainable->DidConsume(result); in OnWritten() 178 if (drainable->BytesRemaining() > 0) { in OnWritten() 180 result = to->Write(drainable.get(), in OnWritten() 181 drainable->BytesRemaining(), in OnWritten() 184 drainable, in OnWritten() [all …]
|
/external/chromium_org/content/browser/fileapi/ |
D | local_file_stream_writer_unittest.cc | 51 scoped_refptr<net::DrainableIOBuffer> drainable( in WriteStringToWriter() local 54 while (drainable->BytesRemaining() > 0) { in WriteStringToWriter() 57 drainable.get(), drainable->BytesRemaining(), callback.callback()); in WriteStringToWriter() 62 drainable->DidConsume(result); in WriteStringToWriter()
|
/external/chromium_org/net/base/ |
D | file_stream_unittest.cc | 380 scoped_refptr<DrainableIOBuffer> drainable = in TEST_F() local 383 rv = stream.Write(drainable.get(), drainable->BytesRemaining(), in TEST_F() 390 drainable->DidConsume(rv); in TEST_F() 430 scoped_refptr<DrainableIOBuffer> drainable = in TEST_F() local 433 rv = stream->Write(drainable.get(), drainable->BytesRemaining(), in TEST_F() 440 drainable->DidConsume(rv); in TEST_F() 472 scoped_refptr<DrainableIOBuffer> drainable = in TEST_F() local 475 rv = stream->Write(drainable.get(), drainable->BytesRemaining(), in TEST_F() 482 drainable->DidConsume(rv); in TEST_F()
|