Searched defs:LazyInstance (Results 1 - 4 of 4) sorted by relevance

/external/chromium/base/
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(base::LINKER_INITIALIZED);
120 class LazyInstance : public LazyInstanceHelper { class in namespace:base
122 explicit LazyInstance(LinkerInitialized x) : LazyInstanceHelper(x) { } function in class:base::LazyInstance
171 LazyInstance<Type, Traits>* me =
172 reinterpret_cast<LazyInstance<Typ
[all...]
/external/chromium_org/base/
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;
49 // LazyInstance uses its own struct initializer-list style static
81 // Use LazyInstance<T>::Leaky for a less-verbose call-site typedef; e.g.:
82 // base::LazyInstance<T>::Leaky my_leaky_lazy_instance;
84 // base::LazyInstance<
121 class LazyInstance { class in namespace:base
[all...]
/external/chromium_org/v8/src/
H A Dlazy-instance.h28 // The LazyInstance<Type, Traits> class manages a single instance of Type,
35 // LazyInstance is completely thread safe, assuming that you create it safely.
37 // static constructor. It really only makes sense to declare a LazyInstance as
40 // LazyInstance is similar to Singleton, except it does not have the singleton
41 // property. You can have multiple LazyInstance's of the same type, and each
49 // static LazyInstance<MyClass>::type my_instance = LAZY_INSTANCE_INITIALIZER;
65 // static LazyInstance<MyClass, MyCreateTrait>::type my_instance =
69 // - This implementation of LazyInstance is NOT THREAD-SAFE by default. See
76 // LazyInstance can actually be used in two different ways:
245 struct LazyInstance { struct in namespace:v8::internal
[all...]
/external/v8/src/
H A Dlazy-instance.h28 // The LazyInstance<Type, Traits> class manages a single instance of Type,
35 // LazyInstance is completely thread safe, assuming that you create it safely.
37 // static constructor. It really only makes sense to declare a LazyInstance as
40 // LazyInstance is similar to Singleton, except it does not have the singleton
41 // property. You can have multiple LazyInstance's of the same type, and each
49 // static LazyInstance<MyClass>::type my_instance = LAZY_INSTANCE_INITIALIZER;
65 // static LazyInstance<MyClass, MyCreateTrait>::type my_instance =
68 // WARNING: This implementation of LazyInstance is NOT thread-safe by default.
72 // LazyInstance can actually be used in two different ways:
241 struct LazyInstance { struct in namespace:v8::internal
[all...]

Completed in 154 milliseconds