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

1 2 3 4 5

  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/
trivial_singleton.hpp 32 // ************** singleton ************** //
36 class singleton : private boost::noncopyable { class in namespace:boost::unit_test
40 singleton() {} function in class:boost::unit_test::singleton
41 ~singleton() {}
47 friend class boost::unit_test::singleton<type>; \
54 template class unit_test::singleton< BOOST_JOIN( inst, _t ) > ; \
  /ndk/tests/device/test-stlport_shared-exception/jni/
singleton.cpp 4 // singleton.C:26: warning: `class singleton' only defines private constructors and has no friends
7 // singleton::instance() is considered constructed although the ctor
10 class singleton { class
12 static singleton& instance() {
13 static singleton s;
19 singleton() : initialized(1) { function in class:singleton
23 singleton( const singleton& rhs );
24 void operator=( const singleton& rhs )
    [all...]
  /ndk/tests/device/test-stlport_static-exception/jni/
singleton.cpp 4 // singleton.C:26: warning: `class singleton' only defines private constructors and has no friends
7 // singleton::instance() is considered constructed although the ctor
10 class singleton { class
12 static singleton& instance() {
13 static singleton s;
19 singleton() : initialized(1) { function in class:singleton
23 singleton( const singleton& rhs );
24 void operator=( const singleton& rhs )
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
SingletonImmutableSet.java 38 super(Collections.singleton(checkNotNull(element)));
  /frameworks/rs/cpu_ref/linkloader/utils/
raw_ostream.cpp 25 static llvm::raw_ostream &singleton = llvm::outs(); local
26 return singleton;
  /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/chromium_org/v8/src/extensions/i18n/
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/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/compiler-rt/lib/tsan/tests/rtl/
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/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/chromium_org/third_party/icu/source/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.
151 * Returns the singleton instance, or NULL if it could not be created
193 TriStateSingleton &singleton; member in class:TriStateSingletonWrapper
    [all...]
  /external/guava/guava/src/com/google/common/collect/
Ranges.java 221 public static <C extends Comparable<?>> Range<C> singleton(C value) { method in class:Ranges
  /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
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAccountManager.java 35 private static AccountManager singleton; field in class:ShadowAccountManager
43 if (singleton == null) {
44 singleton = Robolectric.newInstanceOf(AccountManager.class);
46 return singleton;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DictionaryCollection.java 48 mDictionaries.removeAll(Collections.singleton(null));
55 mDictionaries.removeAll(Collections.singleton(null));
  /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;
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableSetTest.java 114 assertEquals(Collections.singleton(array), set);
  /external/mockito/src/org/mockito/internal/configuration/injection/
MockInjection.java 62 this(Collections.singleton(field), fieldOwner);
  /external/chromium_org/chrome/browser/
character_encoding.cc 189 static CanonicalEncodingMap* singleton = new CanonicalEncodingMap; local
190 return singleton;
  /external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/
data_socket.cc 54 static WinsockInitializer singleton; member in class:WinsockInitializer
64 WinsockInitializer WinsockInitializer::singleton; member in class:WinsockInitializer
  /external/chromium_org/third_party/protobuf/src/google/protobuf/
message.cc 237 static GeneratedMessageFactory* singleton();
271 GeneratedMessageFactory* GeneratedMessageFactory::singleton() { function in class:google::protobuf::__anon15811::GeneratedMessageFactory
342 return GeneratedMessageFactory::singleton();
347 GeneratedMessageFactory::singleton()->RegisterFile(filename,
353 GeneratedMessageFactory::singleton()->RegisterType(descriptor, prototype);
  /external/protobuf/src/google/protobuf/
message.cc 198 static GeneratedMessageFactory* singleton();
232 GeneratedMessageFactory* GeneratedMessageFactory::singleton() { function in class:google::protobuf::__anon26342::GeneratedMessageFactory
302 return GeneratedMessageFactory::singleton();
307 GeneratedMessageFactory::singleton()->RegisterFile(filename,
313 GeneratedMessageFactory::singleton()->RegisterType(descriptor, prototype);
  /frameworks/base/keystore/java/android/security/
Credentials.java 164 private static Credentials singleton; field in class:Credentials
167 if (singleton == null) {
168 singleton = new Credentials();
170 return singleton;
  /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);

Completed in 443 milliseconds

1 2 3 4 5