Home
last modified time | relevance | path

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

1234

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/download/
H A Ddownload_item_model.cc139 : download_(download) { in DownloadItemModel()
144 if (download_) in ~DownloadItemModel()
209 return download_->AllDataSaved() ? download_->GetReceivedBytes() : in GetTotalBytes()
275 *download_); in ShouldAllowDownloadFeedback()
295 download_->IsTemporary() || download_->GetOpenWhenComplete() || in ShouldRemoveFromShelfWhenComplete()
302 return download_->GetAutoOpened() || download_->IsTemporary(); in ShouldRemoveFromShelfWhenComplete()
402 return download_; in download()
454 download_->Pause(); in Pause()
466 download_->Remove(); in Remove()
506 download_ = nullptr; in OnDownloadDestroyed()
[all …]
H A Ddownload_target_determiner.cc111 download_(download), in DownloadTargetDeterminer()
119 DCHECK(download_); in DownloadTargetDeterminer()
121 download_->AddObserver(this); in DownloadTargetDeterminer()
128 DCHECK(download_); in ~DownloadTargetDeterminer()
130 download_->RemoveObserver(this); in ~DownloadTargetDeterminer()
200 if (download_->IsTransient()) { in DoGenerateTargetPath()
292 download_->GetURL(), download_->GetContentDisposition(), referrer_charset, in GenerateFileName()
337 download_, virtual_path_, in DoSetMixedContentStatus()
575 download_, in DoDetermineLocalPath()
787 download_, in DoCheckDownloadUrl()
[all …]
H A Ddownload_shelf_context_menu.cc36 : download_(download), download_commands_(new DownloadCommands(download_)) { in DownloadShelfContextMenu()
37 DCHECK(download_); in DownloadShelfContextMenu()
38 download_->AddObserver(this); in DownloadShelfContextMenu()
44 if (!download_) in GetMenuModel()
47 DCHECK(WantsContextMenu(download_)); in GetMenuModel()
51 if (download_->IsMixedContent()) { in GetMenuModel()
67 } else if (download_->IsPaused()) { in GetMenuModel()
118 if (download_ && !download_->IsDone()) in GetLabelForCommandId()
191 if (!download_) in DetachFromDownloadItem()
195 download_->RemoveObserver(this); in DetachFromDownloadItem()
[all …]
H A Ddownload_danger_prompt_browsertest.cc111 testing::Mock::VerifyAndClearExpectations(&download_); in VerifyExpectations()
120 download::MockDownloadItem& download() { return download_; } in download()
133 download_.SetUserData(DownloadProtectionService::kDownloadPingTokenKey, in SetUpDownloadItemExpectations()
159 &download_, in CreatePrompt()
174 download::MockDownloadItem download_; member in safe_browsing::DownloadDangerPromptTest
311 ON_CALL(download_, GetURL()).WillByDefault(ReturnRef(download_url_)); in ShowUi()
312 ON_CALL(download_, GetReferrerUrl()) in ShowUi()
314 ON_CALL(download_, GetTargetFilePath()) in ShowUi()
316 ON_CALL(download_, IsDangerous()).WillByDefault(Return(true)); in ShowUi()
317 ON_CALL(download_, GetFileNameToReportUser()) in ShowUi()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/download/
H A Ddownload_danger_prompt_views.cc65 download::DownloadItem* download_; member in __anond0596c000111::DownloadDangerPromptViews
79 : download_(item), in DownloadDangerPromptViews()
106 download_->AddObserver(this); in DownloadDangerPromptViews()
126 if (download_) in ~DownloadDangerPromptViews()
127 download_->RemoveObserver(this); in ~DownloadDangerPromptViews()
181 if (!download_->IsDangerous() || download_->IsDone()) { in OnDownloadUpdated()
239 if (download_->IsMixedContent()) { in GetMessageBody()
268 if (download_) { in RunDone()
271 if (download_->IsDangerous() && !download_->IsDone()) { in RunDone()
284 download_->RemoveObserver(this); in RunDone()
[all …]
/dports/ftp/filezilla/filezilla-3.55.1/src/interface/
H A Dspeedlimits_dialog.cpp11 wxTextCtrlEx* download_{}; member
59 impl_->download_ = new wxTextCtrlEx(this, -1); in Run()
60 inner->Add(impl_->download_, lay.valign)->SetMinSize(wxSize(lay.dlgUnits(35), -1)); in Run()
85 impl_->download_->SetMaxLength(9); in Run()
86 impl_->download_->ChangeValue(fz::to_wstring(downloadlimit)); in Run()
87 impl_->download_->Enable(enable); in Run()
101 if (!impl_->download_->GetValue().ToLong(&download) || (download < 0)) { in OnOK()
124 impl_->download_->Enable(event.IsChecked()); in OnToggleEnable()
H A Dmanual_transfer.cpp20 wxRadioButton* download_{}; member
70 …impl_->download_ = new wxRadioButton(box, nullID, _("Download"), wxDefaultPosition, wxDefaultSize,… in Run()
71 impl_->download_->SetValue(true); in Run()
72 impl_->download_->SetFocus(); in Run()
73 inner->Add(impl_->download_); in Run()
77 impl_->download_->Bind(wxEVT_RADIOBUTTON, &CManualTransfer::OnDirection, this); in Run()
257 if (impl_->download_->GetValue()) { in SetAutoAsciiState()
279 if (!impl_->download_->GetValue()) { in OnLocalChanged()
298 if (impl_->download_->GetValue()) { in OnLocalBrowse()
320 if (impl_->download_->GetValue()) { in OnDirection()
[all …]
/dports/ftp/filezilla/filezilla-3.55.1/src/interface/settings/
H A Doptionspage_fileexists.cpp11 wxChoice* download_{}; member
39 impl_->download_ = new wxChoice(box, nullID); in CreateControls()
40 inner->Add(impl_->download_, lay.valign); in CreateControls()
55 actions(impl_->download_); in CreateControls()
70 impl_->download_->SetSelection(m_pOptions->get_int(OPTION_FILEEXISTS_DOWNLOAD)); in LoadPage()
78 m_pOptions->set(OPTION_FILEEXISTS_DOWNLOAD, impl_->download_->GetSelection()); in SavePage()
/dports/devel/rebar3/rebar3-3.17.0/src/
H A Drebar_hg_resource.erl71 case download_(TmpDir, rebar_app_info:source(AppInfo), State) of
82 download_(Dir, AppInfo, State).
84 download_(Dir, {hg, Url}, State) -> function
86 download_(Dir, {hg, Url, {branch, "default"}}, State);
87 download_(Dir, {hg, Url, ""}, State) -> function
89 download_(Dir, {hg, Url, {branch, "default"}}, State);
90 download_(Dir, {hg, Url, {branch, Branch}}, _State) -> function
98 download_(Dir, {hg, Url, {tag, Tag}}, _State) -> function
106 download_(Dir, {hg, Url, {ref, Ref}}, _State) -> function
114 download_(Dir, {hg, Url, Rev}, _State) -> function
H A Drebar_git_resource.erl15 download_/3,
133 case download_(TmpDir, rebar_app_info:source(AppInfo), State) of
146 download_(Dir, AppInfo, State).
148 download_(Dir, {git, Url}, State) -> function
150 download_(Dir, {git, Url, {branch, "master"}}, State);
151 download_(Dir, {git, Url, ""}, State) -> function
153 download_(Dir, {git, Url, {branch, "master"}}, State);
154 download_(Dir, {git, Url, {branch, Branch}}, _State) -> function
158 download_(Dir, {git, Url, {tag, Tag}}, _State) -> function
162 download_(Dir, {git, Url, {ref, Ref}}, _State) -> function
[all …]
/dports/devel/rebar3/rebar3-3.17.0/test/
H A Drebar_localfs_resource_v2.erl41 download_(TmpDir, rebar_app_info:source(AppInfo), State).
43 download_(TmpDir, {localfs, Path, _Ref}, State) -> function
44 download_(TmpDir, {localfs, Path}, State);
45 download_(TmpDir, {localfs, Path}, _State) -> function
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/download/android/
H A Ddownload_manager_service_unittest.cc68 download_.reset(new download::MockDownloadItem()); in CreateDownloadItem()
69 ON_CALL(*download_, CanResume()) in CreateDownloadItem()
75 return download_.get(); in GetDownloadByGuid()
81 std::unique_ptr<download::MockDownloadItem> download_; member in DownloadManagerServiceTest
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/services/network/throttling/
H A Dthrottling_network_interceptor.cc77 FinishRecords(&download_, offline); in UpdateConditions()
130 now, &download_, download_last_tick_, download_tick_length_); in UpdateThrottled()
145 download_.push_back(record); in UpdateSuspended()
170 CollectFinished(&download_, &finished); in OnTimer()
195 if (download_.empty() && upload_.empty() && !suspend_count) in ArmTimer()
199 download_, download_last_tick_, download_tick_length_); in ArmTimer()
260 download_.push_back(record); in StartThrottle()
269 RemoveRecord(&download_, callback); in StopThrottle()
/dports/www/chromium-legacy/chromium-88.0.4324.182/services/network/throttling/
H A Dthrottling_network_interceptor.cc72 FinishRecords(&download_, offline); in UpdateConditions()
125 now, &download_, download_last_tick_, download_tick_length_); in UpdateThrottled()
140 download_.push_back(record); in UpdateSuspended()
165 CollectFinished(&download_, &finished); in OnTimer()
190 if (download_.empty() && upload_.empty() && !suspend_count) in ArmTimer()
194 download_, download_last_tick_, download_tick_length_); in ArmTimer()
255 download_.push_back(record); in StartThrottle()
264 RemoveRecord(&download_, callback); in StopThrottle()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/download/
H A Dsave_package.cc201 CHECK(!download_); in ~SavePackage()
307 download_ = item; in InitWithDownloadItem()
335 download_->SetTotalBytes(1); in InitWithDownloadItem()
343 if (!download_) in OnMHTMLOrWebBundleGenerated()
673 if (download_) { in Stop()
675 download_->Cancel(false); in Stop()
738 if (download_) { in Finish()
772 if (download_) { in SaveFinished()
1253 if (download_) in CompleteSavableResourceLinksResponse()
1385 DCHECK(download_); in FinalizeDownloadEntry()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/download/
H A Dsave_package.cc204 CHECK(!download_); in ~SavePackage()
313 download_ = item; in InitWithDownloadItem()
341 download_->SetTotalBytes(1); in InitWithDownloadItem()
349 if (!download_) in OnMHTMLOrWebBundleGenerated()
679 if (download_) { in Stop()
681 download_->Cancel(false); in Stop()
744 if (download_) { in Finish()
778 if (download_) { in SaveFinished()
1282 if (download_) in CompleteSavableResourceLinksResponse()
1414 DCHECK(download_); in FinalizeDownloadEntry()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/offline_pages/content/background_loader/
H A Dbackground_loader_contents_unittest.cc36 bool download() { return download_; } in download()
52 bool download_; member in background_loader::BackgroundLoaderContentsTest
61 : download_(false), in BackgroundLoaderContentsTest()
70 download_ = false; in SetUp()
85 download_ = download; in DownloadCallback()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/offline_pages/content/background_loader/
H A Dbackground_loader_contents_unittest.cc36 bool download() { return download_; } in download()
52 bool download_; member in background_loader::BackgroundLoaderContentsTest
61 : download_(false), in BackgroundLoaderContentsTest()
70 download_ = false; in SetUp()
85 download_ = download; in DownloadCallback()
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/public/test/
H A Ddownload_test_observer.cc468 download_(nullptr), in SavePackageFinishedObserver()
477 if (download_) in ~SavePackageFinishedObserver()
478 download_->RemoveObserver(this); in ~SavePackageFinishedObserver()
491 download_->RemoveObserver(this); in OnDownloadDestroyed()
492 download_ = nullptr; in OnDownloadDestroyed()
498 download_ = download; in OnDownloadCreated()
503 download_->RemoveObserver(this); in ManagerGoingDown()
504 download_ = nullptr; in ManagerGoingDown()
/dports/devel/fbthrift/fbthrift-2021.12.27.00/thrift/perf/cpp2/util/
H A DOperation.h56 download_(std::make_unique<Download<AsyncClient>>(stats)), in Operation()
86 download_->async(client_.get(), std::move(cb)); in async()
132 download_->asyncReceived(client_.get(), std::move(rstate)); in asyncReceived()
161 download_->error(client_.get(), std::move(rstate)); in asyncErrorReceived()
182 std::unique_ptr<Download<AsyncClient>> download_; variable
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/UI/
H A DStore.cpp59 if (download_) in ~HttpImageFileView()
60 download_->Cancel(); in ~HttpImageFileView()
84 std::shared_ptr<http::Download> download_; member in HttpImageFileView
136 if (!texture_ && !textureFailed_ && !path_.empty() && !download_) { in Draw()
139 download_ = downloader_->StartDownloadWithCallback(path_, Path(), cb, acceptMime); in Draw()
140 download_->SetHidden(true); in Draw()
148 download_.reset(); in Draw()
/dports/emulators/ppsspp/ppsspp-1.12.3/UI/
H A DStore.cpp59 if (download_) in ~HttpImageFileView()
60 download_->Cancel(); in ~HttpImageFileView()
84 std::shared_ptr<http::Download> download_; member in HttpImageFileView
136 if (!texture_ && !textureFailed_ && !path_.empty() && !download_) { in Draw()
139 download_ = downloader_->StartDownloadWithCallback(path_, Path(), cb, acceptMime); in Draw()
140 download_->SetHidden(true); in Draw()
148 download_.reset(); in Draw()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/UI/
H A DStore.cpp59 if (download_) in ~HttpImageFileView()
60 download_->Cancel(); in ~HttpImageFileView()
84 std::shared_ptr<http::Download> download_; member in HttpImageFileView
136 if (!texture_ && !textureFailed_ && !path_.empty() && !download_) { in Draw()
139 download_ = downloader_->StartDownloadWithCallback(path_, Path(), cb, acceptMime); in Draw()
140 download_->SetHidden(true); in Draw()
148 download_.reset(); in Draw()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/download/internal/background_service/
H A Din_memory_download_driver_unittest.cc91 download_ = download.get(); in Create()
97 TestInMemoryDownload* last_created_download() { return download_; } in last_created_download()
100 TestInMemoryDownload* download_ = nullptr; member in download::__anonb77df5700111::TestInMemoryDownloadFactory
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/download/internal/background_service/
H A Din_memory_download_driver_unittest.cc91 download_ = download.get(); in Create()
97 TestInMemoryDownload* last_created_download() { return download_; } in last_created_download()
100 TestInMemoryDownload* download_ = nullptr; member in download::__anon17eaaa2b0111::TestInMemoryDownloadFactory

1234