1
edit
Changes
→view: Update
==Unconditionally Dead==
===xpfe/components/intl===
====nsresult nsCharsetMenu::SetCharsetCheckmark(nsString*, PRBool)====
[http://mxr.mozilla.org/mozilla-central/search?string=SetCharsetCheckmark MXR Search]
Code Size: 75
===content/base===
====✓ 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] *
Code Size: 96, Static method
====✓ 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] *
Code Size: 92, Static method
====✓ 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-central/search?string=GetDocShellFromCaller MXR Search] *
Code Size: 33, Static method
====✓ nsIContent* nsContentUtils::GetReferencedElement(nsIURI*,nsIContent*)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetReferencedElement MXR Search] *
Code Size: 6, Static method
====✓ 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] *
Code Size: 3, NS_HIDDEN_
====✓ nsresult nsPlainTextSerializer::WillProcessTokens()====
[http://mxr.mozilla.org/mozilla-central/search?string=GetReferencedElement WillProcessTokens MXR Search] (forgot to include this in original patch)
Code Size: 2
=== content/html ===
====✓ void nsGenericHTMLElement::GetHrefURIToMutate(nsIURI**)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetHrefURIToMutate MXR Search] *
Code Size: 3
====nsresult nsGenericHTMLElement✓ PRBool SinkContext::SetFloatAttrIsAncestorContainer(nsIAtom*,floatnsHTMLTag)====
====✓ nsresult nsGenericHTMLElementnsHTMLFragmentContentSink::GetFloatAttrAddTextToContent(nsIAtomnsIContent*,float,float*const nsAString_internal&)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetFloatAttr AddTextToContent MXR Search] (One use in a dead macro) *
Code Size: 1526
====nsresult nsHTMLDNSPrefetch✓ void nsXHTMLContentSerializer::PrefetchHighAppendToString(const PRUnichar*, PRInt32, nsAString_internal&)====
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DAppendToString%5C%2528®exp===nsresult nsHTMLDNSPrefetch::PrefetchMedium(nsAString_internalon&)===case=on MXR Search]
<s>
====nsresult nsHTMLDocument::GetLinkColor(nsAString& aLinkColor)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetLinkColor MXR Search] (Discovered by accident when verifying nsHTMLStyleSheet::GetLinkColor)
Code Size: 12 LOC</s> (nevermind: it's scriptable)
===content/media===
<del>
====nsresult nsMediaCacheStream::ReadFromCache(char*,PRInt64,PRInt64)====
Code Size: 82
</del>
===content/events===
===content/xslt===
<del>
====MBool txDouble::isNeg(double)====
Code Size: 5
</del>
====PRInt32 txNamespaceMap::lookupNamespace(const nsAString_internal&)====
[http://mxr.mozilla.org/mozilla-central/search?string=lookupNamespace MXR Search] [https://bugzilla.mozilla.org/show_bug.cgi?id=705429 Bug]
Code Size: 8
====txXPathNode* txXPathNodeUtils::getDocument(const txXPathNode&)====
[http://mxr.mozilla.org/mozilla-central/search?string=getDocument MXR Search] [https://bugzilla.mozilla.org/show_bug.cgi?id=705430 Bug]
Code Size: 11
<del>
====PRBool txEarlyEvalContext::isStripSpaceAllowed(const txXPathNode&)====
Note: Difficult to check but all PRBool isStripSpaceAllowed functions are dead. There are a number of MBool isStripSpaceAllowed functions which are not, however.
</del>
====nsresult txResultRecycler::getNodeSet(const txXPathNode&,txNodeSet**)====
[http://mxr.mozilla.org/mozilla-central/search?string=getNodeSet MXR Search] [https://bugzilla.mozilla.org/show_bug.cgi?id=705432 Bug]
Code Size: 29
===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]
===content/xbl===
<del>
====nsCOMArray* nsXBLPrototypeBinding::GetStyleSheets()====
[http://mxr.mozilla.org/mozilla-central/search?string=HandleScriptError GetStyleSheets MXR Search]
Code Size: 6
</del>
===content/canvas===
[http://mxr.mozilla.org/mozilla-central/search?string=LogMessagef MXR Search]
Code Size: 24
====✓ void mozilla::CanvasUtils::LogMessage(const nsCString&)====
[http://mxr.mozilla.org/mozilla-central/search?string=LogMessage MXR Search] Difficult to verify
Code Size: 47
=== accessible modules/plugin ===
Code Size: 7
====already_AddRefed nsCoreUtils::GetLastSensibleColumn(nsITreeBoxObject*)=accessible ===
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DgetDocumentTypeCB%5C%2528®exp=on&case==PRBool nsFontSizeTextAttr::GetValueForon MXR Search] (nsIDOMElement*,nscoord*dead callback function - woohoo)====
====PRBool nsBGColorTextAttr✓ void nsCoreUtils::GetValueForGetElementsHavingIDRefsAttrImpl(nsIDOMElementnsIContent*,nscolornsCString&,nsIAtom*,nsIMutableArray*)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetValueFor%28&case=1 GetElementsHavingIDRefsAttrImpl MXR Search]
Code Size: 742, ^
====PRBool nsFontWeightTextAttr✓ void nsCoreUtils::GetValueForGetElementsHavingIDRefsAttr(nsIDOMElementnsIContent*,PRInt32nsIContent*,nsIAtom*,nsIArray**)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetValueFor%28&case=1 GetElementsHavingIDRefsAttr MXR Search]
Code Size: 80? [http://mxr.mozilla.org/mozilla-central/source/accessible/src/base/nsCoreUtils.cpp#879 Really?], ^
=== embedding/components/windowwatcher ===
====✓ nsIScriptGlobalObject* nsWWJSUtils::GetStaticScriptGlobal(JSContext*,JSObject*)====
[http://mxr.mozilla.org/mozilla-central/source/embedding/components/windowwatcher/src/nsWWJSUtils.h#53 Declaration] [http://mxr.mozilla.org/mozilla-central/source/embedding/components/windowwatcher/src/nsWWJSUtils.cpp#50 Definition] [http://mxr.mozilla.org/mozilla-central/search?string=GetStaticScriptGlobal MXR Search]
Code Size: 45, Static method
====✓ nsIScriptContext* nsWWJSUtils::GetStaticScriptContext(JSContext*,JSObject*)====
[http://mxr.mozilla.org/mozilla-central/source/embedding/components/windowwatcher/src/nsWWJSUtils.h#56 Declaration] [http://mxr.mozilla.org/mozilla-central/source/embedding/components/windowwatcher/src/nsWWJSUtils.cpp#98 Definition] [http://mxr.mozilla.org/mozilla-central/search?string=GetStaticScriptContext MXR Search]
Code Size: 10, Static method
=== gfx/thebes/public ===
<del>
Path info: MapCharToGlyph calls MapCharToGlyphFormat4
Code Size: 11, Static method, class marked THEBES_API
</del>
=== gfx/src/thebes ===
Path info: GetTextDimensions calls GetTextDimensionsInternal
==== ✓ nsresult nsThebesRenderingContext::GetTextDimensions(const PRUnichar*,PRInt32,PRInt32,PRInt32*,PRInt32,nsTextDimensions&,PRInt32&,nsTextDimensions&,PRInt32*)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetTextDimensions MXR Search]
Code Size: 56
==== ✓ nsresult nsThebesRenderingContext::GetTextDimensionsInternal(const PRUnichar*,PRInt32,PRInt32,PRInt32*,PRInt32,nsTextDimensions&,PRInt32&,nsTextDimensions&,PRInt32*) ====
[http://mxr.mozilla.org/mozilla-central/search?string=GetTextDimensionsInternal MXR Search]
Code Size: 2
==== void nsRenderingContext::InvertRect(nscoord, nscoord, nscoord, nscoord) ====
[http://mxr.mozilla.org/mozilla-central/search?string=InvertRect MXR Search]
=== modules/libpr0n ===
<del>
====PRUint32 imgFrame::GetImageBytesPerRow()====
Code Size: 11
</del>
====PRInt32 imgFrame::GetHeight()====
===editor===
====✓ nsresult nsHTMLCSSUtils::RemoveCSSProperty(nsIDOMElement*,const nsAString_internal&)====
[http://mxr.mozilla.org/mozilla-central/search?string=RemoveCSSProperty MXR Search]
Code Size: 28
===security=nsresult nsTextServicesDocument::GetDocument(nsIDOMDocument**)==== loc: editor/txtsvc/src/nsTextServicesDocument.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetDocument%5C%2528®exp=on&case=on MXR Search] Code Size: 0, virtual ====nsresult nsITextServicesDocument::GetDocument(nsIDOMDocument**)==== loc: editor/txtsvc/public/nsITextServicesDocument.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetDocument%5C%2528®exp=on&case=on MXR Search] Code Size: 0, virtual '''API?''' ====nsresult nsDOMSubtreeIterator::Init(nsIDOMNode*)==== loc: editor/libeditor/base/nsEditorUtils.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DInit%5C%2528®exp=on&case=on MXR Search] Code Size: 30 ====void nsDOMIterator::ForEach(nsDomIterFunctor&)==== loc: editor/libeditor/base/nsEditorUtils.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DForEach%5C%2528®exp=on&case=on MXR Search] Code Size: 42 ====void* nsDomIterFunctor::operator()(nsIDOMNode*)==== loc: editor/libeditor/base/nsEditorUtils.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5Doperator%5C%2528®exp=on&case=on MXR Search] Code Size: 0, virtual ====nsresult EditAggregateTxn::GetCount(PRUint32*)==== loc: editor/libeditor/base/EditAggregateTxn.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetCount%5C%2528®exp=on&case=on MXR Search] Code Size: 7, virtual ====nsresult EditAggregateTxn::GetTxnAt(PRInt32, EditTxn**)==== loc: editor/libeditor/base/EditAggregateTxn.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetTxnAt%5C%2528®exp=on&case=on MXR Search] Code Size: 27, virtual ====nsresult EditAggregateTxn::SetName(nsIAtom*)==== loc: editor/libeditor/base/EditAggregateTxn.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetName%5C%2528®exp=on&case=on MXR Search] Code Size: 7, virtual ====✓ nsresult nsHTMLEditor::GetBlockSection(nsIDOMNode*, nsIDOMNode**, nsIDOMNode**)==== loc: editor/libeditor/html/nsHTMLEditor.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetBlockSection%5C%2528®exp=on&case=on MXR Search] Code Size: 127, static, called by GetBlockSectionsForRange ====✓ nsresult nsHTMLEditor::GetBlockSectionsForRange(nsIDOMRange*, nsCOMArray&)==== loc: editor/libeditor/html/nsHTMLEditor.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetBlockSectionsForRange%5C%2528®exp=on&case=on MXR Search] Code Size: 189, static ====nsresult nsHTMLEditor::IsRootTag(nsString&, PRBool&)==== loc: editor/libeditor/html/nsHTMLEditor.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DIsRootTag%5C%2528®exp=on&case=on MXR Search] Code Size: 16, virtual ====nsresult TypeInState::SetProp(nsIAtom*)==== loc: editor/libeditor/html/TypeInState.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetProp%5C%2528®exp=on&case=on MXR Search] Code Size: 5 ====nsresult TypeInState::SetProp(nsIAtom*, const nsString&)==== loc: editor/libeditor/html/TypeInState.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetProp%5C%2528®exp=on&case=on MXR Search] Code Size: 4 ====nsresult TypeInState::ClearProp(nsIAtom*)==== loc: editor/libeditor/html/TypeInState.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DClearProp%5C%2528®exp=on&case=on MXR Search] Code Size: 4 ====nsresult TypeInState::GetTypingState(PRBool&, PRBool&, nsIAtom*, const nsString&)==== loc: editor/libeditor/html/TypeInState.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetTypingState%5C%2528®exp=on&case=on MXR Search] Code Size: 3 ====PRBool nsHTMLEditUtils::IsAddress(nsIDOMNode*)==== loc: editor/libeditor/html/nsHTMLEditUtils.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DIsAddress%5C%2528®exp=on&case=on MXR Search] Code Size: 4, static ====nsresult nsHTMLEditRules::DidDeleteRange(nsIDOMRange*)==== loc: editor/libeditor/html/nsHTMLEditRules.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DDidDeleteRange%5C%2528®exp=on&case=on MXR Search] Code Size: 2, virtual ====nsresult nsHTMLEditRules::WillDeleteRange(nsIDOMRange*)==== loc: editor/libeditor/html/nsHTMLEditRules.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DWillDeleteRange%5C%2528®exp=on&case=on MXR Search] Code Size: 6, virtual ====nsresult ::NS_NewComposerCommandsUpdater(nsISelectionListener**)==== loc: editor/composer/src/nsComposerCommandsUpdater.cpp [http://mxr.mozilla.org/managermozilla-central/sslsearch?string=NS_NewComposerCommandsUpdater MXR Search] Code Size: 15 '''API?''' ===security===
Path Info:
[http://mxr.mozilla.org/mozilla-central/search?string=AsyncVerifySignature MXR Search]
Code Size: 3(It will also take two nsCOMPtr::operator=' along with it, both with code size 5) ====void nsNSSCertTrust::SetTrustedServerCA()==== loc: security/manager/ssl/src/nsNSSCertTrust.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetTrustedServerCA%5C%2528®exp=on&case=on MXR Search] Code Size: 4 ====void nsNSSCertTrust::SetTrustedCA()==== loc: security/manager/ssl/src/nsNSSCertTrust.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetTrustedCA%5C%2528®exp=on&case=on MXR Search] Code Size: 4 ====void nsNSSCertTrust::SetTrustedPeer()==== loc: security/manager/ssl/src/nsNSSCertTrust.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetTrustedPeer%5C%2528®exp=on&case=on MXR Search] Code Size: 4 ====void nsNSSCertTrust::SetUser()==== loc: security/manager/ssl/src/nsNSSCertTrust.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetUser%5C%2528®exp=on&case=on MXR Search] Code Size: 4 ====PRBool nsNSSCertTrust::HasCA(PRBool, PRBool, PRBool)==== loc: security/manager/ssl/src/nsNSSCertTrust.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DHasCA%5C%2528®exp=on&case=on MXR Search] Code Size: 29 ====PRBool nsNSSCertTrust::HasUser(PRBool, PRBool, PRBool)==== loc: security/manager/ssl/src/nsNSSCertTrust.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DHasUser%5C%2528®exp=on&case=on MXR Search] Code Size: 29 ====void nsX509CertValidity::nsX509CertValidity()==== loc: security/manager/ssl/src/nsNSSCertValidity.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DnsX509CertValidity%5C%2528®exp=on&case=on MXR Search] Code Size: 7 ====nsresult nsNSSSocketInfo::SetExternalErrorReporting(PRBool)==== loc: security/manager/ssl/src/nsNSSIOLayer.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetExternalErrorReporting%5C%2528®exp=on&case=on MXR Search] Code Size: 4 ====nsresult nsNSSSocketInfo::GetForSTARTTLS(PRBool*)====
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetForSTARTTLS%5C%2528®exp===nsCOMPtron& nsCOMPtr::operator=(nsICMSMessage*)===case=on MXR Search]
Code Size: 5
====nsCOMPtr& nsCOMPtrnsresult nsNSSSocketInfo::operator=GetForSTARTTLS(nsISMimeVerificationListenerPRBool*)==== loc: security/manager/ssl/src/nsNSSIOLayer.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetForSTARTTLS%5C%2528®exp=on&case=on MXR Search]
Code Size: 5
====nsresult nsNSSSocketInfo::GetFileDescPtr(PRFileDesc**)====
loc: security/manager/ssl/src/nsNSSIOLayer.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetFileDescPtr%5C%2528®exp=on&case=on MXR Search]
Code Size: 4
====nsresult nsNSSSocketInfo::GetCert(nsIX509Cert**)====
loc: security/manager/ssl/src/nsNSSIOLayer.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetCert%5C%2528®exp=on&case=on MXR Search]
Code Size: 11
====PRBool nsNSSActivityState::isBlockingUIActive()====
loc: security/manager/ssl/src/nsNSSShutDown.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DisBlockingUIActive%5C%2528®exp=on&case=on MXR Search]
Code Size: 8
====nsresult nsCRMFObject::init()====
loc: security/manager/ssl/src/nsCrypto.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5Dinit%5C%2528®exp=on&case=on MXR Search]
Code Size: 2
====PRBool ::confirm_user(const PRUnichar*)====
loc: security/manager/ssl/src/nsCrypto.cpp
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5Dconfirm_user%5C%2528®exp=on&case=on MXR Search]
Code Size: 36
====void nsCRLInfo::nsCRLInfo()====
loc: security/manager/ssl/src/nsCRLInfo.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DnsCRLInfo%5C%2528®exp=on&case=on MXR Search]
Code Size: 20
====void nsOCSPResponder::nsOCSPResponder()====
loc: security/manager/ssl/src/nsOCSPResponder.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DnsOCSPResponder%5C%2528®exp=on&case=on MXR Search]
Code Size: 10
====void nsCertTreeDispInfo::nsCertTreeDispInfo(nsCertTreeDispInfo&)====
loc: security/manager/ssl/src/nsCertTree.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DnsCertTreeDispInfo%5C%2528®exp=on&case=on MXR Search]
Code Size: 29
====nsresult nsNSSComponent::RememberCert(CERTCertificate*)====
loc: security/manager/ssl/src/nsNSSComponent.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DRememberCert%5C%2528®exp=on&case=on MXR Search]
Code Size: 0, virtual
====nsresult nsINSSComponent::RememberCert(CERTCertificate*)====
loc: security/manager/ssl/src/nsNSSComponent.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DRememberCert%5C%2528®exp=on&case=on MXR Search]
Code Size: 0, virtual
====nsresult nsNSSComponent::NSSBundleFormatStringFromName(const char*, const PRUnichar**, PRUint32, nsAString_internal&)====
loc: security/manager/ssl/src/nsNSSComponent.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DNSSBundleFormatStringFromName%5C%2528®exp=on&case=on MXR Search]
Code Size: 0, virtual
====nsresult nsINSSComponent::NSSBundleFormatStringFromName(const char*, const PRUnichar**, PRUint32, nsAString_internal&)====
loc: security/manager/ssl/src/nsNSSComponent.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DNSSBundleFormatStringFromName%5C%2528®exp=on&case=on MXR Search]
Code Size: 0, virtual
And a bunch more.... Probably should deal with security stuff last, if at all
===intl===
Note: Must also be removed from nsICaseConversion
====✓ 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
====✓ nsresult nsDetectionAdaptor::ProcessTokens()====
[http://mxr.mozilla.org/mozilla-central/search?string=ProcessTokens MXR Search]
Code Size: 2
====✓ nsresult nsDetectionAdaptor::WillAddToken(CToken&)====
[http://mxr.mozilla.org/mozilla-central/search?string=WillAddToken MXR Search]
Code Size: 3
====void nsJSContext::SetDefaultLanguageVersion(PRUint32)====
loc: dom/base/nsJSEnvironment.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetDefaultLanguageVersion%5C%2528®exp=on&case=on MXR Search]
Code Size: 0, virtual
====void nsIScriptContext::SetDefaultLanguageVersion(PRUint32)====
loc: dom/base/nsIScriptContext.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetDefaultLanguageVersion%5C%2528®exp=on&case=on MXR Search]
Code Size: 0, virtual
===parser===
===ipc===
There is a tonne of dead ipc/chromium stuff not listed here. I'm operating on the assumption it will be too much of a hassle to deal with.
====bool mozilla::ipc::GeckoChildProcessHost::AsyncLaunch(vector)====
===view===
====✓ nsIntPoint nsIView::GetScreenPosition()====
[http://mxr.mozilla.org/mozilla-central/search?string=GetScreenPosition MXR Search]
Code Size: 39
====✓ nsresult nsViewManager::GetViewObserver(nsIViewObserver*&)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetViewObserver MXR Search]
Code Size: 16
====✓ void nsView::SetPositionIgnoringChildWidgets(nscoord,nscoord)====
[http://mxr.mozilla.org/mozilla-central/search?string=SetPositionIgnoringChildWidgets MXR Search]
Code Size: 14
====✓ nsresult nsViewManager::MoveViewBy(nsIView*,nscoord,nscoord)====
[http://mxr.mozilla.org/mozilla-central/search?string=MoveViewBy MXR Search]
Code Size: 14
<del>
====nsresult nsViewManager::InsertChild(nsIView*,nsIView*,PRInt32)====
Code Size: 10
</del>
====PRBool nsIView::ExternalIsRoot()====
[http://mxr.mozilla.org/mozilla-central/search?string=SetPositionIgnoringChildWidgets ExternalIsRoot MXR Search]
Code Size: 3
Note: Used in an NS_ASSERTION [http://mxr.mozilla.org/mozilla-central/source/view/public/nsIView.h#155 here]. Why not just call nsIView::IsRoot?
====void nsBoxFramensIPresShell::FireDOMEventSynchSetVerifyReflowEnable(const nsAString_internal&,nsIContent*PRBool)====
[http://mxr.mozilla.org/mozilla-central/search?string=FireDOMEventSynch SetVerifyReflowEnable MXR Search](called by ifdef DEBUG code)
Code Size: 462
====void nsGridRowPRBool nsIPresShell::MarkDirtyGetVerifyReflowEnable(nsBoxLayoutState&)====
[http://mxr.mozilla.org/mozilla-central/search?string=MarkDirty&case=1 GetVerifyReflowEnable MXR Search](called by ifdef DEBUG code)
Code Size: 162
====void nsBoxLayout::GetParentLayout(nsIBox*,nsIBoxLayout**)=layout/style===
[http://mxr.mozilla.org/mozilla-central/search?string=GetColumns(%5B%5Ea-zA-Z0-9%5DGetType%5C%2528®exp=on&case=on MXR Search]
Code Size: 30, virtual
====nsresult nsMenuFramensCSSStyleSheet::IsActiveGetType(PRBoolnsString&)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetCanvasFrame %5B%5Ea-zA-Z0-9%5DGetParentSheet%5C%2528®exp=on&case=on MXR Search]
Code Size: 200, virtual
====nsresult nsBidiPresUtilsnsCSSStyleSheet::GetBidiEngineGetParentSheet(nsBidi*nsIStyleSheet*&)====
====gfxContext* nsContextBoxBlurvoid inSearchLoop::GetContextinSearchLoop(inISearchProcess*)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetContext()&case=1 inSearchLoop MXR Search] (Non-virtual function from a non-derived classThis'll take an nsCOMPtr:: the script is probably rightoperator= along with it)
Code Size: 411
====void nsIPresShellnsresult nsServiceManager::SetVerifyReflowEnableGetGlobalServiceManager(PRBoolnsIServiceManager**)====
[http://mxr.mozilla.org/mozilla-central/search?string=SetVerifyReflowEnable GetGlobalServiceManager MXR Search] (called by ifdef DEBUG code)
Code Size: 215
====PRBool nsIPresShellnsresult nsServiceManager::GetVerifyReflowEnableShutdownGlobalServiceManager(nsIServiceManager**)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetVerifyReflowEnable ShutdownGlobalServiceManager MXR Search] (called by ifdef DEBUG code)
Code Size: 2
====PRBool PresShell::nsDelayedEvent::Equals(nsPIDOMEventTarget*,PRUint32)=xpcom/base===
====nsresult nsTraceRefcntImpl::LogAddRef(Impossible to verify with MXRvoid*,nsrefcnt,const char*,PRUint32)et al====
===layout/style===
====nsresult CSSLoaderImplPRBool nsCSSPseudoElements::StopLoadingSheetIsPseudoElement(nsIURInsIAtom*)==== loc: layout/style/nsCSSPseudoElements.h
[http://mxr.mozilla.org/mozilla-central/search?string=StopLoadingSheet %5B%5Ea-zA-Z0-9%5DIsPseudoElement%5C%2528®exp=on&case=on MXR Search]
Code Size: 963, static
====StopLoadingSheetsByURIClosure::StopLoadingSheetsByURIClosure(nsIURI*,nsTArray&)==Shouldn't be cross platform ==
====PRBool nsresult nsProfileDirServiceProvider::langMatchesSetProfileDir(RuleProcessorData&nsIFile*,PRBool,nsPseudoClassListnsIFile*)====
[http://mxr.mozilla.org/mozilla-central/search?string=mozSystemMetricMatches %5B%5Ea-zA-Z0-9%5DInitProfileDir%5C%2528®exp=on&case=on MXR Search]
Code Size: 9142
====void nsCSSCornerSizesnsresult nsProfileDirServiceProvider::SetAllCornersToInitNonSharedProfileDir(const nsCSSValue&)====
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DUndefineFileLocations%5C%2528®exp===nsresult CSSLoaderImpl::GetPreferredSheet(nsAString_internalon&)===case=on MXR Search]
[http://mxr.mozilla.org/mozilla-central/search?string=LookupFontDesc %5B%5Ea-zA-Z0-9%5DNS_NewProfileDirServiceProvider%5C%2528®exp=on&case=on MXR Search] (Only the nsAString version is apparently used but what about [http://mxr.mozilla.org/mozilla-central/source/layout/style/test/TestCSSPropertyLookup.cpp#75 this line]?)
Code Size: 431
====nsCSSKeyword nsCSSKeywordsvoid nsProfileDirServiceProvider::LookupKeywordnsProfileDirServiceProvider(const nsACString_internal&PRBool)====
Code Size: 58
Code Size: 526
====void nsCSSValuensCSSTextAttr::nsCSSValueFormat(floatconst nsAutoString&,nsCSSUnitnsAString_internal&)====
Code Size: 53
Code Size: 87
====nsresult nsHTMLStyleSheet::GetActiveLinkColor(nscolor&)=layout/xul===
====PRBool nsCSSPseudoClassesnsRect nsIFrame::IsPseudoClassGetScreenRectInAppUnitsExternal(nsIAtom*)====
[http://mxr.mozilla.org/mozilla-central/search?string=IsPseudoClass GetScreenRectInAppUnitsExternal MXR Search]roc: may be used outside of tree
Code Size: 3
====void nsCSSValue::SetRectIsAutoValue()====layout/style
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DLookupKeyword%5C%2528®exp===PRBool edgeOfTypeMatches(RuleProcessorDataon&,PRBool,PRBool,PRBool)===case=on MXR Search]
====PRBool nthChildGenericMatchesnsCSSValueGradientStop::nsCSSValueGradientStop(RuleProcessorDataconst nsCSSValueGradientStop&,PRBool,nsPseudoClassList*,PRBool,PRBool)====
[http://mxr.mozilla.org/mozilla-central/search?string=nthChildGenericMatches nsCSSValueGradientStop MXR Search] (Called by nthChildMatches, nthLastChildMatches, nthOfTypeMatches, nthLastOfTypeMatchesProbably not a good idea to remove this) Code Size: 30
Code Size: 35, !
====PRBool firstOfTypeMatchesvoid nsCSSValue::nsCSSValue(RuleProcessorData&,PRBool,nsPseudoClassListImage*)====
Code Size: 35, !
====PRBool nthOfTypeMatchesvoid nsCSSValue::nsCSSValue(RuleProcessorData&float,PRBool,nsPseudoClassList*nsCSSUnit)====
[http://mxr.mozilla.org/mozilla-central/search?string=nthLastChildMatches SetFloatAttr MXR Search]* Will be used for HTML5
[http://mxr.mozilla.org/mozilla-central/search?string====PRBool nthChildMatches(RuleProcessorData&,PRBool,nsPseudoClassListGetFloatAttr MXR Search] *)====Will be used for HTML5
Code Size: 3
====PRBool lastChildMatchesnsresult nsHTMLDNSPrefetch::PrefetchHigh(RuleProcessorData&,PRBool,nsPseudoClassListLink*)====
[http://mxr.mozilla.org/mozilla-central/search?string=lastChildMatches PrefetchHigh MXR Search]* - Meant as forward looking API
Code Size: 3
====PRBool firstChildMatchesnsresult nsHTMLDNSPrefetch::PrefetchMedium(RuleProcessorDatansAString_internal&,PRBool,nsPseudoClassList*)====
[http://mxr.mozilla.org/mozilla-central/search?string=firstChildMatches PrefetchMedium MXR Search]* - Meant as forward looking API
Code Size: 3
===layout/generic=nsresult nsHTMLDNSPrefetch::PrefetchMedium(Link*)====
Code Size: 0 (pure virtual) ====PRInt32 nsLineIterator::FindLineAt(nscoord)==== Code Size: 27 ====PRInt32 nsTableRowGroupFrame::FindLineAt(nscoord)==== Code Size: 2 [http://mxr.mozilla.org/mozilla-central/search?string=FindLineAt MXR Search] == Bugs/Strangeness == ===layout/xul=== ====void nsBox::CoordNeedsRecalc(PRInt32&)==== [http://mxr.mozilla.org/mozilla-central/search?string=CoordNeedsRecalc MXR Search] Code Size: 2 This is declared in the header [http://mxr.mozilla.org/mozilla-central/source/layout/xul/base/src/nsBox.h#111 here] as taking an ncoord& parameter however it is defined [http://mxr.mozilla.org/mozilla-central/source/layout/xul/base/src/nsBox.cpp#412 here] as taking PRInt32&. Won't compile if [http://mxr.mozilla.org/mozilla-central/source/gfx/public/nsCoord.h#74 NS_COORD_IS_FLOAT] is defined. ====void nsListBoxBodyFrame::SetRowHeight(nscoord)==== [http://mxr.mozilla.org/mozilla-central/search?string=SetRowHeight MXR Search] Code Size: 41 Same situation, except SetRowHeight is declared in the [http://mxr.mozilla.org/mozilla-central/source/layout/xul/base/src/nsListBoxBodyFrame.h#112 header] as taking a PRInt32 yet the [http://mxr.mozilla.org/mozilla-central/source/layout/xul/base/src/nsListBoxBodyFrame.cpp#659 definition] lists the parameter as nscoord.3