Home
last modified time | relevance | path

Searched refs:predictor_ (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/chrome/browser/predictors/
Dresource_prefetch_predictor_unittest.cc124 predictor_->StartInitialization(); in InitializePredictor()
150 predictor_.reset(new ResourcePrefetchPredictor(config, profile_.get())); in ResetPredictor()
151 predictor_->set_mock_tables(mock_tables_); in ResetPredictor()
161 scoped_ptr<ResourcePrefetchPredictor> predictor_; member in predictors::ResourcePrefetchPredictorTest
193 EXPECT_EQ(predictor_->initialization_state_, in SetUp()
199 EXPECT_TRUE(predictor_->inflight_navigations_.empty()); in SetUp()
200 EXPECT_EQ(predictor_->initialization_state_, in SetUp()
205 predictor_.reset(NULL); in TearDown()
345 EXPECT_TRUE(predictor_->url_table_cache_->empty()); in TEST_F()
346 EXPECT_TRUE(predictor_->host_table_cache_->empty()); in TEST_F()
[all …]
Dautocomplete_action_predictor_unittest.cc90 predictor_(new AutocompleteActionPredictor(profile_.get())) { in AutocompleteActionPredictorTest()
94 predictor_.reset(NULL); in ~AutocompleteActionPredictorTest()
104 predictor_->CreateLocalCachesFromDatabase(); in SetUp()
108 ASSERT_TRUE(predictor_->initialized_); in SetUp()
115 predictor_->Shutdown(); in TearDown()
167 predictor_->AddAndUpdateRows( in AddRow()
177 predictor_->AddAndUpdateRows( in UpdateRow()
183 predictor_->DeleteAllRows(); in DeleteAllRows()
187 predictor_->DeleteRowsWithURLs(rows); in DeleteRowsWithURLs()
203 base::AutoReset<bool> initialized_reset(&predictor_->initialized_, false); in DeleteOldIdsFromCaches()
[all …]
Dresource_prefetcher_manager.cc22 : predictor_(predictor), in ResourcePrefetcherManager()
26 CHECK(predictor_); in ResourcePrefetcherManager()
39 predictor_ = NULL; in ShutdownOnUIThread()
122 if (predictor_) { in ResourcePrefetcherFinishedOnUI()
123 predictor_->FinishedPrefetchForNavigation(navigation_id, in ResourcePrefetcherFinishedOnUI()
Dresource_prefetcher_manager.h76 ResourcePrefetchPredictor* predictor_; variable
/external/chromium_org/chrome/browser/net/
Dconnect_interceptor.cc16 predictor_(predictor) { in ConnectInterceptor()
29 predictor_->LearnAboutInitialNavigation(request_scheme_host); in WitnessURLRequest()
52 predictor_->LearnFromNavigation(original_scheme_host, in WitnessURLRequest()
61 predictor_->LearnFromNavigation(referring_scheme_host, in WitnessURLRequest()
78 predictor_->PredictFrameSubresources(request_scheme_host, in WitnessURLRequest()
Dresource_prefetch_predictor_observer.cc95 : predictor_(predictor->AsWeakPtr()) { in ResourcePrefetchPredictorObserver()
128 predictor_, in OnRequestStarted()
160 predictor_, in OnRequestRedirected()
192 predictor_, in OnResponseStarted()
Dconnect_interceptor.h41 Predictor* const predictor_; variable
Dresource_prefetch_predictor_observer.h43 base::WeakPtr<predictors::ResourcePrefetchPredictor> predictor_;
Dpredictor_unittest.cc42 : predictor_(predictor), in WaitForResolutionHelper()
51 if (predictor_->GetResolutionDuration(*i) == in CheckIfResolutionsDone()
65 Predictor* predictor_; member in chrome_browser_net::WaitForResolutionHelper
Dpredictor.cc99 : predictor_(predictor), in LookupRequest()
126 predictor_->OnLookupFinished(this, url_, result == net::OK); in OnLookupFinished()
129 Predictor* predictor_; // The predictor which started us. member in chrome_browser_net::Predictor::LookupRequest
/external/chromium_org/net/websockets/
Dwebsocket_deflate_stream_test.cc214 predictor_(NULL) {} in WebSocketDeflateStreamTest()
226 predictor_ = new WebSocketDeflatePredictorMock; in Initialize()
231 scoped_ptr<WebSocketDeflatePredictor>(predictor_))); in Initialize()
238 WebSocketDeflatePredictorMock* predictor_; member in net::__anon7a2059da0111::WebSocketDeflateStreamTest
275 predictor_->AddFramesToBeInput(frames_); in AddCompressibleFrameString()
323 : result_(result), predictor_(predictor) {} in WriteFramesStub()
330 predictor_->VerifySentFrames(frames_); in Call()
342 WebSocketDeflatePredictorMock* predictor_; member in net::__anon7a2059da0111::WriteFramesStub
1014 predictor_->AddFramesToBeInput(frames); in TEST_F()
1016 predictor_->Clear(); in TEST_F()
[all …]
Dwebsocket_deflate_stream.cc48 predictor_(predictor.Pass()) { in WebSocketDeflateStream()
126 predictor_->RecordInputDataFrame(frame.get()); in Deflate()
131 predictor_->RecordWrittenDataFrame(frame.get()); in Deflate()
184 predictor_->Predict(frames, index); in OnMessageStart()
221 predictor_->RecordWrittenDataFrame(compressed.get()); in AppendCompressedFrame()
257 predictor_->RecordWrittenDataFrame(frame); in AppendPossiblyCompressedMessage()
271 predictor_->RecordWrittenDataFrame(compressed.get()); in AppendPossiblyCompressedMessage()
Dwebsocket_deflate_stream.h98 scoped_ptr<WebSocketDeflatePredictor> predictor_; variable
/external/chromium_org/chrome/browser/renderer_host/
Dchrome_render_message_filter.cc56 predictor_(profile_->GetNetworkPredictor()), in ChromeRenderMessageFilter()
105 if (predictor_) in OnDnsPrefetch()
106 predictor_->DnsPrefetchList(hostnames); in OnDnsPrefetch()
110 if (predictor_) in OnPreconnect()
111 predictor_->PreconnectUrl( in OnPreconnect()
Dchrome_render_message_filter.h129 chrome_browser_net::Predictor* predictor_; variable
/external/ceres-solver/examples/
Dnist.cc188 predictor_.resize(kNumObservations, kNumPredictors); in NISTProblem()
226 predictor_(i, j) = std::atof(pieces[j + kNumResponses].c_str()); in NISTProblem()
233 Matrix predictor() const { return predictor_; } in predictor()
235 int predictor_size() const { return predictor_.cols(); } in predictor_size()
236 int num_observations() const { return predictor_.rows(); } in num_observations()
243 Matrix predictor_; member in ceres::examples::NISTProblem
/external/chromium_org/chrome/browser/profiles/
Dprofile_impl_io_data.cc102 if (io_data_->predictor_ != NULL) { in ~Handle()
110 io_data_->predictor_->SaveStateForNextStartupAndTrim(); in ~Handle()
111 io_data_->predictor_->ShutdownOnUIThread(); in ~Handle()
167 io_data_->predictor_.reset(predictor); in Init()
211 io_data_->predictor_ in CreateMainRequestContextGetter()
455 network_delegate()->set_predictor(predictor_.get()); in InitializeInternal()
Dprofile_impl_io_data.h226 mutable scoped_ptr<chrome_browser_net::Predictor> predictor_; variable
Dprofile_impl.cc400 predictor_(NULL) { in ProfileImpl()
414 predictor_ = chrome_browser_net::Predictor::CreatePredictor( in ProfileImpl()
681 predictor_, session_cookie_mode, GetSpecialStoragePolicy(), in DoFinalInit()
1295 return predictor_; in GetNetworkPredictor()
Dprofile_impl.h295 chrome_browser_net::Predictor* predictor_; variable