/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/memory/ |
D | singleton.h | 30 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()
|
D | singleton_posix.h | 26 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/ |
D | property-dot-receiver.m | 6 @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/ |
D | gview_request_interceptor_unittest.cc | 73 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()
|
D | gview_request_interceptor.cc | 68 if (webkit::npapi::PluginList::Singleton()->GetPluginInfoByPath( in MaybeInterceptResponse() 85 return Singleton<GViewRequestInterceptor>::get(); in GetInstance()
|
/external/chromium/chrome/browser/ |
D | crash_handler_host_linux_stub.cc | 37 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()
|
D | plugin_updater.cc | 47 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()
|
D | crash_handler_host_linux.cc | 400 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()
|
D | pdf_unsupported_feature.cc | 107 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/ |
D | plugin_service_impl.cc | 110 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 …]
|
D | plugin_loader_posix.cc | 79 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/ |
D | singleton_unittest.cc | 19 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()
|
D | singleton.h | 212 class Singleton { 282 base::subtle::AtomicWord Singleton<Type, Traits, DifferentiatingType>::
|
/external/chromium/base/memory/ |
D | singleton_unittest.cc | 20 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()
|
D | singleton.h | 188 class Singleton { 268 base::subtle::AtomicWord Singleton<Type, Traits, DifferentiatingType>::
|
/external/clang/include/clang/AST/ |
D | DeclContextInternals.h | 84 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/ |
D | plugin_list.h | 24 static inline webkit::npapi::PluginList* Singleton() { in Singleton() function 25 return webkit::npapi::PluginList::Singleton(); in Singleton()
|
/external/chromium/crypto/ |
D | capi_util.cc | 16 return Singleton<CAPIUtilSingleton>::get(); in GetInstance() 26 friend class Singleton<CAPIUtilSingleton>;
|
/external/chromium_org/crypto/ |
D | capi_util.cc | 16 return Singleton<CAPIUtilSingleton>::get(); in GetInstance() 26 friend class Singleton<CAPIUtilSingleton>;
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_system_factory.cc | 28 return Singleton<ExtensionSystemSharedFactory>::get(); in GetInstance() 66 return Singleton<ExtensionSystemFactory>::get(); in GetInstance()
|
/external/chromium/base/i18n/ |
D | file_util_icu.cc | 25 return Singleton<IllegalCharacters>::get(); in GetInstance() 37 friend class Singleton<IllegalCharacters>; 84 return Singleton<LocaleAwareComparator>::get(); in GetInstance()
|
/external/chromium_org/ui/base/ime/ |
D | input_method_factory.cc | 61 return Singleton<DefaultInputMethodFactory>::get(); in GetInstance() 86 return Singleton<MockInputMethodFactory>::get(); in GetInstance()
|
/external/chromium_org/chrome_frame/ |
D | com_type_info_holder.cc | 27 DCHECK(Singleton() == this); in Lookup() 50 TypeInfoCache* TypeInfoCache::Singleton() { in Singleton() function in com_util::TypeInfoCache
|
/external/chromium_org/base/i18n/ |
D | file_util_icu.cc | 29 return Singleton<IllegalCharacters>::get(); in GetInstance() 41 friend class Singleton<IllegalCharacters>;
|
/external/chromium/chrome/browser/accessibility/ |
D | browser_accessibility_state.cc | 18 return Singleton<BrowserAccessibilityState>::get(); in GetInstance()
|