Home
last modified time | relevance | path

Searched refs:instance_ (Results 1 – 25 of 32) sorted by relevance

12

/external/webrtc/webrtc/base/
Dreferencecountedsingletonfactory.h48 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 …]
Dwin32window.cc22 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()
Dmessagequeue.cc35 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()
Dreferencecountedsingletonfactory_unittest.cc32 instance_.reset(new MyExistenceWatcher()); in SetupInstance()
37 instance_.reset(); in CleanupInstance()
Dwin32window.h50 static HINSTANCE instance_; variable
/external/protobuf/src/google/protobuf/stubs/
Dsingleton.h45 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/
Dsingleton.h238 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/
Dtracing-category-observer.cc14 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()
Dtracing-category-observer.h29 static TracingCategoryObserver* instance_;
/external/webrtc/webrtc/sound/
Dplatformsoundsystemfactory.cc25 if (!instance_.get()) { in SetupInstance()
26 instance_.reset(CreatePlatformSoundSystem()); in SetupInstance()
28 if (!instance_->Init()) { in SetupInstance()
36 instance_->Terminate(); in CleanupInstance()
Dnullsoundsystemfactory.cc24 instance_.reset(new NullSoundSystem()); in SetupInstance()
29 instance_.reset(); in CleanupInstance()
/external/webrtc/webrtc/system_wrappers/source/
Ddata_log.cc28 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/
Dflag_helper.cc154 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/
Dwasm-debug.cc30 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/
DBlinkGCPluginConsumer.cpp68 : 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()
DRecordInfo.h165 : instance_(instance) in RecordCache()
199 clang::CompilerInstance& instance() const { return instance_; } in instance()
202 clang::CompilerInstance& instance_;
DBlinkGCPluginConsumer.h86 clang::CompilerInstance& instance_; variable
/external/pdfium/core/fxge/win32/
Dfx_win32_dwrite.cpp77 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/
Dic-stats.h63 V8_INLINE static ICStats* instance() { return instance_.Pointer(); } in instance()
66 static base::LazyInstance<ICStats>::type instance_;
/external/v8/tools/clang/plugins/
DChromeClassTester.h30 clang::CompilerInstance& instance() { return instance_; } in instance()
85 clang::CompilerInstance& instance_; variable
DChromeClassTester.cpp40 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/
Dpower_monitor_device_source.h80 HMODULE instance_; variable
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.0/
Dhidl_manager.cpp375 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/
Ddata_log_impl.h145 static DataLogImpl* instance_; variable
/external/v8/src/libsampler/
Dsampler.cc295 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

12