Changes

Jump to: navigation, search

User:Egmetcalfe/Dead Code

1,421 bytes added, 10:40, 10 December 2011
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=WillProcessTokens MXR Search] (forgot to include this in original patch)
=== 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)====
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] (One use in a dead macro) *13
====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: 15 ====nsresult nsHTMLDNSPrefetch::PrefetchHigh(nsAString_internal&)==== [http://mxr.mozilla.org/mozilla-central/search?string=PrefetchHigh MXR Search] * Code Size: 326
====nsresult nsHTMLDNSPrefetch✓ void nsXHTMLContentSerializer::PrefetchHighAppendToString(Linkconst PRUnichar*, PRInt32, nsAString_internal&)====
[httploc:content/base/mxr.mozillasrc/nsXHTMLContentSerializer.org/mozilla-central/search?string=PrefetchHigh MXR Search] *h
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::PrefetchMedium(nsAString_internal&)====0, virtual
[http====✓ void nsXMLContentSerializer:://mxr.mozilla.org/mozilla-central/search?stringAppendToString(const PRUnichar*, PRInt32, nsAString_internal&)====PrefetchMedium MXR Search] *
Code Sizeloc: 3content/base/src/nsXMLContentSerializer.h
====nsresult nsHTMLDNSPrefetch[http::PrefetchMedium(Link*)=//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DAppendToString%5C%2528&regexp=on&case=on MXR Search]
[http://mxr.mozilla.org/mozilla-central/search?string=PrefetchMedium MXR Search] * 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>
===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===
<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
====void mozilla::CanvasUtils::LogMessagef(const char*)====
[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
=== accessible ===
 
====✓ const gchar* ::getDocumentTypeCB(AtkDocument*)====
 
loc: accessible/src/atk/nsMaiInterfaceDocument.cpp
 
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DgetDocumentTypeCB%5C%2528&regexp=on&case=on MXR Search] (dead callback function - woohoo)
 
Code Size: 42
Path info: AddTargetFromChildrenHavingIDRefsAttr calls GetElementsHavingIDRefsAttr which calls GetElementsHavingIDRefsAttrImpl.
====void nsCoreUtils::GetElementsHavingIDRefsAttrImpl(nsIContent*,nsCString&,nsIAtom*,nsIMutableArray*)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetElementsHavingIDRefsAttrImpl MXR Search]
Code Size: 42, ^
====void nsCoreUtils::GetElementsHavingIDRefsAttr(nsIContent*,nsIContent*,nsIAtom*,nsIArray**)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetElementsHavingIDRefsAttr MXR Search]
Code Size: 0? [http://mxr.mozilla.org/mozilla-central/source/accessible/src/base/nsCoreUtils.cpp#879 Really?], ^
====nsresult nsRelUtils::AddTargetFromChildrenHavingIDRefsAttr(PRUint32,nsIAccessibleRelation**,nsIContent*,nsIContent*,nsIAtom*)====
[http://mxr.mozilla.org/mozilla-central/search?string=AddTargetFromChildrenHavingIDRefsAttr MXR Search]
Code Size: 52, ^
====already_AddRefed nsAccUtils::QueryAccessibleTable(nsIAccessibleTable*)====
[http://mxr.mozilla.org/mozilla-central/search?string=QueryAccessibleTable MXR Search]
Code Size: 7, ^
====already_AddRefed nsCoreUtils::GetLastSensibleColumn(nsITreeBoxObject*)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetLastSensibleColumn MXR Search]
Code Size: 40 ====PRBool nsFontSizeTextAttr::GetValueFor(nsIDOMElement*,nscoord*)==== [http://mxr.mozilla.org/mozilla-central/search?string=GetValueFor%28&case=1 MXR Search] Code Size: 8 ====PRBool nsBGColorTextAttr::GetValueFor(nsIDOMElement*,nscolor*)==== [http://mxr.mozilla.org/mozilla-central/search?string=GetValueFor%28&case=1 MXR Search] Code Size: 7 ====PRBool nsFontWeightTextAttr::GetValueFor(nsIDOMElement*,PRInt32*)==== [http://mxr.mozilla.org/mozilla-central/search?string=GetValueFor%28&case=1 MXR Search] Code Size: 8 Note: A number of calls to GetValueFor functions are made where the second parameter has generic type ie T blah. Path info: GetValue calls nsCSSTextAttr::Format ====PRBool nsTextAttr::GetValue(nsAString_internal&,int)==== To verify run [http://mxr.mozilla.org/mozilla-central/search?string=GetLastSensibleColumn this search] then grep for all lines that contain at least two commas Code Size: 26 Note: Must also remove from nsITextAttr These are too difficult too verify: ====void nsCSSTextAttr::Format(const nsAutoString&,nsAString_internal&)==== Code Size: 3 ====void nsTextAttr::Format(const nsAutoString&,nsAString_internal&)==== Code Size: 0 ====void nsLangTextAttr::Format(const nsAutoString&,nsAString_internal&)==== Code Size: 7^
=== 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
 
=== modules/libpref===
====nsresult PREF_GetCharPref(const char*,char*,int*,PRBool)====
 
[http://mxr.mozilla.org/mozilla-central/source/modules/libpref/src/prefapi.cpp#397 Definition] [http://mxr.mozilla.org/mozilla-central/search?string=PREF_GetCharPref MXR Search]
 
Code Size: 47
=== 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/manager/ssl=nsresult nsTextServicesDocument::GetDocument(nsIDOMDocument**)==== loc: editor/txtsvc/src/nsTextServicesDocument.h
Path Info[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetDocument%5C%2528&regexp=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&regexp=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&regexp=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&regexp=on&case=on MXR Search] Code Size: 42
CommonAsyncVerifySignature is called by AsyncVerifySignature and AsyncVerifyDetachedSignature.====void* nsDomIterFunctor::operator()(nsIDOMNode*)====
====nsresult nsCMSMessageloc::CommonAsyncVerifySignature(nsISMimeVerificationListener*,unsigned char*,PRUint32)====editor/libeditor/base/nsEditorUtils.h
[http://mxr.mozilla.org/mozilla-central/search?string=CommonAsyncVerifySignature %5B%5Ea-zA-Z0-9%5Doperator%5C%2528&regexp=on&case=on MXR Search]
Code Size: 430, virtual
====nsresult nsCMSMessageEditAggregateTxn::AsyncVerifyDetachedSignatureGetCount(nsISMimeVerificationListenerPRUint32*,unsigned char*,PRUint32)====
[httploc:editor/libeditor/mxr.mozillabase/EditAggregateTxn.org/mozilla-central/search?string=AsyncVerifyDetachedSignature MXR Search]h
Code Size[http: 6//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetCount%5C%2528&regexp=on&case=on MXR Search]
====nsresult nsCMSMessageCode Size::AsyncVerifySignature(nsISMimeVerificationListener*)====7, virtual
[http====nsresult EditAggregateTxn:://mxr.mozilla.org/mozilla-central/search?stringGetTxnAt(PRInt32, EditTxn**)====AsyncVerifySignature MXR Search]
Code Sizeloc: 3editor/libeditor/base/EditAggregateTxn.h
Also Note[http: AsyncVerifySignature is the only caller of these two operators in //mxr.mozilla.org/xpcommozilla-central/glue:search?string=%5B%5Ea-zA-Z0-9%5DGetTxnAt%5C%2528&regexp=on&case=on MXR Search]
====nsCOMPtr& nsCOMPtrCode Size::operator=(nsICMSMessage*)====27, virtual
Code Size====nsresult EditAggregateTxn: 5:SetName(nsIAtom*)====
====nsCOMPtr& nsCOMPtrloc::operator=(nsISMimeVerificationListener*)====editor/libeditor/base/EditAggregateTxn.h
Code Size[http: 5//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetName%5C%2528&regexp=on&case=on MXR Search]
===intl===Code Size: 7, virtual
====nsresult nsCaseConversionImp2nsHTMLEditor::ToTitleGetBlockSection(const PRUnicharnsIDOMNode*,PRUnicharnsIDOMNode**,PRUint32,PRBoolnsIDOMNode**)====
[httploc:editor/libeditor/mxr.mozillahtml/nsHTMLEditor.org/mozilla-central/search?string=ToTitle&case=on MXR Search]h
Code Size[http: 42//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetBlockSection%5C%2528&regexp=on&case=on MXR Search]
NoteCode Size: Must also be removed from nsICaseConversion127, static, called by GetBlockSectionsForRange
====PRUint16* MapperToCCMap✓ nsresult nsHTMLEditor::GetBlockSectionsForRange(nsICharRepresentablensIDOMRange*, nsCOMArray&)====
[httploc:editor/libeditor/mxr.mozillahtml/nsHTMLEditor.org/mozilla-central/search?string=MapperToCCMap MXR Search]h
Code Size[http: 15//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetBlockSectionsForRange%5C%2528&regexp=on&case=on MXR Search]
====void nsBufferDecoderSupportCode Size::DoubleBuffer()====189, static
[http====nsresult nsHTMLEditor:://mxr.mozilla.org/mozilla-central/search?stringIsRootTag(nsString&, PRBool&)====DoubleBuffer MXR Search]
Code Sizeloc: 19editor/libeditor/html/nsHTMLEditor.h
====nsresult nsDetectionAdaptor[http::ProcessTokens()=//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DIsRootTag%5C%2528&regexp=on&case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=ProcessTokens MXR Search]16, virtual
Code Size====nsresult TypeInState: 2:SetProp(nsIAtom*)====
====nsresult nsDetectionAdaptorloc::WillAddToken(CToken&)====editor/libeditor/html/TypeInState.h
[http://mxr.mozilla.org/mozilla-central/search?string=WillAddToken %5B%5Ea-zA-Z0-9%5DSetProp%5C%2528&regexp=on&case=on MXR Search]
Code Size: 25
Note====nsresult TypeInState: ProcessTokens and WillAddTokens must be removed from nsIParserFilter as well.:SetProp(nsIAtom*, const nsString&)====
====nsDebugDetectorloc::nsDebugDetector(nsDebugDetectorSel)====editor/libeditor/html/TypeInState.h
[http://mxr.mozilla.org/mozilla-central/search?string=nsDebugDetector%5B%5Ea-zA-Z0-9%5DSetProp%5C%2528&regexp=on&case=1 on MXR Search]
Code Size: 104
===dom=nsresult TypeInState::ClearProp(nsIAtom*)====
====nsresult nsIScriptGlobalObjectloc::HandleScriptError(nsScriptErrorEvent*,nsEventStatus*)====editor/libeditor/html/TypeInState.h
[http://mxr.mozilla.org/mozilla-central/search?string=HandleScriptError %5B%5Ea-zA-Z0-9%5DClearProp%5C%2528&regexp=on&case=on MXR Search]
Code Size: 34
===parser=nsresult TypeInState::GetTypingState(PRBool&, PRBool&, nsIAtom*, const nsString&)====
====void nsCParserNodeloc::SetGenericState(PRBool)====editor/libeditor/html/TypeInState.h
[http://mxr.mozilla.org/mozilla-central/search?string=SetGenericState %5B%5Ea-zA-Z0-9%5DGetTypingState%5C%2528&regexp=on&case=on MXR Search]
Code Size: 3
====PRBool nsCParserNodensHTMLEditUtils::GetGenericStateIsAddress(nsIDOMNode*)====
[httploc:editor/libeditor/mxr.mozillahtml/nsHTMLEditUtils.org/mozilla-central/search?string=GetGenericState MXR Search]h
Code Size[http: 3//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DIsAddress%5C%2528&regexp=on&case=on MXR Search]
====const nsAString_internal& nsCParserNodeCode Size::GetTagName()====4, static
[http====nsresult nsHTMLEditRules:://mxr.mozilla.org/mozilla-central/search?stringDidDeleteRange(nsIDOMRange*)====GetGenericState MXR Search]
Code Sizeloc: 3editor/libeditor/html/nsHTMLEditRules.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DDidDeleteRange%5C%2528&regexp===void nsCParserNode::GetSource(nsStringon&)===case=on MXR Search]
Code Size: 222, virtual
[http====nsresult nsHTMLEditRules:://mxr.mozilla.org/mozilla-central/search?stringWillDeleteRange(nsIDOMRange*)====GetSource MXR Search]
====void nsCParserStartNodeloc::GetSource(nsString&)====editor/libeditor/html/nsHTMLEditRules.h
[http://mxr.mozilla.org/mozilla-central/search?string=GetSource %5B%5Ea-zA-Z0-9%5DWillDeleteRange%5C%2528&regexp=on&case=on MXR Search]
Code Size: 356, virtual
Note====nsresult : pure virtual declarations of SetGenericState, GetGenericState, GetTagName, and GetSource must be removed from nsIParserNode as well. Although tough to check, all one argument GetSource methods :NS_NewComposerCommandsUpdater(that are usednsISelectionListener**) belong to classes not derived from nsIParserNode.====
Path Infoloc: nsDTDContext::PopEntry() calls nsEntryStack::PopEntry()editor/composer/src/nsComposerCommandsUpdater.cpp
====nsTagEntry* nsEntryStack:[http:PopEntry()===//mxr.mozilla.org/mozilla-central/search?string=NS_NewComposerCommandsUpdater MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=PopEntry MXR Search]15
Code Size: 7'''API?'''
====nsTagEntry* nsDTDContext::PopEntry()=security===
[httpPath Info://mxr.mozilla.org/mozilla-central/search?string=PopEntry MXR Search]
Code Size: 7CommonAsyncVerifySignature is called by AsyncVerifySignature and AsyncVerifyDetachedSignature.
====nsCParserNode* nsDTDContextnsresult nsCMSMessage::PopStyleCommonAsyncVerifySignature(nsISMimeVerificationListener*,unsigned char*,PRUint32)====
[http://mxr.mozilla.org/mozilla-central/search?string=PopStyle CommonAsyncVerifySignature MXR Search]
Code Size: 1843
====nsTagEntry* nsDTDContextnsresult nsCMSMessage::LastEntryAsyncVerifyDetachedSignature(nsISMimeVerificationListener*,unsigned char*,PRUint32)====
[http://mxr.mozilla.org/mozilla-central/search?string=LastEntry AsyncVerifyDetachedSignature MXR Search]
Code Size: 6
====nsHTMLTag nsEntryStacknsresult nsCMSMessage::FirstAsyncVerifySignature(nsISMimeVerificationListener*)==== [http://mxr.mozilla.org/mozilla-central/search?string=AsyncVerifySignature MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string3 (It will also take two nsCOMPtr::operator=First MXR Search]' along with it, both with code size 5)
Code Size====void nsNSSCertTrust: 7:SetTrustedServerCA()====
====nsHTMLTag nsDTDContextloc::First()====security/manager/ssl/src/nsNSSCertTrust.h
[http://mxr.mozilla.org/mozilla-central/search?string=First %5B%5Ea-zA-Z0-9%5DSetTrustedServerCA%5C%2528&regexp=on&case=on MXR Search]
Code Size: 4
Note====void nsNSSCertTrust: First is impossible to verify using MXR but the likelihood of a false positive is low here :SetTrustedCA(since the method is non-virtual and non-static)====
===ipc===loc: security/manager/ssl/src/nsNSSCertTrust.h
====bool [http://mxr.mozilla.org/mozilla::ipc::GeckoChildProcessHost::AsyncLaunch(vector)=-central/search?string=%5B%5Ea-zA-Z0-9%5DSetTrustedCA%5C%2528&regexp=on&case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=AsyncLaunch MXR Search]4
Code Size====void nsNSSCertTrust: 17:SetTrustedPeer()====
===widget===loc: security/manager/ssl/src/nsNSSCertTrust.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetTrustedPeer%5C%2528&regexp=on&case==PRBool confirm_overwrite_file(GtkWidget*,nsILocalFile*)====on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=confirm_overwrite_file MXR Search]4
Code Size====void nsNSSCertTrust: 95:SetUser()====
====nsresult nsDeviceContextSpecGTKloc::GetPrintMethod(PrintMethod&)====security/manager/ssl/src/nsNSSCertTrust.h
[http://mxr.mozilla.org/mozilla-central/search?string=GetPrintMethod %5B%5Ea-zA-Z0-9%5DSetUser%5C%2528&regexp=on&case=on MXR Search]
Code Size: 4
====void nsPrinterFeaturesPRBool nsNSSCertTrust::SetMultipleConcurrentDeviceContextsSupportedHasCA(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&regexp=on&case=on MXR Search] Code Size: 29
[http====PRBool nsNSSCertTrust:://mxr.mozilla.org/mozilla-central/search?stringHasUser(PRBool, PRBool, PRBool)====SetMultipleConcurrentDeviceContextsSupported MXR Search]
Code Sizeloc: 2security/manager/ssl/src/nsNSSCertTrust.h
====nsCursor nsBaseWidget[http::GetCursor()=//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DHasUser%5C%2528&regexp=on&case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=GetCursor MXR Search]29
Code Size====void nsX509CertValidity: 2:nsX509CertValidity()====
Noteloc: Must also be removed from nsIWidgetsecurity/manager/ssl/src/nsNSSCertValidity.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DnsX509CertValidity%5C%2528&regexp=on&case=extensions===on MXR Search]
====nsresult nsCyrXPCOMStringDetectorCode Size::DoIt(const char*,PRUint32,const char**,nsDetectionConfident&)====7
[http====nsresult nsNSSSocketInfo://mxr.mozilla.org/mozilla-central/search?string:SetExternalErrorReporting(PRBool)===DoIt(&case=1 MXR Search]
Code Sizeloc: 19security/manager/ssl/src/nsNSSIOLayer.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetExternalErrorReporting%5C%2528&regexp===nsresult nsXPCOMStringDetector::DoIt(const char*,PRUint32,const char**,nsDetectionConfidenton&)===case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=DoIt(&case=1 MXR Search]4
Code Size====nsresult nsNSSSocketInfo: 32:GetForSTARTTLS(PRBool*)====
===view===loc: security/manager/ssl/src/nsNSSIOLayer.h
====nsIntPoint nsIView[http::GetScreenPosition()=//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetForSTARTTLS%5C%2528&regexp=on&case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=GetScreenPosition MXR Search]5
Code Size====nsresult nsNSSSocketInfo: 39:GetForSTARTTLS(PRBool*)====
====nsresult nsViewManagerloc::GetViewObserver(nsIViewObserver*&)====security/manager/ssl/src/nsNSSIOLayer.h
[http://mxr.mozilla.org/mozilla-central/search?string=GetViewObserver %5B%5Ea-zA-Z0-9%5DGetForSTARTTLS%5C%2528&regexp=on&case=on MXR Search]
Code Size: 165
====void nsViewnsresult nsNSSSocketInfo::SetPositionIgnoringChildWidgetsGetFileDescPtr(nscoord,nscoordPRFileDesc**)====
[httploc:security/manager/mxr.mozilla.orgssl/mozilla-centralsrc/search?string=SetPositionIgnoringChildWidgets MXR Search]nsNSSIOLayer.h
Code Size[http: 14//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetFileDescPtr%5C%2528&regexp=on&case=on MXR Search]
====nsresult nsViewManagerCode Size::MoveViewBy(nsIView*,nscoord,nscoord)====4
[http====nsresult nsNSSSocketInfo:://mxr.mozilla.org/mozilla-central/search?stringGetCert(nsIX509Cert**)====MoveViewBy MXR Search]
Code Sizeloc: 14security/manager/ssl/src/nsNSSIOLayer.h
====nsresult nsViewManager[http::InsertChild(nsIView*,nsIView*,PRInt32)=//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetCert%5C%2528&regexp=on&case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=InsertChild(&case=1 MXR Search]11
Code Size====PRBool nsNSSActivityState: 10:isBlockingUIActive()====
====PRBool nsIViewloc::ExternalIsRoot()====security/manager/ssl/src/nsNSSShutDown.h
[http://mxr.mozilla.org/mozilla-central/search?string=SetPositionIgnoringChildWidgets %5B%5Ea-zA-Z0-9%5DisBlockingUIActive%5C%2528&regexp=on&case=on MXR Search]
Code Size: 38
Note====nsresult nsCRMFObject: Used in an NS_ASSERTION [http://mxr.mozilla.org/mozilla-central/source/view/public/nsIView.h#155 here]. Why not just call nsIView::IsRoot?init()====
===layoutloc: security/xul===manager/ssl/src/nsCrypto.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5Dinit%5C%2528&regexp===void nsBoxFrame::FireDOMEventSynch(const nsAString_internalon&,nsIContent*)===case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=FireDOMEventSynch MXR Search]2
Code Size====PRBool : 46, !:confirm_user(const PRUnichar*)====
====void nsGridRowloc::MarkDirty(nsBoxLayoutState&)====security/manager/ssl/src/nsCrypto.cpp
[http://mxr.mozilla.org/mozilla-central/search?string=MarkDirty%5B%5Ea-zA-Z0-9%5Dconfirm_user%5C%2528&regexp=on&case=1 on MXR Search]
Code Size: 16, !36
====void nsBoxLayoutnsCRLInfo::GetParentLayoutnsCRLInfo(nsIBox*,nsIBoxLayout**)====
[httploc:security/manager/mxr.mozilla.orgssl/mozilla-centralsrc/search?string=GetParentLayout MXR Search]nsCRLInfo.h
Code Size[http: //mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9, !%5DnsCRLInfo%5C%2528&regexp=on&case=on MXR Search]
====nsGridRow* nsGridCode Size::GetRows()====20
[http====void nsOCSPResponder://mxr.mozilla.org/mozilla-central/search?string:nsOCSPResponder()===GetRows(&case=on MXR Search]
Code Sizeloc: 3, !security/manager/ssl/src/nsOCSPResponder.h
====nsGridRow* nsGrid[http::GetColumns()=//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DnsOCSPResponder%5C%2528&regexp=on&case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=GetColumns(&case=on MXR Search]10
Code Size====void nsCertTreeDispInfo: 3, !:nsCertTreeDispInfo(nsCertTreeDispInfo&)====
====nsresult nsMenuFrameloc::IsActive(PRBool&)====security/manager/ssl/src/nsCertTree.h
[http://mxr.mozilla.org/mozilla-central/search?string=IsActive%5C%25285B%5B5Ea-zA-Z0-9%5E5DnsCertTreeDispInfo%25295C%5D2528&regexp=on&case=1 on MXR Search]
Code Size: 3, !29
====void nsBoxnsresult nsNSSComponent::AddMarginRememberCert(nsSize&CERTCertificate*)====
[httploc:security/manager/mxr.mozilla.orgssl/mozilla-centralsrc/search?string=AddMargin&case=1 MXR Search]nsNSSComponent.h
Code Size[http: 3, !//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DRememberCert%5C%2528&regexp=on&case=on MXR Search]
===layout/base===Code Size: 0, virtual
====nsIFrame* nsLayoutUtilsnsresult nsINSSComponent::GetClosestCommonAncestorViaPlaceholdersRememberCert(nsIFrame*,nsIFrame*,nsIFrameCERTCertificate*)====
[httploc:security/manager/mxr.mozilla.orgssl/mozilla-centralsrc/search?string=GetClosestCommonAncestorViaPlaceholders MXR Search] (Calls itself)nsNSSComponent.h
Code Size[http: 62, !//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DRememberCert%5C%2528&regexp=on&case=on MXR Search]
====nsBidiCode Size::nsBidi(PRUint320,PRUint32)====virtual
[http====nsresult nsNSSComponent://mxr.mozilla.org/mozilla-central/search?string=nsBidi:NSSBundleFormatStringFromName(const char*, const PRUnichar**, PRUint32, nsAString_internal&case)====1 MXR Search]
Code Sizeloc: 43, !security/manager/ssl/src/nsNSSComponent.h
====nsIFrame* nsFrameManager[http::GetCanvasFrame()=//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DNSSBundleFormatStringFromName%5C%2528&regexp=on&case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=GetCanvasFrame MXR Search]0, virtual
Code Size====nsresult nsINSSComponent: 20:NSSBundleFormatStringFromName(const char*, const PRUnichar**, PRUint32, !nsAString_internal&)====
====nsresult nsBidiPresUtilsloc::GetBidiEngine(nsBidi**)====security/manager/ssl/src/nsNSSComponent.h
[http://mxr.mozilla.org/mozilla-central/search?string=GetBidiEngine %5B%5Ea-zA-Z0-9%5DNSSBundleFormatStringFromName%5C%2528&regexp=on&case=on MXR Search]
Code Size: 80, !virtual
====void nsDisplayList::DeleteBottom()====And a bunch more.... Probably should deal with security stuff last, if at all
[http://mxr.mozilla.org/mozilla-central/search?string=DeleteBottom MXR Search]==intl===
Code Size====nsresult nsCaseConversionImp2: 7:ToTitle(const PRUnichar*,PRUnichar*,PRUint32, !PRBool)====
====void nsFrameManager[http::ClearUndisplayedContentMap()==//mxr.mozilla.org/mozilla-central/search?string=ToTitle&case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=ClearUndisplayedContentMap MXR Search]42
Code SizeNote: 5, !Must also be removed from nsICaseConversion
====gfxContext✓ PRUint16* nsContextBoxBlur::GetContextMapperToCCMap(nsICharRepresentable*)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetContext()&case=1 MapperToCCMap MXR Search] (Non-virtual function from a non-derived class: the script is probably right)
Code Size: 415
====PRInt32 nsIPresShell✓ void nsBufferDecoderSupport::GetVerifyReflowFlagsDoubleBuffer()====
[http://mxr.mozilla.org/mozilla-central/search?string=GetVerifyReflowFlags DoubleBuffer MXR Search]
Code Size: 2, !19
====void nsIPresShell✓ nsresult nsDetectionAdaptor::SetVerifyReflowEnableProcessTokens(PRBool)====
[http://mxr.mozilla.org/mozilla-central/search?string=SetVerifyReflowEnable ProcessTokens MXR Search] (called by ifdef DEBUG code)
Code Size: 2
====PRBool nsIPresShell✓ nsresult nsDetectionAdaptor::GetVerifyReflowEnableWillAddToken(CToken&)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetVerifyReflowEnable WillAddToken MXR Search] (called by ifdef DEBUG code)
Code Size: 2
Note: ProcessTokens and WillAddTokens must be removed from nsIParserFilter as well. ====nsDebugDetector::nsDebugDetector(nsDebugDetectorSel)====PRBool PresShell [http://mxr.mozilla.org/mozilla-central/search?string=nsDebugDetector&case=1 MXR Search] Code Size:nsDelayedEvent10 ===dom=== ====nsresult nsIScriptGlobalObject::EqualsHandleScriptError(nsPIDOMEventTargetnsScriptErrorEvent*,PRUint32nsEventStatus*)==== [http://mxr.mozilla.org/mozilla-central/search?string=HandleScriptError MXR Search]
(Impossible to verify with MXR)Code Size: 3
Code Size====void nsJSContext: 2, !:SetDefaultLanguageVersion(PRUint32)====
loc: dom/base/nsJSEnvironment.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetDefaultLanguageVersion%5C%2528&regexp=on&case=layouton MXR Search] Code Size: 0, virtual ====void nsIScriptContext::SetDefaultLanguageVersion(PRUint32)==== loc: dom/base/nsIScriptContext.h [http://mxr.mozilla.org/mozilla-central/stylesearch?string=%5B%5Ea-zA-Z0-9%5DSetDefaultLanguageVersion%5C%2528&regexp=on&case=on MXR Search] Code Size: 0, virtual
====nsresult CSSLoaderImpl::StopLoadingSheet(nsIURI*)=parser===
[http====void nsCParserNode:://mxr.mozilla.org/mozilla-central/search?stringSetGenericState(PRBool)====StopLoadingSheet MXR Search]
Code Size[http: 96, !//mxr.mozilla.org/mozilla-central/search?string=SetGenericState MXR Search]
====StopLoadingSheetsByURIClosureCode Size::StopLoadingSheetsByURIClosure(nsIURI*,nsTArray&)====3
[http====PRBool nsCParserNode:://mxr.mozilla.org/mozilla-central/search?string=StopLoadingSheetsByURIClosure MXR Search] GetGenericState(called by StopLoadingSheet)====
Code Size[http: 3, !//mxr.mozilla.org/mozilla-central/search?string=GetGenericState MXR Search]
====void nsCSSCornerSizesCode Size::SetAllCornersTo(const nsCSSValue&)====3
[http====const nsAString_internal& nsCParserNode:://mxr.mozilla.org/mozilla-central/search?string=SetAllCornersTo MXR Search] GetTagName(NS_HIDDEN)====
Code Size[http: 7, !//mxr.mozilla.org/mozilla-central/search?string=GetGenericState MXR Search]
====nsCSSProperty nsCSSPropsCode Size::LookupProperty(const nsACString_internal&)====3
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-z_A-Z%5DLookupProperty%5C%2528&regexp=1&case=1&find=void nsCParserNode::GetSource(nsString&findi)=&filter=%5E%5B%5E%5C0%5D*%2524&hitlimit=&tree=mozilla-central MXR Search] (Only nsAString version used)
Code Size: 522
====nsresult CSSLoaderImpl:[http:GetPreferredSheet(nsAString_internal&)===//mxr.mozilla.org/mozilla-central/search?string=GetSource MXR Search]
[http====void nsCParserStartNode:://mxr.mozilla.org/mozilla-central/search?stringGetSource(nsString&)====GetPreferredSheet MXR Search]
Code Size[http: 4, !//mxr.mozilla.org/mozilla-central/search?string=GetSource MXR Search]
====nsCSSFontDesc nsCSSPropsCode Size::LookupFontDesc(const nsACString_internal&)====35
[httpNote://mxrpure virtual declarations of SetGenericState, GetGenericState, GetTagName, and GetSource must be removed from nsIParserNode as well.mozilla.org/mozilla-central/search?string=LookupFontDesc MXR Search] Although tough to check, all one argument GetSource methods (Only the nsAString version is apparently that are used but what about [http://mxr.mozilla) belong to classes not derived from nsIParserNode.org/mozilla-central/source/layout/style/test/TestCSSPropertyLookup.cpp#75 this line]?)
Code SizePath Info: 4nsDTDContext::PopEntry() calls nsEntryStack::PopEntry()
====nsCSSKeyword nsCSSKeywordsnsTagEntry* nsEntryStack::LookupKeywordPopEntry(const nsACString_internal&)====
[http://mxr.mozilla.org/mozilla-central/search?string=LookupKeyword PopEntry MXR Search] (Only the nsAString version is apparently used but what about [http://mxr.mozilla.org/mozilla-central/source/layout/style/test/TestCSSPropertyLookup.cpp#145 this line]?)
Code Size: 7
====nsCSSValueGradientStopnsTagEntry* nsDTDContext::nsCSSValueGradientStopPopEntry(const nsCSSValueGradientStop&)====
[http://mxr.mozilla.org/mozilla-central/search?string=nsCSSValueGradientStop PopEntry MXR Search] (Probably not a good idea to remove this)
Code Size: 7
====nsCSSCornerSizesnsCParserNode* nsDTDContext::nsCSSCornerSizesPopStyle(const nsCSSCornerSizes&)==== [http://mxr.mozilla.org/mozilla-central/search?string=PopStyle MXR Search] Code Size: 18 ====nsTagEntry* nsDTDContext::LastEntry()==== [http://mxr.mozilla.org/mozilla-central/search?string=LastEntry MXR Search] Code Size: 6 ====nsHTMLTag nsEntryStack::First()==== [http://mxr.mozilla.org/mozilla-central/search?string=First MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=nsCSSCornerSizes MXR Search] (Probably not a good idea to remove this)7
Code Size====nsHTMLTag nsDTDContext: 13:First()====
====nsCSSValueListRect:[http:nsCSSValueListRect(const nsCSSValueListRect&)===//mxr.mozilla.org/mozilla-central/search?string=First MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=nsCSSValueListRect MXR Search] (Probably not a good idea to remove this)4
Code SizeNote: 9First is impossible to verify using MXR but the likelihood of a false positive is low here (since the method is non-virtual and non-static)
====void nsCSSValue::nsCSSValue(nsCSSValueGradient*)=ipc===
Code Size: 5, !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.
====void nsCSSValuebool mozilla::nsCSSValueipc::GeckoChildProcessHost::AsyncLaunch(Image*vector)====
Code Size[http: 5, !//mxr.mozilla.org/mozilla-central/search?string=AsyncLaunch MXR Search]
====void nsCSSValueCode Size::nsCSSValue(URL*)====17
Code Size: 5, !===widget===
====void nsCSSValue::nsCSSValuePRBool confirm_overwrite_file(ArrayGtkWidget*,nsCSSUnitnsILocalFile*)====
Code Size[http: 5, !//mxr.mozilla.org/mozilla-central/search?string=confirm_overwrite_file MXR Search]
====void nsCSSValueCode Size::nsCSSValue(float,nsCSSUnit)====95
Code Size====nsresult nsDeviceContextSpecGTK: 5, !:GetPrintMethod(PrintMethod&)====
[http://mxr.mozilla.org/mozilla-central/search?string=nsCSSValue( nsCSSValue( GetPrintMethod MXR Search] (Only the no-argument and nsCSSUnit constructors are used)
====nsresult nsHTMLStyleSheetCode Size::GetLinkColor(nscolor&)====4
[http====void nsPrinterFeatures:://mxr.mozilla.org/mozilla-central/search?stringSetMultipleConcurrentDeviceContextsSupported(PRBool)====GetLinkColor MXR Search]
Code Size[http: 8, !//mxr.mozilla.org/mozilla-central/search?string=SetMultipleConcurrentDeviceContextsSupported MXR Search]
====nsresult nsHTMLStyleSheetCode Size::GetActiveLinkColor(nscolor&)====2
[http====nsCursor nsBaseWidget:://mxr.mozilla.org/mozilla-central/search?stringGetCursor()====GetActiveLinkColor MXR Search]
Code Size[http: 8, !//mxr.mozilla.org/mozilla-central/search?string=GetCursor MXR Search]
====nsresult nsHTMLStyleSheetCode Size::GetVisitedLinkColor(nscolor&)====2
[httpNote://mxrMust also be removed from nsIWidget.mozilla.org/mozilla-central/search?string=GetVisitedLinkColor MXR Search]
Code Size: 8, !===extensions===
====PRBool nsCSSPseudoClassesnsresult nsCyrXPCOMStringDetector::IsPseudoClassDoIt(nsIAtomconst char*,PRUint32,const char**,nsDetectionConfident&)====
[http://mxr.mozilla.org/mozilla-central/search?string=IsPseudoClass DoIt(&case=1 MXR Search]
Code Size: 3, !19
====void nsCSSValuensresult nsXPCOMStringDetector::SetRectIsAutoValueDoIt(const char*,PRUint32,const char**,nsDetectionConfident&)====
[http://mxr.mozilla.org/mozilla-central/search?string=SetRectIsAutoValue DoIt(&case=1 MXR Search]
Code Size: 3, !32
====PRBool nsCSSPseudoElements::IsPseudoElement(nsIAtom*)=view===
[http====✓ nsIntPoint nsIView:://mxr.mozilla.org/mozilla-central/search?string=IsPseudoElement MXR Search] GetScreenPosition(One use in an NS_ASSERTION)====
Code Size[http: 3//mxr.mozilla.org/mozilla-central/search?string=GetScreenPosition MXR Search]
====nsresult nsCSSDeclarationCode Size::AppendComment(const nsAString_internal&)====39
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z%5DAppendComment%5C%2528&regexp=on&case=on&find=✓ nsresult nsViewManager::GetViewObserver(nsIViewObserver*&findi)=&filter=%5E%5B%5E%5C0%5D*%2524&hitlimit=&tree=mozilla-central MXR Search]
Code Size[http: 2, !//mxr.mozilla.org/mozilla-central/search?string=GetViewObserver MXR Search]
====PRInt32 RuleProcessorDataCode Size::GetNthIndex(PRBool,PRBool,PRBool)====16
[http====✓ void nsView://mxr.mozilla.org/mozilla-central/search?string=GetNthIndex MXR Search] :SetPositionIgnoringChildWidgets(Called by edgeChildMatchesnscoord, nthChildGenericMatches, edgeOfTypeMatchesnscoord) ====
Code Size[http: 87//mxr.mozilla.org/mozilla-central/search?string=SetPositionIgnoringChildWidgets MXR Search]
====PRBool edgeOfTypeMatches(RuleProcessorData&,PRBool,PRBool,PRBool)====Code Size: 14
[http====✓ nsresult nsViewManager://mxr.mozilla.org/mozilla-central/search?string=edgeOfTypeMatches MXR Search] :MoveViewBy(Called by firstOfTypeMatchesnsIView*, lastOfTypeMatchesnscoord, onlyOfTypeMatchesnscoord) Code Size: 19====
[http://mxr.mozilla.org/mozilla-central/search?string====PRBool nthChildGenericMatches(RuleProcessorData&,PRBool,nsPseudoClassList*,PRBool,PRBool)====MoveViewBy MXR Search]
[http://mxr.mozilla.org/mozilla-central/search?string=nthChildGenericMatches MXR Search] (Called by nthChildMatches, nthLastChildMatches, nthOfTypeMatches, nthLastOfTypeMatches) Code Size: 3014
<del>====PRBool edgeChildMatchesnsresult nsViewManager::InsertChild(RuleProcessorData&nsIView*,PRBoolnsIView*,PRBool,PRBoolPRInt32)====
[http://mxr.mozilla.org/mozilla-central/search?string=edgeChildMatches InsertChild(&case=1 MXR Search] (Called by firstChildMatches, lastChildMatches, onlyChildMatches)
Code Size: 1610</del>
====PRBool onlyOfTypeMatchesnsIView::ExternalIsRoot(RuleProcessorData&,PRBool,nsPseudoClassList*)====
[http://mxr.mozilla.org/mozilla-central/search?string=onlyOfTypeMatches 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 nsIPresShell::SetVerifyReflowEnable(PRBool lastOfTypeMatches)==== [http://mxr.mozilla.org/mozilla-central/search?string=SetVerifyReflowEnable MXR Search] (called by ifdef DEBUG code) Code Size: 2 ====PRBool nsIPresShell::GetVerifyReflowEnable()==== [http://mxr.mozilla.org/mozilla-central/search?string=GetVerifyReflowEnable MXR Search] (RuleProcessorDatacalled by ifdef DEBUG code) Code Size: 2 ===layout/style=== ====nsresult nsHTMLStyleSheet::GetType(nsString&,PRBool,nsPseudoClassList*)====
[httploc:layout/style/mxrnsHTMLStyleSheet.mozilla.org/mozilla-central/search?string=lastOfTypeMatches MXR Search]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: 30, virtual ====nsresult nsIStyleSheet::GetType(nsString&)====
====PRBool firstOfTypeMatches(RuleProcessorData&,PRBool,nsPseudoClassList*)====loc: layout/style/nsIStyleSheet.h
[http://mxr.mozilla.org/mozilla-central/search?string=firstOfTypeMatches %5B%5Ea-zA-Z0-9%5DGetType%5C%2528&regexp=on&case=on MXR Search]
Code Size: 30, virtual
====PRBool nthLastOfTypeMatchesnsresult nsCSSStyleSheet::GetType(RuleProcessorDatansString&,PRBool,nsPseudoClassList*)====
[httploc:layout/style/mxrnsCSSStyleSheet.mozilla.org/mozilla-central/search?string=nthLastOfTypeMatches MXR Search]h
Code Size[http: 3//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetType%5C%2528&regexp=on&case=on MXR Search]
====PRBool nthOfTypeMatches(RuleProcessorData&Code Size: 0,PRBool,nsPseudoClassList*)====virtual
[http====nsresult nsHTMLCSSStyleSheet:://mxr.mozilla.org/mozilla-central/search?stringGetType(nsString&)====nthOfTypeMatches MXR Search]
Code Sizeloc: 3layout/style/nsHTMLCSSStyleSheet.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetType%5C%2528&regexp===PRBool nthLastChildMatches(RuleProcessorDataon&,PRBool,nsPseudoClassList*)===case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=nthLastChildMatches MXR Search]4, virtual
Code Size====nsresult nsHTMLStyleSheet: 3:GetParentSheet(nsIStyleSheet*&)====
====PRBool nthLastChildMatches(RuleProcessorData&,PRBool,nsPseudoClassList*)====loc: layout/style/nsHTMLStyleSheet.h
[http://mxr.mozilla.org/mozilla-central/search?string=nthLastChildMatches %5B%5Ea-zA-Z0-9%5DGetParentSheet%5C%2528&regexp=on&case=on MXR Search]
Code Size: 30, virtual
====PRBool nthChildMatchesnsresult nsIStyleSheet::GetParentSheet(RuleProcessorDatansIStyleSheet*&,PRBool,nsPseudoClassList*)====
[httploc:layout/style/mxrnsIStyleSheet.mozilla.org/mozilla-central/search?string=nthChildMatches MXR Search]h
Code Size[http: 3//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetParentSheet%5C%2528&regexp=on&case=on MXR Search]
====PRBool onlyChildMatches(RuleProcessorData&Code Size: 0,PRBool,nsPseudoClassList*)====virtual
[http====nsresult nsCSSStyleSheet:://mxr.mozilla.org/mozilla-central/search?stringGetParentSheet(nsIStyleSheet*&)====onlyChildMatches MXR Search]
Code Sizeloc: 3layout/style/nsCSSStyleSheet.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetParentSheet%5C%2528&regexp===PRBool lastChildMatches(RuleProcessorDataon&,PRBool,nsPseudoClassList*)===case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=lastChildMatches MXR Search]0, virtual
Code Size====nsresult nsHTMLCSSStyleSheet: 3:GetParentSheet(nsIStyleSheet*&)====
====PRBool firstChildMatches(RuleProcessorData&,PRBool,nsPseudoClassList*)====loc: layout/style/nsHTMLCSSStyleSheet.h
[http://mxr.mozilla.org/mozilla-central/search?string=firstChildMatches %5B%5Ea-zA-Z0-9%5DGetParentSheet%5C%2528&regexp=on&case=on MXR Search]
Code Size: 3, virtual
===layout/genericinspector===
====void nsFrameListinSearchLoop::SortByContentOrderinSearchLoop(inISearchProcess*)====
[http://mxr.mozilla.org/mozilla-central/search?string=SortByContentOrder inSearchLoop MXR Search] (This will 'll take an nsTArraynsCOMPtr::Sort operator= along with it too)
Code Size: 35 !11
====nsIFrame* nsBlockFrame** Upon further examination, the whole layout/inspector module seems unused. All of the classes from [http::GetTopBlockChild//mxr.mozilla.org/mozilla-central/source/layout/inspector/src/Makefile.in#52 these files] end up in an NS_GENERIC_FACTORY_CONSTRUCTOR (nsPresContext*except inSearchLoop)====. The Makefile also claims "This library is used by other shared libs in a static build". Reading [https://developer.mozilla.org/en/DOM_Inspector/Introduction_to_DOM_Inspector this mdc page], this is apparently used for the DOM Inspector, but does it/should it make its way into libxul?
[http:===xpcom//mxr.mozilla.org/mozilla-central/search?stringcomponents===GetTopBlockChild MXR Search]
Code Size: 34, !Don't know if this stuff can be touched
====PRInt32 nsILineIteratornsresult nsServiceManager::FindLineAtGetGlobalServiceManager(nscoordnsIServiceManager**)====
Code Size[http: 0 (pure virtual), !//mxr.mozilla.org/mozilla-central/search?string=GetGlobalServiceManager MXR Search]
====PRInt32 nsLineIteratorCode Size::FindLineAt(nscoord)====15
Code Size====nsresult nsServiceManager: 27, !:ShutdownGlobalServiceManager(nsIServiceManager**)====
====PRInt32 nsTableRowGroupFrame:[http:FindLineAt(nscoord)===//mxr.mozilla.org/mozilla-central/search?string=ShutdownGlobalServiceManager MXR Search]
Code Size: 2
[http:===xpcom//mxr.mozilla.org/mozilla-central/search?stringbase===FindLineAt MXR Search]
====nsLineBox* nsLineBoxnsresult nsTraceRefcntImpl::FindLineContainingLogAddRef(nsLineList&void*,nsrefcnt,nsIFrameconst char*,PRInt32*PRUint32)et al====
6 of the functions of this class are dead but the [http://mxr.mozilla.org/mozilla-central/search?string=FindLineContaining MXR Searchsource/xpcom/base/nsITraceRefcnt.idl#43 idl file]lists the classes status as frozen (and deprecated).
Code Size: 18, !== Called by NS_ASSERTIONs/ifdefine DEBUG etc ==
====PRBool nsFrameList::ContainsFrameBefore(const nsIFrame*,const nsIFrame*)=layout/style===
[http====PRBool nsCSSPseudoElements:://mxr.mozilla.org/mozilla-central/search?stringIsPseudoElement(nsIAtom*)====ContainsFrameBefore MXR Search]
Code Sizeloc: 10, !layout/style/nsCSSPseudoElements.h
====nsFramesetDrag[http::nsFramesetDrag(PRBool,PRInt32,PRInt32,nsHTMLFramesetFrame*)=//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DIsPseudoElement%5C%2528&regexp=on&case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=nsFramesetDrag MXR Search]3, static
Code Size: 6, !== Shouldn't be cross platform ==
====void Area::GetHREF(nsAString_internal&)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetHREF MXR Search] (Pain to check but dead. Note that it's non-virtual from a non-derived class)==profiles===
Code Size====nsresult nsProfileDirServiceProvider: 3:SetProfileDir(nsIFile*, !nsIFile*)====
====nsRect nsIFrameloc::GetMarginRect()====profile/dirserviceprovider/public/nsProfileDirServiceProvider.h
[http://mxr.mozilla.org/mozilla-central/search?string=GetMarginRect %5B%5Ea-zA-Z0-9%5DSetProfileDir%5C%2528&regexp=on&case=on MXR Search]
Code Size: 11112, !virtual -- Called in embedding/tests/winEmbed/winEmbed.cpp
====PRBool nsIntervalSet::HasPoint(nscoord)====
[http====nsresult nsProfileDirServiceProvider:://mxr.mozilla.org/mozilla-central/search?stringInitProfileDir(nsIFile*)====HasPoint MXR Search]
Code Sizeloc: 10, !profile/dirserviceprovider/public/nsProfileDirServiceProvider.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DInitProfileDir%5C%2528&regexp===nsresult nsIFrame::Clip(nsDisplayListBuilder*,const nsDisplayListSeton&,const nsDisplayListSet&,const nsRect&)===case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-z%5DClip%5C%2528%5B%5E%2529%5D&regexp=1&case=1 MXR Search]142
Code Size====nsresult nsProfileDirServiceProvider: 4, !:InitNonSharedProfileDir()====
====nsRect nsIFrameloc::GetScreenRectInAppUnitsExternal()====profile/dirserviceprovider/public/nsProfileDirServiceProvider.h
[http://mxr.mozilla.org/mozilla-central/search?string=GetScreenRectInAppUnitsExternal %5B%5Ea-zA-Z0-9%5DInitNonSharedProfileDir%5C%2528&regexp=on&case=on MXR Search]
Code Size: 3, !87
====void* nsIFramensresult nsProfileDirServiceProvider::GetPropertyExternalUndefineFileLocations(nsIAtom*,nsresult*)====
[httploc:profile/dirserviceprovider/mxr.mozillapublic/nsProfileDirServiceProvider.org/mozilla-central/search?string=GetPropertyExternal MXR Search] (taken out at some point)h
Code Size[http: 3//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DUndefineFileLocations%5C%2528&regexp=on&case=on MXR Search]
===layout/tables===Code Size: 77
====void nsTableOuterFramensresult ::BalanceLeftRightCaptionNS_NewProfileDirServiceProvider(PRUint8PRBool,const nsMargin&,const nsMargin&,nscoord&,nscoord&nsProfileDirServiceProvider**)====
[httploc:profile/dirserviceprovider/mxr.mozillasrc/nsProfileDirServiceProvider.org/mozilla-central/search?string=BalanceLeftRightCaption MXR Search]cpp
Code Size[http: 66, !//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DNS_NewProfileDirServiceProvider%5C%2528&regexp=on&case=on MXR Search]
====PRBool nsCellMapCode Size::ColHasSpanningCells(PRInt32)====31
[http://mxr.mozilla.org/mozilla-central/search?string=ColHasSpanningCells MXR Search] (Called by nsTableCellMap===void nsProfileDirServiceProvider::ColHasSpanningCellsnsProfileDirServiceProvider(PRBool)====
Code Sizeloc: 31, !profile/dirserviceprovider/public/nsProfileDirServiceProvider.h
====PRBool nsTableFrame[http::ColHasSpanningCells(PRInt32)=//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DnsProfileDirServiceProvider%5C%2528&regexp=on&case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=ColHasSpanningCells MXR Search]18
Code Size: 11, !== False Positives/Stuff that shouldn't be dealt with ==
====PRBool nsTableCellMap::ColHasSpanningCells(PRInt32)=accessible ===
[http://mxr.mozilla.org/mozilla-central/search?string=ColHasSpanningCells MXR Search] (Called by nsTableFrame::ColHasSpanningCells)These are all inherit from a template base class so these individual methods are unuded but removing them requires a major design change
Code Size====PRBool nsFontSizeTextAttr: 10:GetValueFor(nsIDOMElement*, !nscoord*)====
====PRBool nsTableCellMap[http::ColIsSpannedInto(PRInt32)==//mxr.mozilla.org/mozilla-central/search?string=GetValueFor%28&case=1 MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=ColIsSpannedInto MXR Search] (Called by nsTableFrame::ColIsSpannedInto)8
Code Size====PRBool nsBGColorTextAttr: 31:GetValueFor(nsIDOMElement*, !nscolor*)====
====PRBool nsTableFrame[http::ColIsSpannedInto(PRInt32)==//mxr.mozilla.org/mozilla-central/search?string=GetValueFor%28&case=1 MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=ColIsSpannedInto MXR Search]7
Code Size====PRBool nsFontWeightTextAttr: 11:GetValueFor(nsIDOMElement*, !PRInt32*)====
====PRBool nsCellMap[http::IsZeroColSpan(PRInt32,PRInt32)==//mxr.mozilla.org/mozilla-central/search?string=GetValueFor%28&case=1 MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=IsZeroColSpan MXR Search]8
Code SizePath info: 14, !GetValue calls nsCSSTextAttr::Format
====void nsTableFramePRBool nsTextAttr::SetColumnWidthGetValue(PRInt32nsAString_internal&,nscoordint)====
[http://mxr.mozilla.org/mozilla-central/search?string=SetColumnWidth MXR SearchGetValue this search]
Code Size: 1726
====PRBool nsTableFramevoid nsCSSTextAttr::IsAutoWidthFormat(PRBool*const nsAutoString&,nsAString_internal&)====
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=IsAutoWidth MXR Search]3
Code Size====void nsTextAttr: 17:Format(const nsAutoString&, !nsAString_internal&)====
====PRInt32 nsTableFrameCode Size::GetEffectiveCOLSAttribute()====0
[http====void nsLangTextAttr:://mxr.mozilla.org/mozilla-central/search?stringFormat(const nsAutoString&,nsAString_internal&)====GetEffectiveCOLSAttribute MXR Search]
Code Size: 9, !7
====PRBool nsTableFrame::IsPctHeight(nsStyleContext*)=layout/xul===
[http====gfxContext* nsContextBoxBlur:://mxr.mozilla.org/mozilla-central/search?stringGetContext()====IsPctHeight MXR Search]
Code Size[http: 8, !//mxr.mozilla.org/mozilla-central/search?string=GetContext()&case=1 MXR Search]
===layout/forms===Code Size: 4
====nsresult nsComboboxControlFrameNote::GetOptionSelectedaccording to comments in Init, that it "Prepares a gfxContext to draw on. Do not call this twice; if you want to get the gfxContext again use GetContext(PRInt32)",PRBool*)====this probably shouldn't be removed.
[http:===layout//mxr.mozilla.org/mozilla-central/search?stringgeneric===GetOptionSelected MXR Search]
Code Size====nsRect nsIFrame: 11, !:GetScreenRectInAppUnitsExternal()====
[http://mxr.mozilla.org/mozilla-central/search?string====nsresult nsListControlFrameGetScreenRectInAppUnitsExternal MXR Search] roc::GetOptionSelected(PRInt32,PRBool*)====may be used outside of tree
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=GetOptionSelected MXR Search]3
Code Size: 4, !=== layout/style
====nsresult nsISelectControlFramensCSSFontDesc nsCSSProps::GetOptionSelectedLookupFontDesc(PRInt32,PRBool*const nsACString_internal&)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetOptionSelected LookupFontDesc MXR Search] (called by nsComboboxControlFrameOnly the nsAString version is apparently used but what about [http::GetOptionSelected//mxr.mozilla.org/mozilla-central/source/layout/style/test/TestCSSPropertyLookup.cpp#75 this line]?)
Code Size: 0 (pure virtual), !4
====nsMargin nsButtonFrameRenderernsCSSProperty nsCSSProps::GetFullButtonBorderAndPaddingLookupProperty(const nsACString_internal&)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetFullButtonBorderAndPadding %5B%5Ea-z_A-Z%5DLookupProperty%5C%2528&regexp=1&case=1&find=&findi=&filter=%5E%5B%5E%5C0%5D*%2524&hitlimit=&tree=mozilla-central MXR Search]Only nsAString version used (maybe)
Code Size: 5
====nsMargin nsButtonFrameRenderernsCSSKeyword nsCSSKeywords::GetButtonOutlineBorderAndPaddingLookupKeyword(const nsACString_internal&)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetButtonOutlineBorderAndPadding LookupKeyword MXR Search](Only the nsAString version is apparently used but what about [http://mxr.mozilla.org/mozilla-central/source/layout/style/test/TestCSSPropertyLookup.cpp#145 this line]?)
Code Size: 3, !7
===layout/mathml=nsCSSKeyword nsCSSKeywords::LookupKeyword(const nsACString_internal&)====
====nsresult nsMathMLFrameloc::SetEmbellishData(const nsEmbellishData&)====layout/style/nsCSSKeywords.h
[http://mxr.mozilla.org/mozilla-central/search?string=SetEmbellishData %5B%5Ea-zA-Z0-9%5DLookupKeyword%5C%2528&regexp=on&case=on MXR Search]
Code Size: 87, !static, nsAString version used
====nsresult nsMathMLFramensCSSValueGradientStop::SetEmbellishDatansCSSValueGradientStop(const nsEmbellishDatansCSSValueGradientStop&)====
[http://mxr.mozilla.org/mozilla-central/search?string=SetEmbellishData nsCSSValueGradientStop MXR Search](Probably not a good idea to remove this)
Code Size: 0 (pure virtual), !7
====nsresult nsMathMLFramensCSSCornerSizes::GetReferencensCSSCornerSizes(nsPointconst nsCSSCornerSizes&)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetReference(&case=on nsCSSCornerSizes MXR Search](Probably not a good idea to remove this)
Code Size: 3, !13
====nsresult nsIMathMLFramensCSSValueListRect::GetReferencensCSSValueListRect(nsPointconst nsCSSValueListRect&)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetReference(&case=on nsCSSValueListRect MXR Search](Probably not a good idea to remove this)
Code Size: 0 (pure virtual), !9
====nsresult nsMathMLFramevoid nsCSSValue::SetPresentationDatansCSSValue(const nsPresentationData&nsCSSValueGradient*)====
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=SetPresentationData MXR Search]5, !
Code Size====void nsCSSValue: 3, !:nsCSSValue(Image*)====
====nsresult nsIMathMLFrameCode Size::SetPresentationData(const nsPresentationData&)====5, !
[http====void nsCSSValue:://mxr.mozilla.org/mozilla-central/search?stringnsCSSValue(URL*)====SetPresentationData MXR Search]
Code Size: 0 (pure virtual)5, !
===layout/inspector=void nsCSSValue::nsCSSValue(Array*,nsCSSUnit)====
====void inSearchLoopCode Size::inSearchLoop(inISearchProcess*)====5, !
[http://mxr.mozilla.org/mozilla-central/search?string=inSearchLoop MXR Search] (This'll take an nsCOMPtr===void nsCSSValue::operatornsCSSValue(float,nsCSSUnit)==== along with it)
Code Size: 115, !
*** Upon further examination, the whole layout/inspector module seems unused. All of the classes from [http://mxr.mozilla.org/mozilla-central/source/layout/inspector/src/Makefile.in#52 these files] end up in an NS_GENERIC_FACTORY_CONSTRUCTOR search?string=nsCSSValue( nsCSSValue(except inSearchLoop). The Makefile also claims "This library is used by other shared libs in a static build". Reading [https://developer.mozilla.org/en/DOM_Inspector/Introduction_to_DOM_Inspector this mdc pageMXR Search], this is apparently used for the DOM Inspector, but does it/should it make its way into libxul?
===xpcom/components===dbaron: maintain the correspondence between setters and constructors
Don't know if this stuff can be touched===content/html===
====nsresult nsServiceManagernsGenericHTMLElement::GetGlobalServiceManagerSetFloatAttr(nsIServiceManager*nsIAtom*,float)====
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=GetGlobalServiceManager MXR Search]6
Code Size[http: 15//mxr.mozilla.org/mozilla-central/search?string=SetFloatAttr MXR Search] * Will be used for HTML5
====nsresult nsServiceManagernsGenericHTMLElement::ShutdownGlobalServiceManagerGetFloatAttr(nsIServiceManagernsIAtom*,float,float*)====
[http://mxr.mozilla.org/mozilla-central/search?string=ShutdownGlobalServiceManager GetFloatAttr MXR Search]* Will be used for HTML5
Code Size: 215
===xpcom/base=nsresult nsHTMLDNSPrefetch::PrefetchHigh(nsAString_internal&)====
[http://mxr.mozilla.org/mozilla-central/search?string===nsresult nsTraceRefcntImpl::LogAddRef(voidPrefetchHigh MXR Search] *,nsrefcnt,const char*,PRUint32) et al===- Meant as forward looking API
6 of the functions of this class are dead but the [httpCode Size://mxr.mozilla.org/mozilla-central/source/xpcom/base/nsITraceRefcnt.idl#43 idl file] lists the classes status as frozen (and deprecated).3
== Bugs/Strangeness ==nsresult nsHTMLDNSPrefetch::PrefetchHigh(Link*)====
===layout[http://mxr.mozilla.org/mozilla-central/xul==search?string=PrefetchHigh MXR Search] * - Meant as forward looking API
====void nsBoxCode Size::CoordNeedsRecalc(PRInt32&)====3
[http====nsresult nsHTMLDNSPrefetch://mxr.mozilla.org/mozilla-central/search?string:PrefetchMedium(nsAString_internal&)====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 heresearch?string=PrefetchMedium MXR Search] as taking an ncoord& parameter however it is defined [http://mxr.mozilla.org/mozilla* -central/source/layout/xul/base/src/nsBox.cpp#412 here] Meant 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.forward looking API
====void nsListBoxBodyFrameCode Size::SetRowHeight(nscoord)====3
[http====nsresult nsHTMLDNSPrefetch:://mxr.mozilla.org/mozilla-central/search?stringPrefetchMedium(Link*)====SetRowHeight MXR Search]
Code Size[http: 41//mxr.mozilla.org/mozilla-central/search?string=PrefetchMedium MXR Search] * - Meant as forward looking API
Same situation, except SetRowHeight is declared in the [httpCode Size://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
1
edit

Navigation menu