Searched refs:singleton (Results 1 - 25 of 142) sorted by relevance

123456

/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/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/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/guava/guava-testlib/src/com/google/common/collect/testing/
H A DIteratorTester.java75 super(steps, Collections.<E>singleton(null), features, expectedElements,
/external/vogar/src/vogar/target/
H A DClassFinder.java35 return Collections.<Class<?>>singleton(Class.forName(classOrPackageName));
/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/vogar/src/vogar/android/
H A DActivityMode.java42 return Collections.<Task>singleton(
47 return Collections.<Task>singleton(new InstallApkTask(run, action, jar));
/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/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/guava/guava-tests/test/com/google/common/collect/
H A DForwardingQueueTest.java151 forward.addAll(Collections.singleton("asdf"));
166 forward.containsAll(Collections.singleton("asdf"));
211 forward.removeAll(Collections.singleton("asdf"));
216 forward.retainAll(Collections.singleton("asdf"));
H A DSubMapMultimapAsMapImplementsMapTest.java67 return Collections.singleton(-2);
H A DAbstractImmutableSetTest.java69 assertEquals(Collections.singleton("a"), set);
117 assertEquals(Collections.singleton("a"), set);
148 assertEquals(Collections.singleton("a"), set);
154 assertEquals(Collections.singleton("a"), set);
184 assertEquals(Collections.singleton("a"), set);
190 assertEquals(Collections.singleton("a"), set);
241 assertEquals(Collections.singleton("a"), copyOf(c));
257 new IteratorTester<String>(5, UNMODIFIABLE, Collections.singleton("a"),
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
H A DListListIteratorTester.java25 import static java.util.Collections.singleton;
68 listListIteratorTesterNumIterations(), singleton(samples.e4), features,
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DListListIteratorTester.java25 import static java.util.Collections.singleton;
71 listListIteratorTesterNumIterations(), singleton(samples.e4), features,
/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/skia/src/core/
H A DSkFontMgr.cpp154 SK_DECLARE_STATIC_LAZY_PTR(SkFontMgr, singleton, sk_fontmgr_create_default);
157 return SkRef(singleton.get());
/external/guava/guava/src/com/google/common/base/
H A DPresent.java67 return Collections.singleton(reference);
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/
H A DCheckHandshake.java31 Set<String> blacklist = Collections.singleton("sha1/DmxUShsZuNiqPQsX2Oi9uv2sCnw=");
/external/owasp/sanitizer/src/tests/org/owasp/html/
H A DCssSchemaTest.java82 CssSchema.withProperties(Collections.singleton("float"))
/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/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
H A DAbstractImmutableSetTest.java65 assertEquals(Collections.singleton("a"), set);
113 assertEquals(Collections.singleton("a"), set);
144 assertEquals(Collections.singleton("a"), set);
150 assertEquals(Collections.singleton("a"), set);
180 assertEquals(Collections.singleton("a"), set);
186 assertEquals(Collections.singleton("a"), set);
237 assertEquals(Collections.singleton("a"), copyOf(c));
H A DTreeBasedTableTest.java201 assertEquals(Collections.singleton("bar"), set);
204 assertEquals(Collections.singleton("foo"), sortedTable.rowKeySet());
210 assertEquals(Collections.singleton("foo"), set);
213 assertEquals(Collections.singleton("bar"), sortedTable.rowKeySet());
220 assertEquals(Collections.singleton("dog"), set);
253 assertEquals(Collections.singleton("foo"), sortedTable.rowKeySet());
264 assertEquals(Collections.singleton("bar"), sortedTable.rowKeySet());
/external/protobuf/src/google/protobuf/
H A Dmessage.cc237 static GeneratedMessageFactory* singleton();
271 GeneratedMessageFactory* GeneratedMessageFactory::singleton() { function in class:google::protobuf::__anon13537::GeneratedMessageFactory
342 return GeneratedMessageFactory::singleton();
347 GeneratedMessageFactory::singleton()->RegisterFile(filename,
353 GeneratedMessageFactory::singleton()->RegisterType(descriptor, prototype);
/external/vogar/lib/
H A Dminiguice.jar ... implements java.lang.annotation.Annotation { } javax/inject/Singleton.class Singleton.java package javax.inject public ...
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/
H A DMultisetRemoveTester.java152 assertTrue(getMultiset().removeAll(Collections.singleton(samples.e0)));
161 assertFalse(getMultiset().retainAll(Collections.singleton(samples.e0)));

Completed in 814 milliseconds

123456