/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
H A D | SampleBundleClass.java | 27 private static SampleBundleClass singleton; field in class:SampleBundleClass 32 if (singleton != null) { 35 singleton = this;
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | mutex.h | 96 * 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/icu4c/common/ |
H A D | mutex.h | 96 * 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...] |
/external/chromium_org/chrome/browser/resources/apps_debugger/ |
H A D | background.js | 13 singleton: true
|
/external/chromium_org/ppapi/api/ |
H A D | ppb_network_proxy.idl | 25 [singleton]
|
H A D | ppb_gamepad.idl | 88 [version=1.0, macro="PPB_GAMEPAD_INTERFACE", singleton]
|
/external/chromium_org/ppapi/api/private/ |
H A D | ppb_ext_crx_file_system_private.idl | 30 [singleton,api=PPB_Ext_CrxFileSystem_Private_API]
|
/external/clang/test/SemaCXX/ |
H A D | vtable-instantiation.cc | 58 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 D | SingletonImmutableSet.java | 38 super(Collections.singleton(checkNotNull(element)));
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/ |
H A D | ImageFactory.java | 12 private static ImageFactory singleton ; field in class:ImageFactory 15 if(singleton == null) singleton = new ImageFactory(); 16 return singleton;
|
/external/chromium_org/v8/src/extensions/i18n/ |
H A D | locale.js | 171 var singleton = '(' + digit + '|[A-WY-Za-wy-z])'; variable 172 LANGUAGE_SINGLETON_RE = new RegExp('^' + singleton + '$', 'i'); 174 var extension = '(' + singleton + '(-' + alphanum + '{2,8})+)';
|
/external/chromium_org/v8/src/ |
H A D | global-handles.h | 358 inline Handle<Object> GetSingleton(SingletonHandle singleton) { argument 359 ASSERT(Exists(singleton)); 360 return Get(singleton_handles_[singleton]); 364 inline bool Exists(SingletonHandle singleton) { argument 365 return singleton_handles_[singleton] != kInvalidIndex; 371 SingletonHandle singleton) { 372 ASSERT(singleton_handles_[singleton] == kInvalidIndex); 373 singleton_handles_[singleton] = Create(isolate, object); 374 return Get(singleton_handles_[singleton]); 369 CreateSingleton(Isolate* isolate, Object* object, SingletonHandle singleton) argument
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
H A D | IteratorTester.java | 74 super(steps, Collections.<E>singleton(null), features, expectedElements,
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
H A D | tsan_mutex.cc | 167 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 D | ppb_truetype_font_dev.idl | 157 [singleton,api=PPB_TrueTypeFont_Singleton_API] 180 [singleton,api=PPB_TrueTypeFont_Singleton_API]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | ForwardingQueueTest.java | 151 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 D | RangesTest.java | 37 assertEquals(Ranges.closed(0, 0), Ranges.singleton(0)); 38 assertEquals(Ranges.closed(9, 9), Ranges.singleton(9));
|
H A D | AbstractImmutableSetTest.java | 69 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 D | SubMapMultimapAsMapImplementsMapTest.java | 67 return Collections.singleton(-2);
|
/external/protobuf/src/google/protobuf/ |
H A D | message.cc | 198 static GeneratedMessageFactory* singleton(); 232 GeneratedMessageFactory* GeneratedMessageFactory::singleton() { function in class:google::protobuf::__anon23965::GeneratedMessageFactory 302 return GeneratedMessageFactory::singleton(); 307 GeneratedMessageFactory::singleton()->RegisterFile(filename, 313 GeneratedMessageFactory::singleton()->RegisterType(descriptor, prototype);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
H A D | ListListIteratorTester.java | 25 import static java.util.Collections.singleton; 70 listListIteratorTesterNumIterations(), singleton(samples.e4), features,
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
H A D | MultisetWritesTester.java | 188 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/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowAccountManager.java | 35 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 D | message.cc | 237 static GeneratedMessageFactory* singleton(); 271 GeneratedMessageFactory* GeneratedMessageFactory::singleton() { function in class:google::protobuf::__anon13414::GeneratedMessageFactory 342 return GeneratedMessageFactory::singleton(); 347 GeneratedMessageFactory::singleton()->RegisterFile(filename, 353 GeneratedMessageFactory::singleton()->RegisterType(descriptor, prototype);
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
H A D | CompilingClassLoader.java | 24 import static java.util.Collections.singleton; 154 fileManager, diagnosticListener, options, null, singleton(javaFile));
|