OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:LazyInstance
(Results
1 - 25
of
73
) sorted by null
1
2
3
/external/libchrome/base/
observer_list_threadsafe.cc
10
LazyInstance
<ThreadLocalPointer<
lazy_instance.h
6
// Please don't introduce new instances of
LazyInstance
<T>. Use a function-local
15
// The
LazyInstance
<Type, Traits> class manages a single instance of Type,
24
//
LazyInstance
is completely thread safe, assuming that you create it safely.
26
// static constructor. It really only makes sense to declare a
LazyInstance
as
29
//
LazyInstance
is similar to Singleton, except it does not have the singleton
30
// property. You can have multiple
LazyInstance
's of the same type, and each
37
// static
LazyInstance
<MyClass>::Leaky inst = LAZY_INSTANCE_INITIALIZER;
56
//
LazyInstance
uses its own struct initializer-list style static
100
// Use
LazyInstance
<T>::Leaky for a less-verbose call-site typedef; e.g.:
101
// base::
LazyInstance
<T>::Leaky my_leaky_lazy_instance
[
all
...]
lazy_instance_unittest.cc
64
base::
LazyInstance
<SlowConstructor>::DestructorAtExit* lazy)
73
base::
LazyInstance
<SlowConstructor>::DestructorAtExit* lazy_;
80
base::
LazyInstance
<ConstructAndDestructLogger>::DestructorAtExit lazy_logger =
106
base::
LazyInstance
<SlowConstructor>::DestructorAtExit lazy_slow =
146
// Check that using a plain
LazyInstance
causes the dtor to run
151
static base::
LazyInstance
<DeleteLogger>::DestructorAtExit test =
157
// Check that using a *leaky*
LazyInstance
makes the dtor not run
162
static base::
LazyInstance
<DeleteLogger>::Leaky
185
using base::
LazyInstance
;
190
static
LazyInstance
<AlignedData<4>>::DestructorAtExit align4
[
all
...]
rand_util_posix.cc
23
// we can use
LazyInstance
to handle opening it on the first access.
46
base::
LazyInstance
<URandomFd>::Leaky g_urandom_fd = LAZY_INSTANCE_INITIALIZER;
sequence_token.cc
20
LazyInstance
<ThreadLocalPointer<const SequenceToken>>::Leaky
23
LazyInstance
<ThreadLocalPointer<const TaskToken>>::Leaky
sys_info.cc
69
static
LazyInstance
<
sys_info_linux.cc
37
base::
LazyInstance
<
sys_info_posix.cc
65
base::
LazyInstance
<
81
base::
LazyInstance
<
/external/libchrome/base/memory/
protected_memory.cc
14
base::
LazyInstance
<Lock>::Leaky AutoWritableMemory::writers_lock =
protected_memory.h
199
static BASE_EXPORT base::
LazyInstance
<Lock>::Leaky writers_lock;
/external/v8/src/compiler/
type-cache.cc
15
base::
LazyInstance
<TypeCache>::type kTypeCache = LAZY_INSTANCE_INITIALIZER;
/external/libchrome/base/time/
default_clock.cc
19
static
LazyInstance
<DefaultClock>::Leaky instance = LAZY_INSTANCE_INITIALIZER;
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
ThreadInfo_host.cpp
16
#include "android/base/memory/
LazyInstance
.h"
20
using android::base::
LazyInstance
;
42
static
LazyInstance
<ThreadInfoStore> sTls = LAZY_INSTANCE_INIT;
/external/libchrome/base/task_scheduler/
scoped_set_task_priority_for_current_thread.cc
16
LazyInstance
<ThreadLocalPointer<const TaskPriority>>::Leaky
/external/libchrome/base/metrics/
user_metrics.cc
20
LazyInstance
<std::vector<ActionCallback>>::DestructorAtExit g_callbacks =
22
LazyInstance
<scoped_refptr<SingleThreadTaskRunner>>::DestructorAtExit
/external/libchrome/base/threading/
scoped_blocking_call.cc
14
LazyInstance
<ThreadLocalPointer<internal::BlockingObserver>>::Leaky
18
LazyInstance
<ThreadLocalPointer<ScopedBlockingCall>>::Leaky
thread_restrictions.cc
17
LazyInstance
<ThreadLocalBoolean>::Leaky g_blocking_disallowed =
20
LazyInstance
<ThreadLocalBoolean>::Leaky
23
LazyInstance
<ThreadLocalBoolean>::Leaky g_base_sync_primitives_disallowed =
145
NOTREACHED() << "
LazyInstance
/Singleton is not allowed to be used on this "
sequenced_task_runner_handle.cc
18
LazyInstance
<ThreadLocalPointer<SequencedTaskRunnerHandle>>::Leaky
sequence_local_storage_map.cc
17
LazyInstance
<ThreadLocalPointer<SequenceLocalStorageMap>>::Leaky
thread_task_runner_handle.cc
21
base::
LazyInstance
<base::ThreadLocalPointer<ThreadTaskRunnerHandle>>::Leaky
/external/libbrillo/brillo/message_loops/
message_loop.cc
17
base::
LazyInstance
<base::ThreadLocalPointer<MessageLoop> >::Leaky lazy_tls_ptr =
/external/v8/src/
futex-emulation.h
146
static base::
LazyInstance
<FutexWaitList>::type wait_list_;
register-configuration.cc
121
static base::
LazyInstance
<ArchDefaultRegisterConfiguration,
165
static base::
LazyInstance
<ArchDefaultPoisoningRegisterConfiguration,
213
static base::
LazyInstance
<ArchPreserveRootIA32RegisterConfiguration,
/external/v8/src/ic/
ic-stats.h
66
static base::
LazyInstance
<ICStats>::type instance_;
/external/libchrome/mojo/core/
request_context.cc
16
base::
LazyInstance
<base::ThreadLocalPointer<RequestContext>>::Leaky
Completed in 429 milliseconds
1
2
3