/external/chromium_org/net/websockets/ |
websocket_basic_stream_test.cc | 272 int result = stream_->ReadFrames(&frames_, cb_.callback()); 281 int result = stream_->ReadFrames(&frames_, cb_.callback()); 290 // ReadFrames will not return a frame whose header has not been wholly received. 294 int result = stream_->ReadFrames(&frames_, cb_.callback()); 304 int result = stream_->ReadFrames(&frames_, cb_.callback()); 312 // for the rest of the frame, ReadFrames will return ERR_IO_PENDING. 317 int result = stream_->ReadFrames(&frames_, cb_.callback()); 331 EXPECT_EQ(ERR_IO_PENDING, stream_->ReadFrames(&frames_, cb_.callback())); 338 EXPECT_EQ(OK, stream_->ReadFrames(&frames_, cb_.callback())); 350 EXPECT_EQ(OK, stream_->ReadFrames(&frames_, cb_.callback())) [all...] |
websocket_stream.h | 97 // This function should not be called while the previous call of ReadFrames() 107 // the WebSocketFrameHeader object can be filled. If ReadFrames() is freshly 119 // ReadFrames may discard the incomplete frame. Since the renderer will 123 // Implementations of ReadFrames() must be able to handle being deleted during 128 virtual int ReadFrames(ScopedVector<WebSocketFrame>* frames,
|
websocket_deflate_stream_test.cc | 97 MOCK_METHOD2(ReadFrames, int(ScopedVector<WebSocketFrame>*, 255 // ReadFrameStub is a stub for WebSocketStream::ReadFrames. 323 EXPECT_CALL(*mock_stream_, ReadFrames(&frames, _)) 326 EXPECT_EQ(ERR_FAILED, deflate_stream_->ReadFrames(&frames, callback)); 340 EXPECT_CALL(*mock_stream_, ReadFrames(&frames, _)) 344 ASSERT_EQ(OK, deflate_stream_->ReadFrames(&frames, callback)); 361 EXPECT_CALL(*mock_stream_, ReadFrames(&frames, _)) 366 ASSERT_EQ(ERR_IO_PENDING, deflate_stream_->ReadFrames(&frames, callback)); 392 EXPECT_CALL(*mock_stream_, ReadFrames(&frames, _)) 397 ASSERT_EQ(ERR_IO_PENDING, deflate_stream_->ReadFrames(&frames, callback)) [all...] |
websocket_deflate_stream.h | 29 // WebSocketDeflateStream::ReadFrames and WriteFrames may change frame 48 virtual int ReadFrames(ScopedVector<WebSocketFrame>* frames,
|
websocket_basic_stream.h | 46 virtual int ReadFrames(ScopedVector<WebSocketFrame>* frames, 121 // call to ReadFrames() pending, so there is no benefit in trying to share 143 // ReadFrames(). The type is GrowableIOBuffer for compatibility with
|
websocket_channel_test.cc | 187 virtual int ReadFrames(ScopedVector<WebSocketFrame>* frames, 290 // A GoogleMock action which can be used to respond to call to ReadFrames with 291 // some frames. Use like ReadFrames(_, _).WillOnce(ReturnFrames(&frames)); 394 // A FakeWebSocketStream whose ReadFrames() function returns data. 412 // Prepares a fake response. Fake responses will be returned from ReadFrames() 414 // PrepareReadFramesError(). If |async| is ASYNC, then ReadFrames() will 418 // returned directly from ReadFrames() in the synchronous case, or passed to 421 // ReadFrames(). 443 virtual int ReadFrames(ScopedVector<WebSocketFrame>* frames, 489 // True when an async response from ReadFrames() is pending. This only applie [all...] |
websocket_deflate_stream.cc | 55 int WebSocketDeflateStream::ReadFrames(ScopedVector<WebSocketFrame>* frames, 62 int result = stream_->ReadFrames(frames, callback_to_pass); 360 result = stream_->ReadFrames(frames, callback);
|
websocket_channel.cc | 311 AllowUnused(ReadFrames()); 384 ChannelState WebSocketChannel::ReadFrames() { 390 result = stream_->ReadFrames( 410 // ReadFrames() must use ERR_CONNECTION_CLOSED for a closed connection 413 << "ReadFrames() returned OK, but nothing was read."; 421 // There should always be a call to ReadFrames pending. 425 return ReadFrames(); 435 << "ReadFrames() should only return OK or ERR_ codes"; 521 // TODO(ricea): Handle the case when ReadFrames returns far
|
websocket_channel.h | 171 // Calls WebSocketStream::ReadFrames() with the appropriate arguments. 172 ChannelState ReadFrames() WARN_UNUSED_RESULT; 174 // Callback from WebSocketStream::ReadFrames. Handles any errors and processes 177 // within the ReadFrames() loop and does not need to call ReadFrames() itself. 256 // Destination for the current call to WebSocketStream::ReadFrames
|
websocket_basic_stream.cc | 89 int WebSocketBasicStream::ReadFrames(ScopedVector<WebSocketFrame>* frames, 117 // destructor. The caller of ReadFrames() is required to keep |frames| 410 result = ReadFrames(frames, callback);
|
/external/chromium_org/media/base/ |
audio_buffer_unittest.cc | 74 buffer->ReadFrames(frames, 0, 0, bus.get()); 93 buffer->ReadFrames(6, 0, 0, bus.get()); 100 buffer->ReadFrames(1, i, i, bus.get()); 118 buffer->ReadFrames(frames, 0, 0, bus.get()); 124 buffer->ReadFrames(2, 3, 0, bus.get()); 140 buffer->ReadFrames(10, 0, 0, bus.get()); 146 buffer->ReadFrames(10, 10, 0, bus.get()); 163 buffer->ReadFrames(6, 0, 0, bus.get()); 170 buffer->ReadFrames(1, frames - i - 1, i, bus.get()); 177 buffer->ReadFrames(0, 0, 0, bus.get()) [all...] |
audio_buffer_queue_unittest.cc | 78 // Append 40 frames in 5 buffers. Intersperse ReadFrames() to make the 84 EXPECT_EQ(4, buffer.ReadFrames(4, 0, bus.get())); 96 EXPECT_EQ(4, buffer.ReadFrames(4, 0, bus.get())); 107 EXPECT_EQ(4, buffer.ReadFrames(4, 0, bus.get())); 113 EXPECT_EQ(4, buffer.ReadFrames(100, 0, bus.get())); 157 EXPECT_EQ(3, buffer.ReadFrames(3, 0, bus.get())); 163 EXPECT_EQ(5, buffer.ReadFrames(5, 3, bus.get())); 173 EXPECT_EQ(2, buffer.ReadFrames(2, 0, bus.get())); 193 EXPECT_EQ(4, buffer.ReadFrames(4, 0, bus.get())); 217 EXPECT_EQ(6, buffer.ReadFrames(6, 0, bus.get())) [all...] |
audio_buffer_queue.h | 41 int ReadFrames(int frames, int dest_frame_offset, AudioBus* dest); 71 // An internal method shared by ReadFrames() and SeekFrames() that actually
|
audio_buffer_queue.cc | 43 int AudioBufferQueue::ReadFrames(int frames, 102 buffer->ReadFrames(
|
audio_buffer.h | 68 void ReadFrames(int frames_to_copy,
|
audio_buffer.cc | 141 void AudioBuffer::ReadFrames(int frames_to_copy,
|
audio_splicer_unittest.cc | 49 buffer->ReadFrames(frames, 0, 0, bus.get());
|
/external/chromium_org/media/filters/ |
audio_renderer_algorithm.cc | 187 const int frames_read = audio_buffer_.ReadFrames(frames_to_copy, 0, dest);
|