Home
last modified time | relevance | path

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

/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/v8/src/snapshot/
Dserializer.cc113 ObjectSerializer obj_serializer(this, obj, &sink_); in SerializeDeferredObjects()
116 sink_.Put(kSynchronize, "Finished with deferred objects"); in SerializeDeferredObjects()
178 sink_.Put(HotObject::Encode(index), "HotObject"); in SerializeHotObject()
203 sink_.Put(kBackref, "Backref"); in SerializeBackReference()
243 sink_.Put(RootArrayConstant::Encode(root), "RootConstant"); in PutRoot()
245 sink_.Put(kRootArray, "RootSerialization"); in PutRoot()
246 sink_.PutInt(root_index, "root_index"); in PutRoot()
259 sink_.Put(FixedRawDataWithSize::Encode(size_in_tagged), "Smi"); in PutSmiRoot()
263 sink_.PutRaw(raw_value_as_bytes, bytes_to_output, "Bytes"); in PutSmiRoot()
269 sink_.PutInt(reference.back_ref_index(), "BackRefIndex"); in PutBackReference()
[all …]
Dcontext-serializer.cc115 sink_.Put(kEmbedderFieldsData, "embedder fields data"); in Serialize()
116 sink_.Append(embedder_fields_sink_); in Serialize()
117 sink_.Put(kSynchronize, "Finished with embedder fields data"); in Serialize()
141 if (startup_serializer_->SerializeUsingReadOnlyObjectCache(&sink_, obj)) { in SerializeObjectImpl()
146 startup_serializer_->SerializeUsingStartupObjectCache(&sink_, obj); in SerializeObjectImpl()
185 ObjectSerializer serializer(this, obj, &sink_); in SerializeObjectImpl()
263 ObjectSerializer(this, js_obj, &sink_).Serialize(); in SerializeJSObjectWithEmbedderFields()
Dserializer.h167 const std::vector<byte>* Payload() const { return sink_.data(); } in Payload()
281 SnapshotByteSink sink_; // Used directly by subclasses. variable
396 sink_(sink), in ObjectSerializer()
446 SnapshotByteSink* sink_; variable
Dcode-serializer.cc96 SerializedCodeData data(sink_.data(), this); in SerializeSharedFunctionInfo()
116 sink_.Put(kReadOnlyHeapRef, "ReadOnlyHeapRef"); in SerializeReadOnlyObject()
117 sink_.PutInt(chunk_index, "ReadOnlyHeapRefChunkIndex"); in SerializeReadOnlyObject()
118 sink_.PutInt(chunk_offset, "ReadOnlyHeapRefChunkOffset"); in SerializeReadOnlyObject()
216 ObjectSerializer serializer(this, heap_object, &sink_); in SerializeGeneric()
Dstartup-serializer.cc131 if (SerializeUsingReadOnlyObjectCache(&sink_, obj)) return; in SerializeObjectImpl()
170 ObjectSerializer object_serializer(this, obj, &sink_); in SerializeObjectImpl()
202 sink_.PutInt(isolate()->string_table()->NumberOfElements(), in SerializeStringTable()
Droots-serializer.cc39 sink_.Put(kSynchronize, "Synchronize"); in Synchronize()
Dread-only-serializer.cc54 ObjectSerializer object_serializer(this, obj, &sink_); in SerializeObjectImpl()
/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.cc38 sink_ = source_ + 1; in Build()
39 edges_from_.resize(sink_ + 1); in Build()
52 AddEdge(RightPartTwin(i), sink_, 1, 0); in Build()
79 std::vector<size_t> prev_edge(sink_ + 1); in Solve()
82 std::vector<size_t> last_it_in_queue(sink_ + 1); in Solve()
83 std::vector<size_t> dist(sink_ + 1, kInf); in Solve()
114 if (dist[sink_] == kInf) break; in Solve()
118 for (size_t v = sink_; v != source_;) { in Solve()
198 size_t sink_; member in tflite::gpu::__anon9a05df300111::MinCostFlowSolver
/external/webrtc/webrtc/base/
Dwin32socketserver.cc231 closing_(false), close_error_(0), sink_(NULL), dns_(NULL) { in Win32Socket()
271 if (sink_) in SetTimeout()
272 ::SetTimer(sink_->handle(), 1, ms, 0); in SetTimeout()
331 if (!sink_) { in Connect()
337 dns->handle = WSAAsyncGetHostByName(sink_->handle(), WM_DNSNOTIFY, in Connect()
506 if (sink_) { in Close()
507 sink_->Dispose(); in Close()
508 sink_ = NULL; in Close()
547 ASSERT(NULL == sink_); in CreateSink()
550 sink_ = new EventSink(this); in CreateSink()
[all …]
Dwin32socketserver.h81 EventSink * sink_; variable
/external/webrtc/talk/app/webrtc/
Drtpsender.cc36 LocalAudioSinkAdapter::LocalAudioSinkAdapter() : sink_(nullptr) {} in LocalAudioSinkAdapter()
40 if (sink_) in ~LocalAudioSinkAdapter()
41 sink_->OnClose(); in ~LocalAudioSinkAdapter()
50 if (sink_) { in OnData()
51 sink_->OnData(audio_data, bits_per_sample, sample_rate, number_of_channels, in OnData()
58 ASSERT(!sink || !sink_); in SetSink()
59 sink_ = sink; in SetSink()
Drtpsender.h66 cricket::AudioRenderer::Sink* sink_; variable
Drtpsenderreceiver_unittest.cc75 sink_ = std::move(sink); in SetRawAudioSink()
79 rtc::scoped_ptr<AudioSinkInterface> sink_; member in webrtc::MockAudioProvider
Dwebrtcsession_unittest.cc337 FakeAudioRenderer() : sink_(NULL) {} in FakeAudioRenderer()
339 if (sink_) in ~FakeAudioRenderer()
340 sink_->OnClose(); in ~FakeAudioRenderer()
343 void SetSink(Sink* sink) override { sink_ = sink; } in SetSink()
345 cricket::AudioRenderer::Sink* sink() const { return sink_; } in sink()
347 cricket::AudioRenderer::Sink* sink_; member in FakeAudioRenderer
/external/bsdiff/
Dsink_file.cc10 : sink_(sink) {} in SinkFile()
17 *bytes_written = sink_(static_cast<const uint8_t*>(buf), count); in Write()
Dsink_file.h36 const sink_func sink_;
/external/protobuf/src/google/protobuf/util/internal/
Djson_objectwriter.cc144 JsonEscaping::Escape(&source, &sink_); in RenderString()
184 JsonEscaping::Escape(&source, &sink_); in WritePrefix()
Djson_objectwriter.h93 sink_(out), in JsonObjectWriter()
216 ByteSinkWrapper sink_; variable
/external/libchrome/mojo/public/cpp/bindings/
Dfilter_chain.h44 MessageReceiver* sink_; variable
/external/protobuf/php/ext/google/protobuf/
Dupb.h5881 Sink(const upb_sink& sink) : sink_(sink) {}
5883 sink_ = sink;
5887 upb_sink sink() { return sink_; }
5897 upb_sink* ptr() { return &sink_; }
5901 upb_sink_reset(&sink_, handlers, closure);
5909 return static_cast<T*>(sink_.closure);
5928 bool StartMessage() { return upb_sink_startmsg(sink_); }
5930 return upb_sink_endmsg(sink_, status);
5937 return upb_sink_putint32(sink_, s, val);
5941 return upb_sink_putint64(sink_, s, val);
[all …]
/external/webrtc/talk/media/webrtc/
Dfakewebrtccall.h114 rtc::scoped_ptr<webrtc::AudioSinkInterface> sink_; variable
Dfakewebrtccall.cc97 sink_ = std::move(sink); in SetSink()
/external/webrtc/talk/media/base/
Dfakemediaengine.h353 sink_ = std::move(sink); in SetRawAudioSink()
428 rtc::scoped_ptr<webrtc::AudioSinkInterface> sink_; variable