OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Singleton
(Results
1 - 11
of
11
) sorted by null
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/memory/
singleton.h
30
class
Singleton
: private boost::noncopyable {
32
virtual ~
Singleton
() {}
48
template <class T> boost::scoped_ptr<T>
Singleton
<T>::instance;
49
template <class T> boost::once_flag
Singleton
<T>::flag = BOOST_ONCE_INIT;
68
class
Singleton
{
70
Singleton
() : thread_checker_() {}
72
virtual ~
Singleton
() {}
singleton_posix.h
26
class
Singleton
{
28
virtual ~
Singleton
() {}
42
static T* instance_; // Leaky
singleton
.
46
template <class T> T*
Singleton
<T>::instance_;
47
template <class T> pthread_once_t
Singleton
<T>::once_control_ =
/external/chromium_org/base/memory/
singleton.h
5
// PLEASE READ: Do you really need a
singleton
?
10
// Instead of adding another
singleton
into the mix, try to identify either:
11
// a) An existing
singleton
that can manage your object's lifetime
15
// If you absolutely need a
singleton
, please keep them as trivial as possible
45
// Default traits for
Singleton
<Type>. Calls operator new and operator delete on
75
// Alternate traits for use with the
Singleton
<Type>. Identical to
76
// DefaultSingletonTraits except that the
Singleton
will not be cleaned up
87
// Alternate traits for use with the
Singleton
<Type>. Allocates memory
88
// for the
singleton
instance from a static buffer. The
singleton
wil
[
all
...]
/development/tools/axl/
singletonmixin.py
2
A Python
Singleton
mixin class that makes use of some of the ideas
4
from it and you have a
singleton
. No code is required in
5
subclasses to create
singleton
behavior -- inheritance from
6
Singleton
is all that is needed.
8
Assume S is a class that inherits from
Singleton
. Useful behaviors
11
1) Getting the
singleton
:
22
who didn't happen notice the inheritance from
Singleton
might think he
25
Singleton
. An attempt to instantiate via S() will restult in an SingletonException
33
from
Singleton
may not have their own __new__
35
an exception is raised if a
Singleton
subclass inclu
[
all
...]
/external/chromium_org/content/common/
plugin_list.cc
33
PluginList* PluginList::
Singleton
() {
/external/openfst/src/include/fst/
interval-set.h
124
bool
Singleton
() const {
/external/chromium_org/content/child/npapi/
plugin_host.cc
91
PluginHost *PluginHost::
Singleton
() {
92
CR_DEFINE_STATIC_LOCAL(scoped_refptr<PluginHost>,
singleton
, ());
93
if (
singleton
.get() == NULL) {
94
singleton
= new PluginHost();
97
DCHECK(
singleton
.get() != NULL);
98
return
singleton
.get();
[
all
...]
/external/chromium_org/v8/src/
jsregexp.h
248
static inline CharacterRange
Singleton
(uc16 value) {
[
all
...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.p2.director_2.0.3.R36x_v20101117-1018.jar
org.mortbay.jetty.util_6.1.23.v201004211559.jar
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
FlexAntTasks.jar
Completed in 589 milliseconds