Searched refs:lazy_tls_ptr (Results 1 – 3 of 3) sorted by relevance
17 base::LazyInstance<base::ThreadLocalPointer<MessageLoop> >::Leaky lazy_tls_ptr = variable25 DCHECK(lazy_tls_ptr.Pointer()->Get() != nullptr) << in current()28 return lazy_tls_ptr.Pointer()->Get(); in current()32 return lazy_tls_ptr.Pointer()->Get() != nullptr; in ThreadHasCurrent()36 DCHECK(lazy_tls_ptr.Pointer()->Get() == nullptr) << in SetAsCurrent()38 lazy_tls_ptr.Pointer()->Set(this); in SetAsCurrent()42 DCHECK(lazy_tls_ptr.Pointer()->Get() == this) << in ReleaseFromCurrent()44 lazy_tls_ptr.Pointer()->Set(nullptr); in ReleaseFromCurrent()48 if (lazy_tls_ptr.Pointer()->Get() == this) in ~MessageLoop()49 lazy_tls_ptr.Pointer()->Set(nullptr); in ~MessageLoop()
16 lazy_tls_ptr = LAZY_INSTANCE_INITIALIZER; variable22 ThreadTaskRunnerHandle* current = lazy_tls_ptr.Pointer()->Get(); in Get()29 return lazy_tls_ptr.Pointer()->Get() != NULL; in IsSet()36 DCHECK(!lazy_tls_ptr.Pointer()->Get()); in ThreadTaskRunnerHandle()37 lazy_tls_ptr.Pointer()->Set(this); in ThreadTaskRunnerHandle()42 DCHECK_EQ(lazy_tls_ptr.Pointer()->Get(), this); in ~ThreadTaskRunnerHandle()43 lazy_tls_ptr.Pointer()->Set(NULL); in ~ThreadTaskRunnerHandle()
45 LazyInstance<base::ThreadLocalPointer<MessageLoop> >::Leaky lazy_tls_ptr = variable182 lazy_tls_ptr.Pointer()->Set(nullptr); in ~MessageLoop()190 return lazy_tls_ptr.Pointer()->Get(); in current()411 lazy_tls_ptr.Pointer()->Set(this); in BindToCurrentThread()