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

12345

/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...]
/external/chromium_org/ppapi/api/
H A Dppb_network_proxy.idl25 [singleton]
H A Dppb_gamepad.idl88 [version=1.0, macro="PPB_GAMEPAD_INTERFACE", singleton]
H A Dppb_file_mapping.idl63 [singleton]
/external/chromium_org/ppapi/api/private/
H A Dppb_uma_private.idl25 [singleton,api=PPB_UMA_Singleton_API]
38 [singleton,api=PPB_UMA_Singleton_API]
52 [singleton,api=PPB_UMA_Singleton_API]
64 [singleton,api=PPB_UMA_Singleton_API]
H A Dppb_isolated_file_system_private.idl49 [singleton,api=PPB_IsolatedFileSystem_Private_API]
/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/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DSingletonImmutableSet.java38 super(Collections.singleton(checkNotNull(element)));
/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.java74 super(steps, Collections.<E>singleton(null), features, expectedElements,
/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/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/chromium_org/ppapi/api/dev/
H A Dppb_truetype_font_dev.idl157 [singleton,api=PPB_TrueTypeFont_Singleton_API]
180 [singleton,api=PPB_TrueTypeFont_Singleton_API]
/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 DRangesTest.java37 assertEquals(Ranges.closed(0, 0), Ranges.singleton(0));
38 assertEquals(Ranges.closed(9, 9), Ranges.singleton(9));
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"),
H A DSubMapMultimapAsMapImplementsMapTest.java67 return Collections.singleton(-2);
/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/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DListListIteratorTester.java25 import static java.util.Collections.singleton;
70 listListIteratorTesterNumIterations(), singleton(samples.e4), features,
/external/chromium_org/ui/file_manager/video_player/js/
H A Dbackground.js52 singleton: false,
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DMultisetWritesTester.java188 Collections.singleton(Multisets.immutableEntry(samples.e0, 1))));
200 Collections.singleton(Multisets.immutableEntry(samples.e0, 2))));
220 Collections.singleton(Multisets.immutableEntry(samples.e0, 1))));
232 Collections.singleton(Multisets.immutableEntry(samples.e0, 2))));
/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/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/chromium_org/third_party/skia/src/core/
H A DSkRecord.h171 static T singleton = {}; local
172 return &singleton;

Completed in 1193 milliseconds

12345