Home
last modified time | relevance | path

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

12

/third_party/nghttp2/src/
Dh2load_http2_session.cc40 : client_(client), session_(nullptr) {} in Http2Session()
42 Http2Session::~Http2Session() { nghttp2_session_del(session_); } in ~Http2Session()
214 nghttp2_session_client_new2(&session_, callbacks, client_, opt); in on_connect()
236 rv = nghttp2_submit_settings(session_, NGHTTP2_FLAG_NONE, iv.data(), niv); in on_connect()
241 nghttp2_session_set_local_window_size(session_, NGHTTP2_FLAG_NONE, 0, in on_connect()
248 if (nghttp2_session_check_request_allowed(session_) == 0) { in submit_request()
262 nghttp2_submit_request(session_, nullptr, nva.data(), nva.size(), in submit_request()
274 auto rv = nghttp2_session_mem_recv(session_, data, len); in on_read()
281 if (nghttp2_session_want_read(session_) == 0 && in on_read()
282 nghttp2_session_want_write(session_) == 0 && client_->wb.rleft() == 0) { in on_read()
[all …]
Dshrpx_live_check.cc117 session_(nullptr),
158 nghttp2_session_del(session_); in disconnect()
159 session_ = nullptr; in disconnect()
592 rv = nghttp2_session_mem_recv(session_, data, len); in on_read()
601 rv = nghttp2_session_terminate_session(session_, NGHTTP2_NO_ERROR); in on_read()
607 if (nghttp2_session_want_read(session_) == 0 && in on_read()
608 nghttp2_session_want_write(session_) == 0 && wb_.rleft() == 0) { in on_read()
629 auto datalen = nghttp2_session_mem_send(session_, &data); in on_write()
646 if (nghttp2_session_want_read(session_) == 0 && in on_write()
647 nghttp2_session_want_write(session_) == 0 && wb_.rleft() == 0) { in on_write()
[all …]
Dshrpx_http2_upstream.cc121 session_, settings_payload.byte(), settings_payload.size(), in upgrade_upstream()
139 nghttp2_session_set_stream_user_data(session_, 1, ptr); in upgrade_upstream()
283 nghttp2_session_set_stream_user_data(session_, frame->hd.stream_id, in on_start_request()
923 auto last_stream_id = nghttp2_session_get_last_proc_stream_id(session_); in submit_goaway()
924 nghttp2_submit_goaway(session_, NGHTTP2_FLAG_NONE, last_stream_id, in submit_goaway()
946 rv = nghttp2_submit_shutdown_notice(session_); in start_graceful_shutdown()
1027 session_(nullptr), in Http2Upstream()
1038 nghttp2_session_server_new2(&session_, http2conf.upstream.callbacks, this, in Http2Upstream()
1077 rv = nghttp2_submit_settings(session_, NGHTTP2_FLAG_NONE, entry.data(), in Http2Upstream()
1091 rv = nghttp2_session_set_local_window_size(session_, NGHTTP2_FLAG_NONE, 0, in Http2Upstream()
[all …]
Dshrpx_http2_session.cc197 session_(nullptr),
238 nghttp2_session_del(session_); in disconnect()
239 session_ = nullptr; in disconnect()
764 nghttp2_submit_request(session_, nullptr, nva, nvlen, data_prd, sd.get()); in submit_request()
784 int rv = nghttp2_submit_rst_stream(session_, NGHTTP2_FLAG_NONE, stream_id, in submit_rst_stream()
794 nghttp2_session *Http2Session::get_session() const { return session_; } in get_session()
799 int rv = nghttp2_session_resume_data(session_, in resume_data()
1702 rv = nghttp2_session_client_new2(&session_, http2conf.downstream.callbacks, in connection_made()
1733 rv = nghttp2_submit_settings(session_, NGHTTP2_FLAG_NONE, entry.data(), in connection_made()
1740 session_, NGHTTP2_FLAG_NONE, 0, in connection_made()
[all …]
DHttpServer.cc536 session_(nullptr), in Http2Handler()
565 nghttp2_session_del(session_); in ~Http2Handler()
610 auto datalen = nghttp2_session_mem_send(session_, &data); in fill_wb()
651 rv = nghttp2_session_mem_recv(session_, buf.data(), nread); in read_clear()
696 if (nghttp2_session_want_read(session_) == 0 && in write_clear()
697 nghttp2_session_want_write(session_) == 0 && wb_.rleft() == 0) { in write_clear()
775 rv = nghttp2_session_mem_recv(session_, buf.data(), nread); in read_tls()
827 if (nghttp2_session_want_read(session_) == 0 && in write_tls()
828 nghttp2_session_want_write(session_) == 0 && wb_.rleft() == 0) { in write_tls()
842 r = nghttp2_session_server_new2(&session_, sessions_->get_callbacks(), this, in connection_made()
[all …]
Dh2load_http2_session.h49 nghttp2_session *session_; variable
Dshrpx_live_check.h105 nghttp2_session *session_; variable
Dshrpx_http2_upstream.h139 nghttp2_session *session_; variable
Dshrpx_http2_session.h275 nghttp2_session *session_; variable
DHttpServer.h220 nghttp2_session *session_; variable
/third_party/node/src/
Dnode_http2.cc77 Http2Scope::Http2Scope(Http2Session* session) : session_(session) { in Http2Scope()
78 if (!session_) return; in Http2Scope()
82 if (session_->is_in_scope() || session_->is_write_scheduled()) { in Http2Scope()
83 session_.reset(); in Http2Scope()
86 session_->set_in_scope(); in Http2Scope()
90 if (!session_) return; in ~Http2Scope()
91 session_->set_in_scope(false); in ~Http2Scope()
92 if (!session_->is_write_scheduled()) in ~Http2Scope()
93 session_->MaybeScheduleWrite(); in ~Http2Scope()
238 session_(session), in Http2Settings()
[all …]
Dinspector_profiler.h74 std::unique_ptr<inspector::InspectorSession> session_; variable
101 std::unique_ptr<inspector::InspectorSession> session_;
121 std::unique_ptr<inspector::InspectorSession> session_;
141 std::unique_ptr<inspector::InspectorSession> session_;
Dinspector_js_api.cc95 session_ = ConnectionType::Connect( in JSBindingsConnection()
125 session_.reset(); in Disconnect()
141 if (session->session_) { in Dispatch()
142 session->session_->Dispatch( in Dispatch()
150 "session", sizeof(*session_), "InspectorSession"); in MemoryInfo()
161 std::unique_ptr<InspectorSession> session_; member in node::inspector::__anon41a2922d0111::JSBindingsConnection
Dnode_http2.h178 BaseObjectPtr<Http2Session> session_;
283 Http2Session* session() { return session_.get(); } in session()
284 const Http2Session* session() const { return session_.get(); } in session()
476 BaseObjectWeakPtr<Http2Session> session_; // The Parent HTTP/2 Session variable
612 nghttp2_session* session() const { return session_.get(); } in session()
614 nghttp2_session* operator*() { return session_.get(); }
621 return (flags_ & kSessionStateClosed) || session_ == nullptr; in is_destroyed()
870 Nghttp2SessionPointer session_; variable
1042 BaseObjectWeakPtr<Http2Session> session_;
1088 BaseObjectWeakPtr<Http2Session> session_; variable
Dinspector_profiler.cc34 : session_(env->inspector_agent()->Connect( in V8ProfilerConnection()
Dinspector_agent.cc221 session_ = inspector->connect(CONTEXT_GROUP_ID, this, StringView()); in ChannelImpl()
255 session_->dispatchProtocolMessage(message); in dispatchProtocolMessage()
264 session_->schedulePauseOnNextStatement(buffer->string(), buffer->string()); in schedulePauseOnNextStatement()
323 std::unique_ptr<v8_inspector::V8InspectorSession> session_; member in node::inspector::__anon7c329b460111::ChannelImpl
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dengine_vulkan_debugger.cc209 : session_(session), onerror_(onerror) {} in Client()
227 auto response = session_->send(request).get(); in Callstack()
355 auto r = session_->send(request).get(); in Send()
435 std::shared_ptr<dap::Session> session_; member in amber::vulkan::__anon4e401bbc0111::Client
840 session_ = dap::Session::create(); in Connect()
841 session_->bind(connection); in Connect()
847 session_->registerHandler([&](const dap::StoppedEvent& event) { in Connect()
862 auto init_res = session_->send(init_req).get(); in Connect()
883 auto fbp_res = session_->send(fbp_req).get(); in Connect()
892 auto cfg_res = session_->send(cfg_req).get(); in Connect()
[all …]
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/
Dvulkan_surface.cc93 : vulkan_provider_(vulkan_provider), session_(session), wait_(this) { in VulkanSurface()
94 FML_DCHECK(session_); in VulkanSurface()
418 if (!PushSessionImageSetupOps(session_)) { in BindToImage()
442 session_->EnqueueAcquireFence(std::move(acquire)); in FlushSessionAcquireAndReleaseEvents()
443 session_->EnqueueReleaseFence(std::move(release)); in FlushSessionAcquireAndReleaseEvents()
Dvulkan_surface.h184 scenic::Session* session_; variable
/third_party/flutter/engine/flutter/flow/
Dscene_update_context.cc54 : session_(session), surface_producer_(surface_producer) { in SceneUpdateContext()
79 session_, // session in CreateFrame()
125 scenic::Material material(session_); in SetShapeTextureAndColor()
139 scenic::Material material(session_); in SetShapeColor()
Dscene_update_context.h145 scenic::Session* session() { return session_; } in session()
224 scenic::Session* const session_; variable
/third_party/node/src/inspector/
Dmain_thread_interface.cc148 session_ = agent->Connect(std::move(delegate), prevent_shutdown_); in Connect()
152 session_->Dispatch(message->string()); in Dispatch()
158 std::unique_ptr<InspectorSession> session_; member in node::inspector::__anon579017f30111::MainThreadSessionState
/third_party/mindspore/patches/
D0014-train-0002.patch220 session_ = CreateCoderSession();
221 if (session_ == nullptr) {
225 - STATUS status = session_->Init(model_buff, size);
226 + STATUS status = session_->Init(model_buff, size, enableFp16);
264 std::shared_ptr<CoderSession> session_{nullptr};
D0013-train-0001.patch1122 auto ret = session_->UpdateWeights(inner_weights);
1183 + if (model.impl_->session_ == nullptr) {
1187 + auto ret = model.impl_->session_->Export(model_data, export_inference_only ? lite::MT_INFERENCE …
D0015-train-0003.patch712 + if (model.impl_->session_ == nullptr) {
720 + auto ret = model.impl_->session_->ExportWeightsCollaborateWithMicro(CharToString(weight_file), l…
3017 std::shared_ptr<CoderSession> session_{nullptr};

12