Difference between revisions of "User:Egmetcalfe/Dead Code"
Egmetcalfe (talk | contribs) |
Egmetcalfe (talk | contribs) |
||
Line 3: | Line 3: | ||
===content/base=== | ===content/base=== | ||
====PRBool nsParserUtils::GetQuotedAttrNameAt(const nsString&,PRUint32,nsAString_internal&)==== | ====PRBool nsParserUtils::GetQuotedAttrNameAt(const nsString&,PRUint32,nsAString_internal&)==== | ||
− | [http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsParserUtils.h#83 Declaration] [http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsParserUtils.cpp#175 Definition] [http://mxr.mozilla.org/mozilla-central/search?string=GetQuotedAttrNameAt MXR Search] | + | [http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsParserUtils.h#83 Declaration] [http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsParserUtils.cpp#175 Definition] [http://mxr.mozilla.org/mozilla-central/search?string=GetQuotedAttrNameAt MXR Search] * |
Code Size: 96, Static method | Code Size: 96, Static method | ||
====nsIContent* nsContentUtils::FindFirstChildWithResolvedTag(nsIContent*,PRInt32,nsIAtom*)==== | ====nsIContent* nsContentUtils::FindFirstChildWithResolvedTag(nsIContent*,PRInt32,nsIAtom*)==== | ||
− | [http://mxr.mozilla.org/mozilla-central/source/content/base/public/nsContentUtils.h#310 Declaration] [http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsContentUtils.cpp#1728 Definition] [http://mxr.mozilla.org/mozilla-central/search?string=FindFirstChildWithResolvedTag MXR Search] | + | [http://mxr.mozilla.org/mozilla-central/source/content/base/public/nsContentUtils.h#310 Declaration] [http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsContentUtils.cpp#1728 Definition] [http://mxr.mozilla.org/mozilla-central/search?string=FindFirstChildWithResolvedTag MXR Search] * |
Code Size: 92, Static method | Code Size: 92, Static method | ||
====nsIDocShell* nsContentUtils::GetDocShellFromCaller()==== | ====nsIDocShell* nsContentUtils::GetDocShellFromCaller()==== | ||
− | [http://mxr.mozilla.org/mozilla-central/source/content/base/public/nsContentUtils.h#418 Declaration] [http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsContentUtils.cpp#1304 Definition] [http://mxr.mozilla.org/mozilla/search?string=GetDocShellFromCaller MXR Search] | + | [http://mxr.mozilla.org/mozilla-central/source/content/base/public/nsContentUtils.h#418 Declaration] [http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsContentUtils.cpp#1304 Definition] [http://mxr.mozilla.org/mozilla/search?string=GetDocShellFromCaller MXR Search] * |
Code Size: 33, Static method | Code Size: 33, Static method | ||
Line 19: | Line 19: | ||
====nsIContent* nsContentUtils::GetReferencedElement(nsIURI*,nsIContent*)==== | ====nsIContent* nsContentUtils::GetReferencedElement(nsIURI*,nsIContent*)==== | ||
− | [http://mxr.mozilla.org/mozilla-central/search?string=GetReferencedElement MXR Search] | + | [http://mxr.mozilla.org/mozilla-central/search?string=GetReferencedElement MXR Search] * |
Code Size: 6, Static method | Code Size: 6, Static method | ||
====void nsXMLNameSpaceMap::RemovePrefix(nsIAtom*)==== | ====void nsXMLNameSpaceMap::RemovePrefix(nsIAtom*)==== | ||
− | [http://mxr.mozilla.org/mozilla-central/source/content/base/public/nsXMLNameSpaceMap.h#83 Declaration] [http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsXMLNameSpaceMap.cpp#113 Definition] [http://mxr.mozilla.org/mozilla-central/search?string=RemovePrefix MXR Search] | + | [http://mxr.mozilla.org/mozilla-central/source/content/base/public/nsXMLNameSpaceMap.h#83 Declaration] [http://mxr.mozilla.org/mozilla-central/source/content/base/src/nsXMLNameSpaceMap.cpp#113 Definition] [http://mxr.mozilla.org/mozilla-central/search?string=RemovePrefix MXR Search] * |
Code Size: 3, NS_HIDDEN_ | Code Size: 3, NS_HIDDEN_ |
Revision as of 19:36, 3 March 2010
Note: Code Size is a count of the number of GIMPLE instructions during pass cfg.
Contents
- 1 content/base
- 1.1 PRBool nsParserUtils::GetQuotedAttrNameAt(const nsString&,PRUint32,nsAString_internal&)
- 1.2 nsIContent* nsContentUtils::FindFirstChildWithResolvedTag(nsIContent*,PRInt32,nsIAtom*)
- 1.3 nsIDocShell* nsContentUtils::GetDocShellFromCaller()
- 1.4 nsIContent* nsContentUtils::GetReferencedElement(nsIURI*,nsIContent*)
- 1.5 void nsXMLNameSpaceMap::RemovePrefix(nsIAtom*)
- 2 content/html
- 2.1 void nsGenericHTMLElement::GetHrefURIToMutate(nsIURI**)
- 2.2 nsresult nsGenericHTMLElement::SetFloatAttr(nsIAtom*,float)
- 2.3 nsresult nsGenericHTMLElement::GetFloatAttr(nsIAtom*,float,float*)
- 2.4 nsresult nsHTMLDNSPrefetch::PrefetchHigh(nsAString_internal&)
- 2.5 nsresult nsHTMLDNSPrefetch::PrefetchHigh(Link*)
- 2.6 nsresult nsHTMLDNSPrefetch::PrefetchMedium(nsAString_internal&)
- 2.7 nsresult nsHTMLDNSPrefetch::PrefetchMedium(Link*)
- 2.8 PRBool SinkContext::IsAncestorContainer(nsHTMLTag)
- 2.9 nsresult nsHTMLFragmentContentSink::AddTextToContent(nsIContent*,const nsAString_internal&)
- 3 content/media
- 4 embedding/components/windowwatcher
- 5 modules/libpref
- 6 gfx/thebes/public
- 7 gfx/src/thebes
- 7.1 nsresult nsThebesRenderingContext::GetTextDimensions(const PRUnichar*,PRInt32,PRInt32,PRInt32*,PRInt32,nsTextDimensions&,PRInt32&,nsTextDimensions&,PRInt32*)
- 7.2 nsresult nsThebesRenderingContext::GetTextDimensionsInternal(const PRUnichar*,PRInt32,PRInt32,PRInt32*,PRInt32,nsTextDimensions&,PRInt32&,nsTextDimensions&,PRInt32*)
- 7.3 nsresult nsThebesRenderingContext::DrawEllipse(const nsRect&)
- 8 modules/libpr0n
content/base
PRBool nsParserUtils::GetQuotedAttrNameAt(const nsString&,PRUint32,nsAString_internal&)
Declaration Definition MXR Search *
Code Size: 96, Static method
nsIContent* nsContentUtils::FindFirstChildWithResolvedTag(nsIContent*,PRInt32,nsIAtom*)
Declaration Definition MXR Search *
Code Size: 92, Static method
nsIDocShell* nsContentUtils::GetDocShellFromCaller()
Declaration Definition MXR Search *
Code Size: 33, Static method
nsIContent* nsContentUtils::GetReferencedElement(nsIURI*,nsIContent*)
Code Size: 6, Static method
void nsXMLNameSpaceMap::RemovePrefix(nsIAtom*)
Declaration Definition MXR Search *
Code Size: 3, NS_HIDDEN_
content/html
void nsGenericHTMLElement::GetHrefURIToMutate(nsIURI**)
Code Size: 3
nsresult nsGenericHTMLElement::SetFloatAttr(nsIAtom*,float)
Code Size: 6
MXR Search (One use in a dead macro) *
nsresult nsGenericHTMLElement::GetFloatAttr(nsIAtom*,float,float*)
MXR Search (One use in a dead macro) *
Code Size: 15
nsresult nsHTMLDNSPrefetch::PrefetchHigh(nsAString_internal&)
Code Size: 3
nsresult nsHTMLDNSPrefetch::PrefetchHigh(Link*)
Code Size: 3
nsresult nsHTMLDNSPrefetch::PrefetchMedium(nsAString_internal&)
Code Size: 3
nsresult nsHTMLDNSPrefetch::PrefetchMedium(Link*)
Code Size: 3
PRBool SinkContext::IsAncestorContainer(nsHTMLTag)
Code Size: 13
nsresult nsHTMLFragmentContentSink::AddTextToContent(nsIContent*,const nsAString_internal&)
Code Size: 26
content/media
nsresult nsMediaCacheStream::ReadFromCache(char*,PRInt64,PRInt64)
Code Size: 82
embedding/components/windowwatcher
nsIScriptGlobalObject* nsWWJSUtils::GetStaticScriptGlobal(JSContext*,JSObject*)
Declaration Definition MXR Search
Code Size: 45, Static method
nsIScriptContext* nsWWJSUtils::GetStaticScriptContext(JSContext*,JSObject*)
Declaration Definition MXR Search
Code Size: 10, Static method
modules/libpref
nsresult PREF_GetCharPref(const char*,char*,int*,PRBool)
Code Size: 47
gfx/thebes/public
Path info: MapCharToGlyph calls MapCharToGlyphFormat4
PRUint32 gfxFontUtils::MapCharToGlyphFormat4(const PRUint8*,PRUnichar)
Declaration Definition MXR Search
Code Size: 92, Static method, class marked THEBES_API
PRUint32 gfxFontUtils::MapCharToGlyph(PRUint8*,PRUint32,PRUnichar)
Declaration Definition MXR Search
Code Size: 11, Static method, class marked THEBES_API
gfx/src/thebes
Path info: GetTextDimensions calls GetTextDimensionsInternal
nsresult nsThebesRenderingContext::GetTextDimensions(const PRUnichar*,PRInt32,PRInt32,PRInt32*,PRInt32,nsTextDimensions&,PRInt32&,nsTextDimensions&,PRInt32*)
Code Size: 56
nsresult nsThebesRenderingContext::GetTextDimensionsInternal(const PRUnichar*,PRInt32,PRInt32,PRInt32*,PRInt32,nsTextDimensions&,PRInt32&,nsTextDimensions&,PRInt32*)
Code Size: 2
Note: The 9 argument versions of these functions are not called. The same functions may be removed from nsIThebesFontMetrics, nsThebesFontMetrics and nsIThebesRenderingContext
nsresult nsThebesRenderingContext::DrawEllipse(const nsRect&)
Code Size: 10
Note: 1-arg func never used. Must be removed from nsIThebesRenderingContext as well
modules/libpr0n
PRUint32 imgFrame::GetImageBytesPerRow()
Declaration Definition MXR Search
Code Size: 11
PRInt32 imgFrame::GetHeight()
Declaration Definition MXR Search (Dead, but a pain to check)
Code Size: 2
PRInt32 imgFrame::GetWidth()
Declaration Definition MXR Search (Dead, but a pain to check)
Code Size: 2
PRInt32 imgFrame::GetY()
Declaration Definition MXR Search (impossible to check)
Code Size: 2
PRInt32 imgFrame::GetX()
Declaration Definition MXR Search (impossible to check)
Code Size: 2