Changes

Jump to: navigation, search

User:Egmetcalfe/Dead Code

4,991 bytes added, 13:57, 23 March 2010
no edit summary
Code Size: 47
=== mozilla/accessible ===
Path info: AddTargetFromChildrenHavingIDRefsAttr calls GetElementsHavingIDRefsAttrImpl
Code Size: 2
 
===mozilla/editor===
 
====nsresult nsHTMLCSSUtils::RemoveCSSProperty(nsIDOMElement*,const nsAString_internal&)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=RemoveCSSProperty MXR Search]
 
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
 
<s>===mozilla/content/canvas===
 
====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:
 
CommonAsyncVerifySignature is called by AsyncVerifySignature and AsyncVerifyDetachedSignature.
 
====nsresult nsCMSMessage::CommonAsyncVerifySignature(nsISMimeVerificationListener*,unsigned char*,PRUint32)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=CommonAsyncVerifySignature MXR Search]
 
Code Size: 43
 
====nsresult nsCMSMessage::AsyncVerifyDetachedSignature(nsISMimeVerificationListener*,unsigned char*,PRUint32)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=AsyncVerifyDetachedSignature MXR Search]
 
Code Size: 6
 
====nsresult nsCMSMessage::AsyncVerifySignature(nsISMimeVerificationListener*)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=AsyncVerifySignature MXR Search]
 
Code Size: 3
 
Also Note: AsyncVerifySignature is the only caller of these two operators in mozilla/xpcom/glue:
 
====nsCOMPtr& nsCOMPtr::operator=(nsICMSMessage*)====
 
Code Size: 5
 
====nsCOMPtr& nsCOMPtr::operator=(nsISMimeVerificationListener*)====
 
Code Size: 5
 
===mozilla/intl===
 
====PRUint16* MapperToCCMap(nsICharRepresentable*)====
 
[http://mxr.mozilla.org/mozilla-central/search?string=MapperToCCMap MXR Search]
 
Code Size: 15
 
====void nsBufferDecoderSupport::DoubleBuffer()====
 
[http://mxr.mozilla.org/mozilla-central/search?string=DoubleBuffer MXR Search]
 
Code Size: 19
1
edit

Navigation menu