/third_party/cef/libcef/browser/ |
D | stream_impl.h | 119 : handler_(handler) {} in CefHandlerReader() 122 return handler_->Read(ptr, size, n); in Read() 125 return handler_->Seek(offset, whence); in Seek() 127 int64 Tell() override { return handler_->Tell(); } in Tell() 128 int Eof() override { return handler_->Eof(); } in Eof() 129 bool MayBlock() override { return handler_->MayBlock(); } in MayBlock() 132 CefRefPtr<CefReadHandler> handler_; 141 : handler_(handler) {} in CefHandlerWriter() 144 return handler_->Write(ptr, size, n); in Write() 147 return handler_->Seek(offset, whence); in Seek() [all …]
|
D | extension_impl.cc | 23 handler_(handler) {} in CefExtensionImpl() 51 return handler_; in GetHandler() 98 if (handler_) in OnExtensionLoaded() 99 handler_->OnExtensionLoaded(this); in OnExtensionLoaded() 110 if (handler_) in OnExtensionUnloaded() 111 handler_->OnExtensionUnloaded(this); in OnExtensionUnloaded()
|
D | server_impl.cc | 173 : handler_(handler) { in CefServerImpl() 174 DCHECK(handler_); in CefServerImpl() 374 handler_->OnWebSocketConnected(this, connection_id); in ContinueWebSocketRequest() 456 handler_->OnClientConnected(this, connection_id); in OnConnect() 471 handler_->OnHttpRequest(this, connection_id, request_info.peer.ToString(), in OnHttpRequest() 492 handler_->OnWebSocketRequest( in OnWebSocketRequest() 507 handler_->OnWebSocketMessage(this, connection_id, data.data(), data.size()); in OnWebSocketMessage() 514 handler_->OnClientDisconnected(this, connection_id); in OnClose() 554 handler_->OnServerCreated(this); in StartOnHandlerThread() 558 handler_->OnServerDestroyed(this); in StartOnHandlerThread() [all …]
|
D | browser_message_loop.cc | 27 : max_time_slice_(max_time_slice), handler_(handler) {} in MessagePumpExternal() 54 void ScheduleWork() override { handler_->OnScheduleMessagePumpWork(0); } in ScheduleWork() 58 handler_->OnScheduleMessagePumpWork(delta.InMilliseconds()); in ScheduleDelayedWork() 92 CefRefPtr<CefBrowserProcessHandler> handler_; member in __anonad7716dc0111::MessagePumpExternal
|
D | extension_impl.h | 52 CefRefPtr<CefExtensionHandler> handler_; variable
|
/third_party/cef/tests/ceftests/ |
D | devtools_message_unittest.cc | 114 : handler_(handler) {} in TestMessageObserver() 116 virtual ~TestMessageObserver() { handler_->observer_destroyed_.yes(); } in ~TestMessageObserver() 122 EXPECT_EQ(handler_->GetBrowserId(), browser->GetIdentifier()); in OnDevToolsMessage() 123 handler_->message_ct_++; in OnDevToolsMessage() 133 EXPECT_EQ(handler_->GetBrowserId(), browser->GetIdentifier()); in OnDevToolsMethodResult() 134 handler_->result_ct_++; in OnDevToolsMethodResult() 144 handler_->OnMethodResult(mr); in OnDevToolsMethodResult() 152 EXPECT_EQ(handler_->GetBrowserId(), browser->GetIdentifier()); in OnDevToolsEvent() 153 handler_->event_ct_++; in OnDevToolsEvent() 162 handler_->OnEvent(ev); in OnDevToolsEvent() [all …]
|
D | osr_display_unittest.cc | 319 OsrPopupJSOtherCefClient() { handler_ = nullptr; } in OsrPopupJSOtherCefClient() 322 handler_ = handler; in SetHandler() 339 if (handler_) { in OnLoadingStateChange() 340 handler_->OnLoadingStateChange(browser, isLoading, canGoBack, in OnLoadingStateChange() 346 handler_->OnAfterCreated(browser); in OnAfterCreated() 350 handler_->OnBeforeClose(browser); in OnBeforeClose() 351 handler_ = nullptr; in OnBeforeClose() 382 CefRefPtr<OsrPopupJSOtherClientTestHandler> handler_; member in __anonbbd8b7ae0211::OsrPopupJSOtherCefClient
|
D | dialog_unittest.cc | 43 explicit Callback(DialogTestHandler* handler) : handler_(handler) {} in Callback() 48 handler_->got_onfiledialogdismissed_.yes(); in OnFileDialogDismissed() 50 if (handler_->config_.callback_cancel) { in OnFileDialogDismissed() 54 EXPECT_EQ(handler_->config_.selected_accept_filter, in OnFileDialogDismissed() 56 TestStringVectorEqual(handler_->config_.callback_paths, file_paths); in OnFileDialogDismissed() 59 handler_->DestroyTest(); in OnFileDialogDismissed() 60 handler_ = nullptr; in OnFileDialogDismissed() 64 DialogTestHandler* handler_; member in __anone73cd8750111::DialogTestHandler::Callback
|
D | cookie_unittest.cc | 718 : handler_(handler), offset_(0) {} in SchemeHandler() 726 if (url == handler_->url1_) { in Open() 729 handler_->got_process_request1_.yes(); in Open() 730 } else if (url == handler_->url2_) { in Open() 733 handler_->got_process_request2_.yes(); in Open() 734 } else if (url == handler_->url3_) { in Open() 736 handler_->got_process_request3_.yes(); in Open() 743 handler_->got_process_request_cookie_.yes(); in Open() 793 CookieTestSchemeHandler* handler_; member in __anon6fa33a1f0311::CookieTestSchemeHandler::SchemeHandler 805 : handler_(handler) {} in SchemeHandlerFactory() [all …]
|
D | server_unittest.cc | 514 handler_ = new TestServerHandler( in ExecuteTest() 541 handler_->AddHttpRequestHandler(it->second->CreateHttpRequestHandler()); in RunTest() 544 handler_->SetExpectedConnectionCount( in RunTest() 546 handler_->SetExpectedHttpRequestCount( in RunTest() 549 handler_->CreateServer(); in RunTest() 612 handler_->ShutdownServer(); in OnRequestCompleteContinue() 613 handler_ = nullptr; in OnRequestCompleteContinue() 665 CefRefPtr<TestServerHandler> handler_; member in __anond806461c0111::HttpTestRunner 1176 handler_ = new TestServerHandler( in RunTest() 1179 OnHandlerCreated(handler_); in RunTest() [all …]
|
D | test_server.cc | 136 if (!handler_) { in Start() 137 handler_ = new ServerHandler(); in Start() 143 if (!handler_) { in Stop() 153 handler_->Shutdown(); in Stop() 191 handler_ = nullptr; in NotifyServerDestroyed() 277 CefRefPtr<ServerHandler> handler_; member in test_server::__anon7bf86d3c0111::ServerManager
|
D | request_handler_unittest.cc | 284 explicit TestVisitor(NetNotifyTestHandler* handler) : handler_(handler) {} in FinishTest() 288 handler_)); in FinishTest() 298 handler_->got_cookie1_.yes(); in FinishTest() 301 handler_->got_cookie2_.yes(); in FinishTest() 308 NetNotifyTestHandler* handler_; in FinishTest() member in __anonf8c12ccb0111::NetNotifyTestHandler::FinishTest::TestVisitor
|
/third_party/cef/libcef/browser/printing/ |
D | print_dialog_linux.cc | 183 if (!handler_.get()) { in ShowDialog() 193 if (!handler_->OnPrintDialog(browser_.get(), has_selection, in ShowDialog() 244 if (handler_.get()) in SetHandler() 248 handler_ = browser_->GetClient()->GetPrintHandler(); in SetHandler() 253 if (handler_.get()) { in ReleaseHandler() 254 handler_->OnPrintReset(browser_.get()); in ReleaseHandler() 255 handler_ = nullptr; in ReleaseHandler() 265 if (!handler_.get()) in UpdateSettings() 270 handler_->OnPrintSettings(browser_.get(), settings_impl.get(), get_defaults); in UpdateSettings() 280 if (!handler_.get()) { in SendDocumentToPrinter() [all …]
|
/third_party/cef/tests/cefclient/browser/ |
D | server_test.cc | 216 if (handler_) { in ~Handler() 217 handler_->StopServer(ServerHandler::CompleteCallback()); in ~Handler() 218 handler_ = nullptr; in ~Handler() 265 if (handler_) { in HandleQueryAction() 266 result_dict->SetInt(kPortKey, handler_->port()); in HandleQueryAction() 278 if (handler_) { in HandleStartAction() 292 handler_ = new ServerHandler(); in HandleStartAction() 295 handler_->StartServer( in HandleStartAction() 303 if (!handler_) { in HandleStopAction() 309 handler_->StopServer(base::BindOnce( in HandleStopAction() [all …]
|
/third_party/nghttp2/src/ |
D | shrpx_http2_upstream.cc | 144 handler_->stop_read_timer(); in upgrade_upstream() 154 ev_timer_start(handler_->get_loop(), &settings_timer_); in start_settings_timer() 158 ev_timer_stop(handler_->get_loop(), &settings_timer_); in stop_settings_timer() 281 auto downstream = std::make_unique<Downstream>(this, handler_->get_mcpool(), in on_start_request() 288 handler_->repeat_read_timer(); in on_start_request() 362 auto faddr = handler_->get_upstream_addr(); in on_request_headers() 423 !http::check_http_scheme(req.scheme, handler_->get_ssl() != nullptr)) { in on_request_headers() 431 auto worker = handler_->get_worker(); in on_request_headers() 474 auto dconn = handler_->get_downstream_connection(rv, downstream); in initiate_downstream() 929 auto worker = handler_->get_worker(); in check_shutdown() [all …]
|
D | shrpx_https_upstream.cc | 93 : handler_(handler), in HttpsUpstream() 114 std::make_unique<Downstream>(this, handler_->get_mcpool(), 0); in on_start_request() 118 auto conn = handler_->get_connection(); in on_start_request() 123 handler_->repeat_read_timer(); in on_start_request() 613 auto rb = handler_->get_rb(); in on_read() 614 auto rlimit = handler_->get_rlimit(); in on_read() 617 if (rb->rleft() == 0 || handler_->get_should_close_after_write()) { in on_read() 691 handler_->signal_write(); in on_read() 705 handler_->set_should_close_after_write(true); in on_read() 706 handler_->signal_write(); in on_read() [all …]
|
D | shrpx_http3_upstream.cc | 113 : handler_{handler}, in Http3Upstream() 124 auto conn = handler_->get_connection(); 137 ev_prepare_start(handler_->get_loop(), &prep_); 141 auto loop = handler_->get_loop(); in ~Http3Upstream() 248 std::make_unique<Downstream>(this, handler_->get_mcpool(), stream_id); in http_begin_request_headers() 253 handler_->repeat_read_timer(); in http_begin_request_headers() 474 handler_->set_alpn_from_conn(); in handshake_completed() 476 auto alpn = handler_->get_alpn(); in handshake_completed() 509 auto worker = handler_->get_worker(); in send_new_token() 557 auto worker = handler_->get_worker(); in init() [all …]
|
/third_party/cef/libcef/browser/chrome/ |
D | chrome_context_menu_handler.cc | 24 : context_menu_(context_menu), browser_(browser), handler_(handler) {} in CefContextMenuObserver() 38 handler_->OnBeforeContextMenu(browser_, GetFrame(), params_, model_); in InitMenu() 73 if (handler_->OnContextMenuCommand(browser_, GetFrame(), params_, in CommandWillBeExecuted() 91 handler_->OnContextMenuDismissed(browser_, GetFrame()); in OnMenuClosed() 97 handler_ = nullptr; in OnMenuClosed() 176 CefRefPtr<CefContextMenuHandler> handler_; member in context_menu::__anond6e26d3b0111::CefContextMenuObserver
|
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
D | json.cc | 404 explicit JsonParser(ParserHandler* handler) : handler_(handler) {} in JsonParser() 850 handler_->HandleNull(); in ParseValue() 853 handler_->HandleBool(true); in ParseValue() 856 handler_->HandleBool(false); in ParseValue() 867 handler_->HandleInt32(static_cast<int32_t>(value)); in ParseValue() 869 handler_->HandleDouble(value); in ParseValue() 879 handler_->HandleString16(span<uint16_t>(value.data(), value.size())); in ParseValue() 883 handler_->HandleArrayBegin(); in ParseValue() 908 handler_->HandleArrayEnd(); in ParseValue() 912 handler_->HandleMapBegin(); in ParseValue() [all …]
|
/third_party/cef/libcef/browser/net_service/ |
D | resource_request_handler_wrapper.cc | 98 handler_ = handler; in Reset() 108 CefRefPtr<CefResourceRequestHandler> handler_; member 671 DCHECK(state->handler_ || state->scheme_factory_); in ShouldInterceptRequest() 674 if (state->handler_) { in ShouldInterceptRequest() 686 cef_return_value_t retval = state->handler_->OnBeforeResourceLoad( in ShouldInterceptRequest() 720 DCHECK(state->handler_ || state->scheme_factory_); in ContinueShouldInterceptRequest() 723 if (state->handler_) { in ContinueShouldInterceptRequest() 756 if (state->handler_) { in ContinueShouldInterceptRequest() 758 resource_handler = state->handler_->GetResourceHandler( in ContinueShouldInterceptRequest() 797 if (!state->handler_) in ProcessResponseHeaders() [all …]
|
D | resource_handler_wrapper.cc | 101 : handler_(handler) { in HandlerProvider() 102 DCHECK(handler_); in HandlerProvider() 106 DCHECK(!handler_); in ~HandlerProvider() 111 return handler_; in handler() 116 if (!handler_) in Detach() 121 base::BindOnce(&CefResourceHandler::Cancel, handler_)); in Detach() 123 handler_ = nullptr; in Detach() 128 CefRefPtr<CefResourceHandler> handler_; member in net_service::__anondcea0a060111::HandlerProvider
|
/third_party/node/tools/inspector_protocol/encoding/ |
D | encoding.cc | 1539 : platform_(platform), handler_(handler) {} in JsonParser() 1985 handler_->HandleNull(); in ParseValue() 1988 handler_->HandleBool(true); in ParseValue() 1991 handler_->HandleBool(false); in ParseValue() 2002 handler_->HandleInt32(static_cast<int32_t>(value)); in ParseValue() 2004 handler_->HandleDouble(value); in ParseValue() 2014 handler_->HandleString16(span<uint16_t>(value.data(), value.size())); in ParseValue() 2018 handler_->HandleArrayBegin(); in ParseValue() 2043 handler_->HandleArrayEnd(); in ParseValue() 2047 handler_->HandleMapBegin(); in ParseValue() [all …]
|
/third_party/cef/libcef_dll/wrapper/ |
D | cef_message_router.cc | 195 explicit Visitor(Handler* handler) : handler_(handler), count_(0) {} in GetPendingCount() 201 if (info->handler == handler_) in GetPendingCount() 209 Handler* handler_; in GetPendingCount() member in __anon7b2c88e50111::CefMessageRouterBrowserSideImpl::GetPendingCount::Visitor 509 handler_(handler), in CancelPendingFor() 516 if (!handler_ || info->handler == handler_) { in CancelPendingFor() 526 Handler* handler_; in CancelPendingFor() member in __anon7b2c88e50111::CefMessageRouterBrowserSideImpl::CancelPendingFor::Visitor
|
/third_party/node/src/ |
D | inspector_socket.cc | 49 ProtocolHandler* handler_; member in node::inspector::TcpHolder 694 handler_(nullptr) { } in TcpHolder() 718 handler_ = handler; in SetHandler() 729 WriteRequest* wr = new WriteRequest(handler_, buffer); in WriteRaw() 759 holder->handler_->OnEof(); in OnDataReceivedCb() 761 holder->handler_->OnData(&holder->buffer); in OnDataReceivedCb()
|
/third_party/node/deps/v8/src/execution/ |
D | frames.cc | 65 : limit_(frame->fp()), handler_(handler) { in StackHandlerIterator() 75 if (frame->is_c_wasm_entry()) handler_ = handler_->next(); in StackHandlerIterator() 82 StackHandler* handler() const { return handler_; } in handler() 84 bool done() { return handler_ == nullptr || AddressOf(handler_) > limit_; } in done() 87 handler_ = handler_->next(); in Advance() 92 StackHandler* handler_; member in v8::internal::StackHandlerIterator 102 handler_(nullptr), in StackFrameIteratorBase() 131 StackHandlerIterator it(frame_, handler_); in Advance() 133 handler_ = it.handler(); in Advance() 143 handler_ == nullptr); in Advance() [all …]
|