HomeSort by relevance Sort by last modified time
    Searched refs:singleton (Results 1 - 25 of 136) 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...]
  /sdk/lint/libs/lint_checks/tests/src/com/android/tools/lint/checks/
ManifestOrderDetectorTest.java 47 mEnabled = Collections.singleton(ManifestOrderDetector.ORDER);
56 mEnabled = Collections.singleton(ManifestOrderDetector.ORDER);
70 mEnabled = Collections.singleton(ManifestOrderDetector.USES_SDK);
80 mEnabled = Collections.singleton(ManifestOrderDetector.USES_SDK);
93 mEnabled = Collections.singleton(ManifestOrderDetector.USES_SDK);
105 mEnabled = Collections.singleton(ManifestOrderDetector.TARGET_NEWER);
117 mEnabled = Collections.singleton(ManifestOrderDetector.MULTIPLE_USES_SDK);
132 mEnabled = Collections.singleton(ManifestOrderDetector.WRONG_PARENT);
180 mEnabled = Collections.singleton(ManifestOrderDetector.DUPLICATE_ACTIVITY);
194 mEnabled = Collections.singleton(ManifestOrderDetector.DUPLICATE_ACTIVITY)
    [all...]
  /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/compiler-rt/lib/tsan/rtl_tests/
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);
177 TEST(DISABLED_BENCH_ThreadSanitizer, 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/
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);
  /tools/build/builder/src/test/java/com/android/builder/
MockSourceSet.java 36 return Collections.singleton(new File(mRoot, "resources"));
  /frameworks/base/services/java/com/android/server/am/
ContentProviderRecord.java 42 final boolean singleton; field in class:ContentProviderRecord
65 singleton = _singleton;
75 singleton = cpr.singleton;
157 if (singleton) {
158 pw.print(prefix); pw.print("singleton="); pw.println(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::__anon11651::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 47 mDictionaries.removeAll(Collections.singleton(null));
54 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))));
  /frameworks/base/keystore/java/android/security/
Credentials.java 156 private static Credentials singleton; field in class:Credentials
159 if (singleton == null) {
160 singleton = new Credentials();
162 return singleton;
  /external/jsilver/src/com/google/clearsilver/jsilver/compiler/
CompilingClassLoader.java 24 import static java.util.Collections.singleton;
154 fileManager, diagnosticListener, options, null, singleton(javaFile));

Completed in 4324 milliseconds

1 2 3 4 5 6