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

12345

/external/chromium_org/extensions/common/permissions/
H A Dmanifest_permission.cc31 base::ListValue singleton; local
33 singleton.Append(value);
34 IPC::WriteParam(m, singleton);
38 base::ListValue singleton; local
39 if (!IPC::ReadParam(m, iter, &singleton))
41 if (singleton.GetSize() != 1)
44 if (!singleton.Get(0, &value))
/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.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/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::__anon28994::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/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::__anon14849::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.h175 static T singleton = {}; local
176 return &singleton;
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
H A DCompilingClassLoader.java24 import static java.util.Collections.singleton;
154 fileManager, diagnosticListener, options, null, singleton(javaFile));

Completed in 8492 milliseconds

12345