Home
last modified time | relevance | path

Searched refs:sink_ (Results 1 – 25 of 56) sorted by relevance

123

/external/libchrome/mojo/public/cpp/bindings/lib/
Dfilter_chain.cc13 FilterChain::FilterChain(MessageReceiver* sink) : sink_(sink) { in FilterChain()
16 FilterChain::FilterChain(FilterChain&& other) : sink_(other.sink_) { in FilterChain()
17 other.sink_ = nullptr; in FilterChain()
22 std::swap(sink_, other.sink_); in operator =()
31 DCHECK(!sink_); in SetSink()
32 sink_ = sink; in SetSink()
36 DCHECK(sink_); in Accept()
40 return sink_->Accept(message); in Accept()
/external/webrtc/pc/
Dsctp_data_channel_transport.cc75 sink_ = sink; in SetDataSink()
76 if (sink_ && ready_to_send_) { in SetDataSink()
77 sink_->OnReadyToSend(); in SetDataSink()
87 if (sink_) { in OnReadyToSendData()
88 sink_->OnReadyToSend(); in OnReadyToSendData()
95 if (sink_) { in OnDataReceived()
96 sink_->OnDataReceived(params.sid, ToWebrtcDataMessageType(params.type), in OnDataReceived()
103 if (sink_) { in OnClosingProcedureStartedRemotely()
104 sink_->OnChannelClosing(channel_id); in OnClosingProcedureStartedRemotely()
109 if (sink_) { in OnClosingProcedureComplete()
[all …]
Drtp_sender.cc381 LocalAudioSinkAdapter::LocalAudioSinkAdapter() : sink_(nullptr) {} in LocalAudioSinkAdapter()
385 if (sink_) in ~LocalAudioSinkAdapter()
386 sink_->OnClose(); in ~LocalAudioSinkAdapter()
397 if (sink_) { in OnData()
398 sink_->OnData(audio_data, bits_per_sample, sample_rate, number_of_channels, in OnData()
405 RTC_DCHECK(!sink || !sink_); in SetSink()
406 sink_ = sink; in SetSink()
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/
Dsink.h247 Sink(const upb_sink& sink) : sink_(sink) {} in Sink()
249 sink_ = sink;
253 upb_sink sink() { return sink_; } in sink()
263 upb_sink* ptr() { return &sink_; } in ptr()
267 upb_sink_reset(&sink_, handlers, closure); in Reset()
275 return static_cast<T*>(sink_.closure); in GetObject()
294 bool StartMessage() { return upb_sink_startmsg(sink_); } in StartMessage()
296 return upb_sink_endmsg(sink_, status); in EndMessage()
303 return upb_sink_putint32(sink_, s, val); in PutInt32()
307 return upb_sink_putint64(sink_, s, val); in PutInt64()
[all …]
/external/webrtc/test/
Dframe_forwarder.cc17 FrameForwarder::FrameForwarder() : sink_(nullptr) {} in FrameForwarder()
22 if (sink_) in IncomingCapturedFrame()
23 sink_->OnFrame(video_frame); in IncomingCapturedFrame()
35 RTC_DCHECK(!sink_ || sink_ == sink); in AddOrUpdateSinkLocked()
36 sink_ = sink; in AddOrUpdateSinkLocked()
42 RTC_DCHECK_EQ(sink, sink_); in RemoveSink()
43 sink_ = nullptr; in RemoveSink()
57 return sink_ != nullptr; in has_sinks()
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dinterface_stub_declaration.tmpl20 void set_sink(ImplPointerType sink) { sink_ = std::move(sink); }
21 ImplPointerType& sink() { return sink_; }
24 if (ImplRefTraits::IsNull(sink_))
27 ImplRefTraits::GetRawPointer(&sink_), message);
33 if (ImplRefTraits::IsNull(sink_))
36 ImplRefTraits::GetRawPointer(&sink_), message, std::move(responder));
40 ImplPointerType sink_;
/external/tensorflow/tensorflow/lite/delegates/gpu/common/memory_management/
Dmin_cost_flow_assignment.cc42 sink_ = source_ + 1; in Build()
43 edges_from_.resize(sink_ + 1); in Build()
56 AddEdge(RightPartTwin(i), sink_, 1, 0); in Build()
83 std::vector<size_t> prev_edge(sink_ + 1); in Solve()
86 std::vector<size_t> last_it_in_queue(sink_ + 1); in Solve()
87 std::vector<size_t> dist(sink_ + 1, kInf); in Solve()
118 if (dist[sink_] == kInf) break; in Solve()
122 for (size_t v = sink_; v != source_;) { in Solve()
202 size_t sink_; member in tflite::gpu::__anon59e2908c0111::MinCostFlowSolver
/external/webrtc/test/scenario/
Dvideo_frame_matcher.cc150 RTC_CHECK(sink_); in OnFrame()
152 sink_->OnFrame(frame); in OnFrame()
155 RTC_CHECK(sink_); in OnDiscardedFrame()
157 sink_->OnDiscardedFrame(); in OnDiscardedFrame()
163 if (!sink_) in AddOrUpdateSink()
164 sink_ = sink; in AddOrUpdateSink()
165 RTC_DCHECK_EQ(sink_, sink); in AddOrUpdateSink()
171 sink_ = nullptr; in RemoveSink()
/external/webrtc/rtc_base/
Dwin32_socket_server.cc214 sink_(nullptr), in Win32Socket()
254 if (sink_) in SetTimeout()
255 ::SetTimer(sink_->handle(), 1, ms, 0); in SetTimeout()
313 if (!sink_) { in Connect()
319 dns->handle = WSAAsyncGetHostByName(sink_->handle(), WM_DNSNOTIFY, in Connect()
493 if (sink_) { in Close()
494 sink_->Dispose(); in Close()
495 sink_ = nullptr; in Close()
503 RTC_DCHECK(nullptr == sink_); in CreateSink()
506 sink_ = new EventSink(this); in CreateSink()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/
Dtest_util.h63 return sink_.Start(len_, &subc_); in Start()
70 end_ok_ = sink_.End(); in End()
133 int parsed = (int)sink_.PutBuffer(subc_, buf2, bytes, &global_handle); in ParseBuffer()
168 sink_ = sink; in ResetBytesSink()
181 upb::BytesSink sink_; variable
/external/webrtc/video/
Dvideo_source_sink_controller.cc42 : sink_(sink), source_(source) { in VideoSourceSinkController()
43 RTC_DCHECK(sink_); in VideoSourceSinkController()
57 old_source->RemoveSink(sink_); in SetSource()
60 source->AddOrUpdateSink(sink_, wants); in SetSource()
69 source_->AddOrUpdateSink(sink_, wants); in PushSourceSinkSettings()
/external/openscreen/third_party/abseil/src/absl/strings/internal/str_format/
Dbind.cc138 explicit DefaultConverter(FormatSinkImpl* sink) : sink_(sink) {} in DefaultConverter()
140 void Append(string_view s) const { sink_->Append(s); } in Append()
143 return FormatArgImplFriend::Convert(*bound.arg(), bound, sink_); in ConvertOne()
147 FormatSinkImpl* sink_; member in absl::str_format_internal::__anon6ae46cdf0111::DefaultConverter
152 explicit SummarizingConverter(FormatSinkImpl* sink) : sink_(sink) {} in SummarizingConverter()
154 void Append(string_view s) const { sink_->Append(s); } in Append()
170 FormatSinkImpl* sink_; member in absl::str_format_internal::__anon6ae46cdf0111::SummarizingConverter
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/str_format/
Dbind.cc124 explicit DefaultConverter(FormatSinkImpl* sink) : sink_(sink) {} in DefaultConverter()
126 void Append(string_view s) const { sink_->Append(s); } in Append()
129 return FormatArgImplFriend::Convert(*bound.arg(), bound, sink_); in ConvertOne()
133 FormatSinkImpl* sink_; member in absl::str_format_internal::__anon0bc1931f0111::DefaultConverter
138 explicit SummarizingConverter(FormatSinkImpl* sink) : sink_(sink) {} in SummarizingConverter()
140 void Append(string_view s) const { sink_->Append(s); } in Append()
156 FormatSinkImpl* sink_; member in absl::str_format_internal::__anon0bc1931f0111::SummarizingConverter
/external/libtextclassifier/abseil-cpp/absl/strings/internal/str_format/
Dbind.cc124 explicit DefaultConverter(FormatSinkImpl* sink) : sink_(sink) {} in DefaultConverter()
126 void Append(string_view s) const { sink_->Append(s); } in Append()
129 return FormatArgImplFriend::Convert(*bound.arg(), bound, sink_); in ConvertOne()
133 FormatSinkImpl* sink_; member in absl::str_format_internal::__anond500968e0111::DefaultConverter
138 explicit SummarizingConverter(FormatSinkImpl* sink) : sink_(sink) {} in SummarizingConverter()
140 void Append(string_view s) const { sink_->Append(s); } in Append()
156 FormatSinkImpl* sink_; member in absl::str_format_internal::__anond500968e0111::SummarizingConverter
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/str_format/
Dbind.cc124 explicit DefaultConverter(FormatSinkImpl* sink) : sink_(sink) {} in DefaultConverter()
126 void Append(string_view s) const { sink_->Append(s); } in Append()
129 return FormatArgImplFriend::Convert(*bound.arg(), bound, sink_); in ConvertOne()
133 FormatSinkImpl* sink_; member in absl::str_format_internal::__anoncc70892d0111::DefaultConverter
138 explicit SummarizingConverter(FormatSinkImpl* sink) : sink_(sink) {} in SummarizingConverter()
140 void Append(string_view s) const { sink_->Append(s); } in Append()
156 FormatSinkImpl* sink_; member in absl::str_format_internal::__anoncc70892d0111::SummarizingConverter
Dextension.h41 : sink_(raw), write_(&FormatRawSinkImpl::Flush<T>) {} in FormatRawSinkImpl()
43 void Write(string_view s) { write_(sink_, s); } in Write()
47 return s.sink_; in Extract()
56 void* sink_; variable
114 return s->sink_; in Extract()
/external/angle/third_party/abseil-cpp/absl/strings/internal/str_format/
Dbind.cc137 explicit DefaultConverter(FormatSinkImpl* sink) : sink_(sink) {} in DefaultConverter()
139 void Append(string_view s) const { sink_->Append(s); } in Append()
142 return FormatArgImplFriend::Convert(*bound.arg(), bound, sink_); in ConvertOne()
146 FormatSinkImpl* sink_; member in absl::str_format_internal::__anonb9c9960d0111::DefaultConverter
151 explicit SummarizingConverter(FormatSinkImpl* sink) : sink_(sink) {} in SummarizingConverter()
153 void Append(string_view s) const { sink_->Append(s); } in Append()
169 FormatSinkImpl* sink_; member in absl::str_format_internal::__anonb9c9960d0111::SummarizingConverter
/external/abseil-cpp/absl/strings/internal/str_format/
Dbind.cc124 explicit DefaultConverter(FormatSinkImpl* sink) : sink_(sink) {} in DefaultConverter()
126 void Append(string_view s) const { sink_->Append(s); } in Append()
129 return FormatArgImplFriend::Convert(*bound.arg(), bound, sink_); in ConvertOne()
133 FormatSinkImpl* sink_; member in absl::str_format_internal::__anon8a1970be0111::DefaultConverter
138 explicit SummarizingConverter(FormatSinkImpl* sink) : sink_(sink) {} in SummarizingConverter()
140 void Append(string_view s) const { sink_->Append(s); } in Append()
156 FormatSinkImpl* sink_; member in absl::str_format_internal::__anon8a1970be0111::SummarizingConverter
Dextension.h41 : sink_(raw), write_(&FormatRawSinkImpl::Flush<T>) {} in FormatRawSinkImpl()
43 void Write(string_view s) { write_(sink_, s); } in Write()
47 return s.sink_; in Extract()
56 void* sink_; variable
114 return s->sink_; in Extract()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dstr_format.h480 : sink_(raw) {} in FormatRawSink()
484 str_format_internal::FormatRawSinkImpl sink_; variable
780 void Append(size_t count, char ch) { sink_->Append(count, ch); } in Append()
782 void Append(string_view v) { sink_->Append(v); } in Append()
789 return sink_->PutPaddedString(v, width, precision, left); in PutPaddedString()
794 explicit FormatSink(str_format_internal::FormatSinkImpl* s) : sink_(s) {} in FormatSink()
795 str_format_internal::FormatSinkImpl* sink_; variable
/external/angle/third_party/abseil-cpp/absl/strings/
Dstr_format.h480 : sink_(raw) {} in FormatRawSink()
484 str_format_internal::FormatRawSinkImpl sink_; variable
779 void Append(size_t count, char ch) { sink_->Append(count, ch); } in Append()
781 void Append(string_view v) { sink_->Append(v); } in Append()
788 return sink_->PutPaddedString(v, width, precision, left); in PutPaddedString()
793 explicit FormatSink(str_format_internal::FormatSinkImpl* s) : sink_(s) {} in FormatSink()
794 str_format_internal::FormatSinkImpl* sink_; variable
/external/openscreen/third_party/abseil/src/absl/strings/
Dstr_format.h480 : sink_(raw) {} in FormatRawSink()
484 str_format_internal::FormatRawSinkImpl sink_; variable
780 void Append(size_t count, char ch) { sink_->Append(count, ch); } in Append()
782 void Append(string_view v) { sink_->Append(v); } in Append()
789 return sink_->PutPaddedString(v, width, precision, left); in PutPaddedString()
794 explicit FormatSink(str_format_internal::FormatSinkImpl* s) : sink_(s) {} in FormatSink()
795 str_format_internal::FormatSinkImpl* sink_; variable
/external/libtextclassifier/abseil-cpp/absl/strings/
Dstr_format.h480 : sink_(raw) {} in FormatRawSink()
484 str_format_internal::FormatRawSinkImpl sink_; variable
780 void Append(size_t count, char ch) { sink_->Append(count, ch); } in Append()
782 void Append(string_view v) { sink_->Append(v); } in Append()
789 return sink_->PutPaddedString(v, width, precision, left); in PutPaddedString()
794 explicit FormatSink(str_format_internal::FormatSinkImpl* s) : sink_(s) {} in FormatSink()
795 str_format_internal::FormatSinkImpl* sink_; variable
/external/webrtc/call/
Drtp_stream_receiver_controller.cc23 : controller_(controller), sink_(sink) { in Receiver()
24 const bool sink_added = controller_->AddSink(ssrc, sink_); in Receiver()
37 controller_->RemoveSink(sink_); in ~Receiver()
/external/bsdiff/
Dsink_file.cc10 : sink_(sink) {} in SinkFile()
17 *bytes_written = sink_(static_cast<const uint8_t*>(buf), count); in Write()

123