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

12

/external/valgrind/drd/tests/
H A Dlocal_static.cpp19 static Singleton singleton; local
21 fprintf(stderr, "%d\n", singleton.value);
22 fprintf(stderr, "%d\n", singleton.value);
23 fprintf(stderr, "%d\n", singleton.value);
24 fprintf(stderr, "%d\n", singleton.value);
25 fprintf(stderr, "%d\n", singleton.value);
/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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
H A DResourceBasedPeriodFormatterDataService.java43 private static final ResourceBasedPeriodFormatterDataService singleton = new ResourceBasedPeriodFormatterDataService(); field in class:ResourceBasedPeriodFormatterDataService
46 * Returns the singleton instance of this class.
49 return 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.cpp58 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; // expected-note{{requested here}} member in class:PR10020::GMG
/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.h138 static T singleton = {}; local
139 return &singleton;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DNorm2AllModes.java297 private static Norm2AllModes getInstanceFromSingleton(Norm2AllModesSingleton singleton) { argument
298 if(singleton.exception!=null) {
299 throw singleton.exception;
301 return singleton.allModes;
324 Norm2AllModesSingleton singleton;
326 singleton=NFCSingleton.INSTANCE;
328 singleton=NFKCSingleton.INSTANCE;
330 singleton=NFKC_CFSingleton.INSTANCE;
332 singleton=null;
334 if(singleton!
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
H A DInternalLocaleBuilder.java140 public InternalLocaleBuilder setExtension(char singleton, String value) throws LocaleSyntaxException { argument
142 boolean isBcpPrivateuse = LanguageTag.isPrivateusePrefixChar(singleton);
143 if (!isBcpPrivateuse && !LanguageTag.isExtensionSingletonChar(singleton)) {
144 throw new LocaleSyntaxException("Ill-formed extension key: " + singleton);
148 CaseInsensitiveChar key = new CaseInsensitiveChar(singleton);
216 String singleton = s;
217 StringBuilder sb = new StringBuilder(singleton);
232 throw new LocaleSyntaxException("Incomplete extension '" + singleton + "'", start);
288 // each extension string contains singleton, e.g. "a-abc-def"
554 * The input must be a valid extension subtags (excluding singleton)
[all...]
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
H A DICUPropertyFactory.java468 private static ICUPropertyFactory singleton = null; field in class:ICUPropertyFactory
471 if (singleton != null)
472 return singleton;
473 singleton = new ICUPropertyFactory();
474 return singleton;
/external/v8/src/
H A Dglobal-handles.h330 inline Handle<Object> GetSingleton(SingletonHandle singleton) { argument
331 DCHECK(Exists(singleton));
332 return Get(singleton_handles_[singleton]);
336 inline bool Exists(SingletonHandle singleton) { argument
337 return singleton_handles_[singleton] != kInvalidIndex;
343 SingletonHandle singleton) {
344 Create(isolate, object, &singleton_handles_[singleton]);
345 return Get(singleton_handles_[singleton]);
341 CreateSingleton(Isolate* isolate, Object* object, SingletonHandle singleton) argument
/external/guava/guava/src/com/google/common/collect/
H A DRange.java70 * <li>{@code [a..a]} : a singleton range
328 public static <C extends Comparable<?>> Range<C> singleton(C value) { method in class:Range
/external/protobuf/src/google/protobuf/
H A Dmessage.cc237 static GeneratedMessageFactory* singleton();
271 GeneratedMessageFactory* GeneratedMessageFactory::singleton() { function in class:google::protobuf::__anon13532::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/vogar/lib/
H A Dminiguice.jar ... implements java.lang.annotation.Annotation { } javax/inject/Singleton.class Singleton.java package javax.inject public ...
/external/skia/src/ports/
H A DSkFontConfigInterface_direct.cpp129 static SkFontConfigInterfaceDirect* singleton = NULL; local
130 if (singleton == NULL) {
131 singleton = SkNEW(SkFontConfigInterfaceDirect);
133 return singleton;
/external/v8/test/mjsunit/
H A Djson.js312 var singleton = []; variable
313 var multiOccurrence = [singleton, singleton, singleton];
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
H A DTransliteratorTest.java2656 static DummyFactory singleton = new DummyFactory(); field in class:TransliteratorTest.DummyFactory
2663 Transliterator.registerFactory(ID, singleton);
2929 static TestUserFunctionFactory singleton = new TestUserFunctionFactory(); field in class:TransliteratorTest.TestUserFunctionFactory
2934 Transliterator.registerFactory(ID, singleton);
/external/skia/src/pathops/
H A DSkOpAngle.cpp663 bool singleton = NULL == fNext; local
664 if (singleton) {
669 if (singleton || angle->after(this)) {
/external/deqp/modules/glshared/
H A DglsBuiltinPrecisionTests.cpp107 * \brief Generic singleton creator.
114 * so we have to resort to global singleton instances.
216 //! Create container from elementwise singleton values.
269 //! The resulting interval might not be a singleton if rounding in both
1061 //! Return a reference to a singleton void constant.
1064 static const ExprP<Void> singleton = constant(Void()); local
1066 return singleton;
/external/conscrypt/src/main/native/
H A Dorg_conscrypt_NativeCrypto.cpp1753 static EcdsaExDataIndex singleton; local
1754 return singleton;
/external/slf4j/integration/lib/
H A Dslf4j-api-1.5.11.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/slf4j/ org/slf4j/helpers/ org/slf4j/spi/ org/ ...
H A Dslf4j-api-1.6.99.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/slf4j/ org/slf4j/helpers/ org/slf4j/spi/ org/ ...
H A Dslf4j-api-2.0.99.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/slf4j/ org/slf4j/helpers/ org/slf4j/spi/ org/ ...
/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 ...

Completed in 1013 milliseconds

12