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
75
) sorted by null
1
2
3
/external/chromium/base/threading/
thread_restrictions.cc
18
LazyInstance
<ThreadLocalBoolean, LeakyLazyInstanceTraits<ThreadLocalBoolean> >
21
LazyInstance
<ThreadLocalBoolean, LeakyLazyInstanceTraits<ThreadLocalBoolean> >
54
LOG(FATAL) << "
LazyInstance
/Singleton is not allowed to be used on this "
thread.cc
20
base::
LazyInstance
<base::ThreadLocalBoolean> lazy_tls_bool(
worker_pool_posix.cc
51
base::
LazyInstance
<WorkerPoolImpl> g_lazy_worker_pool(base::LINKER_INITIALIZED);
/external/chromium/net/base/
winsock_init.cc
40
static base::
LazyInstance
<WinsockInitSingleton> g_winsock_init_singleton(
bandwidth_metrics.cc
8
static base::
LazyInstance
<net::BandwidthMetrics> g_bandwidth_metrics(
android_network_library.cc
46
base::
LazyInstance
<LibHolder> g_holder(base::LINKER_INITIALIZED);
test_root_certs.cc
20
base::
LazyInstance
<TestRootCerts,
dns_reload_timer.cc
85
base::
LazyInstance
<DnsReloadTimer,
test_root_certs_win.cc
82
// may still be running when ~AtExitManager is called, so the
LazyInstance
90
base::
LazyInstance
<CryptoAPIInjector,
/external/chromium/base/
lazy_instance.h
5
// 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 {
122
explicit
LazyInstance
(LinkerInitialized x) : LazyInstanceHelper(x) { }
171
LazyInstance
<Type, Traits>* me =
172
reinterpret_cast<
LazyInstance
<Type, Traits>*>(lazy_instance)
[
all
...]
lazy_instance_unittest.cc
45
explicit SlowDelegate(base::
LazyInstance
<SlowConstructor>* lazy)
54
base::
LazyInstance
<SlowConstructor>* lazy_;
59
static base::
LazyInstance
<ConstructAndDestructLogger> lazy_logger(
81
static base::
LazyInstance
<SlowConstructor> lazy_slow(base::LINKER_INITIALIZED);
120
// Check that using a plain
LazyInstance
causes the dtor to run
125
static base::
LazyInstance
<DeleteLogger> test(base::LINKER_INITIALIZED);
130
// Check that using a *leaky*
LazyInstance
makes the dtor not run
135
static base::
LazyInstance
<DeleteLogger,
rand_util_posix.cc
21
// we can use
LazyInstance
to handle opening it on the first access.
39
base::
LazyInstance
<URandomFd> g_urandom_fd(base::LINKER_INITIALIZED);
sys_info_chromeos.cc
42
static base::
LazyInstance
<ChromeOSVersionNumbers>
/external/chromium/base/i18n/
number_formatting.cc
36
static
LazyInstance
<NumberFormatWrapper> g_number_format(LINKER_INITIALIZED);
/external/chromium/chrome/browser/
resources_util.cc
16
// ids. This is done so we can use base::
LazyInstance
which takes care of
39
static base::
LazyInstance
<ThemeMap> g_theme_ids(base::LINKER_INITIALIZED);
/external/chromium/chrome/browser/chromeos/
browser_main_chromeos.cc
41
static base::
LazyInstance
<MessageLoopObserver> g_message_loop_observer(
/external/chromium/chrome/browser/chromeos/login/
signed_settings_temp_storage.cc
15
static base::
LazyInstance
<chromeos::SignedSettings::Delegate<bool> >
/external/chromium/chrome/browser/ui/webui/
constrained_html_ui.cc
14
static base::
LazyInstance
<PropertyAccessor<ConstrainedHtmlUIDelegate*> >
html_dialog_ui.cc
14
static base::
LazyInstance
<PropertyAccessor<HtmlDialogUIDelegate*> >
/external/chromium/chrome/browser/automation/
automation_resource_message_filter.h
197
static base::
LazyInstance
<RenderViewMap> filtered_render_views_;
209
static base::
LazyInstance
<CompletionCallbackMap> completion_callback_map_;
/external/chromium/net/socket/
client_socket_factory.cc
119
static base::
LazyInstance
<DefaultClientSocketFactory>
nss_ssl_util.cc
72
static base::
LazyInstance
<NSSSSLInitSingleton> g_nss_ssl_init_singleton(
/external/chromium/chrome/browser/chromeos/cros/
cros_library.cc
38
static base::
LazyInstance
<CrosLibrary> g_cros_library(
/external/chromium/chrome/browser/translate/
translate_manager.h
184
static base::
LazyInstance
<std::set<std::string> > supported_languages_;
/external/v8/src/
lazy-instance.h
28
// 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
{
[
all
...]
Completed in 514 milliseconds
1
2
3