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

12

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DSampleBundleClass.java27 private static SampleBundleClass singleton; field in class:SampleBundleClass
32 if (singleton != null) {
35 singleton = this;
/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/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/icu4c/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
150 * Returns the singleton instance, or NULL if it could not be created.
155 * The singleton creation is only attempted once. If it fails,
156 * the singleton wil
192 TriStateSingleton &singleton; member in class:TriStateSingletonWrapper
[all...]
H A Dutrie2.h664 UTrie2Singleton(SimpleSingleton &s) : singleton(s) {}
666 utrie2_close((UTrie2 *)singleton.fInstance);
667 singleton.reset();
672 SimpleSingleton &singleton; member in class:UTrie2Singleton
H A Dnormalizer2impl.cpp1797 singleton(s), impl(ni), errorCode(ec) {}
1801 (CanonIterData *)singleton.getInstance(createInstance, this, duplicate, errorCode);
1814 SimpleSingleton &singleton; member in class:CanonIterDataSingleton
/external/webkit/Tools/android/flex-2.5.4a/
H A Dparse.y522 series : series singleton
530 | singleton
534 singleton : singleton '*' label
541 | singleton '+'
547 | singleton '?'
553 | singleton '{' NUMBER ',' NUMBER '}'
581 | singleton '{' NUMBER ',' '}'
595 | singleton '{' NUMBER '}'
597 /* The singleton coul
[all...]
/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/protobuf/src/google/protobuf/
H A Dmessage.cc198 static GeneratedMessageFactory* singleton();
232 GeneratedMessageFactory* GeneratedMessageFactory::singleton() { function in class:google::protobuf::__anon10951::GeneratedMessageFactory
302 return GeneratedMessageFactory::singleton();
307 GeneratedMessageFactory::singleton()->RegisterFile(filename,
313 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/v8/test/mjsunit/
H A Djson.js265 var singleton = []; variable
266 var multiOccurrence = [singleton, singleton, singleton];
/external/libpcap/
H A Dpcap.c120 struct singleton { struct
129 struct singleton *sp = (struct singleton *)userData;
137 struct singleton s;
/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 ...
H A Dorg.eclipse.equinox.p2.metadata.repository_1.1.0.v20100513.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.core.contenttype_3.4.100.v20100505-1235.jar ... .eclipse.core.internal.content.Activator singleton private static org.osgi.framework.BundleContext bundleContext ...
H A Dorg.eclipse.core.jobs_3.5.1.R36x_v20100824.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.equinox.preferences_3.3.0.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.equinox.security_1.0.200.v20100503.jar ... .equinox.internal.security.auth.AuthPlugin singleton private org.osgi.framework.BundleContext bundleContext private ...
H A Dorg.eclipse.equinox.registry_3.5.0.v20100503.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.osgi_3.6.1.R36x_v20100806.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
H A Dorg.eclipse.osgi_3.6.2.R36x_v20101103.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/antlr/antlr-3.4/runtime/ActionScript/project/lib/
H A DFlexAntTasks.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/adobe/ com/adobe/ac/ com/adobe/ac/ant/ ...

Completed in 1859 milliseconds

12