Searched refs:LazyInstance (Results 1 - 25 of 43) sorted by relevance

12

/external/v8/src/
H A Dtype-cache.cc14 base::LazyInstance<TypeCache>::type kCache = LAZY_INSTANCE_INITIALIZER;
H A Dfutex-emulation.h126 static base::LazyInstance<FutexWaitList>::type wait_list_;
H A Delements-kind.cc94 static base::LazyInstance<ElementsKind*,
H A Dregister-configuration.cc107 static base::LazyInstance<ArchDefaultRegisterConfiguration,
111 static base::LazyInstance<ArchDefaultRegisterConfiguration,
/external/libchrome/base/
H A Dlazy_instance_unittest.cc48 explicit SlowDelegate(base::LazyInstance<SlowConstructor>* lazy)
57 base::LazyInstance<SlowConstructor>* lazy_;
62 static base::LazyInstance<ConstructAndDestructLogger> lazy_logger =
84 static base::LazyInstance<SlowConstructor> lazy_slow =
124 // Check that using a plain LazyInstance causes the dtor to run
129 static base::LazyInstance<DeleteLogger> test = LAZY_INSTANCE_INITIALIZER;
134 // Check that using a *leaky* LazyInstance makes the dtor not run
139 static base::LazyInstance<DeleteLogger>::Leaky
162 using base::LazyInstance;
167 static LazyInstance<AlignedDat
[all...]
H A Dlazy_instance.h5 // The LazyInstance<Type, Traits> class manages a single instance of Type,
14 // LazyInstance is completely thread safe, assuming that you create it safely.
16 // static constructor. It really only makes sense to declare a LazyInstance as
19 // LazyInstance is similar to Singleton, except it does not have the singleton
20 // property. You can have multiple LazyInstance's of the same type, and each
27 // static LazyInstance<MyClass> my_instance = LAZY_INSTANCE_INITIALIZER;
46 // LazyInstance uses its own struct initializer-list style static
84 // Use LazyInstance<T>::Leaky for a less-verbose call-site typedef; e.g.:
85 // base::LazyInstance<T>::Leaky my_leaky_lazy_instance;
87 // base::LazyInstance<
125 class LazyInstance { class in namespace:base
[all...]
H A Drand_util_posix.cc22 // we can use LazyInstance to handle opening it on the first access.
37 base::LazyInstance<URandomFd>::Leaky g_urandom_fd = LAZY_INSTANCE_INITIALIZER;
H A Dsys_info.cc34 static LazyInstance<
H A Dthread_task_runner_handle.cc15 base::LazyInstance<base::ThreadLocalPointer<ThreadTaskRunnerHandle> >::Leaky
H A Dsys_info_linux.cc52 base::LazyInstance<
55 base::LazyInstance<
H A Dsys_info_posix.cc57 base::LazyInstance<
72 base::LazyInstance<
H A Dsys_info_chromeos.cc166 static LazyInstance<ChromeOSVersionInfo>
H A Dcpu.cc190 base::LazyInstance<LazyCpuInfoValue>::Leaky g_lazy_cpuinfo =
H A Dtracked_objects.h676 static base::LazyInstance<base::Lock>::Leaky list_lock_;
/external/libchrome/base/threading/
H A Dthread_restrictions.cc17 LazyInstance<ThreadLocalBoolean>::Leaky
20 LazyInstance<ThreadLocalBoolean>::Leaky
23 LazyInstance<ThreadLocalBoolean>::Leaky
57 LOG(FATAL) << "LazyInstance/Singleton is not allowed to be used on this "
H A Dworker_pool_posix.cc28 base::LazyInstance<ThreadLocalBoolean>::Leaky
60 base::LazyInstance<WorkerPoolImpl> g_lazy_worker_pool =
H A Dworker_pool.cc100 base::LazyInstance<TaskRunnerHolder>::Leaky
H A Dthread.cc28 base::LazyInstance<base::ThreadLocalBoolean> lazy_tls_bool =
/external/libbrillo/brillo/message_loops/
H A Dmessage_loop.cc17 base::LazyInstance<base::ThreadLocalPointer<MessageLoop> >::Leaky lazy_tls_ptr =
/external/v8/src/wasm/
H A Dwasm-opcodes.cc58 // TODO(titzer): not static-initializer safe. Wrap in LazyInstance.
94 static base::LazyInstance<SigTable>::type sig_table = LAZY_INSTANCE_INITIALIZER;
/external/libbrillo/brillo/minijail/
H A Dminijail.cc14 static base::LazyInstance<Minijail> g_minijail = LAZY_INSTANCE_INITIALIZER;
/external/libchrome/base/message_loop/
H A Dmessage_pump_glib.cc137 static LazyInstance<Lock>::Leaky thread_info_lock = LAZY_INSTANCE_INITIALIZER;
/external/v8/src/base/
H A Dlazy-instance.h5 // The LazyInstance<Type, Traits> class manages a single instance of Type,
12 // LazyInstance is completely thread safe, assuming that you create it safely.
14 // static constructor. It really only makes sense to declare a LazyInstance as
17 // LazyInstance is similar to Singleton, except it does not have the singleton
18 // property. You can have multiple LazyInstance's of the same type, and each
26 // static LazyInstance<MyClass>::type my_instance = LAZY_INSTANCE_INITIALIZER;
42 // static LazyInstance<MyClass, MyCreateTrait>::type my_instance =
46 // - This implementation of LazyInstance IS THREAD-SAFE by default. See
53 // LazyInstance can actually be used in two different ways:
219 struct LazyInstance { struct in namespace:v8::base
[all...]
/external/libchrome/base/files/
H A Dfile_path_watcher_fsevents.cc36 static LazyInstance<FSEventsTaskRunner>::Leaky g_task_runner =
/external/libchrome/base/time/
H A Dtime.cc295 static LazyInstance<UnixEpochSingleton>::Leaky

Completed in 356 milliseconds

12