Home
last modified time | relevance | path

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

/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
Dmessagequeue.h60 static MessageQueueManager* instance_; variable
/external/wpa_supplicant_8/wpa_supplicant/binder/
Dbinder_manager.cpp22 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()
Dbinder_manager.h48 static BinderManager *instance_; variable
/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/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/v8/test/cctest/
Dtest-sampler-api.cc100 CHECK(!instance_); in SamplingTestHelper()
101 instance_ = this; in SamplingTestHelper()
114 instance_ = NULL; in ~SamplingTestHelper()
130 instance_->DoCollectSample(); in CollectSample()
134 instance_->DoJitCodeEventHandler(event); in JitCodeEventHandler()
193 static SamplingTestHelper* instance_; member in __anon0cac248f0111::SamplingTestHelper
196 SamplingTestHelper* SamplingTestHelper::instance_; member in __anon0cac248f0111::SamplingTestHelper
Dtest-heap-profiler.cc1550 CHECK(!instance_); in GraphWithImplicitRefs()
1551 instance_ = this; in GraphWithImplicitRefs()
1563 instance_ = NULL; in ~GraphWithImplicitRefs()
1568 instance_->AddImplicitReferences(); in gcPrologue()
1586 static GraphWithImplicitRefs* instance_; member in GraphWithImplicitRefs
1590 GraphWithImplicitRefs* GraphWithImplicitRefs::instance_ = NULL; member in GraphWithImplicitRefs
Dtest-api.cc14254 CHECK(instance_ == NULL); in SetFunctionEntryHookTest()
14255 instance_ = this; in SetFunctionEntryHookTest()
14258 CHECK(instance_ == this); in ~SetFunctionEntryHookTest()
14259 instance_ = NULL; in ~SetFunctionEntryHookTest()
14269 CHECK(instance_ != NULL); in JitEvent()
14270 instance_->OnJitEvent(event); in JitEvent()
14277 CHECK(instance_ != NULL); in EntryHook()
14278 instance_->OnEntryHook(function, return_addr_location); in EntryHook()
14282 CHECK(instance_ != NULL); in RuntimeCallback()
14307 static SetFunctionEntryHookTest* instance_; member in SetFunctionEntryHookTest
[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/pdfium/core/src/fxge/win32/
Dfx_win32_dwrite.cpp68 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/
Dpower_monitor_device_source.h80 HMODULE instance_; variable
/external/chromium-trace/catapult/netlog_viewer/netlog_viewer/
Dcr.js298 return ctor.instance_ || (ctor.instance_ = new ctor());
/external/v8/src/
Dutils.h497 T instance_;
508 , instance_(&resource->instance_) {
516 instance_ = NULL;
519 T* value() { return instance_; }
520 T* operator -> () { return instance_; }
524 T* instance_;
/external/webrtc/webrtc/system_wrappers/include/
Ddata_log_impl.h145 static DataLogImpl* instance_; variable
/external/v8/src/libsampler/
Dv8-sampler.cc296 static SamplerManager* instance() { return instance_.Pointer(); } in instance()
301 static base::LazyInstance<SamplerManager>::type instance_; member in v8::sampler::SamplerManager
305 base::LazyInstance<SamplerManager>::type SamplerManager::instance_ = member in v8::sampler::SamplerManager
/external/v8/src/wasm/
Dwasm-interpreter.cc948 instance_(instance), in ThreadImpl()
1048 WasmModuleInstance* instance_; member in v8::internal::wasm::ThreadImpl
1056 WasmModuleInstance* instance() { return instance_; } in instance()
1057 const WasmModule* module() { return instance_->module; } in module()
1698 WasmModuleInstance* instance_; member in v8::internal::wasm::WasmInterpreterInternals
1703 : instance_(instance), in WasmInterpreterInternals()
1704 codemap_(instance_ ? instance_->module : nullptr, zone), in WasmInterpreterInternals()
1800 return internals_->instance_->mem_size; in GetMemorySize()
/external/v8/test/cctest/wasm/
Dwasm-run-utils.h74 instance_(&module_), in execution_mode_()
78 ? new WasmInterpreter(&instance_, &allocator_) in execution_mode_()
81 instance = &instance_; in execution_mode_()
240 WasmModuleInstance instance_; variable
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/experimental/javascript/closure/
Dbase.js425 return ctor.instance_ || (ctor.instance_ = new ctor());