OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Singleton
(Results
1 - 19
of
19
) 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/webkit/glue/plugins/
plugin_list.h
24
static inline webkit::npapi::PluginList*
Singleton
() {
25
return webkit::npapi::PluginList::
Singleton
();
/frameworks/base/core/java/android/util/
Singleton.java
20
*
Singleton
helper class for lazily initialization.
22
* Modeled after frameworks/base/include/utils/
Singleton
.h
26
public abstract class
Singleton
<T> {
/system/core/include/utils/
Singleton.h
29
class ANDROID_API
Singleton
48
~
Singleton
() { };
49
Singleton
() { };
52
Singleton
(const
Singleton
&);
53
Singleton
& operator = (const
Singleton
&);
60
* (eg: <TYPE>.cpp) to create the static instance of
Singleton
<>'s attributes,
61
* and avoid to have a copy of them in each compilation units
Singleton
<TYPE>
68
template<> Mutex
Singleton
< TYPE >::sLock(Mutex::PRIVATE);
[
all
...]
/external/chromium/base/memory/
singleton.h
15
// Default traits for
Singleton
<Type>. Calls operator new and operator delete on
43
// Alternate traits for use with the
Singleton
<Type>. Identical to
44
// DefaultSingletonTraits except that the
Singleton
will not be cleaned up
53
// Alternate traits for use with the
Singleton
<Type>. Allocates memory
54
// for the
singleton
instance from a static buffer. The
singleton
will
59
// tracing, where the
singleton
instance is of a type carefully constructed to
63
// termination race on the heap-based
singleton
- e.g. if one thread calls
76
// WARNING: User has to deal with get() in the
singleton
class
117
// The
Singleton
<Type, Traits, DifferentiatingType> class manages a singl
[
all
...]
/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
73
// Alternate traits for use with the
Singleton
<Type>. Identical to
74
// DefaultSingletonTraits except that the
Singleton
will not be cleaned up
83
// Alternate traits for use with the
Singleton
<Type>. Allocates memory
84
// for the
singleton
instance from a static buffer. The
singleton
wil
[
all
...]
/external/chromium_org/chrome_frame/
com_type_info_holder.cc
27
DCHECK(
Singleton
() == this);
50
TypeInfoCache* TypeInfoCache::
Singleton
() {
/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
84
PluginHost *PluginHost::
Singleton
() {
85
CR_DEFINE_STATIC_LOCAL(scoped_refptr<PluginHost>,
singleton
, ());
86
if (
singleton
.get() == NULL) {
87
singleton
= new PluginHost();
90
DCHECK(
singleton
.get() != NULL);
91
return
singleton
.get();
[
all
...]
/external/chromium_org/v8/src/
jsregexp.h
267
static inline CharacterRange
Singleton
(uc16 value) {
[
all
...]
/external/v8/src/
jsregexp.h
275
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
/prebuilts/tools/common/m2/internal/jaxen/jaxen/1.1.1/
jaxen-1.1.1.jar
/prebuilts/misc/common/groovy/
groovy-all-1.7.0.jar
Completed in 346 milliseconds