/external/zucchini/ |
D | buffer_sink_unittest.cc | 21 : buffer_(10, kUninit), sink_(buffer_.data(), buffer_.size()) {} in BufferSinkTest() 24 BufferSink sink_; member in zucchini::BufferSinkTest 28 EXPECT_EQ(size_t(10), sink_.Remaining()); in TEST_F() 30 EXPECT_TRUE(sink_.PutValue(uint32_t(0x76543210))); in TEST_F() 31 EXPECT_EQ(size_t(6), sink_.Remaining()); in TEST_F() 33 EXPECT_TRUE(sink_.PutValue(uint32_t(0xFEDCBA98))); in TEST_F() 34 EXPECT_EQ(size_t(2), sink_.Remaining()); in TEST_F() 36 EXPECT_FALSE(sink_.PutValue(uint32_t(0x00))); in TEST_F() 37 EXPECT_EQ(size_t(2), sink_.Remaining()); in TEST_F() 39 EXPECT_TRUE(sink_.PutValue(uint16_t(0x0010))); in TEST_F() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/ |
D | sink.h | 247 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/libchrome/mojo/public/cpp/bindings/lib/ |
D | filter_chain.cc | 13 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/test/ |
D | frame_forwarder.cc | 17 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/ |
D | interface_stub_declaration.tmpl | 20 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/cronet/components/nacl/loader/ |
D | nacl_ipc_adapter_unittest.cc | 33 sink_ = new IPC::TestSink; in SetUp() 39 std::unique_ptr<IPC::Channel>(sink_), in SetUp() 43 sink_ = nullptr; // This pointer is actually owned by the IPCAdapter. in TearDown() 75 raw_ptr<IPC::TestSink> sink_; member in __anonfebc66240111::NaClIPCAdapterTest 140 ASSERT_EQ(1u, sink_->message_count()); in TEST_F() 141 const IPC::Message* msg = sink_->GetMessageAt(0); in TEST_F() 149 sink_->ClearMessages(); in TEST_F() 156 ASSERT_EQ(0u, sink_->message_count()); in TEST_F() 163 ASSERT_EQ(0u, sink_->message_count()); in TEST_F() 173 ASSERT_EQ(1u, sink_->message_count()); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/memory_management/ |
D | min_cost_flow_assignment.cc | 42 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::__anon7795d4aa0111::MinCostFlowSolver
|
/external/webrtc/test/scenario/ |
D | video_frame_matcher.cc | 150 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/third_party/abseil-cpp/absl/log/ |
D | scoped_mock_log.cc | 33 : sink_(this), is_capturing_logs_(false) { in ScopedMockLog() 68 absl::AddLogSink(&sink_); in StartCapturingLogs() 77 absl::RemoveLogSink(&sink_); in StopCapturingLogs() 82 return sink_; in UseAsLocalSink()
|
/external/angle/third_party/abseil-cpp/absl/log/ |
D | scoped_mock_log.cc | 33 : sink_(this), is_capturing_logs_(false), is_triggered_(false) { in ScopedMockLog() 68 absl::AddLogSink(&sink_); in StartCapturingLogs() 77 absl::RemoveLogSink(&sink_); in StopCapturingLogs() 82 return sink_; in UseAsLocalSink()
|
/external/cronet/third_party/abseil-cpp/absl/log/ |
D | scoped_mock_log.cc | 33 : sink_(this), is_capturing_logs_(false), is_triggered_(false) { in ScopedMockLog() 68 absl::AddLogSink(&sink_); in StartCapturingLogs() 77 absl::RemoveLogSink(&sink_); in StopCapturingLogs() 82 return sink_; in UseAsLocalSink()
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/tests/ |
D | test_util.h | 63 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/tensorflow/third_party/absl/abseil-cpp/absl/strings/internal/str_format/ |
D | bind.cc | 138 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::__anon72b4bf080111::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::__anon72b4bf080111::SummarizingConverter
|
/external/openscreen/third_party/abseil/src/absl/strings/internal/str_format/ |
D | bind.cc | 138 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::__anon16c0f9bd0111::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::__anon16c0f9bd0111::SummarizingConverter
|
/external/libtextclassifier/abseil-cpp/absl/strings/internal/str_format/ |
D | bind.cc | 124 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::__anonea1c20ac0111::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::__anonea1c20ac0111::SummarizingConverter
|
/external/abseil-cpp/absl/strings/internal/str_format/ |
D | bind.cc | 137 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::__anon1d5a5f5c0111::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::__anon1d5a5f5c0111::SummarizingConverter
|
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | bind.cc | 138 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::__anon84fd570b0111::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::__anon84fd570b0111::SummarizingConverter
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | bind.cc | 138 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::__anonfcf937bd0111::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::__anonfcf937bd0111::SummarizingConverter
|
/external/angle/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | bind.cc | 138 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::__anoncee5202b0111::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::__anoncee5202b0111::SummarizingConverter
|
/external/cronet/third_party/abseil-cpp/absl/strings/internal/str_format/ |
D | bind.cc | 138 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::__anone246970f0111::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::__anone246970f0111::SummarizingConverter
|
/external/webrtc/video/ |
D | video_source_sink_controller.cc | 26 : sink_(sink), source_(source) { in VideoSourceSinkController() 27 RTC_DCHECK(sink_); in VideoSourceSinkController() 42 old_source->RemoveSink(sink_); in SetSource() 47 source->AddOrUpdateSink(sink_, CurrentSettingsToSinkWants()); in SetSource() 66 source_->AddOrUpdateSink(sink_, wants); in PushSourceSinkSettings()
|
/external/abseil-cpp/absl/strings/ |
D | str_format.h | 480 : 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/libtextclassifier/abseil-cpp/absl/strings/ |
D | str_format.h | 480 : 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/tensorflow/third_party/absl/abseil-cpp/absl/strings/ |
D | str_format.h | 480 : 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/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/ |
D | str_format.h | 480 : 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
|