Changes

Jump to: navigation, search

User:Egmetcalfe/Dead Code

48 bytes removed, 00:11, 24 March 2010
no edit summary
Code Size: 26
=== content/media ===
====nsresult nsMediaCacheStream::ReadFromCache(char*,PRInt64,PRInt64)====
Code Size: 82
 
 
===content/events===
 
====nsresult nsPrivateTextRange::SetRangeType(PRUint16)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=SetRangeType MXR Search]
 
Code Size: 3
 
====nsresult nsPrivateTextRange::SetRangeEnd(PRUint16)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=SetRangeEnd MXR Search]
 
Code Size: 3
 
====nsresult nsPrivateTextRange::SetRangeStart(PRUint16)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=SetRangeStart MXR Search]
 
Code Size: 3
 
===content/xslt===
 
====MBool txDouble::isNeg(double)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=isNeg MXR Search]
 
Code Size: 5
 
====PRInt32 txNamespaceMap::lookupNamespace(const nsAString_internal&)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=lookupNamespace MXR Search]
 
Code Size: 8
 
Note: Only lookupNamespace(nsIAtom*) is used
 
====txXPathNode* txXPathNodeUtils::getDocument(const txXPathNode&)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=getDocument MXR Search]
 
Code Size: 11
 
====PRBool txEarlyEvalContext::isStripSpaceAllowed(const txXPathNode&)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=isStripSpaceAllowed MXR Search]
 
Code Size: 2
 
====PRBool txExecutionState::isStripSpaceAllowed(const txXPathNode&)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=isStripSpaceAllowed MXR Search]
 
Code Size: 6
 
====PRBool txXSLTParamContext::isStripSpaceAllowed(const txXPathNode&)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=isStripSpaceAllowed MXR Search]
 
Code Size: 2
 
Note: Difficult to check but all PRBool isStripSpaceAllowed functions are dead. There are a number of MBool isStripSpaceAllowed functions which are not, however.
 
====nsresult txResultRecycler::getNodeSet(const txXPathNode&,txNodeSet**)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=getNodeSet MXR Search]
 
Code Size: 29
 
===mozilla/content/xul===
 
====PRBool TestNode::HasAncestor(const ReteNode*)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=HasAncestor MXR Search]
 
Code Size: 11
 
====PRBool nsXULDocument::ContextStack::IsInsideXULTemplate()====
 
[http://mxr.mozilla.org/mozilla-central/search?string=IsInsideXULTemplate MXR Search]
 
Code Size: 16
 
===mozilla/content/xbl===
 
====nsCOMArray* nsXBLPrototypeBinding::GetStyleSheets()====
 
[http://mxr.mozilla.org/mozilla-central/search?string=HandleScriptError MXR Search]
 
Code Size: 6
 
===content/canvas===
 
<s>====PRUint32 mozilla::SimpleBuffer::ElementSize()====
 
[http://mxr.mozilla.org/mozilla-central/search?string=ElementSize MXR Search]
 
Code Size: 26
 
====void mozilla::SimpleBuffer::Prepare(PRUint32,PRUint32,PRUint32)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=Prepare MXR Search]
 
Code Size: 9
 
====void mozilla::SimpleBuffer::EnsureCapacity(PRBool,PRUint32)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=EnsureCapacity MXR Search]
 
Code Size: 19
 
====PRBool mozilla::SimpleBuffer::InitFromJSArray(PRUint32,PRUint32,JSContext*,JSObject*,jsuint)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=InitFromJSArray MXR Search]
 
Code Size: 127
</s>
 
Note: SimpleBuffer has been removed in a recent revision
=== modules/libreg ===
Code Size: 47
=== mozilla/accessible ===
Path info: AddTargetFromChildrenHavingIDRefsAttr calls GetElementsHavingIDRefsAttrImpl
Code Size: 2
===mozilla/editor===
====nsresult nsHTMLCSSUtils::RemoveCSSProperty(nsIDOMElement*,const nsAString_internal&)====
Code Size: 28
===mozilla/content/events=== ====nsresult nsPrivateTextRange::SetRangeType(PRUint16)==== [http://mxr.mozilla.org/mozilla-central/search?string=SetRangeType MXR Search] Code Size: 3 ====nsresult nsPrivateTextRange::SetRangeEnd(PRUint16)==== [http://mxr.mozilla.org/mozilla-central/search?string=SetRangeEnd MXR Search] Code Size: 3 ====nsresult nsPrivateTextRange::SetRangeStart(PRUint16)==== [http://mxr.mozilla.org/mozilla-central/search?string=SetRangeStart MXR Search] Code Size: 3 ===mozilla/content/xslt=== ====MBool txDouble::isNeg(double)==== [http://mxr.mozilla.org/mozilla-central/search?string=isNeg MXR Search] Code Size: 5 ====PRInt32 txNamespaceMap::lookupNamespace(const nsAString_internal&)==== [http://mxr.mozilla.org/mozilla-central/search?string=lookupNamespace MXR Search] Code Size: 8 Note: Only lookupNamespace(nsIAtom*) is used ====txXPathNode* txXPathNodeUtils::getDocument(const txXPathNode&)==== [http://mxr.mozilla.org/mozilla-central/search?string=getDocument MXR Search] Code Size: 11 ====PRBool txEarlyEvalContext::isStripSpaceAllowed(const txXPathNode&)==== [http://mxr.mozilla.org/mozilla-central/search?string=isStripSpaceAllowed MXR Search] Code Size: 2 ====PRBool txExecutionState::isStripSpaceAllowed(const txXPathNode&)==== [http://mxr.mozilla.org/mozilla-central/search?string=isStripSpaceAllowed MXR Search] Code Size: 6 ====PRBool txXSLTParamContext::isStripSpaceAllowed(const txXPathNode&)==== [http://mxr.mozilla.org/mozilla-central/search?string=isStripSpaceAllowed MXR Search] Code Size: 2 Note: Difficult to check but all PRBool isStripSpaceAllowed functions are dead. There are a number of MBool isStripSpaceAllowed functions which are not, however. ====nsresult txResultRecycler::getNodeSet(const txXPathNode&,txNodeSet**)==== [http://mxr.mozilla.org/mozilla-central/search?string=getNodeSet MXR Search] Code Size: 29 ===mozilla/content/xul=== ====PRBool TestNode::HasAncestor(const ReteNode*)==== [http://mxr.mozilla.org/mozilla-central/search?string=HasAncestor MXR Search] Code Size: 11 ====PRBool nsXULDocument::ContextStack::IsInsideXULTemplate()==== [http://mxr.mozilla.org/mozilla-central/search?string=IsInsideXULTemplate MXR Search] Code Size: 16 ===mozilla/content/xbl=== ====nsCOMArray* nsXBLPrototypeBinding::GetStyleSheets()==== [http://mxr.mozilla.org/mozilla-central/search?string=HandleScriptError MXR Search] Code Size: 6 ===mozilla/dom=== ====nsresult nsIScriptGlobalObject::HandleScriptError(nsScriptErrorEvent*,nsEventStatus*)==== [http://mxr.mozilla.org/mozilla-central/search?string=HandleScriptError MXR Search] Code Size: 3 ===mozilla/content/canvas=== <s>====PRUint32 mozilla::SimpleBuffer::ElementSize()==== [http://mxr.mozilla.org/mozilla-central/search?string=ElementSize MXR Search] Code Size: 26 ====void mozilla::SimpleBuffer::Prepare(PRUint32,PRUint32,PRUint32)==== [http://mxr.mozilla.org/mozilla-central/search?string=Prepare MXR Search] Code Size: 9 ====void mozilla::SimpleBuffer::EnsureCapacity(PRBool,PRUint32)==== [http://mxr.mozilla.org/mozilla-central/search?string=EnsureCapacity MXR Search] Code Size: 19 ====PRBool mozilla::SimpleBuffer::InitFromJSArray(PRUint32,PRUint32,JSContext*,JSObject*,jsuint)==== [http://mxr.mozilla.org/mozilla-central/search?string=InitFromJSArray MXR Search] Code Size: 127</s> Note: SimpleBuffer has been removed in a recent revision ===mozilla/security/manager/ssl===
Path Info:
Code Size: 2
 
===mozilla/dom===
 
====nsresult nsIScriptGlobalObject::HandleScriptError(nsScriptErrorEvent*,nsEventStatus*)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=HandleScriptError MXR Search]
 
Code Size: 3
== Bugs/Strangeness ==
1
edit

Navigation menu