Lines Matching refs:MockFileStream
15 MockFileStream::MockFileStream( in MockFileStream() function in net::testing::MockFileStream
19 MockFileStream::MockFileStream( in MockFileStream() function in net::testing::MockFileStream
24 MockFileStream::~MockFileStream() = default;
26 int MockFileStream::Seek(int64_t offset, Int64CompletionOnceCallback callback) { in Seek()
28 base::BindOnce(&MockFileStream::DoCallback64, weak_factory_.GetWeakPtr(), in Seek()
35 int MockFileStream::Read(IOBuffer* buf, in Read()
39 base::BindOnce(&MockFileStream::DoCallback, weak_factory_.GetWeakPtr(), in Read()
46 int MockFileStream::Write(IOBuffer* buf, in Write()
50 base::BindOnce(&MockFileStream::DoCallback, weak_factory_.GetWeakPtr(), in Write()
57 int MockFileStream::Flush(CompletionOnceCallback callback) { in Flush()
59 base::BindOnce(&MockFileStream::DoCallback, weak_factory_.GetWeakPtr(), in Flush()
66 void MockFileStream::ThrottleCallbacks() { in ThrottleCallbacks()
71 void MockFileStream::ReleaseCallbacks() { in ReleaseCallbacks()
81 void MockFileStream::DoCallback(CompletionOnceCallback callback, int result) { in DoCallback()
90 void MockFileStream::DoCallback64(Int64CompletionOnceCallback callback, in DoCallback64()
100 int MockFileStream::ErrorCallback(CompletionOnceCallback callback) { in ErrorCallback()
113 int64_t MockFileStream::ErrorCallback64(Int64CompletionOnceCallback callback) { in ErrorCallback64()