/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
|
/external/protobuf/src/google/protobuf/stubs/ |
D | singleton.h | 45 return instance_; in get() 48 delete instance_; in ShutDown() local 49 instance_ = NULL; in ShutDown() 53 instance_ = new T(); in Init() 56 static T* instance_; variable 63 T* Singleton<T>::instance_ = NULL;
|
/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/v8/src/tracing/ |
D | tracing-category-observer.cc | 14 TracingCategoryObserver* TracingCategoryObserver::instance_ = nullptr; member in v8::tracing::TracingCategoryObserver 17 TracingCategoryObserver::instance_ = new TracingCategoryObserver(); in SetUp() 19 TracingCategoryObserver::instance_); in SetUp() 29 TracingCategoryObserver::instance_); in TearDown() 30 delete TracingCategoryObserver::instance_; in TearDown()
|
D | tracing-category-observer.h | 29 static TracingCategoryObserver* instance_;
|
/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/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/wasm/ |
D | wasm-debug.cc | 30 WasmInstance instance_; member in __anon16b2012b0111::InterpreterHandle 40 : instance_(debug_info->wasm_instance()->compiled_module()->module()), in InterpreterHandle() 41 interpreter_(GetBytesEnv(&instance_, debug_info), &allocator_), in InterpreterHandle() 45 instance_.mem_start = in InterpreterHandle() 47 CHECK(mem_buffer->byte_length()->ToUint32(&instance_.mem_size)); in InterpreterHandle() 49 DCHECK_EQ(0, instance_.module->min_mem_pages); in InterpreterHandle() 50 instance_.mem_start = nullptr; in InterpreterHandle() 51 instance_.mem_size = 0; in InterpreterHandle() 66 const WasmModule* module() { return instance_.module; } in module()
|
/external/v8/tools/clang/blink_gc_plugin/ |
D | BlinkGCPluginConsumer.cpp | 68 : instance_(instance), in BlinkGCPluginConsumer() 96 json_ = JsonWriter::from(instance_.createOutputFile( in HandleTranslationUnit() 101 instance_.getFrontendOpts().OutputFile, // BaseInput in HandleTranslationUnit() 131 if (!instance_.getLangOpts().DelayedTemplateParsing) in ParseFunctionTemplates() 135 clang::Sema& sema = instance_.getSema(); in ParseFunctionTemplates() 143 if (instance_.getSourceManager().isInSystemHeader( in ParseFunctionTemplates() 144 instance_.getSourceManager().getSpellingLoc(fd->getLocation()))) in ParseFunctionTemplates() 659 const SourceManager& source_manager = instance_.getSourceManager(); in GetLocString() 721 const SourceManager& source_manager = instance_.getSourceManager(); in GetFilename()
|
D | RecordInfo.h | 165 : instance_(instance) in RecordCache() 199 clang::CompilerInstance& instance() const { return instance_; } in instance() 202 clang::CompilerInstance& instance_;
|
D | BlinkGCPluginConsumer.h | 86 clang::CompilerInstance& instance_; variable
|
/external/pdfium/core/fxge/win32/ |
D | fx_win32_dwrite.cpp | 77 if (!instance_) { in GetLoader() 78 instance_ = new CDwFontFileLoader(); in GetLoader() 80 return instance_; in GetLoader() 82 static bool IsLoaderInitialized() { return !!instance_; } in IsLoaderInitialized() 87 static IDWriteFontFileLoader* instance_; member in CDwFontFileLoader 338 IDWriteFontFileLoader* CDwFontFileLoader::instance_ = nullptr; member in CDwFontFileLoader 358 instance_ = nullptr; in Release()
|
/external/v8/src/ic/ |
D | ic-stats.h | 63 V8_INLINE static ICStats* instance() { return instance_.Pointer(); } in instance() 66 static base::LazyInstance<ICStats>::type instance_;
|
/external/v8/tools/clang/plugins/ |
D | ChromeClassTester.h | 30 clang::CompilerInstance& instance() { return instance_; } in instance() 85 clang::CompilerInstance& instance_; variable
|
D | ChromeClassTester.cpp | 40 instance_(instance), in ChromeClassTester() 219 const SourceManager& source_manager = instance_.getSourceManager(); in InImplementationFile() 334 const SourceManager& source_manager = instance_.getSourceManager(); in GetFilename()
|
/external/libchrome/base/power_monitor/ |
D | power_monitor_device_source.h | 80 HMODULE instance_; variable
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/ |
D | hidl_manager.cpp | 375 HidlManager *HidlManager::instance_ = NULL; member in android::hardware::wifi::supplicant::V1_0::implementation::HidlManager 379 if (!instance_) in getInstance() 380 instance_ = new HidlManager(); in getInstance() 381 return instance_; in getInstance() 386 if (instance_) in destroyInstance() 387 delete instance_; in destroyInstance() 388 instance_ = NULL; in destroyInstance()
|
/external/webrtc/webrtc/system_wrappers/include/ |
D | data_log_impl.h | 145 static DataLogImpl* instance_; variable
|
/external/v8/src/libsampler/ |
D | sampler.cc | 295 static SamplerManager* instance() { return instance_.Pointer(); } in instance() 300 static base::LazyInstance<SamplerManager>::type instance_; member in v8::sampler::SamplerManager 304 base::LazyInstance<SamplerManager>::type SamplerManager::instance_ = member in v8::sampler::SamplerManager
|