Home | History | Annotate | Download | only in filters

Lines Matching defs:protocol_

40       : protocol_(new StrictMock<MockProtocol>()) {
42 EXPECT_CALL(*protocol_.get(), IsStreaming()).WillOnce(Return(true));
43 glue_.reset(new FFmpegGlue(protocol_.get()));
49 // Ensure |glue_| and |protocol_| are still alive.
51 CHECK(protocol_.get());
53 // |protocol_| should outlive |glue_|, so ensure it's destructed first.
59 protocol_.get(), data, size);
63 return glue_->format_context()->pb->seek(protocol_.get(), offset, whence);
68 scoped_ptr< StrictMock<MockProtocol> > protocol_;
80 protocol_.reset(new InMemoryUrlProtocol(
82 glue_.reset(new FFmpegGlue(protocol_.get()));
90 CHECK(protocol_.get());
92 // |glue_| should be destroyed before |protocol_|.
95 // |protocol_| should be destroyed before |data_|.
96 protocol_.reset();
104 scoped_ptr<InMemoryUrlProtocol> protocol_;
123 EXPECT_CALL(*protocol_, Read(0, buffer))
125 EXPECT_CALL(*protocol_, Read(kBufferSize, buffer))
127 EXPECT_CALL(*protocol_, Read(kBufferSize, buffer))
140 EXPECT_CALL(*protocol_, SetPosition(-16))
143 EXPECT_CALL(*protocol_, SetPosition(16))
145 EXPECT_CALL(*protocol_, GetPosition(_))
153 EXPECT_CALL(*protocol_, GetPosition(_))
156 EXPECT_CALL(*protocol_, GetPosition(_))
158 EXPECT_CALL(*protocol_, SetPosition(16))
161 EXPECT_CALL(*protocol_, GetPosition(_))
163 EXPECT_CALL(*protocol_, SetPosition(16))
165 EXPECT_CALL(*protocol_, GetPosition(_))
174 EXPECT_CALL(*protocol_, GetSize(_))
177 EXPECT_CALL(*protocol_, GetSize(_))
179 EXPECT_CALL(*protocol_, SetPosition(8))
182 EXPECT_CALL(*protocol_, GetSize(_))
184 EXPECT_CALL(*protocol_, SetPosition(8))
186 EXPECT_CALL(*protocol_, GetPosition(_))
194 EXPECT_CALL(*protocol_, GetSize(_))
197 EXPECT_CALL(*protocol_, GetSize(_))