Changes

Jump to: navigation, search

User:Egmetcalfe/Dead Code

1,378 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: 1526
====nsresult nsHTMLDNSPrefetch✓ void nsXHTMLContentSerializer::PrefetchHighAppendToString(const 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::PrefetchHigh(Link*)====0, virtual
[http====✓ void nsXMLContentSerializer:://mxr.mozilla.org/mozilla-central/search?stringAppendToString(const PRUnichar*, PRInt32, nsAString_internal&)====PrefetchHigh MXR Search] *
Code Sizeloc: 3content/base/src/nsXMLContentSerializer.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DAppendToString%5C%2528&regexp===nsresult nsHTMLDNSPrefetch::PrefetchMedium(nsAString_internalon&)===case=on MXR Search]
[http://mxr.mozilla.org/mozilla-central/search?string=PrefetchMedium MXR Search] * Code Size: 3 ====nsresult nsHTMLDNSPrefetch::PrefetchMedium(Link*)==== [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>
====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===
<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
====bool mozilla::plugins::parent::::_tostring(NPObject*,NPVariant*)====
[http://mxr.mozilla.org/mozilla-central/search?string=[^a%5B%5Ea-zA-Z]_tostring%5D_tostring&regexp=on MXR Search]
Code Size: 7
=== 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=nsresult nsTextServicesDocument::GetDocument(nsIDOMDocument**)==== loc: editor/txtsvc/src/managernsTextServicesDocument.h [http:/ssl/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
Path Info[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)====
[httploc:security/manager/mxr.mozilla.orgssl/mozilla-centralsrc/search?string=SetMultipleConcurrentDeviceContextsSupported MXR Search]nsNSSCertTrust.h
Code Size[http: 2//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DHasCA%5C%2528&regexp=on&case=on MXR Search]
====nsCursor nsBaseWidgetCode Size::GetCursor()====29
[http====PRBool nsNSSCertTrust:://mxr.mozilla.org/mozilla-central/search?stringHasUser(PRBool, PRBool, PRBool)====GetCursor MXR Search]
Code Sizeloc: 2security/manager/ssl/src/nsNSSCertTrust.h
Note[http: Must also be removed from nsIWidget//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DHasUser%5C%2528&regexp=on&case=on MXR Search]
===extensions===Code Size: 29
====nsresult nsCyrXPCOMStringDetectorvoid nsX509CertValidity::DoItnsX509CertValidity(const char*,PRUint32,const char**,nsDetectionConfident&)====
[httploc:security/manager/mxr.mozilla.orgssl/mozilla-centralsrc/search?string=DoIt(&case=1 MXR Search]nsNSSCertValidity.h
Code Size[http: 19//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DnsX509CertValidity%5C%2528&regexp=on&case=on MXR Search]
====nsresult nsXPCOMStringDetectorCode 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: 32security/manager/ssl/src/nsNSSIOLayer.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetExternalErrorReporting%5C%2528&regexp=on&case=view===on MXR Search]
====nsIntPoint nsIViewCode Size::GetScreenPosition()====4
[http====nsresult nsNSSSocketInfo:://mxr.mozilla.org/mozilla-central/search?stringGetForSTARTTLS(PRBool*)====GetScreenPosition MXR Search]
Code Sizeloc: 39security/manager/ssl/src/nsNSSIOLayer.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetForSTARTTLS%5C%2528&regexp===nsresult nsViewManager::GetViewObserver(nsIViewObserver*on&)===case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=GetViewObserver MXR Search]5
Code Size====nsresult nsNSSSocketInfo: 16:GetForSTARTTLS(PRBool*)====
====void nsViewloc::SetPositionIgnoringChildWidgets(nscoord,nscoord)====security/manager/ssl/src/nsNSSIOLayer.h
[http://mxr.mozilla.org/mozilla-central/search?string=SetPositionIgnoringChildWidgets %5B%5Ea-zA-Z0-9%5DGetForSTARTTLS%5C%2528&regexp=on&case=on MXR Search]
Code Size: 145
====nsresult nsViewManagernsNSSSocketInfo::MoveViewByGetFileDescPtr(nsIViewPRFileDesc**,nscoord,nscoord)====
[httploc:security/manager/mxr.mozilla.orgssl/mozilla-centralsrc/search?string=MoveViewBy 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::InsertChild(nsIView*,nsIView*,PRInt32)====4
[http====nsresult nsNSSSocketInfo://mxr.mozilla.org/mozilla-central/search?string:GetCert(nsIX509Cert**)===InsertChild(&case=1 MXR Search]
Code Sizeloc: 10security/manager/ssl/src/nsNSSIOLayer.h
====PRBool nsIView[http::ExternalIsRoot()=//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=SetPositionIgnoringChildWidgets MXR Search]11
Code Size====PRBool nsNSSActivityState: 3:isBlockingUIActive()====
Note: Used in an NS_ASSERTION [httploc:security/manager/mxr.mozilla.orgssl/mozilla-centralsrc/source/view/public/nsIViewnsNSSShutDown.h#155 here]. Why not just call nsIView::IsRoot?
===layout[http://mxr.mozilla.org/mozilla-central/xulsearch?string=%5B%5Ea-zA-Z0-9%5DisBlockingUIActive%5C%2528&regexp=on&case=on MXR Search]
====void nsBoxFrameCode Size::FireDOMEventSynch(const nsAString_internal&,nsIContent*)====8
[http====nsresult nsCRMFObject:://mxr.mozilla.org/mozilla-central/search?stringinit()====FireDOMEventSynch MXR Search]
Code Sizeloc: 46security/manager/ssl/src/nsCrypto.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5Dinit%5C%2528&regexp===void nsGridRow::MarkDirty(nsBoxLayoutStateon&)===case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=MarkDirty&case=1 MXR Search]2
Code Size====PRBool : 16:confirm_user(const PRUnichar*)====
====void nsBoxLayoutloc::GetParentLayout(nsIBox*,nsIBoxLayout**)====security/manager/ssl/src/nsCrypto.cpp
[http://mxr.mozilla.org/mozilla-central/search?string=GetParentLayout %5B%5Ea-zA-Z0-9%5Dconfirm_user%5C%2528&regexp=on&case=on MXR Search]
Code Size: 936
====nsGridRow* nsGridvoid nsCRLInfo::GetRowsnsCRLInfo()====
[httploc:security/manager/mxr.mozilla.orgssl/mozilla-centralsrc/search?string=GetRows(&case=on MXR Search]nsCRLInfo.h
Code Size[http: 3//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DnsCRLInfo%5C%2528&regexp=on&case=on MXR Search]
====nsGridRow* nsGridCode Size::GetColumns()====20
[http====void nsOCSPResponder://mxr.mozilla.org/mozilla-central/search?string:nsOCSPResponder()===GetColumns(&case=on MXR Search]
Code Sizeloc: 3security/manager/ssl/src/nsOCSPResponder.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DnsOCSPResponder%5C%2528&regexp===nsresult nsMenuFrame::IsActive(PRBoolon&)===case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=IsActive%5C%2528%5B%5E%2529%5D&regexp=on&case=1 MXR Search]10
Code Size====void nsCertTreeDispInfo: 3:nsCertTreeDispInfo(nsCertTreeDispInfo&)====
====void nsBoxloc::AddMargin(nsSize&)====security/manager/ssl/src/nsCertTree.h
[http://mxr.mozilla.org/mozilla-central/search?string=AddMargin%5B%5Ea-zA-Z0-9%5DnsCertTreeDispInfo%5C%2528&regexp=on&case=1 on MXR Search]
Code Size: 329
===layout/base=nsresult nsNSSComponent::RememberCert(CERTCertificate*)====
====nsIFrame* nsLayoutUtilsloc::GetClosestCommonAncestorViaPlaceholders(nsIFrame*,nsIFrame*,nsIFrame*)====security/manager/ssl/src/nsNSSComponent.h
[http://mxr.mozilla.org/mozilla-central/search?string=GetClosestCommonAncestorViaPlaceholders %5B%5Ea-zA-Z0-9%5DRememberCert%5C%2528&regexp=on&case=on MXR Search] (Calls itself)
Code Size: 620, virtual
====nsBidinsresult nsINSSComponent::nsBidiRememberCert(PRUint32,PRUint32CERTCertificate*)====
[httploc:security/manager/mxr.mozilla.orgssl/mozilla-centralsrc/search?string=nsBidi(&case=1 MXR Search]nsNSSComponent.h
Code Size[http: 43//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DRememberCert%5C%2528&regexp=on&case=on MXR Search]
====nsIFrame* nsFrameManagerCode Size::GetCanvasFrame()====0, virtual
[http====nsresult nsNSSComponent:://mxr.mozilla.org/mozilla-central/search?stringNSSBundleFormatStringFromName(const char*, const PRUnichar**, PRUint32, nsAString_internal&)====GetCanvasFrame MXR Search]
Code Sizeloc: 20security/manager/ssl/src/nsNSSComponent.h
====nsresult nsBidiPresUtils[http::GetBidiEngine(nsBidi**)=//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=GetBidiEngine MXR Search]0, virtual
Code Size====nsresult nsINSSComponent: 8:NSSBundleFormatStringFromName(const char*, const PRUnichar**, PRUint32, nsAString_internal&)====
====void nsDisplayListloc::DeleteBottom()====security/manager/ssl/src/nsNSSComponent.h
[http://mxr.mozilla.org/mozilla-central/search?string=DeleteBottom %5B%5Ea-zA-Z0-9%5DNSSBundleFormatStringFromName%5C%2528&regexp=on&case=on MXR Search]
Code Size: 70, virtual
====void nsFrameManager::ClearUndisplayedContentMap()====And a bunch more.... Probably should deal with security stuff last, if at all
[http://mxr.mozilla.org/mozilla-central/search?string=ClearUndisplayedContentMap MXR Search]==intl===
Code Size====nsresult nsCaseConversionImp2: 5:ToTitle(const PRUnichar*,PRUnichar*,PRUint32,PRBool)====
====gfxContext* nsContextBoxBlur[http::GetContext()==//mxr.mozilla.org/mozilla-central/search?string=ToTitle&case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=GetContext()&case=1 MXR Search] (Non-virtual function from a non-derived class: the script is probably right)42
Code SizeNote: 4Must also be removed from nsICaseConversion
====PRInt32 nsIPresShell::GetVerifyReflowFlags✓ PRUint16* MapperToCCMap(nsICharRepresentable*)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetVerifyReflowFlags MapperToCCMap MXR Search]
Code Size: 215
====void nsIPresShellnsBufferDecoderSupport::SetVerifyReflowEnableDoubleBuffer(PRBool)====
[http://mxr.mozilla.org/mozilla-central/search?string=SetVerifyReflowEnable DoubleBuffer MXR Search] (called by ifdef DEBUG code)
Code Size: 219
====PRBool nsIPresShell✓ nsresult nsDetectionAdaptor::GetVerifyReflowEnableProcessTokens()====
[http://mxr.mozilla.org/mozilla-central/search?string=GetVerifyReflowEnable ProcessTokens MXR Search] (called by ifdef DEBUG code)
Code Size: 2
====PRBool PresShell✓ nsresult nsDetectionAdaptor::nsDelayedEvent::EqualsWillAddToken(nsPIDOMEventTarget*,PRUint32CToken&)====
(Impossible to verify with [http://mxr.mozilla.org/mozilla-central/search?string=WillAddToken MXR)Search]
Code Size: 2
===layout/style===Note: ProcessTokens and WillAddTokens must be removed from nsIParserFilter as well.
====nsresult CSSLoaderImplnsDebugDetector::StopLoadingSheetnsDebugDetector(nsIURI*nsDebugDetectorSel)====
[http://mxr.mozilla.org/mozilla-central/search?string=StopLoadingSheet nsDebugDetector&case=1 MXR Search]
Code Size: 9610 ===dom===
====StopLoadingSheetsByURIClosurensresult nsIScriptGlobalObject::StopLoadingSheetsByURIClosureHandleScriptError(nsIURInsScriptErrorEvent*,nsTArray&nsEventStatus*)====
[http://mxr.mozilla.org/mozilla-central/search?string=StopLoadingSheetsByURIClosure HandleScriptError MXR Search] (called by StopLoadingSheet)
Code Size: 3
====PRBool langMatchesvoid nsJSContext::SetDefaultLanguageVersion(RuleProcessorData&,PRBool,nsPseudoClassList*PRUint32)====
[httploc:dom/base/mxrnsJSEnvironment.mozilla.org/mozilla-central/search?string=langMatches MXR Search]h
Code Size[http: 69//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetDefaultLanguageVersion%5C%2528&regexp=on&case=on MXR Search]
====const nsString* RuleProcessorDataCode Size::GetLang()====0, virtual
[http====void nsIScriptContext://mxr.mozilla.org/mozilla-central/search?string=GetLang:SetDefaultLanguageVersion( MXR Search] (called by langMatchesPRUint32)====
loc: dom/base/nsIScriptContext.h [http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetDefaultLanguageVersion%5C%2528&regexp=on&case=on MXR Search] Code Size: 460, virtual ===parser=== ====void nsCParserNode::SetGenericState(PRBool)==== [http://mxr.mozilla.org/mozilla-central/search?string=SetGenericState MXR Search]
====PRBool mozSystemMetricMatches(RuleProcessorData&,PRBool,nsPseudoClassList*)====Code Size: 3
[http====PRBool nsCParserNode:://mxr.mozilla.org/mozilla-central/search?stringGetGenericState()====mozSystemMetricMatches MXR Search]
Code Size[http: 9//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====void nsCParserNode:://mxr.mozilla.org/mozilla-central/search?string=LookupProperty MXR Search] GetSource(Only nsAString version usednsString&)====
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: 5There 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: 319
====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: 332
====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====✓ nsresult nsViewManager:://mxr.mozilla.org/mozilla-central/search?stringGetViewObserver(nsIViewObserver*&)====AppendComment 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
====PRBool lastOfTypeMatches(RuleProcessorData&,PRBool,nsPseudoClassList*)====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?
[http://mxr.mozilla.org/mozilla-central/search?string=lastOfTypeMatches MXR Search]
Code Size====void nsIPresShell: 3:SetVerifyReflowEnable(PRBool)====
[http://mxr.mozilla.org/mozilla-central/search?string====PRBool firstOfTypeMatchesSetVerifyReflowEnable MXR Search] (RuleProcessorData&,PRBool,nsPseudoClassList*called by ifdef DEBUG code)====
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=firstOfTypeMatches MXR Search]2
Code Size====PRBool nsIPresShell: 3:GetVerifyReflowEnable()====
[http://mxr.mozilla.org/mozilla-central/search?string====PRBool nthLastOfTypeMatchesGetVerifyReflowEnable MXR Search] (RuleProcessorData&,PRBool,nsPseudoClassList*called by ifdef DEBUG code)====
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=nthLastOfTypeMatches MXR Search]2
Code Size: 3===layout/style===
====PRBool nthOfTypeMatchesnsresult nsHTMLStyleSheet::GetType(RuleProcessorDatansString&,PRBool,nsPseudoClassList*)====
[httploc:layout/style/mxrnsHTMLStyleSheet.mozilla.org/mozilla-central/search?string=nthOfTypeMatches 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 nthLastChildMatches(RuleProcessorData&Code Size: 0,PRBool,nsPseudoClassList*)====virtual
[http====nsresult nsIStyleSheet:://mxr.mozilla.org/mozilla-central/search?stringGetType(nsString&)====nthLastChildMatches MXR Search]
Code Sizeloc: 3layout/style/nsIStyleSheet.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]0, virtual
Code Size====nsresult nsCSSStyleSheet: 3:GetType(nsString&)====
====PRBool nthChildMatches(RuleProcessorData&,PRBool,nsPseudoClassList*)====loc: layout/style/nsCSSStyleSheet.h
[http://mxr.mozilla.org/mozilla-central/search?string=nthChildMatches %5B%5Ea-zA-Z0-9%5DGetType%5C%2528&regexp=on&case=on MXR Search]
Code Size: 30, virtual
====PRBool onlyChildMatchesnsresult nsHTMLCSSStyleSheet::GetType(RuleProcessorDatansString&,PRBool,nsPseudoClassList*)====
[httploc:layout/style/mxrnsHTMLCSSStyleSheet.mozilla.org/mozilla-central/search?string=onlyChildMatches 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 lastChildMatches(RuleProcessorData&Code Size: 4,PRBool,nsPseudoClassList*)====virtual
[http====nsresult nsHTMLStyleSheet:://mxr.mozilla.org/mozilla-central/search?stringGetParentSheet(nsIStyleSheet*&)====lastChildMatches MXR Search]
Code Sizeloc: 3layout/style/nsHTMLStyleSheet.h
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetParentSheet%5C%2528&regexp===PRBool firstChildMatches(RuleProcessorDataon&,PRBool,nsPseudoClassList*)===case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=firstChildMatches MXR Search]0, virtual
Code Size====nsresult nsIStyleSheet: 3:GetParentSheet(nsIStyleSheet*&)====
===loc: layout/generic===style/nsIStyleSheet.h
====void nsFrameList[http::SortByContentOrder()=//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetParentSheet%5C%2528&regexp=on&case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=SortByContentOrder MXR Search] (This will take an nsTArray::Sort along with it too)0, virtual
Code Size====nsresult nsCSSStyleSheet: 35:GetParentSheet(nsIStyleSheet*&)====
====nsIFrame* nsBlockFrameloc::GetTopBlockChild(nsPresContext*)====layout/style/nsCSSStyleSheet.h
[http://mxr.mozilla.org/mozilla-central/search?string=GetTopBlockChild %5B%5Ea-zA-Z0-9%5DGetParentSheet%5C%2528&regexp=on&case=on MXR Search]
Code Size: 340, virtual
====PRInt32 nsILineIteratornsresult nsHTMLCSSStyleSheet::FindLineAtGetParentSheet(nscoordnsIStyleSheet*&)====
Code Sizeloc: 0 (pure virtual)layout/style/nsHTMLCSSStyleSheet.h
====PRInt32 nsLineIterator[http::FindLineAt(nscoord)=//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DGetParentSheet%5C%2528&regexp=on&case=on MXR Search]
Code Size: 273, virtual
====PRInt32 nsTableRowGroupFrame::FindLineAt(nscoord)=layout/inspector===
Code Size====void inSearchLoop: 2:inSearchLoop(inISearchProcess*)====
[http://mxr.mozilla.org/mozilla-central/search?string=FindLineAt inSearchLoop MXR Search](This'll take an nsCOMPtr::operator= along with it)
====nsLineBox* nsLineBoxCode Size::FindLineContaining(nsLineList&,nsIFrame*,PRInt32*)====11
*** Upon further examination, the whole layout/inspector module seems unused. All of the classes from [http://mxr.mozilla.org/mozilla-central/searchsource/layout/inspector/src/Makefile.in#52 these files] end up in an NS_GENERIC_FACTORY_CONSTRUCTOR (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?string=FindLineContaining MXR Search]
Code Size: 18===xpcom/components===
====PRBool nsFrameList::ContainsFrameBefore(const nsIFrame*,const nsIFrame*)====Don't know if this stuff can be touched
[http====nsresult nsServiceManager:://mxr.mozilla.org/mozilla-central/search?stringGetGlobalServiceManager(nsIServiceManager**)====ContainsFrameBefore MXR Search]
Code Size[http: 10//mxr.mozilla.org/mozilla-central/search?string=GetGlobalServiceManager MXR Search]
====nsFramesetDragCode Size::nsFramesetDrag(PRBool,PRInt32,PRInt32,nsHTMLFramesetFrame*)====15
[http====nsresult nsServiceManager:://mxr.mozilla.org/mozilla-central/search?stringShutdownGlobalServiceManager(nsIServiceManager**)====nsFramesetDrag MXR Search]
Code Size[http: 6//mxr.mozilla.org/mozilla-central/search?string=ShutdownGlobalServiceManager MXR Search]
====void AreaCode Size::GetHREF(nsAString_internal&)====2
[http:===xpcom//mxr.mozilla.org/mozilla-central/search?stringbase===GetHREF MXR Search] (Pain to check but dead. Note that it's non-virtual from a non-derived class)
Code Size====nsresult nsTraceRefcntImpl: 3:LogAddRef(void*,nsrefcnt,const char*,PRUint32) et al====
====nsRect nsIFrame6 of the functions of this class are dead but the [http::GetMarginRect//mxr.mozilla.org/mozilla-central/source/xpcom/base/nsITraceRefcnt.idl#43 idl file] lists the classes status as frozen (and deprecated)====.
[http:== Called by NS_ASSERTIONs//mxr.mozilla.org/mozilla-central/search?stringifdefine DEBUG etc ==GetMarginRect MXR Search]
Code Size: 11===layout/style===
====PRBool nsIntervalSetnsCSSPseudoElements::HasPointIsPseudoElement(nscoordnsIAtom*)====
[httploc:layout/style/mxrnsCSSPseudoElements.mozilla.org/mozilla-central/search?string=HasPoint MXR Search]h
Code Size[http: 10//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DIsPseudoElement%5C%2528&regexp=on&case=on MXR Search]
====nsresult nsIFrameCode Size::Clip(nsDisplayListBuilder*,const nsDisplayListSet&,const nsDisplayListSet&3,const nsRect&)====static
[http://mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-z%5DClip%5C%2528%5B%5E%2529%5D&regexp=1&caseShouldn't be cross platform ==1 MXR Search]
Code Size: 4
====nsRect nsIFrame::GetScreenRectInAppUnitsExternal()=profiles===
[http====nsresult nsProfileDirServiceProvider:://mxr.mozilla.org/mozilla-central/search?stringSetProfileDir(nsIFile*, nsIFile*)====GetScreenRectInAppUnitsExternal MXR Search]
Code Sizeloc: 3profile/dirserviceprovider/public/nsProfileDirServiceProvider.h
====void* nsIFrame[http::GetPropertyExternal(nsIAtom*,nsresult*)=//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DSetProfileDir%5C%2528&regexp=on&case=on MXR Search]
[httpCode Size:112, virtual -- Called in embedding/tests/winEmbed/mxrwinEmbed.mozilla.org/mozilla-central/search?string=GetPropertyExternal MXR Search]cpp
Code Size: 3
===layout/tables=nsresult nsProfileDirServiceProvider::InitProfileDir(nsIFile*)====
====void nsTableOuterFrameloc::BalanceLeftRightCaption(PRUint8,const nsMargin&,const nsMargin&,nscoord&,nscoord&)====profile/dirserviceprovider/public/nsProfileDirServiceProvider.h
[http://mxr.mozilla.org/mozilla-central/search?string=BalanceLeftRightCaption %5B%5Ea-zA-Z0-9%5DInitProfileDir%5C%2528&regexp=on&case=on MXR Search]
Code Size: 66142
====PRBool nsCellMapnsresult nsProfileDirServiceProvider::ColHasSpanningCellsInitNonSharedProfileDir(PRInt32)====
[httploc:profile/dirserviceprovider/mxrpublic/nsProfileDirServiceProvider.mozilla.org/mozilla-central/search?string=ColHasSpanningCells MXR Search] (Called by nsTableCellMap::ColHasSpanningCells)h
Code Size[http: 31//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DInitNonSharedProfileDir%5C%2528&regexp=on&case=on MXR Search]
====PRBool nsTableFrameCode Size::ColHasSpanningCells(PRInt32)====87
[http====nsresult nsProfileDirServiceProvider:://mxr.mozilla.org/mozilla-central/search?stringUndefineFileLocations()====ColHasSpanningCells MXR Search]
Code Sizeloc: 11profile/dirserviceprovider/public/nsProfileDirServiceProvider.h
====PRBool nsTableCellMap[http::ColHasSpanningCells(PRInt32)=//mxr.mozilla.org/mozilla-central/search?string=%5B%5Ea-zA-Z0-9%5DUndefineFileLocations%5C%2528&regexp=on&case=on MXR Search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=ColHasSpanningCells MXR Search] (Called by nsTableFrame::ColHasSpanningCells)77
Code Size====nsresult : 10:NS_NewProfileDirServiceProvider(PRBool, nsProfileDirServiceProvider**)====
====PRBool nsTableCellMaploc::ColIsSpannedInto(PRInt32)====profile/dirserviceprovider/src/nsProfileDirServiceProvider.cpp
[http://mxr.mozilla.org/mozilla-central/search?string=ColIsSpannedInto %5B%5Ea-zA-Z0-9%5DNS_NewProfileDirServiceProvider%5C%2528&regexp=on&case=on MXR Search] (Called by nsTableFrame::ColIsSpannedInto)
Code Size: 31
====PRBool nsTableFramevoid nsProfileDirServiceProvider::ColIsSpannedIntonsProfileDirServiceProvider(PRInt32PRBool)==== loc: profile/dirserviceprovider/public/nsProfileDirServiceProvider.h
[http://mxr.mozilla.org/mozilla-central/search?string=ColIsSpannedInto %5B%5Ea-zA-Z0-9%5DnsProfileDirServiceProvider%5C%2528&regexp=on&case=on MXR Search]
Code Size: 1118
====PRBool nsCellMap::IsZeroColSpan(PRInt32,PRInt32)==False Positives/Stuff that shouldn't be dealt with ==
[http://mxr.mozilla.org/mozilla-central/search?string=IsZeroColSpan MXR Search]== accessible ===
Code SizeThese are all inherit from a template base class so these individual methods are unuded but removing them requires a major design change ====PRBool nsFontSizeTextAttr: 14:GetValueFor(nsIDOMElement*,nscoord*)==== [http://mxr.mozilla.org/mozilla-central/search?string=GetValueFor%28&case=1 MXR Search]
====void nsTableFrameCode Size::SetColumnWidth(PRInt32,nscoord)====8
[http====PRBool nsBGColorTextAttr:://mxr.mozilla.org/mozilla-central/search?stringGetValueFor(nsIDOMElement*,nscolor*)====SetColumnWidth MXR Search]
Code Size[http: 17//mxr.mozilla.org/mozilla-central/search?string=GetValueFor%28&case=1 MXR Search]
====PRBool nsTableFrameCode Size::IsAutoWidth(PRBool*)====7
[http====PRBool nsFontWeightTextAttr:://mxr.mozilla.org/mozilla-central/search?stringGetValueFor(nsIDOMElement*,PRInt32*)====IsAutoWidth MXR Search]
Code Size[http: 17//mxr.mozilla.org/mozilla-central/search?string=GetValueFor%28&case=1 MXR Search]
====PRInt32 nsTableFrameCode Size::GetEffectiveCOLSAttribute()====8
[httpPath info://mxr.mozilla.org/mozilla-central/search?string=GetEffectiveCOLSAttribute MXR Search]GetValue calls nsCSSTextAttr::Format
Code Size====PRBool nsTextAttr: 9:GetValue(nsAString_internal&,int)====
====PRBool nsTableFrame:[http:IsPctHeight(nsStyleContext*)===//mxr.mozilla.org/mozilla-central/search?string=GetValue this search]
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=IsPctHeight MXR Search]26
Code Size====void nsCSSTextAttr: 8:Format(const nsAutoString&,nsAString_internal&)====
===layout/forms===Code Size: 3
====nsresult nsComboboxControlFramevoid nsTextAttr::GetOptionSelectedFormat(PRInt32const nsAutoString&,PRBool*nsAString_internal&)====
[httpCode Size://mxr.mozilla.org/mozilla-central/search?string=GetOptionSelected MXR Search]0
Code Size====void nsLangTextAttr: 11:Format(const nsAutoString&,nsAString_internal&)====
====nsresult nsListControlFrameCode Size::GetOptionSelected(PRInt32,PRBool*)====7
===layout/xul=== ====gfxContext* nsContextBoxBlur::GetContext()==== [http://mxr.mozilla.org/mozilla-central/search?string=GetOptionSelected GetContext()&case=1 MXR Search]
Code Size: 4
Note: according 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()", this probably shouldn't be removed. ===layout/generic=nsresult nsISelectControlFrame== ====nsRect nsIFrame::GetOptionSelectedGetScreenRectInAppUnitsExternal(PRInt32,PRBool*)====
[http://mxr.mozilla.org/mozilla-central/search?string=GetOptionSelected GetScreenRectInAppUnitsExternal MXR Search] (called by nsComboboxControlFrameroc::GetOptionSelected)may be used outside of tree
Code Size: 0 3 === layout/style ====nsCSSFontDesc nsCSSProps::LookupFontDesc(pure virtualconst nsACString_internal&)==== [http://mxr.mozilla.org/mozilla-central/search?string=LookupFontDesc 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: 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: 37
===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: 313
====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