/third_party/node/src/quic/ |
D | packet.h | 52 using Queue = std::deque<BaseObjectPtr<Packet>>; 97 static BaseObjectPtr<Packet> Create( 104 BaseObjectPtr<Packet> Clone() const; 115 int Send(uv_udp_t* handle, BaseObjectPtr<BaseObject> ref); 117 static BaseObjectPtr<Packet> CreateRetryPacket( 123 static BaseObjectPtr<Packet> CreateConnectionClosePacket( 130 static BaseObjectPtr<Packet> CreateImmediateConnectionClosePacket( 137 static BaseObjectPtr<Packet> CreateStatelessResetPacket( 144 static BaseObjectPtr<Packet> CreateVersionNegotiationPacket( 150 static BaseObjectPtr<Packet> FromFreeList(Environment* env, [all …]
|
D | packet.cc | 102 BaseObjectPtr<Packet> Packet::Create(Environment* env, in Create() 114 return BaseObjectPtr<Packet>(); in Create() 127 BaseObjectPtr<Packet> Packet::Clone() const { in Clone() 135 return BaseObjectPtr<Packet>(); in Clone() 144 BaseObjectPtr<Packet> Packet::FromFreeList(Environment* env, in FromFreeList() 156 return BaseObjectPtr<Packet>(packet); in FromFreeList() 181 int Packet::Send(uv_udp_t* handle, BaseObjectPtr<BaseObject> ref) { in Send() 231 BaseObjectPtr<Packet> Packet::CreateRetryPacket( in CreateRetryPacket() 243 if (!token) return BaseObjectPtr<Packet>(); in CreateRetryPacket() 252 if (!packet) return BaseObjectPtr<Packet>(); in CreateRetryPacket() [all …]
|
D | tlscontext.cc | 93 BaseObjectPtr<crypto::SecureContext> InitializeSecureContext( in InitializeSecureContext() 105 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext() 135 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext() 152 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext() 156 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext() 177 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext() 196 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext() 210 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext() 225 return BaseObjectPtr<crypto::SecureContext>(); in InitializeSecureContext() 231 return BaseObjectPtr<crypto::SecureContext>(context); in InitializeSecureContext()
|
D | logstream.cc | 37 BaseObjectPtr<LogStream> LogStream::Create(Environment* env) { in Create() 43 return BaseObjectPtr<LogStream>(); in Create()
|
D | logstream.h | 22 static BaseObjectPtr<LogStream> Create(Environment* env);
|
/third_party/node/test/cctest/ |
D | test_base_object_ptr.cc | 8 using node::BaseObjectPtr; 31 static BaseObjectPtr<DummyBaseObject> NewDetached(Environment* env) { in NewDetached() 36 static BaseObjectPtr<DummyBaseObject> New(Environment* env) { in New() 55 BaseObjectPtr<DummyBaseObject> ptr = DummyBaseObject::NewDetached(env); in TEST_F() 72 BaseObjectPtr<DummyBaseObject> ptr = DummyBaseObject::NewDetached(env); in TEST_F() 94 BaseObjectPtr<DummyBaseObject> ptr = DummyBaseObject::New(env); in TEST_F() 109 BaseObjectPtr<DummyBaseObject> ptr = DummyBaseObject::New(env); in TEST_F() 138 BaseObjectPtr<DummyBaseObject> ptr = DummyBaseObject::NewDetached(env); in TEST_F() 143 BaseObjectPtr<DummyBaseObject> ptr2 = std::move(ptr); in TEST_F() 163 BaseObjectPtr<BaseObject> ptr1; in TEST_F() [all …]
|
/third_party/node/src/ |
D | node_blob.h | 48 static BaseObjectPtr<Blob> Create(Environment* env, 63 BaseObjectPtr<Blob> Slice(Environment* env, size_t start, size_t end); 75 BaseObjectPtr<BaseObject> Deserialize( 157 BaseObjectPtr<Blob> blob; 164 const BaseObjectPtr<Blob>& blob_,
|
D | node_blob.cc | 74 BaseObjectPtr<Blob> Blob::Create(Environment* env, in Create() 81 return BaseObjectPtr<Blob>(); in Create() 85 return BaseObjectPtr<Blob>(); in Create() 123 BaseObjectPtr<Blob> blob = Create(env, entries, length); in New() 145 BaseObjectPtr<Blob> slice = blob->Slice(env, start, end); in ToSlice() 175 BaseObjectPtr<Blob> Blob::Slice(Environment* env, size_t start, size_t end) { in Slice() 217 BaseObjectPtr<BaseObject> 256 BaseObjectPtr<Blob>(blob), in StoreDataObject() 421 const BaseObjectPtr<Blob>& blob_, in StoredDataObject()
|
D | node_http2.h | 148 BaseObjectPtr<AsyncWrap> req_wrap; 152 inline NgHttp2StreamWrite(BaseObjectPtr<AsyncWrap> req_wrap, uv_buf_t buf_) : in NgHttp2StreamWrite() 179 BaseObjectPtr<Http2Session> session_; 656 BaseObjectPtr<Http2Stream> FindStream(int32_t id); 664 BaseObjectPtr<Http2Stream> RemoveStream(int32_t id); 727 BaseObjectPtr<Http2Ping> PopPing(); 730 BaseObjectPtr<Http2Settings> PopSettings(); 892 std::unordered_map<int32_t, BaseObjectPtr<Http2Stream>> streams_; 913 std::queue<BaseObjectPtr<Http2Ping>> outstanding_pings_; 916 std::queue<BaseObjectPtr<Http2Settings>> outstanding_settings_; [all …]
|
D | node_contextify.h | 41 BaseObjectPtr<MicrotaskQueueWrap> microtask_queue_wrap; 93 static BaseObjectPtr<ContextifyContext> New(Environment* env, 97 static BaseObjectPtr<ContextifyContext> New(v8::Local<v8::Context> ctx, 147 BaseObjectPtr<MicrotaskQueueWrap> microtask_queue_wrap_;
|
D | node_messaging.cc | 43 using BaseObjectList = std::vector<BaseObjectPtr<BaseObject>>; 93 const std::vector<BaseObjectPtr<BaseObject>>& host_objects, in DeserializerDelegate() 134 const std::vector<BaseObjectPtr<BaseObject>>& host_objects_; 156 std::vector<BaseObjectPtr<BaseObject>> host_objects(transferables_.size()); in Deserialize() 158 for (BaseObjectPtr<BaseObject> object : host_objects) { in Deserialize() 223 for (BaseObjectPtr<BaseObject> base_object : host_objects) { in Deserialize() 306 BaseObjectPtr<BaseObject> { Unwrap<BaseObject>(object) }); in WriteHostObject() 352 BaseObjectPtr<BaseObject> host_object = std::move(host_objects_[i]); in Finish() 366 inline void AddHostObject(BaseObjectPtr<BaseObject> host_object) { in AddHostObject() 377 std::vector<BaseObjectPtr<BaseObject>> nested_transferables; in AddNestedHostObjects() [all …]
|
D | node_http2.cc | 721 while (BaseObjectPtr<Http2Ping> ping = PopPing()) { in Close() 735 BaseObjectPtr<Http2Stream> Http2Session::FindStream(int32_t id) { in FindStream() 737 return s != streams_.end() ? s->second : BaseObjectPtr<Http2Stream>(); in FindStream() 754 streams_[stream->id()] = BaseObjectPtr<Http2Stream>(stream); in AddStream() 762 BaseObjectPtr<Http2Stream> Http2Session::RemoveStream(int32_t id) { in RemoveStream() 763 BaseObjectPtr<Http2Stream> stream; in RemoveStream() 895 BaseObjectPtr<Http2Stream> stream = session->FindStream(id); in OnBeginHeadersCallback() 932 BaseObjectPtr<Http2Stream> stream = session->FindStream(id); in OnHeaderCallback() 1026 BaseObjectPtr<Http2Stream> stream = FindStream(id); in DecrefHeaders() 1121 BaseObjectPtr<Http2Stream> stream = session->FindStream(id); in OnStreamClose() [all …]
|
D | node_file.h | 67 std::vector<BaseObjectPtr<FileHandleReadWrap>> 168 BaseObjectPtr<BindingData> binding_data_; 261 BaseObjectPtr<FSReqBase> wrap_; 353 BaseObjectPtr<BaseObject> Deserialize( 415 BaseObjectPtr<FileHandleReadWrap> current_read_; 417 BaseObjectPtr<BindingData> binding_data_;
|
D | node_sockaddr.cc | 554 BaseObjectPtr<SocketAddressBlockListWrap> SocketAddressBlockListWrap::New( in New() 560 return BaseObjectPtr<SocketAddressBlockListWrap>(); in New() 562 BaseObjectPtr<SocketAddressBlockListWrap> wrap = in New() 568 BaseObjectPtr<SocketAddressBlockListWrap> SocketAddressBlockListWrap::New( in New() 575 return BaseObjectPtr<SocketAddressBlockListWrap>(); in New() 577 BaseObjectPtr<SocketAddressBlockListWrap> wrap = in New() 735 BaseObjectPtr<BaseObject> SocketAddressBlockListWrap::TransferData::Deserialize( in Deserialize() 777 BaseObjectPtr<SocketAddressBase> SocketAddressBase::Create( in Create() 784 return BaseObjectPtr<SocketAddressBase>(); in Create() 880 BaseObjectPtr<BaseObject> SocketAddressBase::TransferData::Deserialize( in Deserialize()
|
D | histogram.h | 91 static BaseObjectPtr<HistogramBase> Create( 95 static BaseObjectPtr<HistogramBase> Create( 152 BaseObjectPtr<BaseObject> Deserialize( 178 static BaseObjectPtr<IntervalHistogram> Create(
|
D | node_sockaddr.h | 157 static BaseObjectPtr<SocketAddressBase> Create( 192 BaseObjectPtr<BaseObject> Deserialize( 348 static BaseObjectPtr<SocketAddressBlockListWrap> New(Environment* env); 349 static BaseObjectPtr<SocketAddressBlockListWrap> New( 384 BaseObjectPtr<BaseObject> Deserialize(
|
D | base_object-inl.h | 287 BaseObjectPtr<T> MakeBaseObject(Args&&... args) { in MakeBaseObject() 288 return BaseObjectPtr<T>(new T(std::forward<Args>(args)...)); in MakeBaseObject() 292 BaseObjectPtr<T> MakeDetachedBaseObject(Args&&... args) { in MakeDetachedBaseObject() 293 BaseObjectPtr<T> target = MakeBaseObject<T>(std::forward<Args>(args)...); in MakeDetachedBaseObject()
|
D | base_object.h | 295 using BaseObjectPtr = BaseObjectPtrImpl<T, false>; variable 302 inline BaseObjectPtr<T> MakeBaseObject(Args&&... args); 308 inline BaseObjectPtr<T> MakeDetachedBaseObject(Args&&... args);
|
D | node_messaging.h | 33 virtual BaseObjectPtr<BaseObject> Deserialize( 196 BaseObjectPtr<BaseObject> Deserialize( 329 v8::Maybe<std::vector<BaseObjectPtr<BaseObject>>> 346 BaseObjectPtr<BaseObject> Deserialize(
|
D | histogram.cc | 224 BaseObjectPtr<HistogramBase> HistogramBase::Create( in Create() 231 return BaseObjectPtr<HistogramBase>(); in Create() 237 BaseObjectPtr<HistogramBase> HistogramBase::Create( in Create() 244 return BaseObjectPtr<HistogramBase>(); in Create() 350 BaseObjectPtr<BaseObject> HistogramBase::HistogramTransferData::Deserialize( in Deserialize() 441 BaseObjectPtr<IntervalHistogram> IntervalHistogram::Create( in Create() 450 return BaseObjectPtr<IntervalHistogram>(); in Create()
|
D | node_contextify.cc | 111 BaseObjectPtr<ContextifyContext> ContextifyContext::New( in New() 132 return BaseObjectPtr<ContextifyContext>(); in New() 244 BaseObjectPtr<ContextifyContext> ContextifyContext::New( in New() 255 return BaseObjectPtr<ContextifyContext>(); in New() 287 BaseObjectPtr<ContextifyContext> result; in New() 300 return BaseObjectPtr<ContextifyContext>(); in New() 307 return BaseObjectPtr<ContextifyContext>(); in New() 320 return BaseObjectPtr<ContextifyContext>(); in New() 389 BaseObjectPtr<ContextifyContext> context_ptr = in MakeContext()
|
D | node_stat_watcher.h | 65 BaseObjectPtr<fs::BindingData> binding_data_;
|
D | cares_wrap.h | 272 const BaseObjectPtr<ChannelWrap>& channel() const { return channel_; } in channel() 352 BaseObjectPtr<QueryWrap<Traits>> strong_ref{this}; in QueueResponseCallback() 392 BaseObjectPtr<ChannelWrap> channel_;
|
/third_party/node/src/crypto/ |
D | crypto_tls.h | 254 BaseObjectPtr<SecureContext> sni_context_; 255 BaseObjectPtr<SecureContext> sc_; 263 BaseObjectPtr<AsyncWrap> current_write_; 264 BaseObjectPtr<AsyncWrap> current_empty_write_;
|
D | crypto_x509.h | 109 BaseObjectPtr<BaseObject> Deserialize( in SET_SELF_SIZE() 133 BaseObjectPtr<X509Certificate> issuer_cert_;
|