/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...] |
/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/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/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/ppapi/api/ |
ppb_network_proxy.idl | 25 [singleton]
|
ppb_gamepad.idl | 88 [version=1.0, macro="PPB_GAMEPAD_INTERFACE", singleton]
|
/external/chromium_org/ppapi/api/private/ |
ppb_ext_crx_file_system_private.idl | 30 [singleton,api=PPB_Ext_CrxFileSystem_Private_API]
|
/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 ) > ; \
|
/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/rs/cpu_ref/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;
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
IteratorTester.java | 74 super(steps, Collections.<E>singleton(null), features, expectedElements,
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/ |
progress_monitor.hpp | 37 class BOOST_TEST_DECL progress_monitor_t : public test_observer, public singleton<progress_monitor_t> {
|
unit_test_monitor.hpp | 37 class BOOST_TEST_DECL unit_test_monitor_t : public singleton<unit_test_monitor_t>, public execution_monitor {
|
/external/chromium_org/v8/src/ |
global-handles.h | 358 inline Handle<Object> GetSingleton(SingletonHandle singleton) { 359 ASSERT(Exists(singleton)); 360 return Get(singleton_handles_[singleton]); 364 inline bool Exists(SingletonHandle singleton) { 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]);
|
/external/chromium_org/chrome/browser/resources/apps_debugger/ |
background.js | 13 singleton: true
|
/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/chromium_org/ppapi/api/dev/ |
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/ |
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));
|
/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/protobuf/src/google/protobuf/ |
message.cc | 198 static GeneratedMessageFactory* singleton(); 232 GeneratedMessageFactory* GeneratedMessageFactory::singleton() { function in class:google::protobuf::__anon26367::GeneratedMessageFactory 302 return GeneratedMessageFactory::singleton(); 307 GeneratedMessageFactory::singleton()->RegisterFile(filename, 313 GeneratedMessageFactory::singleton()->RegisterType(descriptor, prototype);
|