Searched refs:instance_ (Results 1 – 7 of 7) sorted by relevance
29 DataLogImpl* DataLogImpl::instance_ = NULL; member in webrtc::DataLogImpl344 if (instance_ == NULL) { in CreateLog()345 instance_ = new DataLogImpl(); in CreateLog()346 return instance_->Init(); in CreateLog()348 ++instance_->counter_; in CreateLog()356 instance_, in Init()369 return instance_; in StaticInstance()374 if (instance_ && instance_->counter_ > 1) { in ReturnLog()375 --instance_->counter_; in ReturnLog()378 delete instance_; in ReturnLog()[all …]
503 if (instance_ == NULL) { in AddActiveSampler()506 instance_ = new SamplerThread(sampler->interval()); in AddActiveSampler()511 DCHECK(!instance_->active_samplers_.Contains(sampler)); in AddActiveSampler()512 DCHECK(instance_->interval_ == sampler->interval()); in AddActiveSampler()513 instance_->active_samplers_.Add(sampler); in AddActiveSampler()515 if (need_to_start) instance_->StartSynchronously(); in AddActiveSampler()524 bool removed = instance_->active_samplers_.RemoveElement(sampler); in RemoveActiveSampler()530 if (instance_->active_samplers_.is_empty()) { in RemoveActiveSampler()531 instance_to_remove = instance_; in RemoveActiveSampler()532 instance_ = NULL; in RemoveActiveSampler()[all …]
373 T instance_;384 , instance_(&resource->instance_) {392 instance_ = NULL;395 T* value() { return instance_; }396 T* operator -> () { return instance_; }400 T* instance_;
59 if (instance_ == NULL) { in GetLoader()60 instance_ = new CDwFontFileLoader(); in GetLoader()62 return instance_; in GetLoader()66 return instance_ != NULL; in IsLoaderInitialized()71 static IDWriteFontFileLoader* instance_; member in FX_FINAL335 IDWriteFontFileLoader* CDwFontFileLoader::instance_ = NULL; member in CDwFontFileLoader359 instance_ = NULL; in Release()
147 static DataLogImpl* instance_; variable
1531 CHECK_EQ(NULL, instance_); in GraphWithImplicitRefs()1532 instance_ = this; in GraphWithImplicitRefs()1541 instance_ = NULL; in ~GraphWithImplicitRefs()1545 instance_->AddImplicitReferences(); in gcPrologue()1563 static GraphWithImplicitRefs* instance_; member in GraphWithImplicitRefs1567 GraphWithImplicitRefs* GraphWithImplicitRefs::instance_ = NULL; member in GraphWithImplicitRefs
13926 CHECK(instance_ == NULL); in SetFunctionEntryHookTest()13927 instance_ = this; in SetFunctionEntryHookTest()13930 CHECK(instance_ == this); in ~SetFunctionEntryHookTest()13931 instance_ = NULL; in ~SetFunctionEntryHookTest()13941 CHECK(instance_ != NULL); in JitEvent()13942 instance_->OnJitEvent(event); in JitEvent()13949 CHECK(instance_ != NULL); in EntryHook()13950 instance_->OnEntryHook(function, return_addr_location); in EntryHook()13954 CHECK(instance_ != NULL); in RuntimeCallback()13979 static SetFunctionEntryHookTest* instance_; member in SetFunctionEntryHookTest[all …]