Home
last modified time | relevance | path

Searched refs:Singleton (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/memory/
Dsingleton.h30 class Singleton : private boost::noncopyable {
32 virtual ~Singleton() {} in ~Singleton()
48 template <class T> boost::scoped_ptr<T> Singleton<T>::instance;
49 template <class T> boost::once_flag Singleton<T>::flag = BOOST_ONCE_INIT;
68 class Singleton {
70 Singleton() : thread_checker_() {} in Singleton() function
72 virtual ~Singleton() {} in ~Singleton()
Dsingleton_posix.h26 class Singleton {
28 virtual ~Singleton() {} in ~Singleton()
46 template <class T> T* Singleton<T>::instance_;
47 template <class T> pthread_once_t Singleton<T>::once_control_ =
/external/clang/test/SemaObjC/
Dproperty-dot-receiver.m6 @interface Singleton { interface
8 + (Singleton*) instance;
11 @implementation Singleton implementation
15 + (Singleton*) instance { return 0; }
19 [Singleton.instance someSelector]; // clang issues error here
/external/chromium/chrome/browser/chromeos/
Dgview_request_interceptor_unittest.cc73 webkit::npapi::PluginList::Singleton()->RegisterInternalPlugin(info); in RegisterPDFPlugin()
74 webkit::npapi::PluginList::Singleton()->RefreshPlugins(); in RegisterPDFPlugin()
78 webkit::npapi::PluginList::Singleton()->UnregisterInternalPlugin(pdf_path_); in UnregisterPDFPlugin()
79 webkit::npapi::PluginList::Singleton()->RefreshPlugins(); in UnregisterPDFPlugin()
85 webkit::npapi::PluginList::Singleton()->GetPluginInfoByPath( in SetPDFPluginLoadedState()
89 is_loaded = webkit::npapi::PluginList::Singleton()->GetPluginInfoByPath( in SetPDFPluginLoadedState()
96 is_loaded = webkit::npapi::PluginList::Singleton()->GetPluginInfoByPath( in SetPDFPluginLoadedState()
133 webkit::npapi::PluginList::Singleton()->EnablePlugin(pdf_path_); in TEST_F()
150 webkit::npapi::PluginList::Singleton()->DisablePlugin(pdf_path_); in TEST_F()
Dgview_request_interceptor.cc68 if (webkit::npapi::PluginList::Singleton()->GetPluginInfoByPath( in MaybeInterceptResponse()
85 return Singleton<GViewRequestInterceptor>::get(); in GetInstance()
/external/chromium/chrome/browser/
Dcrash_handler_host_linux_stub.cc37 return Singleton<GpuCrashHandlerHostLinux>::get(); in GetInstance()
48 return Singleton<PluginCrashHandlerHostLinux>::get(); in GetInstance()
59 return Singleton<RendererCrashHandlerHostLinux>::get(); in GetInstance()
70 return Singleton<PpapiCrashHandlerHostLinux>::get(); in GetInstance()
Dplugin_updater.cc47 webkit::npapi::PluginList::Singleton()->GetPluginGroups(true, &plugin_groups); in GetPluginGroupsData()
58 webkit::npapi::PluginList::Singleton()->EnableGroup(enable, group_name); in EnablePluginGroup()
66 webkit::npapi::PluginList::Singleton()->EnablePlugin(file_path); in EnablePlugin()
68 webkit::npapi::PluginList::Singleton()->DisablePlugin(file_path); in EnablePlugin()
200 webkit::npapi::PluginList::Singleton()->DisablePlugin(plugin_path); in UpdatePluginGroupsStateFromPrefs()
250 webkit::npapi::PluginList::Singleton()->GetPlugins(false, &plugins); in GetPreferencesDataOnFileThread()
253 webkit::npapi::PluginList::Singleton()->GetPluginGroups(false, &groups); in GetPreferencesDataOnFileThread()
324 return Singleton<PluginUpdater>::get(); in GetInstance()
Dcrash_handler_host_linux.cc400 return Singleton<GpuCrashHandlerHostLinux>::get(); in GetInstance()
416 return Singleton<PluginCrashHandlerHostLinux>::get(); in GetInstance()
432 return Singleton<RendererCrashHandlerHostLinux>::get(); in GetInstance()
448 return Singleton<PpapiCrashHandlerHostLinux>::get(); in GetInstance()
Dpdf_unsupported_feature.cc107 webkit::npapi::PluginList::Singleton()->EnableGroup( in OnYes()
109 webkit::npapi::PluginList::Singleton()->EnableGroup( in OnYes()
380 PluginList::Singleton()->GetPluginGroups( in PDFHasUnsupportedFeature()
/external/chromium_org/content/browser/
Dplugin_service_impl.cc110 PluginList::Singleton()->RefreshPlugins(); in NotifyPluginDirChanged()
137 return Singleton<PluginServiceImpl>::get(); in GetInstance()
169 PluginList::Singleton()->set_will_load_plugins_callback( in Init()
182 PluginList::Singleton()->AddExtraPluginDir(path); in Init()
185 PluginList::Singleton()->DisablePluginsDiscovery(); in Init()
223 PluginList::Singleton()->GetPluginDirectories(&plugin_dirs); in StartWatchingPlugins()
510 PluginList::Singleton()->GetPluginInfoArray( in GetPluginInfoArray()
552 PluginList::Singleton()->GetPluginsNoRefresh(&plugins); in GetPluginInfoByPath()
601 if (PluginList::Singleton()->GetPluginsNoRefresh(&cached_plugins)) { in GetPlugins()
626 PluginList::Singleton()->GetPlugins(&plugins, NPAPIPluginsSupported()); in GetPluginsInternal()
[all …]
Dplugin_loader_posix.cc79 PluginList::Singleton()->GetPluginPathsToLoad( in GetPluginsToLoad()
84 PluginList::Singleton()->GetInternalPlugins(&internal_plugins_); in GetPluginsToLoad()
166 PluginList::Singleton()->SetPlugins(loaded_plugins_); in MaybeRunPendingCallbacks()
/external/chromium_org/base/memory/
Dsingleton_unittest.cc19 return Singleton<IntSingleton>::get(); in GetInstance()
30 return Singleton<Init5Singleton, Trait>::get(); in GetInstance()
74 return Singleton<CallbackSingletonWithNoLeakTrait, Trait>::get(); in GetInstance()
87 return Singleton<CallbackSingletonWithLeakTrait, Trait>::get(); in GetInstance()
98 return Singleton<CallbackSingletonWithStaticTrait, Trait>::get(); in GetInstance()
118 return Singleton<AlignedTestSingleton, in GetInstance()
Dsingleton.h212 class Singleton {
282 base::subtle::AtomicWord Singleton<Type, Traits, DifferentiatingType>::
/external/chromium/base/memory/
Dsingleton_unittest.cc20 return Singleton<IntSingleton>::get(); in GetInstance()
31 return Singleton<Init5Singleton, Trait>::get(); in GetInstance()
75 return Singleton<CallbackSingletonWithNoLeakTrait, Trait>::get(); in GetInstance()
88 return Singleton<CallbackSingletonWithLeakTrait, Trait>::get(); in GetInstance()
99 return Singleton<CallbackSingletonWithStaticTrait, Trait>::get(); in GetInstance()
Dsingleton.h188 class Singleton {
268 base::subtle::AtomicWord Singleton<Type, Traits, DifferentiatingType>::
/external/clang/include/clang/AST/
DDeclContextInternals.h84 if (NamedDecl *Singleton = getAsDecl()) { in remove() local
85 assert(Singleton == D && "list is different singleton"); in remove()
86 (void)Singleton; in remove()
105 } else if (NamedDecl *Singleton = getAsDecl()) { in removeExternalDecls() local
106 if (Singleton->isFromASTFile()) in removeExternalDecls()
/external/chromium/webkit/glue/plugins/
Dplugin_list.h24 static inline webkit::npapi::PluginList* Singleton() { in Singleton() function
25 return webkit::npapi::PluginList::Singleton(); in Singleton()
/external/chromium/crypto/
Dcapi_util.cc16 return Singleton<CAPIUtilSingleton>::get(); in GetInstance()
26 friend class Singleton<CAPIUtilSingleton>;
/external/chromium_org/crypto/
Dcapi_util.cc16 return Singleton<CAPIUtilSingleton>::get(); in GetInstance()
26 friend class Singleton<CAPIUtilSingleton>;
/external/chromium_org/chrome/browser/extensions/
Dextension_system_factory.cc28 return Singleton<ExtensionSystemSharedFactory>::get(); in GetInstance()
66 return Singleton<ExtensionSystemFactory>::get(); in GetInstance()
/external/chromium/base/i18n/
Dfile_util_icu.cc25 return Singleton<IllegalCharacters>::get(); in GetInstance()
37 friend class Singleton<IllegalCharacters>;
84 return Singleton<LocaleAwareComparator>::get(); in GetInstance()
/external/chromium_org/ui/base/ime/
Dinput_method_factory.cc61 return Singleton<DefaultInputMethodFactory>::get(); in GetInstance()
86 return Singleton<MockInputMethodFactory>::get(); in GetInstance()
/external/chromium_org/chrome_frame/
Dcom_type_info_holder.cc27 DCHECK(Singleton() == this); in Lookup()
50 TypeInfoCache* TypeInfoCache::Singleton() { in Singleton() function in com_util::TypeInfoCache
/external/chromium_org/base/i18n/
Dfile_util_icu.cc29 return Singleton<IllegalCharacters>::get(); in GetInstance()
41 friend class Singleton<IllegalCharacters>;
/external/chromium/chrome/browser/accessibility/
Dbrowser_accessibility_state.cc18 return Singleton<BrowserAccessibilityState>::get(); in GetInstance()

12345678910>>...20