Searched defs:singleton (Results 1 - 25 of 51) sorted by relevance

123

/external/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_mutex.cc167 atomic_uintptr_t *singleton = (atomic_uintptr_t *)param; local
169 int *val = (int *)atomic_load(singleton, memory_order_acquire);
170 __tsan_acquire(singleton);
186 // Create the singleton.
189 atomic_uintptr_t singleton; local
190 __tsan_release(&singleton);
191 atomic_store(&singleton, (uintptr_t)&val, memory_order_release);
195 pthread_create(&threads[t], 0, singleton_thread, &singleton);
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
H A DImageFactory.java12 private static ImageFactory singleton ; field in class:ImageFactory
15 if(singleton == null) singleton = new ImageFactory();
16 return singleton;
/external/chromium_org/third_party/icu/source/common/
H A Dmutex.h96 * Returns the singleton instance, or NULL if it could not be created.
106 * Resets the fields. The caller must have deleted the singleton instance.
123 SimpleSingletonWrapper(SimpleSingleton &s) : singleton(s) {}
125 delete (T *)singleton.fInstance;
126 singleton.reset();
131 T *instance=(T *)singleton.getInstance(instantiator, context, duplicate, errorCode);
136 SimpleSingleton &singleton; member in class:SimpleSingletonWrapper
151 * Returns the singleton instance, or NULL if it could not be created.
156 * The singleton creation is only attempted once. If it fails,
157 * the singleton wil
193 TriStateSingleton &singleton; member in class:TriStateSingletonWrapper
[all...]
H A Dutrie2.h662 UTrie2Singleton(SimpleSingleton &s) : singleton(s) {}
664 utrie2_close((UTrie2 *)singleton.fInstance);
665 singleton.reset();
670 SimpleSingleton &singleton; member in class:UTrie2Singleton
H A Dnormalizer2impl.cpp1739 singleton(s), impl(ni), errorCode(ec) {}
1743 (CanonIterData *)singleton.getInstance(createInstance, this, duplicate, errorCode);
1756 SimpleSingleton &singleton; member in class:CanonIterDataSingleton
/external/clang/test/SemaCXX/
H A Dvtable-instantiation.cc58 static GMG* Method() { return &singleton; } // expected-note{{in instantiation of}}
59 static GMG singleton; member in struct:PR10020::GMG
63 GMG<Type> GMG<Type>::singleton; member in class:PR10020::GMG
/external/chromium_org/third_party/skia/src/core/
H A DSkRecord.h171 static T singleton = {}; local
172 return &singleton;
/external/guava/guava/src/com/google/common/collect/
H A DRanges.java221 public static <C extends Comparable<?>> Range<C> singleton(C value) { method in class:Ranges
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowAccountManager.java35 private static AccountManager singleton; field in class:ShadowAccountManager
43 if (singleton == null) {
44 singleton = Robolectric.newInstanceOf(AccountManager.class);
46 return singleton;
/external/skia/src/core/
H A DSkRecord.h171 static T singleton = {}; local
172 return &singleton;
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/
H A Ddata_socket.cc54 static WinsockInitializer singleton; member in class:WinsockInitializer
64 WinsockInitializer WinsockInitializer::singleton; member in class:WinsockInitializer
/external/chromium_org/v8/src/
H A Dglobal-handles.h339 inline Handle<Object> GetSingleton(SingletonHandle singleton) { argument
340 ASSERT(Exists(singleton));
341 return Get(singleton_handles_[singleton]);
345 inline bool Exists(SingletonHandle singleton) { argument
346 return singleton_handles_[singleton] != kInvalidIndex;
352 SingletonHandle singleton) {
353 Create(isolate, object, &singleton_handles_[singleton]);
354 return Get(singleton_handles_[singleton]);
350 CreateSingleton(Isolate* isolate, Object* object, SingletonHandle singleton) argument
/external/protobuf/src/google/protobuf/
H A Dmessage.cc199 static GeneratedMessageFactory* singleton();
233 GeneratedMessageFactory* GeneratedMessageFactory::singleton() { function in class:google::protobuf::__anon28113::GeneratedMessageFactory
303 return GeneratedMessageFactory::singleton();
308 GeneratedMessageFactory::singleton()->RegisterFile(filename,
314 GeneratedMessageFactory::singleton()->RegisterType(descriptor, prototype);
/external/chromium_org/chrome/browser/
H A Dcharacter_encoding.cc188 static CanonicalEncodingMap* singleton = new CanonicalEncodingMap; local
189 return singleton;
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dmessage.cc237 static GeneratedMessageFactory* singleton();
271 GeneratedMessageFactory* GeneratedMessageFactory::singleton() { function in class:google::protobuf::__anon14111::GeneratedMessageFactory
342 return GeneratedMessageFactory::singleton();
347 GeneratedMessageFactory::singleton()->RegisterFile(filename,
353 GeneratedMessageFactory::singleton()->RegisterType(descriptor, prototype);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
H A DShadowWrangler.java28 private static ShadowWrangler singleton; field in class:ShadowWrangler
40 if (singleton == null) {
41 singleton = new ShadowWrangler();
43 return singleton;
/external/chromium_org/v8/test/mjsunit/
H A Djson.js312 var singleton = []; variable
313 var multiOccurrence = [singleton, singleton, singleton];
/external/chromium_org/third_party/skia/src/pathops/
H A DSkOpAngle.cpp657 bool singleton = NULL == fNext; local
658 if (singleton) {
666 if (singleton || angle->after(this)) {
/external/skia/src/pathops/
H A DSkOpAngle.cpp657 bool singleton = NULL == fNext; local
658 if (singleton) {
666 if (singleton || angle->after(this)) {
/external/chromium_org/content/renderer/
H A Drender_widget.cc14 #include "base/memory/singleton.h"
143 static TextInputModeMapSingleton* singleton = local
146 singleton->map().find(input_mode.utf8());
147 if (it == singleton->map().end())
/external/deqp/modules/glshared/
H A DglsBuiltinPrecisionTests.cpp105 * \brief Generic singleton creator.
112 * so we have to resort to global singleton instances.
214 //! Create container from elementwise singleton values.
267 //! The resulting interval might not be a singleton if rounding in both
1059 //! Return a reference to a singleton void constant.
1062 static const ExprP<Void> singleton = constant(Void()); local
1064 return singleton;
/external/conscrypt/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp1583 static EcdsaExDataIndex singleton; local
1584 return singleton;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.equinox.common_3.6.0.v20100503.jar ... .eclipse.core.internal.runtime.Activator singleton private org.osgi.framework.ServiceRegistration platformURLConverterService private ...
H A Dorg.eclipse.core.runtime_3.6.0.v20100505.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Ddom4j-1.6.1.jar ... DocumentFactory { private static org.dom4j.bean.BeanDocumentFactory singleton static Class class$org$dom4j$bean$ ...

Completed in 1202 milliseconds

123