Changes

Jump to: navigation, search

User:Egmetcalfe/Dead Code

3,578 bytes added, 11:52, 10 April 2010
no edit summary
Code Size: 3
====nsresult nsGenericHTMLElementPRBool SinkContext::SetFloatAttrIsAncestorContainer(nsIAtom*,floatnsHTMLTag)====
Code Size[http: 6//mxr.mozilla.org/mozilla-central/search?string=IsAncestorContainer MXR Search] *
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=SetFloatAttr MXR Search] * Will be used for HTML513
====nsresult nsGenericHTMLElementnsHTMLFragmentContentSink::GetFloatAttrAddTextToContent(nsIAtomnsIContent*,float,float*const nsAString_internal&)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetFloatAttr AddTextToContent MXR Search] * Will be used for HTML5
Code Size: 1526
====nsresult nsHTMLDNSPrefetchvoid nsXHTMLContentSerializer::PrefetchHighAppendToString(const PRUnichar*, PRInt32, nsAString_internal&)====
[httploc:content/base/mxr.mozillasrc/nsXHTMLContentSerializer.org/mozilla-central/search?string=PrefetchHigh MXR Search] * - Meant as forward looking APIh
Code Size[http: 3//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DAppendToString%5C%2528&regexp=on&case=on MXR Search]
====nsresult nsHTMLDNSPrefetchCode Size::PrefetchHigh(Link*)====0, virtual
[http====void nsXMLContentSerializer:://mxr.mozilla.org/mozilla-central/search?stringAppendToString(const PRUnichar*, PRInt32, nsAString_internal&)====PrefetchHigh MXR Search] * - Meant as forward looking API
Code Sizeloc: 3content/base/src/nsXMLContentSerializer.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DAppendToString%5C%2528&regexp===nsresult nsHTMLDNSPrefetch::PrefetchMedium(nsAString_internalon&)===case=on MXR Search]
[http://mxr.mozilla.org/mozilla-central/search?string=PrefetchMedium MXR Search] * - Meant as forward looking API Code Size: 3 ====nsresult nsHTMLDNSPrefetch::PrefetchMedium(Link*)==== [http://mxr.mozilla.org/mozilla-central/search?string=PrefetchMedium MXR Search] * - Meant as forward looking API Code Size: 3 ====PRBool SinkContext::IsAncestorContainer(nsHTMLTag)==== [http://mxr.mozilla.org/mozilla-central/search?string=IsAncestorContainer MXR Search] * Code Size: 13 ====nsresult nsHTMLFragmentContentSink::AddTextToContent(nsIContent*0,const nsAString_internal&)==== [http://mxr.mozilla.org/mozilla-central/search?string=AddTextToContent MXR Search] * Code Size: 26virtual
<s>
Code Size: 2
 
===layout/style===
 
====nsresult nsHTMLStyleSheet::GetType(nsString&)====
 
loc: layout/style/nsHTMLStyleSheet.h
 
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetType%5C%2528&regexp=on&case=on MXR Search]
 
Code Size: 0, virtual
 
====nsresult nsIStyleSheet::GetType(nsString&)====
 
loc: layout/style/nsIStyleSheet.h
 
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetType%5C%2528&regexp=on&case=on MXR Search]
 
Code Size: 0, virtual
 
====nsresult nsCSSStyleSheet::GetType(nsString&)====
 
loc: layout/style/nsCSSStyleSheet.h
 
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetType%5C%2528&regexp=on&case=on MXR Search]
 
Code Size: 0, virtual
 
====nsresult nsHTMLCSSStyleSheet::GetType(nsString&)====
 
loc: layout/style/nsHTMLCSSStyleSheet.h
 
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetType%5C%2528&regexp=on&case=on MXR Search]
 
Code Size: 4, virtual
 
====nsresult nsHTMLStyleSheet::GetParentSheet(nsIStyleSheet*&)====
 
loc: layout/style/nsHTMLStyleSheet.h
 
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetParentSheet%5C%2528&regexp=on&case=on MXR Search]
 
Code Size: 0, virtual
 
====nsresult nsIStyleSheet::GetParentSheet(nsIStyleSheet*&)====
 
loc: layout/style/nsIStyleSheet.h
 
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetParentSheet%5C%2528&regexp=on&case=on MXR Search]
 
Code Size: 0, virtual
 
====nsresult nsCSSStyleSheet::GetParentSheet(nsIStyleSheet*&)====
 
loc: layout/style/nsCSSStyleSheet.h
 
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetParentSheet%5C%2528&regexp=on&case=on MXR Search]
 
Code Size: 0, virtual
 
====nsresult nsHTMLCSSStyleSheet::GetParentSheet(nsIStyleSheet*&)====
 
loc: layout/style/nsHTMLCSSStyleSheet.h
 
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetParentSheet%5C%2528&regexp=on&case=on MXR Search]
 
Code Size: 3, virtual
===layout/inspector===
Code Size: 3, static
 
== Shouldn't be cross platform ==
 
 
===profiles===
 
====nsresult nsProfileDirServiceProvider::SetProfileDir(nsIFile*, nsIFile*)====
 
loc: profile/dirserviceprovider/public/nsProfileDirServiceProvider.h
 
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetProfileDir%5C%2528&regexp=on&case=on MXR Search]
 
Code Size: 112, virtual -- Called in embedding/tests/winEmbed/winEmbed.cpp
 
 
====nsresult nsProfileDirServiceProvider::InitProfileDir(nsIFile*)====
 
loc: profile/dirserviceprovider/public/nsProfileDirServiceProvider.h
 
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DInitProfileDir%5C%2528&regexp=on&case=on MXR Search]
 
Code Size: 142
 
====nsresult nsProfileDirServiceProvider::InitNonSharedProfileDir()====
 
loc: profile/dirserviceprovider/public/nsProfileDirServiceProvider.h
 
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DInitNonSharedProfileDir%5C%2528&regexp=on&case=on MXR Search]
 
Code Size: 87
== False Positives/Stuff that shouldn't be dealt with ==
dbaron: maintain the correspondence between setters and constructors
 
===content/html===
 
====nsresult nsGenericHTMLElement::SetFloatAttr(nsIAtom*,float)====
 
Code Size: 6
 
[http://mxr.mozilla.org/mozilla-central/search?string=SetFloatAttr MXR Search] * Will be used for HTML5
 
====nsresult nsGenericHTMLElement::GetFloatAttr(nsIAtom*,float,float*)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=GetFloatAttr MXR Search] * Will be used for HTML5
 
Code Size: 15
 
====nsresult nsHTMLDNSPrefetch::PrefetchHigh(nsAString_internal&)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=PrefetchHigh MXR Search] * - Meant as forward looking API
 
Code Size: 3
 
====nsresult nsHTMLDNSPrefetch::PrefetchHigh(Link*)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=PrefetchHigh MXR Search] * - Meant as forward looking API
 
Code Size: 3
 
====nsresult nsHTMLDNSPrefetch::PrefetchMedium(nsAString_internal&)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=PrefetchMedium MXR Search] * - Meant as forward looking API
 
Code Size: 3
 
====nsresult nsHTMLDNSPrefetch::PrefetchMedium(Link*)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=PrefetchMedium MXR Search] * - Meant as forward looking API
 
Code Size: 3
1
edit

Navigation menu