Home
last modified time | relevance | path

Searched refs:stream1 (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/
Dstream_pool_test.cc43 StreamPool::Ptr stream1 = pool.BorrowStream(executor.get()); in TEST_F() local
44 se::Stream* stream1_ptr = stream1.get(); in TEST_F()
45 EXPECT_TRUE(stream1->ok()); in TEST_F()
46 stream1 = nullptr; in TEST_F()
64 StreamPool::Ptr stream1 = pool.BorrowStream(executor.get()); in TEST_F() local
65 se::Stream* stream1_ptr = stream1.get(); in TEST_F()
66 EXPECT_TRUE(stream1->ok()); in TEST_F()
76 stream1 = nullptr; in TEST_F()
101 StreamPool::Ptr stream1 = pool.BorrowStream(executor.get()); in TEST_F() local
102 EXPECT_TRUE(stream1->ok()); in TEST_F()
[all …]
/external/webrtc/webrtc/base/
Dlogging_unittest.cc65 LogSinkImpl<StringStream> stream1(&str1), stream2(&str2); in TEST() local
66 LogMessage::AddLogToStream(&stream1, LS_INFO); in TEST()
68 EXPECT_EQ(LS_INFO, LogMessage::GetLogToStream(&stream1)); in TEST()
80 LogMessage::RemoveLogToStream(&stream1); in TEST()
82 EXPECT_EQ(LS_NONE, LogMessage::GetLogToStream(&stream1)); in TEST()
110 LogSinkImpl<NullStream> stream1, stream2, stream3; in TEST() local
112 LogMessage::AddLogToStream(&stream1, LS_INFO); in TEST()
115 LogMessage::RemoveLogToStream(&stream1); in TEST()
/external/adhd/cras/src/tests/
Dtiming_unittest.cc200 StreamPtr stream1 = in TEST_F() local
204 stream1->rstream->next_cb_ts = start; in TEST_F()
205 AddFakeDataToStream(stream1.get(), cb_threshold); in TEST_F()
214 streams.emplace_back(std::move(stream1)); in TEST_F()
236 StreamPtr stream1 = in TEST_F() local
240 stream1->rstream->next_cb_ts = start; in TEST_F()
241 AddFakeDataToStream(stream1.get(), 441); in TEST_F()
249 streams.emplace_back(std::move(stream1)); in TEST_F()
274 StreamPtr stream1 = in TEST_F() local
276 stream1->rstream->next_cb_ts = start; in TEST_F()
[all …]
Diodev_unittest.cc1437 struct dev_stream stream1, stream2; in TEST() local
1447 stream1.stream = &rstream1; in TEST()
1458 cras_iodev_add_stream(&iodev, &stream1); in TEST()
1594 struct dev_stream stream1; in TEST() local
1602 stream1.stream = &rstream1; in TEST()
1628 cras_iodev_add_stream(&iodev, &stream1); in TEST()
2133 struct dev_stream stream1; in TEST() local
2141 stream1.stream = &rstream1; in TEST()
2162 cras_iodev_add_stream(&iodev, &stream1); in TEST()
/external/pdfium/core/fxcrt/
Dcfx_seekablemultistream_unittest.cpp29 auto stream1 = pdfium::MakeUnique<CPDF_Stream>(); in TEST() local
30 streams.push_back(stream1.get()); in TEST()
41 auto stream1 = pdfium::MakeUnique<CPDF_Stream>(); in TEST() local
46 stream1->InitStream(reinterpret_cast<const uint8_t*>("one t"), 5, in TEST()
53 streams.push_back(stream1.get()); in TEST()
/external/grpc-grpc/test/core/transport/
Dbyte_stream_test.cc211 ByteStreamCache::CachingByteStream stream1(&cache); in TEST() local
217 EXPECT_TRUE(stream1.Next(~(size_t)0, &closure)); in TEST()
219 grpc_error* error = stream1.Pull(&output); in TEST()
232 EXPECT_TRUE(stream1.Next(~(size_t)0, &closure)); in TEST()
233 error = stream1.Pull(&output); in TEST()
238 stream1.Orphan(); in TEST()
/external/skia/src/compute/hs/cuda/bench/
Dmain.c60 cudaStream_t stream1,
254 cudaStream_t stream1, in hs_bench() argument
371 cuda(StreamWaitEvent(stream1,start,0)); in hs_bench()
381 stream1, in hs_bench()
515 cudaStream_t stream0,stream1,stream2; in main() local
518 cuda(StreamCreate(&stream1)); in main()
579 stream1, in main()
598 cuda(StreamDestroy(stream1)); in main()
/external/skqp/src/compute/hs/cuda/bench/
Dmain.c60 cudaStream_t stream1,
254 cudaStream_t stream1, in hs_bench() argument
371 cuda(StreamWaitEvent(stream1,start,0)); in hs_bench()
381 stream1, in hs_bench()
515 cudaStream_t stream0,stream1,stream2; in main() local
518 cuda(StreamCreate(&stream1)); in main()
579 stream1, in main()
598 cuda(StreamDestroy(stream1)); in main()
/external/webrtc/talk/media/base/
Drtpdataengine_unittest.cc207 cricket::StreamParams stream1; in TEST_F() local
208 stream1.add_ssrc(41); in TEST_F()
209 EXPECT_TRUE(dmc->AddSendStream(stream1)); in TEST_F()
222 cricket::StreamParams stream1; in TEST_F() local
223 stream1.add_ssrc(41); in TEST_F()
224 EXPECT_TRUE(dmc->AddRecvStream(stream1)); in TEST_F()
324 cricket::StreamParams stream1; in TEST_F() local
325 stream1.add_ssrc(41); in TEST_F()
326 ASSERT_TRUE(dmc1->AddSendStream(stream1)); in TEST_F()
Dstreamparams_unittest.cc261 cricket::StreamParams stream1 = in TEST() local
265 stream1.add_ssrc(25); in TEST()
266 EXPECT_FALSE(cricket::IsSimulcastStream(stream1)); in TEST()
/external/pdfium/core/fxge/
Dcfx_font.cpp62 auto stream1 = pdfium::MakeUnique<FXFT_StreamRec>(); in LoadFileImp() local
63 stream1->base = nullptr; in LoadFileImp()
64 stream1->size = static_cast<unsigned long>(pFile->GetSize()); in LoadFileImp()
65 stream1->pos = 0; in LoadFileImp()
66 stream1->descriptor.pointer = static_cast<void*>(pFile.Get()); in LoadFileImp()
67 stream1->close = FTStreamClose; in LoadFileImp()
68 stream1->read = FTStreamRead; in LoadFileImp()
71 args.stream = stream1.get(); in LoadFileImp()
75 *stream = std::move(stream1); in LoadFileImp()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpClientTransportTest.java276 OkHttpClientStream stream1 = in nextFrameThrowIoException() local
278 stream1.start(listener1); in nextFrameThrowIoException()
279 stream1.request(1); in nextFrameThrowIoException()
585 OkHttpClientStream stream1 = in windowUpdate() local
587 stream1.start(listener1); in windowUpdate()
588 stream1.request(2); in windowUpdate()
595 stream1 = getStream(3); in windowUpdate()
633 stream1.cancel(Status.CANCELLED); in windowUpdate()
802 OkHttpClientStream stream1 = in stopNormally() local
804 stream1.start(listener1); in stopNormally()
[all …]
/external/webrtc/talk/session/media/
Dchannel_unittest.cc612 cricket::StreamParams stream1; in TestUpdateStreamsInLocalContent() local
613 stream1.groupid = "group1"; in TestUpdateStreamsInLocalContent()
614 stream1.id = "stream1"; in TestUpdateStreamsInLocalContent()
615 stream1.ssrcs.push_back(kSsrc1); in TestUpdateStreamsInLocalContent()
616 stream1.cname = "stream1_cname"; in TestUpdateStreamsInLocalContent()
633 content1.AddStream(stream1); in TestUpdateStreamsInLocalContent()
638 EXPECT_EQ(stream1, media_channel1_->send_streams()[0]); in TestUpdateStreamsInLocalContent()
648 EXPECT_EQ(stream1, media_channel1_->send_streams()[0]); in TestUpdateStreamsInLocalContent()
655 stream1.ssrcs.clear(); in TestUpdateStreamsInLocalContent()
656 content3.AddStream(stream1); in TestUpdateStreamsInLocalContent()
[all …]
/external/skqp/tests/
DStreamTest.cpp485 SkFILEStream stream1(filename.c_str()); in DEF_TEST() local
486 if (!stream1.isValid()) { in DEF_TEST()
490 REPORTER_ASSERT(r, stream1.hasLength()); in DEF_TEST()
491 REPORTER_ASSERT(r, stream1.hasPosition()); in DEF_TEST()
496 const size_t size = stream1.getLength(); in DEF_TEST()
498 if (!stream1.seek(middle)) { in DEF_TEST()
502 REPORTER_ASSERT(r, stream1.getPosition() == middle); in DEF_TEST()
518 REPORTER_ASSERT(r, stream1.read(expected.get(), remaining) == remaining); in DEF_TEST()
/external/skia/tests/
DStreamTest.cpp485 SkFILEStream stream1(filename.c_str()); in DEF_TEST() local
486 if (!stream1.isValid()) { in DEF_TEST()
490 REPORTER_ASSERT(r, stream1.hasLength()); in DEF_TEST()
491 REPORTER_ASSERT(r, stream1.hasPosition()); in DEF_TEST()
496 const size_t size = stream1.getLength(); in DEF_TEST()
498 if (!stream1.seek(middle)) { in DEF_TEST()
502 REPORTER_ASSERT(r, stream1.getPosition() == middle); in DEF_TEST()
518 REPORTER_ASSERT(r, stream1.read(expected.get(), remaining) == remaining); in DEF_TEST()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_event_mgr_test.cc190 std::unique_ptr<se::Stream> stream1(new se::Stream(stream_exec)); in TEST() local
192 stream1->Init(); in TEST()
196 em.ThenDeleteTensors(stream1.get(), v1); in TEST()
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
DCronetClientTransportTest.java92 CronetClientStream stream1 = in shutdownTransport() local
105 stream1.start(mock(ClientStreamListener.class)); in shutdownTransport()
/external/webrtc/talk/app/webrtc/
Dwebrtcsessiondescriptionfactory.cc50 static bool CompareStream(const MediaSessionOptions::Stream& stream1, in CompareStream() argument
52 return stream1.id < stream2.id; in CompareStream()
55 static bool SameId(const MediaSessionOptions::Stream& stream1, in SameId() argument
57 return stream1.id == stream2.id; in SameId()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dtransfer_manager_test.cc288 auto stream1 = stream_; in XLA_TEST_F() local
295 ASSERT_IS_OK(transfer_manager_->TransferLiteralToDevice(stream1, literal1, in XLA_TEST_F()
301 transfer_manager_->TransferLiteralFromDevice(stream1, device_buffer1)); in XLA_TEST_F()
/external/skqp/src/compute/hs/cuda/sm_35/u64/
Dhs_cuda.h61 cudaStream_t stream1, // auxilary streams
/external/skqp/src/compute/hs/cuda/sm_35/u32/
Dhs_cuda.h61 cudaStream_t stream1, // auxilary streams
/external/skia/src/compute/hs/cuda/sm_35/u64/
Dhs_cuda.h61 cudaStream_t stream1, // auxilary streams
/external/skia/src/compute/hs/cuda/sm_35/u32/
Dhs_cuda.h61 cudaStream_t stream1, // auxilary streams
/external/pdfium/core/fpdfapi/parser/
Dcpdf_object_unittest.cpp148 const CPDF_Stream* stream1 = obj1->AsStream(); in Equal() local
150 if (!stream1->GetDict() && !stream2->GetDict()) in Equal()
153 if (!Equal(stream1->GetDict(), stream2->GetDict())) in Equal()
156 if (stream1->GetRawSize() != stream2->GetRawSize()) in Equal()
161 if (!stream1->IsMemoryBased() || !stream2->IsMemoryBased()) in Equal()
163 return memcmp(stream1->GetRawData(), stream2->GetRawData(), in Equal()
164 stream1->GetRawSize()) == 0; in Equal()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttp2ConnectionTest.java190 FramedStream stream1 = connection.newStream(headerEntries("a", "android"), true, true);
193 BufferedSink sink1 = Okio.buffer(stream1.getSink());
211 assertTrue(stream1.isOpen());

12