/external/webrtc/webrtc/base/ |
D | referencecountedsingletonfactory.h | 48 scoped_ptr<Interface> instance_; variable 58 ASSERT(instance_.get() != NULL); in GetInstance() 63 return instance_.get(); in GetInstance() 69 ASSERT(instance_.get() != NULL); in ReleaseInstance() 89 : instance_(NULL), in rcsf_ptr() 99 return *instance_; 104 return instance_; 111 return instance_; in get() 117 if (instance_) { in release() 118 instance_ = NULL; in release() [all …]
|
D | win32window.cc | 22 HINSTANCE Win32Window::instance_ = NULL; member in rtc::Win32Window 43 &instance_)) { in Create() 52 wcex.hInstance = instance_; in Create() 62 x, y, cx, cy, parent, NULL, instance_, this); in Create() 72 ::UnregisterClass(MAKEINTATOM(window_class_), instance_); in Shutdown()
|
D | messagequeue.cc | 35 MessageQueueManager* MessageQueueManager::instance_ = NULL; member in rtc::MessageQueueManager 40 if (!instance_) in Instance() 41 instance_ = new MessageQueueManager; in Instance() 42 return instance_; in Instance() 46 return instance_ != NULL; in IsInitialized() 72 if (!instance_) return; in Remove() 95 instance_ = NULL; in RemoveInternal() 103 if (!instance_) return; in Clear()
|
D | referencecountedsingletonfactory_unittest.cc | 32 instance_.reset(new MyExistenceWatcher()); in SetupInstance() 37 instance_.reset(); in CleanupInstance()
|
D | win32window.h | 50 static HINSTANCE instance_; variable
|
D | messagequeue.h | 60 static MessageQueueManager* instance_; variable
|
/external/wpa_supplicant_8/wpa_supplicant/binder/ |
D | binder_manager.cpp | 22 BinderManager *BinderManager::instance_ = NULL; member in wpa_supplicant_binder::BinderManager 27 if (!instance_) in getInstance() 28 instance_ = new BinderManager(); in getInstance() 29 return instance_; in getInstance() 35 if (instance_) in destroyInstance() 36 delete instance_; in destroyInstance() 37 instance_ = NULL; in destroyInstance()
|
D | binder_manager.h | 48 static BinderManager *instance_; variable
|
/external/libchrome/base/memory/ |
D | singleton.h | 238 subtle::AtomicWord value = subtle::Acquire_Load(&instance_); in get() 244 if (subtle::Acquire_CompareAndSwap(&instance_, 0, in get() 252 subtle::Release_Store(&instance_, in get() 262 value = internal::WaitForInstance(&instance_); in get() 273 Traits::Delete(reinterpret_cast<Type*>(subtle::NoBarrier_Load(&instance_))); in OnExit() 274 instance_ = 0; in OnExit() 276 static subtle::AtomicWord instance_; variable 280 subtle::AtomicWord Singleton<Type, Traits, DifferentiatingType>::instance_ = 0;
|
/external/webrtc/webrtc/sound/ |
D | platformsoundsystemfactory.cc | 25 if (!instance_.get()) { in SetupInstance() 26 instance_.reset(CreatePlatformSoundSystem()); in SetupInstance() 28 if (!instance_->Init()) { in SetupInstance() 36 instance_->Terminate(); in CleanupInstance()
|
D | nullsoundsystemfactory.cc | 24 instance_.reset(new NullSoundSystem()); in SetupInstance() 29 instance_.reset(); in CleanupInstance()
|
/external/webrtc/webrtc/system_wrappers/source/ |
D | data_log.cc | 28 DataLogImpl* DataLogImpl::instance_ = NULL; member in webrtc::DataLogImpl 325 new rtc::PlatformThread(DataLogImpl::Run, instance_, "DataLog")), in DataLogImpl() 342 if (instance_ == NULL) { in CreateLog() 343 instance_ = new DataLogImpl(); in CreateLog() 344 return instance_->Init(); in CreateLog() 346 ++instance_->counter_; in CreateLog() 358 return instance_; in StaticInstance() 363 if (instance_ && instance_->counter_ > 1) { in ReturnLog() 364 --instance_->counter_; in ReturnLog() 367 delete instance_; in ReturnLog() [all …]
|
/external/v8/test/cctest/ |
D | test-sampler-api.cc | 94 CHECK(!instance_); in SamplingTestHelper() 95 instance_ = this; in SamplingTestHelper() 108 instance_ = NULL; in ~SamplingTestHelper() 124 instance_->DoCollectSample(); in CollectSample() 128 instance_->DoJitCodeEventHandler(event); in JitCodeEventHandler() 187 static SamplingTestHelper* instance_; member in __anon3a0c75d30111::SamplingTestHelper 190 SamplingTestHelper* SamplingTestHelper::instance_; member in __anon3a0c75d30111::SamplingTestHelper
|
D | test-heap-profiler.cc | 1547 CHECK(!instance_); in GraphWithImplicitRefs() 1548 instance_ = this; in GraphWithImplicitRefs() 1560 instance_ = NULL; in ~GraphWithImplicitRefs() 1565 instance_->AddImplicitReferences(); in gcPrologue() 1583 static GraphWithImplicitRefs* instance_; member in GraphWithImplicitRefs 1587 GraphWithImplicitRefs* GraphWithImplicitRefs::instance_ = NULL; member in GraphWithImplicitRefs
|
D | test-api.cc | 13762 CHECK(instance_ == NULL); in SetFunctionEntryHookTest() 13763 instance_ = this; in SetFunctionEntryHookTest() 13766 CHECK(instance_ == this); in ~SetFunctionEntryHookTest() 13767 instance_ = NULL; in ~SetFunctionEntryHookTest() 13777 CHECK(instance_ != NULL); in JitEvent() 13778 instance_->OnJitEvent(event); in JitEvent() 13785 CHECK(instance_ != NULL); in EntryHook() 13786 instance_->OnEntryHook(function, return_addr_location); in EntryHook() 13790 CHECK(instance_ != NULL); in RuntimeCallback() 13815 static SetFunctionEntryHookTest* instance_; member in SetFunctionEntryHookTest [all …]
|
/external/libbrillo/brillo/ |
D | flag_helper.cc | 154 brillo::FlagHelper* instance_ = nullptr; variable 165 if (!instance_) in GetInstance() 166 instance_ = new FlagHelper(); in GetInstance() 168 return instance_; in GetInstance() 172 delete instance_; in ResetForTesting() 173 instance_ = nullptr; in ResetForTesting()
|
/external/v8/src/profiler/ |
D | sampler.cc | 583 if (instance_ == NULL) { in AddActiveSampler() 586 instance_ = new SamplerThread(sampler->interval()); in AddActiveSampler() 591 DCHECK(!instance_->active_samplers_.Contains(sampler)); in AddActiveSampler() 592 DCHECK(instance_->interval_ == sampler->interval()); in AddActiveSampler() 593 instance_->active_samplers_.Add(sampler); in AddActiveSampler() 595 if (need_to_start) instance_->StartSynchronously(); in AddActiveSampler() 604 bool removed = instance_->active_samplers_.RemoveElement(sampler); in RemoveActiveSampler() 610 if (instance_->active_samplers_.is_empty()) { in RemoveActiveSampler() 611 instance_to_remove = instance_; in RemoveActiveSampler() 612 instance_ = NULL; in RemoveActiveSampler() [all …]
|
/external/pdfium/core/src/fxge/win32/ |
D | fx_win32_dwrite.cpp | 68 if (!instance_) { in GetLoader() 69 instance_ = new CDwFontFileLoader(); in GetLoader() 71 return instance_; in GetLoader() 73 static bool IsLoaderInitialized() { return instance_ != NULL; } in IsLoaderInitialized() 78 static IDWriteFontFileLoader* instance_; member in CDwFontFileLoader 309 IDWriteFontFileLoader* CDwFontFileLoader::instance_ = NULL; member in CDwFontFileLoader 327 instance_ = NULL; in Release()
|
/external/libchrome/base/power_monitor/ |
D | power_monitor_device_source.h | 80 HMODULE instance_; variable
|
/external/webrtc/webrtc/system_wrappers/include/ |
D | data_log_impl.h | 145 static DataLogImpl* instance_; variable
|
/external/v8/src/ |
D | utils.h | 467 T instance_; 478 , instance_(&resource->instance_) { 486 instance_ = NULL; 489 T* value() { return instance_; } 490 T* operator -> () { return instance_; } 494 T* instance_;
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/experimental/javascript/closure/ |
D | base.js | 425 return ctor.instance_ || (ctor.instance_ = new ctor());
|