Searched refs:instance_ (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium/chrome/browser/automation/
H A Dautomation_provider_list.cc12 AutomationProviderList* AutomationProviderList::instance_ = NULL; member in class:AutomationProviderList
23 instance_ = NULL;
46 if (!instance_) {
47 instance_ = new AutomationProviderList;
49 DCHECK(NULL != instance_);
50 return instance_;
H A Dautomation_provider_list.h44 static AutomationProviderList* instance_; member in class:AutomationProviderList
/external/chromium/chrome/browser/extensions/
H A Dextension_error_reporter.cc19 ExtensionErrorReporter* ExtensionErrorReporter::instance_ = NULL; member in class:ExtensionErrorReporter
23 if (!instance_) {
24 instance_ = new ExtensionErrorReporter(enable_noisy_errors);
30 CHECK(instance_) << "Init() was never called";
31 return instance_;
H A Dextension_error_reporter.h42 static ExtensionErrorReporter* instance_; member in class:ExtensionErrorReporter
/external/chromium/base/memory/
H A Dsingleton.h206 base::subtle::AtomicWord value = base::subtle::NoBarrier_Load(&instance_);
209 ANNOTATE_HAPPENS_AFTER(&instance_);
214 if (base::subtle::Acquire_CompareAndSwap(&instance_,
217 // instance_ was NULL and is now kBeingCreatedMarker. Only one thread
225 ANNOTATE_HAPPENS_BEFORE(&instance_);
227 &instance_, reinterpret_cast<base::subtle::AtomicWord>(newval));
243 value = base::subtle::NoBarrier_Load(&instance_);
250 ANNOTATE_HAPPENS_AFTER(&instance_);
259 // created. We should only ever get here with a valid instance_ pointer.
261 reinterpret_cast<Type*>(base::subtle::NoBarrier_Load(&instance_)));
264 static base::subtle::AtomicWord instance_; member in class:Singleton
269 instance_ = 0; member in class:Singleton
[all...]
/external/chromium/base/
H A Dlazy_instance.h138 instance_ = Traits::New(buf_);
147 // and CompleteInstance(...) happens before "return instance_" below.
150 return instance_;
160 return p == instance_;
173 Traits::Delete(me->instance_);
174 me->instance_ = NULL;
180 Type *instance_; member in class:base::LazyInstance
/external/chromium/third_party/libjingle/source/talk/base/
H A Dwin32window.cc39 HINSTANCE Win32Window::instance_ = GetModuleHandle(NULL); member in class:talk_base::Win32Window
61 wcex.hInstance = instance_;
71 x, y, cx, cy, parent, NULL, instance_, this);
80 instance_ = instance;
85 ::UnregisterClass(MAKEINTATOM(window_class_), instance_); local
H A Dwin32window.h69 static HINSTANCE instance_; member in class:talk_base::Win32Window
H A Dmessagequeue.cc49 MessageQueueManager* MessageQueueManager::instance_; member in class:talk_base::MessageQueueManager
54 if (!instance_)
55 instance_ = new MessageQueueManager;
56 return instance_;
92 instance_ = NULL;
/external/webrtc/src/system_wrappers/source/
H A Ddata_log.cc29 DataLogImpl* DataLogImpl::instance_ = NULL; member in class:webrtc::DataLogImpl
344 if (instance_ == NULL) {
345 instance_ = new DataLogImpl();
346 return instance_->Init();
348 ++instance_->counter_;
356 instance_,
369 return instance_;
374 if (instance_ && instance_->counter_ > 1) {
375 --instance_
[all...]
/external/chromium/chrome/browser/ui/gtk/
H A Dtheme_install_bubble_view_gtk.h57 static ThemeInstallBubbleViewGtk* instance_; member in class:ThemeInstallBubbleViewGtk
H A Dtheme_install_bubble_view_gtk.cc25 ThemeInstallBubbleViewGtk* ThemeInstallBubbleViewGtk::instance_ = NULL; member in class:ThemeInstallBubbleViewGtk
31 if (instance_)
32 instance_->increment_num_loading();
34 instance_ = new ThemeInstallBubbleViewGtk(GTK_WIDGET(parent));
81 instance_ = NULL;
/external/chromium/chrome/browser/debugger/
H A Ddevtools_remote_message.cc16 static DevToolsRemoteMessageBuilder instance_; local
17 return instance_;
H A Ddevtools_netlog_observer.cc20 DevToolsNetLogObserver* DevToolsNetLogObserver::instance_ = NULL; member in class:DevToolsNetLogObserver
220 DCHECK(!instance_);
222 instance_ = new DevToolsNetLogObserver(io_thread->net_log());
227 DCHECK(instance_);
229 delete instance_;
230 instance_ = NULL;
236 return instance_;
H A Ddevtools_netlog_observer.h67 static DevToolsNetLogObserver* instance_; member in class:DevToolsNetLogObserver
/external/chromium/chrome/browser/rlz/
H A Drlz.cc80 DCHECK(!instance_);
81 instance_ = this;
94 delete instance_;
100 instance_ = NULL;
105 // There should only be one instance created at a time, and instance_ points
108 // instance_ is no longer needed (or Chrome is exiting), this is null.
109 static OmniBoxUsageObserver* instance_; member in class:__anon2231::OmniBoxUsageObserver
117 OmniBoxUsageObserver* OmniBoxUsageObserver::instance_ = NULL; member in class:__anon2231::OmniBoxUsageObserver
/external/chromium/chrome/browser/geolocation/
H A Dgeolocation_browsertest.cc185 DCHECK(MockLocationProvider::instance_);
186 MockLocationProvider::instance_->HandlePositionChanged(geoposition);
387 CheckGeoposition(MockLocationProvider::instance_->position_);
416 CheckGeoposition(MockLocationProvider::instance_->position_);
444 CheckGeoposition(MockLocationProvider::instance_->position_);
453 CheckGeoposition(MockLocationProvider::instance_->position_);
459 CheckGeoposition(MockLocationProvider::instance_->position_);
471 CheckGeoposition(MockLocationProvider::instance_->position_);
484 ASSERT_TRUE(MockLocationProvider::instance_);
510 CheckGeoposition(MockLocationProvider::instance_
[all...]
/external/chromium/chrome/browser/ui/views/
H A Dtask_manager_view.cc351 static TaskManagerView* instance_; member in class:__anon2586::TaskManagerView
357 TaskManagerView* TaskManagerView::instance_ = NULL; member in class:__anon2586::TaskManagerView
560 if (instance_) {
561 if (instance_->highlight_background_resources_ !=
563 instance_->window()->CloseWindow();
566 instance_->window()->Activate();
570 instance_ = new TaskManagerView(highlight_background_resources);
571 views::Window::CreateChromeWindow(NULL, gfx::Rect(), instance_);
572 instance_->InitAlwaysOnTopState();
573 instance_
[all...]
/external/chromium/webkit/glue/
H A Dresource_fetcher_unittest.cc39 FetcherDelegate::instance_ = this; member in class:__anon3235::FetcherDelegate::FetcherDelegate
84 static FetcherDelegate* instance_; member in class:__anon3235::FetcherDelegate
94 FetcherDelegate* FetcherDelegate::instance_ = NULL; member in class:__anon3235::FetcherDelegate
/external/v8/src/
H A Dplatform-cygwin.cc640 if (instance_ == NULL) {
641 instance_ = new SamplerThread(sampler->interval());
642 instance_->Start();
644 ASSERT(instance_->interval_ == sampler->interval());
652 RuntimeProfiler::StopRuntimeProfilerThreadBeforeShutdown(instance_);
653 delete instance_;
654 instance_ = NULL;
736 static SamplerThread* instance_; member in class:v8::internal::SamplerThread
744 SamplerThread* SamplerThread::instance_ = NULL; member in class:v8::internal::SamplerThread
H A Dplatform-freebsd.cc736 if (instance_ == NULL) {
746 instance_ = new SignalSender(sampler->interval());
747 instance_->Start();
749 ASSERT(instance_->interval_ == sampler->interval());
757 RuntimeProfiler::StopRuntimeProfilerThreadBeforeShutdown(instance_);
758 delete instance_;
759 instance_ = NULL;
848 static SignalSender* instance_; member in class:v8::internal::SignalSender
857 SignalSender* SignalSender::instance_ = NULL; member in class:v8::internal::SignalSender
H A Dplatform-macos.cc759 if (instance_ == NULL) {
760 instance_ = new SamplerThread(sampler->interval());
761 instance_->Start();
763 ASSERT(instance_->interval_ == sampler->interval());
771 RuntimeProfiler::StopRuntimeProfilerThreadBeforeShutdown(instance_);
772 delete instance_;
773 instance_ = NULL;
866 static SamplerThread* instance_; member in class:v8::internal::SamplerThread
876 SamplerThread* SamplerThread::instance_ = NULL; member in class:v8::internal::SamplerThread
H A Dplatform-solaris.cc746 if (instance_ == NULL) {
749 instance_ = new SignalSender(sampler->interval());
750 instance_->Start();
752 ASSERT(instance_->interval_ == sampler->interval());
760 RuntimeProfiler::StopRuntimeProfilerThreadBeforeShutdown(instance_);
761 delete instance_;
762 instance_ = NULL;
852 static SignalSender* instance_; member in class:v8::internal::SignalSender
861 SignalSender* SignalSender::instance_ = NULL; member in class:v8::internal::SignalSender
/external/chromium/chrome/browser/resources/shared/js/
H A Dcr.js316 return ctor.instance_ || (ctor.instance_ = new ctor());
/external/chromium/chrome/browser/ui/cocoa/
H A Dtask_manager_mac.h125 static TaskManagerMac* instance_; member in class:TaskManagerMac

Completed in 307 milliseconds

12