HomeSort by relevance Sort by last modified time
    Searched refs:singleton (Results 1 - 25 of 128) sorted by null

1 2 3 4 5 6

  /libcore/luni/src/test/java/tests/api/java/util/
SampleBundleClass.java 27 private static SampleBundleClass singleton; field in class:SampleBundleClass
32 if (singleton != null) {
35 singleton = this;
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
SampleBundleClass.java 27 private static SampleBundleClass singleton; field in class:SampleBundleClass
32 if (singleton != null) {
35 singleton = this;
  /external/icu4c/common/
mutex.h 85 * Singleton struct with shared instantiation/mutexing code.
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
140 * Singleton struct with shared instantiation/mutexing code.
150 * Returns the singleton instance, or NULL if it could not be created
192 TriStateSingleton &singleton; member in class:TriStateSingletonWrapper
    [all...]
  /external/bluetooth/glib/tests/gobject/
singleton.c 73 MySingleton *singleton, *obj; local
75 /* create the singleton */
76 singleton = g_object_new (MY_TYPE_SINGLETON, NULL);
77 g_assert (singleton != NULL);
80 g_assert (singleton == obj);
83 g_object_unref (singleton);
  /external/clang/test/SemaCXX/
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/
SingletonImmutableSet.java 38 super(Collections.singleton(checkNotNull(element)));
  /frameworks/compile/linkloader/utils/
raw_ostream.cpp 25 static llvm::raw_ostream &singleton = llvm::outs(); local
26 return singleton;
  /external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/
ImageFactory.java 12 private static ImageFactory singleton ; field in class:ImageFactory
15 if(singleton == null) singleton = new ImageFactory();
16 return singleton;
  /frameworks/base/media/java/android/drm/mobile1/
DrmRightsManager.java 64 private static DrmRightsManager singleton = null; field in class:DrmRightsManager
79 if (singleton == null) {
80 singleton = new DrmRightsManager();
83 return singleton;
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
IteratorTester.java 74 super(steps, Collections.<E>singleton(null), features, expectedElements,
  /external/guava/guava-tests/test/com/google/common/collect/
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"));
RangesTest.java 37 assertEquals(Ranges.closed(0, 0), Ranges.singleton(0));
38 assertEquals(Ranges.closed(9, 9), Ranges.singleton(9));
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"),
SubMapMultimapAsMapImplementsMapTest.java 67 return Collections.singleton(-2);
TreeBasedTableTest.java 239 assertEquals(Collections.singleton("bar"), set);
242 assertEquals(Collections.singleton("foo"), sortedTable.rowKeySet());
248 assertEquals(Collections.singleton("foo"), set);
251 assertEquals(Collections.singleton("bar"), sortedTable.rowKeySet());
258 assertEquals(Collections.singleton("dog"), set);
291 assertEquals(Collections.singleton("foo"), sortedTable.rowKeySet());
302 assertEquals(Collections.singleton("bar"), sortedTable.rowKeySet());
  /frameworks/base/keystore/java/android/security/
Credentials.java 141 private static Credentials singleton; field in class:Credentials
144 if (singleton == null) {
145 singleton = new Credentials();
147 return singleton;
  /external/webkit/Tools/android/flex-2.5.4a/
parse.y 522 series : series singleton
530 | singleton
534 singleton : singleton '*' label
541 | singleton '+'
547 | singleton '?'
553 | singleton '{' NUMBER ',' NUMBER '}'
581 | singleton '{' NUMBER ',' '}'
595 | singleton '{' NUMBER '}'
597 /* The singleton could be something like "(foo)"
    [all...]
  /external/protobuf/src/google/protobuf/
message.cc 198 static GeneratedMessageFactory* singleton();
232 GeneratedMessageFactory* GeneratedMessageFactory::singleton() { function in class:google::protobuf::__anon10323::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/
ListListIteratorTester.java 25 import static java.util.Collections.singleton;
70 listListIteratorTesterNumIterations(), singleton(samples.e4), features, method
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DictionaryCollection.java 43 mDictionaries.removeAll(Collections.singleton(null));
49 mDictionaries.removeAll(Collections.singleton(null));
  /cts/tools/signature-tools/test/signature/converter/dex/
DexTestConverter.java 43 return converter.convertApi("Dex Tests", Collections.singleton(dexFile), visibility);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
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))));
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/resources/
ResourceNameValidatorTest.java 43 assertTrue(ResourceNameValidator.create(true, Collections.singleton("foo"),
  /external/jsilver/src/com/google/clearsilver/jsilver/compiler/
CompilingClassLoader.java 24 import static java.util.Collections.singleton;
154 fileManager, diagnosticListener, options, null, singleton(javaFile));
  /sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
HardcodedDebugModeDetector.java 82 return Collections.singleton(ATTR_DEBUGGABLE);

Completed in 585 milliseconds

1 2 3 4 5 6