Home
last modified time | relevance | path

Searched refs:stream2 (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/third_party/webrtc/base/
Dlogging_unittest.cc49 StringStream stream1(str1), stream2(str2); in TEST() local
51 LogMessage::AddLogToStream(&stream2, LS_VERBOSE); in TEST()
53 EXPECT_EQ(LS_VERBOSE, LogMessage::GetLogToStream(&stream2)); in TEST()
63 LogMessage::RemoveLogToStream(&stream2); in TEST()
65 EXPECT_EQ(LogMessage::NO_LOGGING, LogMessage::GetLogToStream(&stream2)); in TEST()
94 NullStream stream1, stream2, stream3; in TEST() local
97 LogMessage::AddLogToStream(&stream2, LS_VERBOSE); in TEST()
100 LogMessage::RemoveLogToStream(&stream2); in TEST()
/external/chromium_org/net/quic/
Dquic_session_test.cc282 TestStream* stream2 = session_.CreateOutgoingDataStream(); in TEST_P() local
283 EXPECT_EQ(2u, stream2->id()); in TEST_P()
299 QuicDataStream* stream2 = session_.GetIncomingDataStream(stream_id2); in TEST_P() local
300 QuicDataStreamPeer::SetHeadersDecompressed(stream2, true); in TEST_P()
340 TestStream* stream2 = session_.CreateOutgoingDataStream(); in TEST_P() local
342 stream2->Reset(QUIC_BAD_APPLICATION_PAYLOAD); in TEST_P()
355 TestStream* stream2 = session_.CreateOutgoingDataStream(); in TEST_P() local
356 EXPECT_NE(kDifferentPriority, stream2->EffectivePriority()); in TEST_P()
366 TestStream* stream2 = session_.CreateOutgoingDataStream(); in TEST_P() local
370 session_.MarkWriteBlocked(stream2->id(), kSomeMiddlePriority); in TEST_P()
[all …]
Dquic_stream_factory_test.cc414 scoped_ptr<QuicHttpStream> stream2 = request2.ReleaseStream(); in TEST_P() local
415 EXPECT_TRUE(stream2.get()); in TEST_P()
467 scoped_ptr<QuicHttpStream> stream2 = request2.ReleaseStream(); in TEST_P() local
468 EXPECT_TRUE(stream2.get()); in TEST_P()
519 scoped_ptr<QuicHttpStream> stream2 = request2.ReleaseStream(); in TEST_P() local
520 EXPECT_TRUE(stream2.get()); in TEST_P()
599 scoped_ptr<QuicHttpStream> stream2 = request2.ReleaseStream(); in TEST_P() local
600 EXPECT_TRUE(stream2.get()); in TEST_P()
666 scoped_ptr<QuicHttpStream> stream2 = request2.ReleaseStream(); in TEST_P() local
667 EXPECT_TRUE(stream2.get()); in TEST_P()
[all …]
/external/chromium_org/content/browser/streams/
Dstream_unittest.cc201 scoped_refptr<Stream> stream2 = registry_->GetStream(url); in TEST_F() local
202 ASSERT_EQ(stream1, stream2); in TEST_F()
213 scoped_refptr<Stream> stream2 = registry_->GetStream(url2); in TEST_F() local
214 ASSERT_FALSE(stream2.get()); in TEST_F()
226 scoped_refptr<Stream> stream2 = registry_->GetStream(url2); in TEST_F() local
227 ASSERT_EQ(stream1, stream2); in TEST_F()
240 scoped_refptr<Stream> stream2 = registry_->GetStream(url2); in TEST_F() local
241 ASSERT_FALSE(stream2.get()); in TEST_F()
252 scoped_refptr<Stream> stream2 = registry_->GetStream(url); in TEST_F() local
253 ASSERT_FALSE(stream2.get()); in TEST_F()
[all …]
/external/skia/tests/
DStreamTest.cpp61 SkAutoTUnref<SkStreamAsset> stream2(stream.duplicate()); in test_filestreams() local
62 test_loop_stream(reporter, stream2.get(), s, 26, 100); in test_filestreams()
71 SkAutoTUnref<SkStreamAsset> stream2(stream.duplicate()); in test_filestreams() local
72 test_loop_stream(reporter, stream2.get(), s, 26, 100); in test_filestreams()
99 SkAutoTUnref<SkStreamAsset> stream2(stream->duplicate()); in TestWStream() local
100 test_loop_stream(reporter, stream2.get(), s, 26, 100); in TestWStream()
128 SkAutoTUnref<SkStreamAsset> stream2(stream->duplicate()); in TestWStream() local
129 test_loop_stream(reporter, stream2.get(), s, 26, 100); in TestWStream()
/external/chromium_org/third_party/skia/tests/
DStreamTest.cpp61 SkAutoTUnref<SkStreamAsset> stream2(stream.duplicate()); in test_filestreams() local
62 test_loop_stream(reporter, stream2.get(), s, 26, 100); in test_filestreams()
71 SkAutoTUnref<SkStreamAsset> stream2(stream.duplicate()); in test_filestreams() local
72 test_loop_stream(reporter, stream2.get(), s, 26, 100); in test_filestreams()
99 SkAutoTUnref<SkStreamAsset> stream2(stream->duplicate()); in TestWStream() local
100 test_loop_stream(reporter, stream2.get(), s, 26, 100); in TestWStream()
128 SkAutoTUnref<SkStreamAsset> stream2(stream->duplicate()); in TestWStream() local
129 test_loop_stream(reporter, stream2.get(), s, 26, 100); in TestWStream()
/external/chromium_org/media/audio/
Daudio_output_proxy_unittest.cc339 MockAudioOutputStream stream2(&manager_, params_); in TwoStreams_BothPlaying() local
343 .WillOnce(Return(&stream2)); in TwoStreams_BothPlaying()
350 EXPECT_CALL(stream2, Open()) in TwoStreams_BothPlaying()
352 EXPECT_CALL(stream2, SetVolume(_)) in TwoStreams_BothPlaying()
367 CloseAndWaitForCloseTimer(proxy2, &stream2); in TwoStreams_BothPlaying()
371 EXPECT_TRUE(stream2.stop_called()); in TwoStreams_BothPlaying()
372 EXPECT_TRUE(stream2.start_called()); in TwoStreams_BothPlaying()
628 MockAudioOutputStream stream2(&manager_, params_); in TEST_F() local
633 .WillOnce(Return(&stream2)) in TEST_F()
643 EXPECT_CALL(stream2, Open()) in TEST_F()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/session/media/
Dbundlefilter_unittest.cc121 StreamParams stream2; in TEST() local
122 stream2.ssrcs.push_back(kSsrc2); in TEST()
123 stream2.ssrcs.push_back(kSsrc3); in TEST()
124 EXPECT_TRUE(bundle_filter.AddStream(stream2)); in TEST()
Dchannel_unittest.cc707 cricket::StreamParams stream2; in TestUpdateStreamsInLocalContent() local
708 stream2.groupid = "group2"; in TestUpdateStreamsInLocalContent()
709 stream2.id = "stream2"; in TestUpdateStreamsInLocalContent()
710 stream2.ssrcs.push_back(kSsrc2); in TestUpdateStreamsInLocalContent()
711 stream2.cname = "stream2_cname"; in TestUpdateStreamsInLocalContent()
732 content2.AddStream(stream2); in TestUpdateStreamsInLocalContent()
738 EXPECT_EQ(stream2, media_channel1_->send_streams()[1]); in TestUpdateStreamsInLocalContent()
749 EXPECT_EQ(stream2, media_channel1_->send_streams()[0]); in TestUpdateStreamsInLocalContent()
755 content4.AddStream(stream2); in TestUpdateStreamsInLocalContent()
759 EXPECT_EQ(stream2, media_channel1_->send_streams()[0]); in TestUpdateStreamsInLocalContent()
[all …]
Dmediamessages_unittest.cc96 const std::string& stream2) { in StreamsXml() argument
99 + stream2 + in StreamsXml()
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcpassthroughrender_unittest.cc104 webrtc::VideoRenderCallback* stream2 = NULL; in TEST_F() local
109 stream2 = AddIncomingRenderStream(stream_id2); in TEST_F()
110 EXPECT_TRUE(stream2 != NULL); in TEST_F()
144 stream2->RenderFrame(stream_id2, frame); in TEST_F()
/external/chromium_org/net/spdy/
Dspdy_write_queue_unittest.cc157 scoped_ptr<SpdyStream> stream2(MakeTestStream(DEFAULT_PRIORITY)); in TEST_F() local
163 stream2->GetWeakPtr()); in TEST_F()
178 EXPECT_EQ(stream2, stream.get()); in TEST_F()
195 scoped_ptr<SpdyStream> stream2(MakeTestStream(DEFAULT_PRIORITY)); in TEST_F() local
199 (((i % 3) == 0) ? stream1 : stream2)->GetWeakPtr(); in TEST_F()
203 write_queue.RemovePendingWritesForStream(stream2->GetWeakPtr()); in TEST_F()
230 scoped_ptr<SpdyStream> stream2(MakeTestStream(DEFAULT_PRIORITY)); in TEST_F() local
231 stream2->set_stream_id(3); in TEST_F()
237 stream1->GetWeakPtr(), stream2->GetWeakPtr(), in TEST_F()
Dspdy_session_unittest.cc1050 base::WeakPtr<SpdyStream> stream2 = CreateStreamSynchronously( in TEST_P() local
1052 test::StreamDelegateDoNothing delegate2(stream2); in TEST_P()
1053 stream2->SetDelegate(&delegate2); in TEST_P()
1088 stream2->SendRequestHeaders( in TEST_P()
1095 EXPECT_EQ(kLastStreamId, stream2->stream_id()); in TEST_P()
2582 base::WeakPtr<SpdyStream> stream2 = request2.ReleaseStream(); in TEST_P() local
2583 test::StreamDelegateDoNothing delegate2(stream2); in TEST_P()
2584 stream2->SetDelegate(&delegate2); in TEST_P()
2587 stream2->SendRequestHeaders(headers2.Pass(), NO_MORE_DATA_TO_SEND); in TEST_P()
2588 EXPECT_TRUE(stream2->HasUrlFromHeaders()); in TEST_P()
[all …]
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Drtpdataengine_unittest.cc211 cricket::StreamParams stream2; in TEST_F() local
212 stream2.add_ssrc(42); in TEST_F()
213 EXPECT_TRUE(dmc->AddSendStream(stream2)); in TEST_F()
226 cricket::StreamParams stream2; in TEST_F() local
227 stream2.add_ssrc(42); in TEST_F()
228 EXPECT_TRUE(dmc->AddRecvStream(stream2)); in TEST_F()
229 EXPECT_FALSE(dmc->AddRecvStream(stream2)); in TEST_F()
328 cricket::StreamParams stream2; in TEST_F() local
329 stream2.add_ssrc(42); in TEST_F()
330 ASSERT_TRUE(dmc2->AddSendStream(stream2)); in TEST_F()
Dstreamparams_unittest.cc266 cricket::StreamParams stream2; in TEST() local
267 stream2.add_ssrc(13); in TEST()
268 EXPECT_TRUE(stream2.AddFidSsrc(13, 14)); in TEST()
269 std::remove(stream2.ssrcs.begin(), stream2.ssrcs.end(), 13); in TEST()
270 EXPECT_FALSE(cricket::IsSimulcastStream(stream2)); in TEST()
/external/qemu/distrib/sdl-1.2.15/src/audio/arts/
DSDL_artsaudio.c155 arts_stream_t stream2; in Audio_Available() local
156 stream2=SDL_NAME(arts_play_stream)(44100, 16, 2, "SDL"); in Audio_Available()
157 SDL_NAME(arts_write)(stream2, "", 0); in Audio_Available()
158 SDL_NAME(arts_close_stream)(stream2); in Audio_Available()
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
DCipherOutputStreamTest.java136 CipherOutputStream stream2 = new CipherOutputStream(stream1, cf); in testWrite5() local
137 CipherOutputStream stream3 = new CipherOutputStream(stream2, nc); in testWrite5()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dwebrtcsessiondescriptionfactory.cc50 const MediaSessionOptions::Stream& stream2) { in CompareStream() argument
51 return stream1.id < stream2.id; in CompareStream()
55 const MediaSessionOptions::Stream& stream2) { in SameId() argument
56 return stream1.id == stream2.id; in SameId()
/external/chromium_org/chrome/renderer/extensions/
Dcast_streaming_native_handler.cc220 scoped_ptr<CastRtpStream> stream1, stream2; in CreateCastSession() local
241 stream2.reset(new CastRtpStream(track.component(), session)); in CreateCastSession()
256 base::Passed(&stream2), in CreateCastSession()
262 scoped_ptr<CastRtpStream> stream2, in CallCreateCallback() argument
278 if (stream2) { in CallCreateCallback()
282 linked_ptr<CastRtpStream>(stream2.release()); in CallCreateCallback()
Dcast_streaming_native_handler.h63 scoped_ptr<CastRtpStream> stream2,
/external/freetype/src/base/
Dftrfork.c775 FT_Stream stream2; in raccess_guess_linux_double_from_file_name() local
782 error = FT_Stream_New( library, &args2, &stream2 ); in raccess_guess_linux_double_from_file_name()
786 error = raccess_guess_apple_double( library, stream2, file_name, in raccess_guess_linux_double_from_file_name()
789 FT_Stream_Free( stream2, 0 ); in raccess_guess_linux_double_from_file_name()
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
Dftrfork.c757 FT_Stream stream2; in raccess_guess_linux_double_from_file_name() local
764 error = FT_Stream_New( library, &args2, &stream2 ); in raccess_guess_linux_double_from_file_name()
768 error = raccess_guess_apple_double( library, stream2, file_name, in raccess_guess_linux_double_from_file_name()
771 FT_Stream_Free( stream2, 0 ); in raccess_guess_linux_double_from_file_name()
/external/chromium_org/third_party/freetype/src/base/
Dftrfork.c757 FT_Stream stream2; in raccess_guess_linux_double_from_file_name() local
764 error = FT_Stream_New( library, &args2, &stream2 ); in raccess_guess_linux_double_from_file_name()
768 error = raccess_guess_apple_double( library, stream2, file_name, in raccess_guess_linux_double_from_file_name()
771 FT_Stream_Free( stream2, 0 ); in raccess_guess_linux_double_from_file_name()
/external/chromium_org/content/browser/media/capture/
Daudio_mirroring_manager_unittest.cc430 MockDiverter* const stream2 = in TEST_F() local
440 KillStream(stream2); in TEST_F()
/external/chromium_org/net/base/
Dfile_stream_unittest.cc774 scoped_ptr<FileStream> stream2(new FileStream(pool.get())); in TEST_F() local
776 rv = stream2->Open(temp_file_path(), flags, open_callback2.callback()); in TEST_F()
778 stream2.reset(); in TEST_F()

12