/system/core/libbinderwrapper/ |
binder_wrapper.cc | 26 BinderWrapper* BinderWrapper::instance_ = nullptr; member in class:android::BinderWrapper 30 CHECK(!instance_) << "Already initialized; missing call to Destroy()?"; 31 instance_ = new RealBinderWrapper(); 36 CHECK(!instance_) << "Already initialized; missing call to Destroy()?"; 37 instance_ = wrapper; 42 CHECK(instance_) << "Not initialized; missing call to Create()?"; 43 delete instance_; 44 instance_ = nullptr; 49 CHECK(instance_) << "Not initialized; missing call to Create()?"; 50 return instance_; [all...] |
/external/webrtc/webrtc/sound/ |
platformsoundsystemfactory.cc | 25 if (!instance_.get()) { 26 instance_.reset(CreatePlatformSoundSystem()); 28 if (!instance_->Init()) { 36 instance_->Terminate();
|
nullsoundsystemfactory.cc | 24 instance_.reset(new NullSoundSystem()); 29 instance_.reset();
|
/external/webrtc/webrtc/base/ |
referencecountedsingletonfactory.h | 48 scoped_ptr<Interface> instance_; member in class:rtc::ReferenceCountedSingletonFactory 58 ASSERT(instance_.get() != NULL); 63 return instance_.get(); 69 ASSERT(instance_.get() != NULL); 89 : instance_(NULL), 99 return *instance_; 104 return instance_; 111 return instance_; 117 if (instance_) { 118 instance_ = NULL 149 Interface* instance_; member in class:rtc::rcsf_ptr [all...] |
win32window.cc | 22 HINSTANCE Win32Window::instance_ = NULL; member in class:rtc::Win32Window 43 &instance_)) { 52 wcex.hInstance = instance_; 62 x, y, cx, cy, parent, NULL, instance_, this); 72 ::UnregisterClass(MAKEINTATOM(window_class_), instance_); local
|
win32window.h | 50 static HINSTANCE instance_; member in class:rtc::Win32Window
|
messagequeue.cc | 35 MessageQueueManager* MessageQueueManager::instance_ = NULL; member in class:rtc::MessageQueueManager 40 if (!instance_) 41 instance_ = new MessageQueueManager; 42 return instance_; 46 return instance_ != NULL; 72 if (!instance_) return; 95 instance_ = NULL; 103 if (!instance_) return;
|
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/ |
singleton.h | 45 return instance_; 48 delete instance_; 49 instance_ = NULL; 53 instance_ = new T(); 56 static T* instance_; member in class:google::protobuf::internal::Singleton 63 T* Singleton<T>::instance_ = NULL; member in class:google::protobuf::internal::Singleton
|
/system/connectivity/shill/ |
mock_log.cc | 29 ScopedMockLog* ScopedMockLog::instance_ = nullptr; member in class:shill::ScopedMockLog 34 instance_ = this; 39 instance_ = nullptr; 48 CHECK(instance_); 62 instance_->Log(severity, file, message); 65 if (instance_->previous_handler_) { 66 return (*instance_->previous_handler_)(severity, file, line,
|
mock_log.h | 98 static ScopedMockLog* instance_; member in class:shill::ScopedMockLog
|
/art/runtime/verifier/ |
reg_type-inl.h | 128 DCHECK(instance_ != nullptr); 129 return instance_; 133 DCHECK(instance_ != nullptr); 134 return instance_; 138 DCHECK(instance_ != nullptr); 139 return instance_; 143 DCHECK(instance_ != nullptr); 144 return instance_; 148 DCHECK(instance_ != nullptr); 149 return instance_; [all...] |
reg_type.cc | 37 const UndefinedType* UndefinedType::instance_ = nullptr; member in class:art::verifier::UndefinedType 38 const ConflictType* ConflictType::instance_ = nullptr; member in class:art::verifier::ConflictType 39 const BooleanType* BooleanType::instance_ = nullptr; member in class:art::verifier::BooleanType 40 const ByteType* ByteType::instance_ = nullptr; member in class:art::verifier::ByteType 41 const ShortType* ShortType::instance_ = nullptr; member in class:art::verifier::ShortType 42 const CharType* CharType::instance_ = nullptr; member in class:art::verifier::CharType 43 const FloatType* FloatType::instance_ = nullptr; member in class:art::verifier::FloatType 44 const LongLoType* LongLoType::instance_ = nullptr; member in class:art::verifier::LongLoType 45 const LongHiType* LongHiType::instance_ = nullptr; member in class:art::verifier::LongHiType 46 const DoubleLoType* DoubleLoType::instance_ = nullptr member in class:art::verifier::DoubleLoType 47 const DoubleHiType* DoubleHiType::instance_ = nullptr; member in class:art::verifier::DoubleHiType 48 const IntegerType* IntegerType::instance_ = nullptr; member in class:art::verifier::IntegerType [all...] |
/external/wpa_supplicant_8/wpa_supplicant/binder/ |
binder_manager.cpp | 22 BinderManager *BinderManager::instance_ = NULL; member in class:wpa_supplicant_binder::BinderManager 27 if (!instance_) 28 instance_ = new BinderManager(); 29 return instance_; 35 if (instance_) 36 delete instance_; 37 instance_ = NULL;
|
binder_manager.h | 48 static BinderManager *instance_; member in class:wpa_supplicant_binder::BinderManager
|
/external/libchrome/base/memory/ |
singleton.h | 237 // instance_ pointer must acquire visibility over the singleton data. 238 subtle::AtomicWord value = subtle::Acquire_Load(&instance_); 244 if (subtle::Acquire_CompareAndSwap(&instance_, 0, 246 // instance_ was NULL and is now kBeingCreatedMarker. Only one thread 251 // Releases the visibility over instance_ to the readers. 252 subtle::Release_Store(&instance_, 262 value = internal::WaitForInstance(&instance_); 272 // created. We should only ever get here with a valid instance_ pointer. 273 Traits::Delete(reinterpret_cast<Type*>(subtle::NoBarrier_Load(&instance_))); 274 instance_ = 0 276 static subtle::AtomicWord instance_; member in class:base::Singleton 280 subtle::AtomicWord Singleton<Type, Traits, DifferentiatingType>::instance_ = 0; member in class:base::Singleton [all...] |
/system/keymaster/ |
logger.cpp | 21 Logger* Logger::instance_ = 0; member in class:keymaster::Logger 25 if (!instance_) 27 return instance_->log_msg(level, fmt, args);
|
/art/runtime/jit/ |
profile_saver.cc | 48 ProfileSaver* ProfileSaver::instance_ = nullptr; member in class:art::ProfileSaver 155 if (instance_ == nullptr || instance_->shutting_down_) { 158 instance_->NotifyJitActivityInternal(); 410 if (instance_ != nullptr) { 414 DCHECK_EQ(instance_->jit_code_cache_, jit_code_cache); 416 instance_->AddTrackedLocations(output_filename, app_data_dir, code_paths_to_profile); 423 instance_ = new ProfileSaver(output_filename, 432 (&profiler_pthread_, nullptr, &RunProfileSaverThread, reinterpret_cast<void*>(instance_)), 443 profile_saver = instance_; [all...] |
/external/webrtc/webrtc/system_wrappers/source/ |
data_log.cc | 28 DataLogImpl* DataLogImpl::instance_ = NULL; member in class:webrtc::DataLogImpl 325 new rtc::PlatformThread(DataLogImpl::Run, instance_, "DataLog")), 342 if (instance_ == NULL) { 343 instance_ = new DataLogImpl(); 344 return instance_->Init(); 346 ++instance_->counter_; 358 return instance_; 363 if (instance_ && instance_->counter_ > 1) { 364 --instance_->counter_ [all...] |
/device/google/contexthub/util/nanotool/ |
calibrationfile.cpp | 26 std::shared_ptr<CalibrationFile> CalibrationFile::instance_; member in class:android::CalibrationFile 29 if (!CalibrationFile::instance_) { 32 CalibrationFile::instance_ = inst; member in class:android::CalibrationFile 36 return CalibrationFile::instance_;
|
calibrationfile.h | 50 static std::shared_ptr<CalibrationFile> instance_; member in class:android::CalibrationFile
|
/system/keymaster/include/keymaster/ |
logger.h | 48 static void set_instance(Logger* logger) { instance_ = logger; } 55 static Logger* instance_; member in class:keymaster::Logger
|
/external/v8/test/cctest/ |
test-sampler-api.cc | 100 CHECK(!instance_); 101 instance_ = this; 114 instance_ = NULL; 130 instance_->DoCollectSample(); 134 instance_->DoJitCodeEventHandler(event); 193 static SamplingTestHelper* instance_; member in class:__anon23959::SamplingTestHelper 196 SamplingTestHelper* SamplingTestHelper::instance_; member in class:__anon23959::SamplingTestHelper
|
/external/libchrome/base/power_monitor/ |
power_monitor_device_source.h | 80 HMODULE instance_; member in class:base::PowerMonitorDeviceSource::PowerMessageWindow
|
/system/core/include/binderwrapper/ |
binder_wrapper.h | 83 static BinderWrapper* instance_; member in class:android::BinderWrapper
|
/external/libbrillo/brillo/ |
flag_helper.cc | 154 brillo::FlagHelper* instance_ = nullptr; member in namespace:brillo::__anon14183 165 if (!instance_) 166 instance_ = new FlagHelper(); 168 return instance_; 172 delete instance_; 173 instance_ = nullptr;
|