diff --git a/mozilla/tools/trace-malloc/types.dat b/mozilla/tools/trace-malloc/types.dat index d8a79817a68..f9579e42156 100644 --- a/mozilla/tools/trace-malloc/types.dat +++ b/mozilla/tools/trace-malloc/types.dat @@ -227,115 +227,6 @@ JS_NewHashTable ~.* ~js_(Define|Set)Property - -#---------------------------------------------------------------------- -# Unclassified string allocations -# - -PR_Malloc -nsMemoryImpl::Alloc(unsigned int) -nsMemory::Alloc(unsigned int) -nsXPIDLCString::Copy(char const *) - - -PL_strdup - - -PR_Malloc -nsMemoryImpl::Alloc(unsigned int) -nsMemory::Alloc(unsigned int) -nsCppSharedAllocator::allocate(unsigned int, void const *) -nsCRT::strndup(unsigned short const *, unsigned int) -nsCRT::strdup(unsigned short const *) -nsString::ToNewUnicode(void) const - - -PR_Malloc -nsMemoryImpl::Alloc(unsigned int) -nsMemory::Alloc(unsigned int) -nsCppSharedAllocator::allocate(unsigned int, void const *) -nsCRT::strndup(unsigned short const *, unsigned int) -nsCRT::strdup(unsigned short const *) - - -PR_Malloc -nsMemoryImpl::Alloc(unsigned int) -nsMemory::Alloc(unsigned int) -nsStr::Alloc(nsStr &, unsigned int) -nsStr::Realloc(nsStr &, unsigned int) -nsStr::EnsureCapacity(nsStr &, unsigned int) -nsStr::GrowCapacity(nsStr &, unsigned int) -nsString::SetCapacity(unsigned int) -nsString::SetLength(unsigned int) -nsAString::do_AssignFromReadable(nsAString const &) - - -PR_Malloc -nsMemoryImpl::Alloc(unsigned int) -nsMemory::Alloc(unsigned int) -nsStr::Alloc(nsStr &, unsigned int) -nsStr::Realloc(nsStr &, unsigned int) -nsStr::EnsureCapacity(nsStr &, unsigned int) -nsStr::GrowCapacity(nsStr &, unsigned int) -nsString::SetCapacity(unsigned int) -nsCString::SetLength(unsigned int) - - -PR_Malloc -nsMemoryImpl::Alloc(unsigned int) -nsMemory::Alloc(unsigned int) -nsStr::Alloc(nsStr &, unsigned int) -nsStr::Realloc(nsStr &, unsigned int) -nsStr::EnsureCapacity(nsStr &, unsigned int) -nsStr::GrowCapacity(nsStr &, unsigned int) -nsStr::StrAppend(nsStr &, nsStr const &, unsigned int, int) -nsString::AppendWithConversion(char const *, int) - - -PR_Malloc -nsMemoryImpl::Alloc(unsigned int) -nsMemory::Alloc(unsigned int) -nsCRT::strndup(unsigned short const *, unsigned int) - - -PR_Malloc -nsMemoryImpl::Alloc(unsigned int) -nsMemory::Alloc(unsigned int) -nsStr::Alloc(nsStr &, unsigned int) -nsStr::Realloc(nsStr &, unsigned int) -nsStr::EnsureCapacity(nsStr &, unsigned int) -nsStr::GrowCapacity(nsStr &, unsigned int) -nsCString::SetCapacity(unsigned int) -nsCString::SetLength(unsigned int) - - -PR_Malloc -nsMemoryImpl::Alloc(unsigned int) -nsMemory::Alloc(unsigned int) -nsStr::Alloc(nsStr &, unsigned int) -nsStr::Realloc(nsStr &, unsigned int) -nsStr::EnsureCapacity(nsStr &, unsigned int) -nsStr::GrowCapacity(nsStr &, unsigned int) -nsString::SetCapacity(unsigned int) -nsString::SetLength(unsigned int) - - -PR_Malloc -nsMemoryImpl::Alloc(unsigned int) -nsMemory::Alloc(unsigned int) -nsStr::Alloc(nsStr &, unsigned int) -nsStr::Realloc(nsStr &, unsigned int) -nsStr::EnsureCapacity(nsStr &, unsigned int) -nsStr::GrowCapacity(nsStr &, unsigned int) -nsStr::StrAppend(nsStr &, nsStr const &, unsigned int, int) - -# -# String::String creates a new nsString. -# - -__builtin_new -String::String(char const *) - #---------------------------------------------------------------------- @@ -345,12 +236,10 @@ nsDeque::GrowCapacity(void) nsDeque::Push(void *) nsStringRecycler::Recycle(nsString *) -# Give nsString objects the memory they allocate for storage - -PR_Malloc -nsMemoryImpl::Alloc(unsigned int) -nsMemory::Alloc(unsigned int) -nsStr::Alloc(nsStr &, unsigned int) +#---------------------------------------------------------------------- +# +# AtomImpl +# # Give AtomImpl objects the memory they allocate for storage @@ -359,17 +248,14 @@ AtomImpl::operator new(unsigned int, basic_nsAReadableString con # Give AtomImpl objects the memory allocated for their table -PR_Malloc -PL_ArenaFinish -PL_HashTableRawAdd -NS_NewAtom(basic_nsAReadableString const &) - - -PR_Malloc -PL_ArenaFinish -PL_HashTableRawAdd +PL_DHashAllocTable +PL_DHashTableFinish +PL_DHashTableOperate +NS_NewPermanentAtom(char const *) NS_NewAtom(nsAString const &) +#---------------------------------------------------------------------- + PR_Malloc nsMemoryImpl::Alloc(unsigned int) @@ -403,79 +289,10 @@ nsCSSSelector::nsCSSSelector(nsCSSSelector const &) __builtin_new nsCSSRule::operator new(unsigned int) - -__builtin_new -CSSRuleProcessor::GetRuleCascade(nsIAtom *) - - -PR_Realloc -nsVoidArray::SizeTo(int) -nsVoidArray::GrowArrayBy(int) -nsVoidArray::InsertElementAt(void *, int) -CSSRuleProcessor::ClearRuleCascades(void) - - -PR_Malloc -PL_HashTableFinalize(PLHashTable *) -PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) -nsHashtable::nsHashtable(unsigned int, int) -CSSRuleProcessor::GetRuleCascade(nsIAtom *) - - -PR_Malloc -PL_HashTableFinalize(PLHashTable *) -PL_HashTableRawAdd -nsHashtable::Put(nsHashKey *, void *) -CSSRuleProcessor::GetRuleCascade(nsIAtom *) - - -PR_Malloc -PL_HashTableFinalize(PLHashTable *) -PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) -nsHashtable::nsHashtable(unsigned int, int) -nsRuleNode::Transition(nsIStyleRule *, nsIRuleNode **) -nsRuleWalker::Forward(nsIStyleRule *) -SelectorMatchesData::SelectorMatchesData(nsIPresContext *, nsIContent *, nsIRuleWalker *, nsCompatibility *) -RuleHash::EnumerateAllRules(int, nsIAtom *, nsIAtom *, nsVoidArray const &, void (*)(nsICSSStyleRule *, void *), void *) -CSSRuleProcessor::RulesMatching(nsIPresContext *, nsIAtom *, nsIContent *, nsIStyleContext *, nsIRuleWalker *) - - -PR_Malloc -PL_HashTableFinalize(PLHashTable *) -PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) -nsHashtable::nsHashtable(unsigned int, int) -nsRuleNode::Transition(nsIStyleRule *, nsIRuleNode **) -nsRuleWalker::Forward(nsIStyleRule *) -CSSRuleProcessor::RulesMatching(nsIPresContext *, nsIAtom *, nsIContent *, nsIStyleContext *, nsIRuleWalker *) - - -PR_Malloc -PL_HashTableFinalize(PLHashTable *) -PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) -nsHashtable::nsHashtable(unsigned int, int) -RuleHash::RuleHash(void) -CSSRuleProcessor::GetRuleCascade(nsIAtom *) - - -PR_Malloc -PL_HashTableFinalize(PLHashTable *) -PL_HashTableRawAdd -nsHashtable::Put(nsHashKey *, void *) -RuleHash::AppendRuleToTable(nsHashtable &, nsIAtom *, nsICSSStyleRule *, int) - - -__builtin_new -RuleHash::AppendRuleToTable(nsHashtable &, nsIAtom *, nsICSSStyleRule *, int) -RuleHash::AppendRule(nsICSSStyleRule *) -CSSRuleProcessor::ClearRuleCascades(void) - - -__builtin_new -__builtin_vec_new -nsSupportsArray::GrowArrayBy(int) -nsSupportsArray::InsertElementAt(nsISupports *, unsigned int) -nsSupportsArray::AppendElement(nsISupports *) -CSSRuleProcessor::CascadeSheetRulesInto(nsISupports *, void *) +#---------------------------------------------------------------------- +# +# CSSLoaderImpl +# PR_Malloc @@ -484,6 +301,21 @@ PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), in nsHashtable::nsHashtable(unsigned int, int) CSSLoaderImpl::CSSLoaderImpl(void) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsStr::StrAppend(nsStr &, nsStr const &, unsigned int, int) +nsString::AppendWithConversion(char const *, int) +nsString::AssignWithConversion(char const *) +CSSLoaderImpl::SetCharset(nsString const &) + +#---------------------------------------------------------------------- + PR_Malloc nsMemoryImpl::Alloc(unsigned int) @@ -494,12 +326,15 @@ nsStr::EnsureCapacity(nsStr &, unsigned int) nsStr::GrowCapacity(nsStr &, unsigned int) nsString::SetCapacity(unsigned int) nsString::SetLength(unsigned int) -~.* -~.* -basic_nsAWritableString::Assign(basic_nsAReadableString const &) -nsString::operator=(nsString const &) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::AssignFromReadable(nsAString const &) CSSNameSpaceRuleImpl::SetURLSpec(nsString const &) +#---------------------------------------------------------------------- +# +# nsFont +# + PR_Malloc nsMemoryImpl::Alloc(unsigned int) @@ -513,7 +348,7 @@ nsStr::StrAssign(nsStr &, nsStr const &, unsigned int, int) nsString::nsString(nsString const &) nsFont::nsFont(nsFont const &) - + PR_Malloc nsMemoryImpl::Alloc(unsigned int) nsMemory::Alloc(unsigned int) @@ -521,16 +356,12 @@ nsStr::Alloc(nsStr &, unsigned int) nsStr::Realloc(nsStr &, unsigned int) nsStr::EnsureCapacity(nsStr &, unsigned int) nsStr::GrowCapacity(nsStr &, unsigned int) -nsString::SetCapacity(unsigned int) -nsString::SetLength(unsigned int) -~.* -~.* -basic_nsAWritableString::Append(unsigned short const *) -nsCSSValue::GetStringValue(basic_nsAWritableString &) const -Unquote(nsString &) -Unquote(nsString &) -CSSStyleRuleImpl::MapStyleInto(nsIMutableStyleContext *, nsIPresContext *) -StyleContextImpl::SetStyle(nsStyleStructID, nsStyleStruct const &) +nsStr::StrAppend(nsStr &, nsStr const &, unsigned int, int) +nsString::AppendWithConversion(char const *, int) +nsString::AssignWithConversion(char const *) +nsFont::nsFont(char const *, unsigned char, unsigned char, unsigned short, unsigned char, int, float) + +#---------------------------------------------------------------------- PR_Malloc @@ -542,16 +373,19 @@ nsStr::EnsureCapacity(nsStr &, unsigned int) nsStr::GrowCapacity(nsStr &, unsigned int) nsString::SetCapacity(unsigned int) nsString::SetLength(unsigned int) -~.* -~.* -basic_nsAWritableString::Assign(basic_nsAReadableString const &) -nsString::operator=(nsString const &) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::AssignFromReadable(nsAString const &) CSSImportRuleImpl::SetURLSpec(nsString const &) __builtin_new nsClassList::ParseClasses(nsClassList **, basic_nsAReadableString const &) +# ---------------------------------------------------------------------- +# +# nsLocalFile +# + __builtin_new nsLocalFile::Clone(nsIFile **) @@ -591,6 +425,12 @@ nsMemoryImpl::Alloc(unsigned int) nsMemory::Clone(void const *, unsigned int) nsLocalFile::InitWithPath(char const *) + +PL_strdup +nsLocalFile::ParseURL(char const *, char **, char **, char **, char **) + +# ---------------------------------------------------------------------- + __builtin_new nsXULAttribute::operator new(unsigned int) @@ -768,6 +608,15 @@ __builtin_new __builtin_vec_new nsZipArchive::BuildFileList(void) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) +nsZipReaderCache::GetZip(nsIFile *, nsIZipReader **) + __builtin_new __builtin_vec_new @@ -831,10 +680,10 @@ nsStr::EnsureCapacity(nsStr &, unsigned int) nsStr::GrowCapacity(nsStr &, unsigned int) nsString::SetCapacity(unsigned int) nsString::SetLength(unsigned int) -~.* -~.* -basic_nsAWritableString::Assign(basic_nsAReadableString const &) -nsString::operator=(nsString const &) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::AssignFromReadable(nsAString const &) +nsString::nsString(nsAString const &) +nsNameSpaceMap::Put(nsAString const &, nsIAtom *) RDFXMLDataSourceImpl::AddNameSpace(nsIAtom *, nsString const &) @@ -842,9 +691,14 @@ __builtin_new __builtin_vec_new xptiTypelibGuts::xptiTypelibGuts(XPTHeader *) +# ---------------------------------------------------------------------- +# +# nsFontMetricsGTK +# + __builtin_new -nsDrawingSurfaceGTK type_info function +nsDrawingSurfaceGTK::Init(_GdkGC *, unsigned int, unsigned int, unsigned int) nsFontMetricsGTK::Init(nsFont const &, nsIAtom *, nsIDeviceContext *) @@ -1009,15 +863,52 @@ PR_vsmprintf PR_smprintf nsFontMetricsGTK::SearchNode(nsFontNode *, unsigned short) - + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsFontMetricsGTK::SearchNode(nsFontNode *, unsigned short) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsDrawingSurfaceGTK::Init(_GdkGC *, unsigned int, unsigned int, unsigned int) +nsFontMetricsGTK::Init(nsFont const &, nsIAtom *, nsIDeviceContext *) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsFontMetricsGTK::TryNodes(nsACString &, unsigned short) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsFontMetricsGTK::TryNode(nsCString *, unsigned short) + + __builtin_new -__builtin_vec_new -nsPluginTag::nsPluginTag(nsPluginInfo *) +nsFontMetricsGTK::TryNodes(nsACString &, unsigned short) + +# ---------------------------------------------------------------------- +# +# nsPluginTag +# __builtin_new __builtin_vec_new -nsPluginTag::nsPluginTag(char const *, char const *, char const *, char const *const *, char const *const *, char const *const *, int) +nsPluginTag::nsPluginTag(nsPluginInfo *) __builtin_new @@ -1028,8 +919,13 @@ nsPluginTag::nsPluginTag(nsPluginInfo *) __builtin_new __builtin_vec_new -new_str(char const *) -nsPluginTag::nsPluginTag(char const *, char const *, char const *, char const *const *, char const *const *, char const *const *, int) +nsPluginTag::nsPluginTag(char const *, char const *, char const *, char const *, char const *const *, char const *const *, char const *const *, int, long long) + + +#---------------------------------------------------------------------- +# +# nsXBLInsertionPoint +# __builtin_new @@ -1039,6 +935,43 @@ nsSupportsArray::InsertElementAt(nsISupports *, unsigned int) nsSupportsArray::AppendElement(nsISupports *) nsXBLInsertionPoint::AddChild(nsIContent *) +#---------------------------------------------------------------------- +# +# nsXBLBinding +# + + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableRawAdd +nsHashtable::Put(nsHashKey *, void *) +nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) +nsXBLBinding::GetInsertionPointsFor(nsIContent *, nsISupportsArray **) + + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) +nsHashtable::nsHashtable(unsigned int, int) +nsXBLBinding::GetInsertionPointsFor(nsIContent *, nsISupportsArray **) + + +__builtin_new +nsXBLBinding::GetInsertionPointsFor(nsIContent *, nsISupportsArray **) + +# ---------------------------------------------------------------------- +# +# nsXBLPrototypeBinding +# + + +__builtin_new +nsXBLPrototypeBinding::InitClass(nsCString const &, nsIScriptContext *, void *, void **) + + +__builtin_new +nsXBLPrototypeBinding::ConstructInsertionTable(nsIContent *) + PR_Malloc PL_HashTableFinalize(PLHashTable *) @@ -1111,7 +1044,179 @@ nsFixedSizeAllocator::AddBucket(unsigned int) nsFixedSizeAllocator::Init(char const *, unsigned int const *, int, int, int) nsXBLPrototypeBinding::nsXBLPrototypeBinding(nsACString const &, nsIXBLDocumentInfo *) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsXBLPrototypeBinding::InitClass(nsCString const &, nsIScriptContext *, void *, void **) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsCString::SetCapacity(unsigned int) +nsCString::SetLength(unsigned int) +nsACString::do_AssignFromReadable(nsACString const &) +nsACString::AssignFromReadable(nsACString const &) +nsCString::nsCString(nsACString const &) +nsXBLPrototypeBinding::nsXBLPrototypeBinding(nsACString const &, nsIXBLDocumentInfo *) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +ToNewCString(nsACString const &) +nsXBLJSClass::nsXBLJSClass(nsCString const &) +nsXBLPrototypeBinding::InitClass(nsCString const &, nsIScriptContext *, void *, void **) + + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableRawAdd +nsHashtable::Put(nsHashKey *, void *) +nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) +nsXBLPrototypeBinding::ConstructInterfaceTable(nsIContent *) + + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableRawAdd +nsHashtable::Put(nsHashKey *, void *) +nsXBLPrototypeBinding::InitClass(nsCString const &, nsIScriptContext *, void *, void **) + + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) +nsHashtable::nsHashtable(unsigned int, int) +nsXBLPrototypeBinding::ConstructInsertionTable(nsIContent *) + + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) +nsHashtable::nsHashtable(unsigned int, int) +nsXBLPrototypeBinding::ConstructInterfaceTable(nsIContent *) + +# script + +JS_malloc +js_NewObject +JS_InitClass +nsXBLPrototypeBinding::InitClass(nsCString const &, nsIScriptContext *, void *, void **) + + +JS_malloc +js_InflateString +js_Atomize +JS_DefinePropertyWithTinyId +JS_LookupProperty +nsXBLPrototypeBinding::InitClass(nsCString const &, nsIScriptContext *, void *, void **) + +#---------------------------------------------------------------------- +# +# +# + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsString::SetCapacity(unsigned int) +nsString::SetLength(unsigned int) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::AssignFromReadable(nsAString const &) +nsGenericContainerElement::GetAttr(int, nsIAtom *, nsIAtom *&, nsAString &) const +nsGenericContainerElement::GetAttr(int, nsIAtom *, nsAString &) const +nsXBLPrototypeProperty::ParseProperty(nsIScriptContext *) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsString::SetCapacity(unsigned int) +nsString::SetLength(unsigned int) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::AssignFromReadable(nsAString const &) +nsGenericContainerElement::GetAttr(int, nsIAtom *, nsIAtom *&, nsAString &) const +nsGenericContainerElement::GetAttr(int, nsIAtom *, nsAString &) const +nsXBLPrototypeProperty::ParseMethod(nsIScriptContext *) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsString::SetCapacity(unsigned int) +nsString::SetLength(unsigned int) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::AssignFromReadable(nsAString const &) +nsGenericContainerElement::GetAttr(int, nsIAtom *, nsIAtom *&, nsAString &) const +nsGenericContainerElement::GetAttr(int, nsIAtom *, nsAString &) const +nsXBLPrototypeProperty::ParseField(nsIScriptContext *) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsString::SetCapacity(unsigned int) +nsString::SetLength(unsigned int) +nsAString::do_AppendFromReadable(nsAString const &) +nsAString::AppendFromReadable(nsAString const &) +nsXBLPrototypeProperty::ParseField(nsIScriptContext *) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsCString::SetCapacity(unsigned int) +nsCString::SetLength(unsigned int) +nsACString::do_AppendFromReadable(nsACString const &) +nsACString::do_AppendFromElementPtr(char const *) +nsXBLPrototypeBinding::GetBindingURI(nsCString &) +nsXBLPrototypeProperty::ConstructProperty(nsIContent *, nsIContent *) + + +JS_malloc +js_NewObject +JS_NewObject +XPCWrappedNativeProto::Init(XPCCallContext &, XPCNativeScriptableCreateInfo const *) +XPCWrappedNativeProto::GetNewOrUsed(XPCCallContext &, XPCWrappedNativeScope *, nsIClassInfo *, XPCNativeScriptableCreateInfo const *, int) +XPCWrappedNative::GetNewOrUsed(XPCCallContext &, nsISupports *, XPCWrappedNativeScope *, XPCNativeInterface *, XPCWrappedNative **) +XPCConvert::NativeInterface2JSObject(XPCCallContext &, nsIXPConnectJSObjectHolder **, nsISupports *, nsID const *, JSObject *, unsigned int *) +nsXPConnect::WrapNative(JSContext *, JSObject *, nsISupports *, nsID const &, nsIXPConnectJSObjectHolder **) +nsXBLPrototypeProperty::InitTargetObjects(nsIScriptContext *, nsIContent *, void **, void **) + +# ---------------------------------------------------------------------- +# # The frame arena +# + PR_Malloc PL_ArenaAllocate @@ -1124,6 +1229,13 @@ nsDST::NodeArena::AllocLeafNode(void) nsDST::Insert(void *, void *, void **) PresShell::SetSubShellFor(nsIContent *, nsISupports *) + +PR_Malloc +nsVoidArray::SizeTo(int) +nsVoidArray::GrowArrayBy(int) +nsVoidArray::InsertElementAt(void *, int) +PresShell::AppendReflowCommandInternal(nsIReflowCommand *, nsVoidArray &) + # The anonymous content table in the PresShell PR_Malloc @@ -1148,11 +1260,23 @@ nsHashtable::nsHashtable(unsigned int, int) nsSupportsHashtable::nsSupportsHashtable(unsigned int, int) PresShell::SetAnonymousContentFor(nsIContent *, nsISupportsArray *) + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) +nsHashtable::nsHashtable(unsigned int, int) +PresShell::SetAnonymousContentFor(nsIContent *, nsISupportsArray *) + +# ---------------------------------------------------------------------- +# +# StackArena +# + PR_Malloc StackArena::StackArena(void) - PR_Malloc StackArena::Allocate(unsigned int, void **) @@ -1166,6 +1290,15 @@ __builtin_new __builtin_vec_new StackArena::StackArena(void) + +PR_Malloc +StackArena::Allocate(unsigned int, void **) + +# ---------------------------------------------------------------------- +# +# nsFrameManager +# + PR_Malloc PL_ArenaAllocate @@ -1257,6 +1390,11 @@ PR_NewLock PR_Calloc PR_NewMonitor +# ---------------------------------------------------------------------- +# +# RDFServiceImpl +# + PR_Malloc PL_ArenaFinish @@ -1302,6 +1440,12 @@ PL_ArenaFinish PL_HashTableRawRemove RDFServiceImpl::UnregisterResource(nsIRDFResource *) + +PL_strdup +RDFServiceImpl::RegisterDataSource(nsIRDFDataSource *, int) + +# ---------------------------------------------------------------------- + PR_Malloc nsMemoryImpl::Alloc(unsigned int) @@ -1507,7 +1651,7 @@ PR_Malloc PL_HashTableFinalize(PLHashTable *) PL_HashTableRawAdd nsHashtable::Put(nsHashKey *, void *) -nsHTMLDocument::InvalidateHashTables(void)e +nsHTMLDocument::InvalidateHashTables(void) PR_Malloc @@ -1567,11 +1711,15 @@ nsStr::EnsureCapacity(nsStr &, unsigned int) nsStr::GrowCapacity(nsStr &, unsigned int) nsString::SetCapacity(unsigned int) nsString::SetLength(unsigned int) -~.* -~.* -basic_nsAWritableString::Assign(basic_nsAReadableString const &) -nsString::nsString(basic_nsAReadableString const &) -nsDOMDocumentType::nsDOMDocumentType(basic_nsAReadableString const &, nsIDOMNamedNodeMap *, nsIDOMNamedNodeMap *, basic_nsAReadableString const &, basic_nsAReadableString const &, basic_nsAReadableString const &) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::AssignFromReadable(nsAString const &) +nsString::nsString(nsAString const &) +nsDOMDocumentType::nsDOMDocumentType(nsAString const &, nsIDOMNamedNodeMap *, nsIDOMNamedNodeMap *, nsAString const &, nsAString const &, nsAString const &) + +#---------------------------------------------------------------------- +# +# XPC stuff +# JS_DHashAllocTable @@ -1609,6 +1757,10 @@ JS_DHashTableInit JS_NewDHashTable XPCNativeScriptableSharedMap::XPCNativeScriptableSharedMap(int) + +__builtin_new +XPCNativeScriptableSharedMap::GetNewOrUsed(unsigned int, char *, XPCNativeScriptableInfo *) + JS_DHashAllocTable JS_DHashTableInit @@ -1645,6 +1797,29 @@ JS_DHashTableFinish JS_DHashTableOperate XPCWrappedNativeProto::GetNewOrUsed(XPCCallContext &, XPCWrappedNativeScope *, nsIClassInfo *, XPCNativeScriptableCreateInfo const *, int) + +__builtin_new +XPCWrappedNativeProto::GetNewOrUsed(XPCCallContext &, XPCWrappedNativeScope *, nsIClassInfo *, XPCNativeScriptableCreateInfo const *, int) + + +__builtin_new +__builtin_vec_new +XPCNativeSet::NewInstance(XPCCallContext &, XPCNativeInterface **, unsigned short) +XPCNativeSet::GetNewOrUsed(XPCCallContext &, nsIClassInfo *) +XPCWrappedNativeProto::GetNewOrUsed(XPCCallContext &, XPCWrappedNativeScope *, nsIClassInfo *, XPCNativeScriptableCreateInfo const *, int) + + +__builtin_new +XPCNativeScriptableInfo::Construct(XPCCallContext &, XPCNativeScriptableCreateInfo const *) +XPCWrappedNativeProto::Init(XPCCallContext &, XPCNativeScriptableCreateInfo const *) + + +JS_DHashAllocTable +JS_DHashTableFinish +JS_DHashTableOperate +XPCNativeSet::GetNewOrUsed(XPCCallContext &, nsIClassInfo *) +XPCWrappedNativeProto::GetNewOrUsed(XPCCallContext &, XPCWrappedNativeScope *, nsIClassInfo *, XPCNativeScriptableCreateInfo const *, int) + JS_malloc js_NewObject @@ -1680,6 +1855,8 @@ __builtin_new __builtin_vec_new nsXPCWrappedNativeClass::BuildMemberDescriptors(XPCContext *) +#---------------------------------------------------------------------- + __builtin_new __builtin_vec_new @@ -1728,10 +1905,23 @@ PL_HashTableRawAdd nsHashtable::Put(nsHashKey *, void *) nsProxyEventObject::GetNewOrUsedProxy(nsIEventQueue *, int, nsISupports *, nsID const &) +# ---------------------------------------------------------------------- +# +# nsComponentManagerImpl +# + __builtin_new nsComponentManagerImpl::Init(void) + +__builtin_new +nsComponentManagerImpl::GetServiceByContractID(char const *, nsID const &, void **) + + +__builtin_new +nsComponentManagerImpl::GetService(nsID const &, nsID const &, void **) + PR_Malloc PL_HashTableFinalize(PLHashTable *) @@ -1868,19 +2058,43 @@ PL_HashTableRawAdd nsHashtable::Put(nsHashKey *, void *) nsComponentManagerImpl::HashContractID(char const *, nsFactoryEntry *) - -__builtin_new -nsZipArchive::BuildFileList(void) - - -__builtin_new -nsCStringKey::Clone(void) const - - + PR_Malloc nsMemoryImpl::Alloc(unsigned int) nsMemory::Alloc(unsigned int) nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsComponentManagerImpl::HashContractID(char const *, nsFactoryEntry *) + + +__builtin_new +nsComponentManagerImpl::GetService(char const *, nsID const &, nsISupports **, nsIShutdownListener *) + + +__builtin_new +nsComponentManagerImpl::GetService(nsID const &, nsID const &, nsISupports **, nsIShutdownListener *) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsCString::SetCapacity(unsigned int) +nsCString::SetLength(unsigned int) +nsACString::do_AssignFromReadable(nsACString const &) +nsACString::do_AssignFromElementPtr(char const *) +nsCString::nsCString(char const *) +nsFactoryEntry::nsFactoryEntry(nsID const &, char const *, int) +nsComponentManagerImpl::PlatformPrePopulateRegistry(void) + +# ---------------------------------------------------------------------- + + +__builtin_new +nsZipArchive::BuildFileList(void) __builtin_new @@ -1919,6 +2133,11 @@ nsCStringKey::Clone(void) const nsHashtable::Put(nsHashKey *, void *) nsDrawingSurfaceGTK type_info function +# ---------------------------------------------------------------------- +# +# nsNativeComponentLoader +# + __builtin_new nsNativeComponentLoader::Init(nsIComponentManager *, nsISupports *) @@ -1954,6 +2173,21 @@ PL_HashTableRawAdd nsHashtable::Put(nsHashKey *, void *) nsNativeComponentLoader::CreateDll(nsIFile *, char const *, long long *, long long *, nsDll **) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsNativeComponentLoader::CreateDll(nsIFile *, char const *, long long *, long long *, nsDll **) + + +PL_strdup +nsDll::nsDll(nsIFile *, char const *, long long *, long long *) +nsNativeComponentLoader::CreateDll(nsIFile *, char const *, long long *, long long *, nsDll **) + +# ---------------------------------------------------------------------- + __builtin_new nsCStringKey::Clone(void) const @@ -1992,6 +2226,11 @@ nsHashtable::nsHashtable(unsigned int, int) nsSupportsHashtable::nsSupportsHashtable(unsigned int, int) nsDirectoryService::Init(void) +#---------------------------------------------------------------------- +# +# nsResProtocolHandler +# + __builtin_new nsCStringKey::Clone(void) const @@ -2015,6 +2254,19 @@ nsHashtable::Put(nsHashKey *, void *) nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) nsResProtocolHandler::AppendSubstitution(char const *, char const *) + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableRawAdd +nsHashtable::Put(nsHashKey *, void *) +nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) +nsResProtocolHandler::SetSubstitution(char const *, nsIURI *) + +# ---------------------------------------------------------------------- +# +# nsChromeRegistry +# + __builtin_new nsCStringKey::Clone(void) const @@ -2047,6 +2299,17 @@ nsStdURL::GetSpec(char **) RDFXMLDataSourceImpl::Init(char const *) nsChromeRegistry::LoadDataSource(nsCString const &, nsIRDFDataSource **, int, char const *) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) +nsChromeRegistry::LoadDataSource(nsCString const &, nsIRDFDataSource **, int, char const *) + +# ---------------------------------------------------------------------- + __builtin_new nsCStringKey::Clone(void) const @@ -2074,6 +2337,11 @@ nsZipReaderCache::nsZipReaderCache(void) __builtin_new nsZipReaderCache::GetZip(nsIFile *, nsIZipReader **) +# ---------------------------------------------------------------------- +# +# nsXBLDocumentInfo +# + PR_Malloc PL_HashTableFinalize(PLHashTable *) @@ -2144,6 +2412,38 @@ basic_nsAWritableString::Assign(char const *) nsCString::operator=(char const *) nsXBLDocumentInfo::nsXBLDocumentInfo(char const *, nsIDocument *) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) +nsXBLDocumentInfo::SetPrototypeBinding(nsACString const &, nsIXBLPrototypeBinding *) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsCString::SetCapacity(unsigned int) +nsCString::SetLength(unsigned int) +nsACString::do_AssignFromReadable(nsACString const &) +nsACString::do_AssignFromElementPtr(char const *) +nsXBLDocumentInfo::nsXBLDocumentInfo(char const *, nsIDocument *) + + +__builtin_new +nsXBLDocumentInfo::SetPrototypeBinding(nsACString const &, nsIXBLPrototypeBinding *) + +# ---------------------------------------------------------------------- +# +# nsXULPrototypeCache +# + __builtin_new nsCStringKey::Clone(void) const @@ -2151,6 +2451,14 @@ nsHashtable::Put(nsHashKey *, void *) nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) nsXULPrototypeCache::PutXBLDocumentInfo(nsIXBLDocumentInfo *) + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableRawAdd +nsHashtable::Put(nsHashKey *, void *) +nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) +nsXULPrototypeCache::PutPrototype(nsIXULPrototypeDocument *) + PR_Malloc PL_HashTableFinalize(PLHashTable *) @@ -2182,6 +2490,75 @@ nsHashtable::nsHashtable(unsigned int, int) nsSupportsHashtable::nsSupportsHashtable(unsigned int, int) nsXULPrototypeCache::nsXULPrototypeCache(void) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) +nsXULPrototypeCache::PutXBLDocumentInfo(nsIXBLDocumentInfo *) + + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableRawAdd +nsHashtable::Put(nsHashKey *, void *) +nsXULPrototypeCache::PutScript(nsIURI *, void *) + +# nsXULPrototypeElement + +__builtin_new +XULContentSinkImpl::CreateElement(nsINodeInfo *, nsXULPrototypeElement **) + +# nsXULPrototypeScript + +__builtin_new +XULContentSinkImpl::OpenScript(nsIParserNode const &) + +# nsXULPrototypeScript + +JS_malloc +js_NewObject +JS_NewScriptObject +nsJSContext::CompileScript(unsigned short const *, int, void *, nsIPrincipal *, char const *, unsigned int, char const *, void **) +nsXULPrototypeScript::Compile(unsigned short const *, int, nsIURI *, int, nsIDocument *, nsIXULPrototypeDocument *) + +# nsXULPrototypeScript + +JS_malloc +js_FinishTakingTryNotes +js_NewScriptFromCG +js_EmitFunctionBody +js_EmitTree +js_CompileFunctionBody +js_CompileTokenStream +JS_DefineFunction +JS_CompileUCScriptForPrincipals +nsJSContext::CompileScript(unsigned short const *, int, void *, nsIPrincipal *, char const *, unsigned int, char const *, void **) +nsXULPrototypeScript::Compile(unsigned short const *, int, nsIURI *, int, nsIDocument *, nsIXULPrototypeDocument *) + +# nsXULPrototypeScript + +JS_malloc +js_FinishTakingTryNotes +js_NewScriptFromCG +js_EmitFunctionBody +js_EmitTree +js_EmitTree +js_EmitTree +js_CompileFunctionBody +js_CompileTokenStream +JS_DefineFunction +JS_CompileUCScriptForPrincipals +nsJSContext::CompileScript(unsigned short const *, int, void *, nsIPrincipal *, char const *, unsigned int, char const *, void **) +nsXULPrototypeScript::Compile(unsigned short const *, int, nsIURI *, int, nsIDocument *, nsIXULPrototypeDocument *) + +# ---------------------------------------------------------------------- +# +# nsExternalHelperAppService +# + __builtin_new nsExternalHelperAppService::nsExternalHelperAppService(void) @@ -2207,6 +2584,28 @@ PL_HashTableRawAdd nsHashtable::Put(nsHashKey *, void *) nsExternalHelperAppService::AddMimeInfoToCache(nsIMIMEInfo *) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsExternalHelperAppService::AddMimeInfoToCache(nsIMIMEInfo *) + + +PR_Malloc +nsVoidArray::SizeTo(int) +nsVoidArray::GrowArrayBy(int) +nsVoidArray::InsertElementAt(void *, int) +nsCStringArray::InsertCStringAt(nsCString const &, int) +nsMIMEInfoImpl::SetFileExtensions(char const *) +nsExternalHelperAppService::AddDefaultMimeTypesToCache(void) + +# ---------------------------------------------------------------------- +# +# nsCategoryManager +# + __builtin_new nsCategoryManager::AddCategoryEntry(char const *, char const *, char const *, int, int, char **) @@ -2274,6 +2673,42 @@ PL_HashTableRawAdd nsHashtable::Put(nsHashKey *, void *) nsCategoryManager::AddCategoryEntry(char const *, char const *, char const *, int, int, char **) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsCategoryManager::AddCategoryEntry(char const *, char const *, char const *, int, int, char **) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsCategoryManager::AddCategoryEntry(char const *, char const *, char const *, int, int, char **) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsCString::SetCapacity(unsigned int) +nsCString::SetLength(unsigned int) +nsACString::do_AssignFromReadable(nsACString const &) +nsACString::do_AssignFromElementPtr(char const *) +nsCString::nsCString(char const *) +nsCategoryManager::AddCategoryEntry(char const *, char const *, char const *, int, int, char **) + +# ---------------------------------------------------------------------- +# +# nsScriptNameSpaceManager +# + PR_Malloc PL_HashTableFinalize(PLHashTable *) @@ -2295,6 +2730,15 @@ PL_HashTableRawAdd nsHashtable::Put(nsHashKey *, void *) nsScriptNameSpaceManager::FillHash(nsICategoryManager *, char const *, nsGlobalNameStruct::nametype) + +__builtin_new +nsScriptNameSpaceManager::RegisterClassName(char const *, int) + +# ---------------------------------------------------------------------- +# +# nsScriptSecurityManager +# + PR_Malloc PL_HashTableFinalize(PLHashTable *) @@ -2328,6 +2772,19 @@ nsHashtable::nsHashtable(unsigned int, int) __17nsObjectHashtablePFP9nsHashKeyPvPv_PvPvPFP9nsHashKeyPvPv_iT2Uii nsScriptSecurityManager::EnumeratePolicyCallback(char const *, void *) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsScriptSecurityManager::InitPolicies(unsigned int, char const **, nsISecurityPref *) + +# ---------------------------------------------------------------------- +# +# nsStringBundleService +# + __builtin_new nsCStringKey::Clone(void) const @@ -2353,6 +2810,16 @@ PR_Malloc PL_ArenaAllocate nsStringBundleService::insertIntoCache(nsIStringBundle *, nsCStringKey *) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsStringBundleService::insertIntoCache(nsIStringBundle *, nsCStringKey *) + +# ---------------------------------------------------------------------- + __builtin_new CSSStyleSheetImpl::CSSStyleSheetImpl(void) @@ -2454,10 +2921,23 @@ CSSParserImpl::ParseSelectorGroup(int &, SelectorList *&) __builtin_new CSSParserImpl::ParseContent(int &, nsICSSDeclaration *, int &) +# ---------------------------------------------------------------------- +# +# RuleHash +# + + +__builtin_new +RuleHash::AppendRuleToTable(nsHashtable &, int, nsICSSStyleRule *) + __builtin_new RuleHash::AppendRuleToTable(nsHashtable &, nsIAtom *, nsICSSStyleRule *) + +__builtin_new +RuleHash::AppendRuleToTable(nsHashtable &, nsIAtom *, nsICSSStyleRule *, int) + PR_Malloc PL_HashTableFinalize(PLHashTable *) @@ -2490,6 +2970,18 @@ __builtin_new __builtin_vec_new RuleHash::EnumerateAllRules(nsIAtom *, nsIAtom *, nsVoidArray const &, void (*)(nsICSSStyleRule *, void *), void *) + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableRawAdd +nsHashtable::Put(nsHashKey *, void *) +RuleHash::AppendRuleToTable(nsHashtable &, nsIAtom *, nsICSSStyleRule *, int) + +# ---------------------------------------------------------------------- +# +# nsCSSSelector +# + __builtin_new nsCSSSelector::nsCSSSelector(nsCSSSelector const &) @@ -2510,6 +3002,11 @@ nsAttrSelector::nsAttrSelector(nsAttrSelector const &) nsAttrSelector::nsAttrSelector(nsAttrSelector const &) nsCSSSelector::nsCSSSelector(nsCSSSelector const &) +# ---------------------------------------------------------------------- +# +# StyleSetImpl +# + __builtin_new CSSStyleSheetImpl::GetStyleRuleProcessor(nsIStyleRuleProcessor *&, nsIStyleRuleProcessor *) @@ -2553,6 +3050,31 @@ nsHTMLBodyElement::WalkInlineStyleRules(nsIRuleWalker *) HTMLCSSStyleSheetImpl::RulesMatching(nsIPresContext *, nsIAtom *, nsIContent *, nsIStyleContext *, nsIRuleWalker *) StyleSetImpl::ReplaceBackstopStyleSheets(nsISupportsArray *) + +__builtin_new +__builtin_vec_new +nsSupportsArray::GrowArrayBy(int) +nsSupportsArray::InsertElementAt(nsISupports *, unsigned int) +nsSupportsArray::AppendElement(nsISupports *) +CSSRuleProcessor::CascadeSheetRulesInto(nsISupports *, void *) +nsSupportsArray::EnumerateBackwards(int (*)(nsISupports *, void *), void *) +CSSRuleProcessor::CascadeSheetRulesInto(nsISupports *, void *) +CSSRuleProcessor::GetRuleCascade(nsIPresContext *, nsIAtom *) +CSSRuleProcessor::RulesMatching(nsIPresContext *, nsIAtom *, nsIContent *, nsIStyleContext *, nsIRuleWalker *) +StyleSetImpl::ReplaceBackstopStyleSheets(nsISupportsArray *) + + +__builtin_new +__builtin_vec_new +nsSupportsArray::GrowArrayBy(int) +nsSupportsArray::InsertElementAt(nsISupports *, unsigned int) +nsSupportsArray::AppendElement(nsISupports *) +CSSRuleProcessor::AppendStyleSheet(nsICSSStyleSheet *) +CSSStyleSheetImpl::GetStyleRuleProcessor(nsIStyleRuleProcessor *&, nsIStyleRuleProcessor *) +StyleSetImpl::ClearOverrideRuleProcessors(void) + +//---------------------------------------------------------------------- + PR_Malloc nsMemoryImpl::Alloc(unsigned int) @@ -2569,6 +3091,32 @@ basic_nsAWritableString::Assign(basic_nsAReadableString +__builtin_new +__builtin_vec_new +nsSupportsArray::GrowArrayBy(int) +nsSupportsArray::InsertElementAt(nsISupports *, unsigned int) +nsSupportsArray::AppendElement(nsISupports *) +CSSRuleProcessor::CascadeSheetRulesInto(nsISupports *, void *) +nsSupportsArray::EnumerateBackwards(int (*)(nsISupports *, void *), void *) +CSSRuleProcessor::CascadeSheetRulesInto(nsISupports *, void *) +CSSRuleProcessor::GetRuleCascade(nsIPresContext *, nsIAtom *) +CSSRuleProcessor::RulesMatching(nsIPresContext *, nsIAtom *, nsIContent *, nsIAtom *, nsIStyleContext *, nsICSSPseudoComparator *, nsIRuleWalker *) +StyleSetImpl::ResolveStyleFor(nsIPresContext *, nsIContent *, nsIStyleContext *, int) + + +PR_Malloc +nsVoidArray::SizeTo(int) +nsVoidArray::GrowArrayBy(int) +nsVoidArray::InsertElementAt(void *, int) +CSSRuleProcessor::ClearRuleCascades(void) +nsSupportsArray::EnumerateBackwards(int (*)(nsISupports *, void *), void *) +CSSRuleProcessor::GetRuleCascade(nsIPresContext *, nsIAtom *) +CSSRuleProcessor::RulesMatching(nsIPresContext *, nsIAtom *, nsIContent *, nsIAtom *, nsIStyleContext *, nsICSSPseudoComparator *, nsIRuleWalker *) +StyleSetImpl::ResolveStyleFor(nsIPresContext *, nsIContent *, nsIStyleContext *, int) + +# ---------------------------------------------------------------------- + PR_Malloc PL_HashTableFinalize(PLHashTable *) @@ -2643,6 +3191,11 @@ nsMemoryImpl::Alloc(unsigned int) nsMemory::Alloc(unsigned int) nsStringKey::Clone(void) const +#---------------------------------------------------------------------- +# +# nsTextFragment +# + PR_Malloc nsMemoryImpl::Alloc(unsigned int) @@ -2664,6 +3217,50 @@ char * AllocateStringCopy(basic_nsAReadableString const &) nsTextFragment::operator=(basic_nsAReadableString const &) +#---------------------------------------------------------------------- +# +# nsTextBoxFrame +# + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsString::SetCapacity(unsigned int) +nsString::SetLength(unsigned int) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::AssignFromReadable(nsAString const &) +nsTextBoxFrame::UpdateAttributes(nsIPresContext *, nsIAtom *, int &, int &) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsString::SetCapacity(unsigned int) +nsString::SetLength(unsigned int) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::AssignFromReadable(nsAString const &) +nsTextBoxFrame::CalculateTitleForWidth(nsIPresContext *, nsIRenderingContext &, int) + +# ---------------------------------------------------------------------- +# +# nsPopupSetFrame +# + + +__builtin_new +nsPopupSetFrame::AddPopupFrame(nsIFrame *) + +#---------------------------------------------------------------------- + PR_Malloc nsMemoryImpl::Alloc(unsigned int) @@ -2925,6 +3522,11 @@ setlocale setlocale nsUNIXCharset::nsUNIXCharset(void) +# ---------------------------------------------------------------------- +# +# nsLocaleService +# + textdomain textdomain @@ -2938,19 +3540,39 @@ setlocale setlocale nsLocaleService::nsLocaleService(void) - + PR_Malloc PL_ArenaFinish PL_NewHashTable nsLocale::nsLocale(void) - + PR_Malloc PL_ArenaFinish PL_HashTableRawAdd PL_HashTableAdd nsLocale::AddCategory(unsigned short const *, unsigned short const *) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsString::SetCapacity(unsigned int) +nsString::SetLength(unsigned int) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::do_AssignFromElementPtr(unsigned short const *) +nsString::nsString(unsigned short const *) +nsLocale::AddCategory(unsigned short const *, unsigned short const *) + +# ---------------------------------------------------------------------- +# +# nsServiceManagerImpl (obsolete?) +# + __builtin_new nsServiceManagerImpl::nsServiceManagerImpl(void) @@ -2986,6 +3608,11 @@ PL_HashTableRawAdd nsHashtable::Put(nsHashKey *, void *) nsServiceManagerImpl::GetService(nsID const &, nsID const &, nsISupports **, nsIShutdownListener *) +#---------------------------------------------------------------------- +# +# nsXMLElement +# + __builtin_new nsGenericContainerElement::SetAttribute(nsINodeInfo *, basic_nsAReadableString const &, int) @@ -3001,10 +3628,78 @@ __builtin_new nsGenericContainerElement::SetAttr(nsINodeInfo *, nsAString const &, int) nsXMLElement::SetAttr(nsINodeInfo *, nsAString const &, int) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsString::SetCapacity(unsigned int) +nsString::SetLength(unsigned int) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::AssignFromReadable(nsAString const &) +nsString::nsString(nsAString const &) +nsGenericContainerElement::SetAttr(nsINodeInfo *, nsAString const &, int) +nsXMLElement::SetAttr(nsINodeInfo *, nsAString const &, int) + + +PR_Malloc +nsVoidArray::SizeTo(int) +nsAutoVoidArray::SizeTo(int) +nsVoidArray::GrowArrayBy(int) +nsVoidArray::InsertElementAt(void *, int) +nsCheapVoidArray::AppendElement(void *) +nsGenericContainerElement::AppendChildTo(nsIContent *, int, int) +nsXMLContentSink::AddContentAsLeaf(nsIContent *) + +#---------------------------------------------------------------------- +# +# nsXMLDocument +# + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsString::SetCapacity(unsigned int) +nsString::SetLength(unsigned int) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::AssignFromReadable(nsAString const &) +nsDocument::nsDocument(void) +nsMarkupDocument::nsMarkupDocument(void) +nsXMLDocument::nsXMLDocument(void) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsStr::StrAppend(nsStr &, nsStr const &, unsigned int, int) +nsString::AppendWithConversion(char const *, int) +nsString::AssignWithConversion(char const *) +nsDocument::StartDocumentLoad(char const *, nsIChannel *, nsILoadGroup *, nsISupports *, nsIStreamListener **, int) +nsXMLDocument::StartDocumentLoad(char const *, nsIChannel *, nsILoadGroup *, nsISupports *, nsIStreamListener **, int) + +#---------------------------------------------------------------------- + __builtin_new nsGCCache::nsGCCache(void) +#---------------------------------------------------------------------- +# +# prefs +# + _init PL_HashTableRawAdd @@ -3030,6 +3725,22 @@ nsPref::nsPref(void) PREF_RegisterCallback + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsStr::StrAppend(nsStr &, nsStr const &, unsigned int, int) +nsStr::StrAssign(nsStr &, nsStr const &, unsigned int, int) +nsCString::nsCString(nsCString const &) +nsCStringArray::InsertCStringAt(nsCString const &, int) +nsPrefBranch::AddObserver(char const *, nsIObserver *) + +#---------------------------------------------------------------------- + PR_Calloc PR_SetThreadPrivate @@ -3057,6 +3768,11 @@ nsVoidArray::InsertElementAt(void *, int) nsCheapVoidArray::AppendElement(void *) nsGenericContainerElement::AppendChildTo(nsIContent *, int, int) +#---------------------------------------------------------------------- +# +# nsObserverService +# + PR_Malloc PL_HashTableFinalize(PLHashTable *) @@ -3102,6 +3818,16 @@ PL_HashTableRawAdd nsHashtable::Put(nsHashKey *, void *) nsObserverService::GetObserverList(nsString const &, nsIObserverList **) + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) +nsHashtable::nsHashtable(unsigned int, int) +nsObjectHashtable::nsObjectHashtable(void *(*)(nsHashKey *, void *, void *), void *, int (*)(nsHashKey *, void *, void *), void *, unsigned int, int) +nsObserverService::GetObserverList(char const *, nsObserverList **) + +#---------------------------------------------------------------------- + PR_Malloc PL_HashTableFinalize(PLHashTable *) @@ -3201,11 +3927,10 @@ nsStr::EnsureCapacity(nsStr &, unsigned int) nsStr::GrowCapacity(nsStr &, unsigned int) nsString::SetCapacity(unsigned int) nsString::SetLength(unsigned int) -~.* -~.* -basic_nsAWritableString::Assign(basic_nsAReadableString const &) -nsString::nsString(basic_nsAReadableString const &) -NameSpaceManagerImpl::RegisterNameSpace(basic_nsAReadableString const &, int &) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::AssignFromReadable(nsAString const &) +nsString::nsString(nsAString const &) +NameSpaceManagerImpl::RegisterNameSpace(nsAString const &, int &) __builtin_new @@ -3495,6 +4220,11 @@ nsXPIDLString type_info function nsXPIDLString type_info function nsTextFormatter::vsmprintf(unsigned short const *, void *) +#---------------------------------------------------------------------- +# +# nsPresContext +# + PR_Malloc PL_HashTableFinalize(PLHashTable *) @@ -3502,80 +4232,115 @@ PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), in nsHashtable::nsHashtable(unsigned int, int) nsPresContext::nsPresContext(void) - -__builtin_new -nsPresState::SetStateProperty(basic_nsAReadableString const &, basic_nsAReadableString const &) - - -__builtin_new -nsPresState::SetStatePropertyAsSupports(basic_nsAReadableString const &, nsISupports *) - - + PR_Malloc PL_HashTableFinalize(PLHashTable *) PL_HashTableRawAdd nsHashtable::Put(nsHashKey *, void *) nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) -nsPresState::SetStatePropertyAsSupports(basic_nsAReadableString const &, nsISupports *) - - -PR_Malloc -PL_HashTableFinalize(PLHashTable *) -PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) -nsHashtable::nsHashtable(unsigned int, int) -nsSupportsHashtable::nsSupportsHashtable(unsigned int, int) -nsPresState::SetStateProperty(basic_nsAReadableString const &, basic_nsAReadableString const &) - - -PR_Malloc -PL_HashTableFinalize(PLHashTable *) -PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) -nsHashtable::nsHashtable(unsigned int, int) -nsSupportsHashtable::nsSupportsHashtable(unsigned int, int) -nsPresState::SetStatePropertyAsSupports(basic_nsAReadableString const &, nsISupports *) - - -PR_Malloc -PL_HashTableFinalize(PLHashTable *) -PL_HashTableRawAdd -nsHashtable::Put(nsHashKey *, void *) -nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) -nsPresState::SetStateProperty(basic_nsAReadableString const &, basic_nsAReadableString const &) - - -PR_Malloc -nsMemoryImpl::Alloc(unsigned int) -nsMemory::Alloc(unsigned int) -nsSupportsWStringImpl::SetDataWithLength(unsigned int, unsigned short const *) -nsSupportsWStringImpl::SetData(unsigned short const *) -nsPresState::SetStateProperty(basic_nsAReadableString const &, basic_nsAReadableString const &) - - -__builtin_new -nsStringKey::Clone(void) const -nsHashtable::Put(nsHashKey *, void *) -nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) -nsPresState::SetStatePropertyAsSupports(basic_nsAReadableString const &, nsISupports *) - - -__builtin_new -nsStringKey::Clone(void) const -nsHashtable::Put(nsHashKey *, void *) -nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) -nsPresState::SetStateProperty(basic_nsAReadableString const &, basic_nsAReadableString const &) - - -PR_Malloc -nsMemoryImpl::Alloc(unsigned int) -nsMemory::Alloc(unsigned int) -nsSupportsWStringImpl::SetDataWithLength(unsigned int, unsigned short const *) -nsSupportsWStringImpl::SetData(unsigned short const *) -nsPresState::SetStateProperty(basic_nsAReadableString const &, basic_nsAReadableString const &) +nsPresContext::LoadImage(nsString const &, nsIFrame *, imgIRequest **) #---------------------------------------------------------------------- + + +__builtin_new +nsPresState::SetStateProperty(basic_nsAReadableString const &, basic_nsAReadableString const &) + + +__builtin_new +nsPresState::SetStatePropertyAsSupports(basic_nsAReadableString const &, nsISupports *) + + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableRawAdd +nsHashtable::Put(nsHashKey *, void *) +nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) +nsPresState::SetStatePropertyAsSupports(basic_nsAReadableString const &, nsISupports *) + + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) +nsHashtable::nsHashtable(unsigned int, int) +nsSupportsHashtable::nsSupportsHashtable(unsigned int, int) +nsPresState::SetStateProperty(basic_nsAReadableString const &, basic_nsAReadableString const &) + + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) +nsHashtable::nsHashtable(unsigned int, int) +nsSupportsHashtable::nsSupportsHashtable(unsigned int, int) +nsPresState::SetStatePropertyAsSupports(basic_nsAReadableString const &, nsISupports *) + + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableRawAdd +nsHashtable::Put(nsHashKey *, void *) +nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) +nsPresState::SetStateProperty(basic_nsAReadableString const &, basic_nsAReadableString const &) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsSupportsWStringImpl::SetDataWithLength(unsigned int, unsigned short const *) +nsSupportsWStringImpl::SetData(unsigned short const *) +nsPresState::SetStateProperty(basic_nsAReadableString const &, basic_nsAReadableString const &) + + +__builtin_new +nsStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) +nsPresState::SetStatePropertyAsSupports(basic_nsAReadableString const &, nsISupports *) + + +__builtin_new +nsStringKey::Clone(void) const +nsHashtable::Put(nsHashKey *, void *) +nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) +nsPresState::SetStateProperty(basic_nsAReadableString const &, basic_nsAReadableString const &) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsSupportsWStringImpl::SetDataWithLength(unsigned int, unsigned short const *) +nsSupportsWStringImpl::SetData(unsigned short const *) +nsPresState::SetStateProperty(basic_nsAReadableString const &, basic_nsAReadableString const &) + +# ---------------------------------------------------------------------- +# +# Prefs stuff +# + + +PL_strdup +pref_HashPref + + +PL_strdup +PREF_LockPref + + +PL_strdup +PREF_RegisterCallback + +#---------------------------------------------------------------------- +# # Imagelib Stuff # + +PR_Malloc +nsVoidArray::SizeTo(int) +nsVoidArray::GrowArrayBy(int) +nsVoidArray::InsertElementAt(void *, int) +imgRequest::AddProxy(imgRequestProxy *) + __builtin_new ImageRequestImpl::AddObserver(nsIImageRequestObserver *) @@ -3790,6 +4555,14 @@ nsHashtable::nsHashtable(unsigned int, int) __17nsObjectHashtablePFP9nsHashKeyPvPv_PvPvPFP9nsHashKeyPvPv_iT2Uii nsJAR::nsJAR(void) + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) +nsHashtable::nsHashtable(unsigned int, int) +nsObjectHashtable::nsObjectHashtable(void *(*)(nsHashKey *, void *, void *), void *, int (*)(nsHashKey *, void *, void *), void *, unsigned int, int) +nsJAR::nsJAR(void) + PR_Malloc nsMemoryImpl::Alloc(unsigned int) @@ -3855,6 +4628,11 @@ nsDNSLookup::Init(char const *) __builtin_new nsDNSLookup::Create(char const *) +# ---------------------------------------------------------------------- +# +# nsFormControlList +# + PR_Malloc PL_HashTableFinalize(PLHashTable *) @@ -3889,6 +4667,19 @@ nsHashtable::nsHashtable(unsigned int, int) nsSupportsHashtable::nsSupportsHashtable(unsigned int, int) nsFormControlList::AddElementToTable(nsIFormControl *, basic_nsAReadableString const &) + +PR_Malloc +PL_HashTableFinalize(PLHashTable *) +PL_HashTableRawAdd +nsHashtable::Put(nsHashKey *, void *) +nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) +nsFormControlList::AddElementToTable(nsIFormControl *, nsAString const &) + +# ---------------------------------------------------------------------- +# +# nsControllerCommandManager +# + __builtin_new __builtin_vec_new @@ -3946,6 +4737,11 @@ nsGenericElement::GetDOMSlots(void) __builtin_new HTMLAttribute::CopyHTMLAttributes(HTMLAttribute *, HTMLAttribute **) +# ---------------------------------------------------------------------- +# +# HTMLAttributesImpl +# + __builtin_new HTMLAttributesImpl::SetAttributeFor(nsIAtom *, nsAString const &, int, nsIHTMLContent *, nsIHTMLStyleSheet *) @@ -3964,6 +4760,23 @@ __builtin_new nsHTMLMappedAttributes::SetAttribute(nsIAtom *, nsHTMLValue const &) HTMLAttributesImpl::SetAttributeFor(nsIAtom *, nsHTMLValue const &, int, nsIHTMLContent *, nsIHTMLStyleSheet *, int &) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCRT::strndup(unsigned short const *, unsigned int) +nsCRT::strdup(unsigned short const *) +nsHTMLValue::nsHTMLValue(nsHTMLValue const &) +HTMLAttributesImpl::SetAttributeFor(nsIAtom *, nsHTMLValue const &, int, nsIHTMLContent *, nsIHTMLStyleSheet *, int &) + + +__builtin_new +nsHTMLMappedAttributes::nsHTMLMappedAttributes(nsHTMLMappedAttributes const &) +nsHTMLMappedAttributes::Clone(nsHTMLMappedAttributes **) const +HTMLAttributesImpl::EnsureSingleMappedFor(nsIHTMLContent *, nsIHTMLStyleSheet *, int) + +# ---------------------------------------------------------------------- + __builtin_new nsLineBox::SetCombinedArea(nsRect const &) @@ -4035,6 +4848,10 @@ nsFloaterCacheFreeList::Alloc(void) __builtin_new nsDocLoaderImpl::AddChannelInfo(nsIChannel *) + +__builtin_new +nsDocLoaderImpl::AddRequestInfo(nsIRequest *) + PR_Malloc PL_ArenaAllocate @@ -4149,19 +4966,26 @@ XULContentSinkImpl::AddAttributes(nsIParserNode const &, nsXULPrototypeElement * # objects, and it also allocates an array of bytes to use for # XPCNativeInterface objects. Trace would be the same for each. # - + __builtin_new __builtin_vec_new XPCNativeInterface::NewInstance(XPCCallContext &, nsIInterfaceInfo *) + +JS_DHashAllocTable +JS_DHashTableFinish +JS_DHashTableOperate +XPCNativeInterface::GetNewOrUsed(XPCCallContext &, nsID const *) + __builtin_new __builtin_vec_new nsDiskCacheBlockFile::Open(nsILocalFile *, unsigned int) - -__builtin_new -nsAssignmentSet::Add(nsAssignment const &) +#---------------------------------------------------------------------- +# +# nsConflictSet +# __builtin_new @@ -4233,6 +5057,17 @@ nsFixedSizeAllocator::AddBucket(unsigned int) nsFixedSizeAllocator::Init(char const *, unsigned int const *, int, int, int) nsConflictSet::Init(void) +#---------------------------------------------------------------------- + + +__builtin_new +nsAssignmentSet::Add(nsAssignment const &) + +#---------------------------------------------------------------------- +# +# nsXULTemplateBuilder +# + __builtin_new nsXULTemplateBuilder::CompileSimpleRule(nsIContent *, int, InnerNode *) @@ -4253,15 +5088,38 @@ PL_DHashTableFinish PL_DHashTableOperate nsXULContentBuilder::BuildContentFromTemplate(nsIContent *, nsIContent *, nsIContent *, int, nsIRDFResource *, int, nsTemplateMatch *, nsIContent **, int *) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsCRT::strndup(unsigned short const *, unsigned int) +nsCRT::strdup(unsigned short const *) +nsXULTemplateBuilder::AddBindingsFor(nsXULTemplateBuilder *, nsAString const &, void *) + +#---------------------------------------------------------------------- +# +# nsRuleNetwork +# + PL_DHashAllocTable PL_DHashTableInit nsRuleNetwork::Init(void) +#---------------------------------------------------------------------- +# +# nsTemplateRule +# + __builtin_new nsTemplateRule::AddBinding(int, nsIRDFResource *, int) +#---------------------------------------------------------------------- +# +# nsTemplateMatch +# + __builtin_new nsAssignmentSet::Add(nsAssignment const &) @@ -4280,16 +5138,20 @@ PL_ArenaAllocate nsFixedSizeAllocator::Alloc(unsigned int) nsRDFConMemberTestNode::FilterInstantiations(InstantiationSet &, void *) const - -__builtin_new -__builtin_vec_new -XULContentSinkImpl::CloseContainer(nsIParserNode const &) +#---------------------------------------------------------------------- __builtin_new __builtin_vec_new ReteNodeSet::Add(ReteNode *) +#---------------------------------------------------------------------- + + +__builtin_new +__builtin_vec_new +XULContentSinkImpl::CloseContainer(nsIParserNode const &) + __builtin_new __builtin_vec_new @@ -4370,6 +5232,11 @@ nsCRT::strndup(unsigned short const *, unsigned int) nsCRT::strdup(unsigned short const *) nsCSSValue::operator=(nsCSSValue const &) +#---------------------------------------------------------------------- +# +# nsXULDocument +# + PR_Realloc nsVoidArray::SizeTo(int) @@ -4449,6 +5316,16 @@ nsHashtable::Put(nsHashKey *, void *) nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) nsXULDocument::AddReference(void *, nsISupports *) + +__builtin_new +__builtin_vec_new +nsSupportsArray::GrowArrayBy(int) +nsSupportsArray::InsertElementAt(nsISupports *, unsigned int) +nsSupportsArray::AppendElement(nsISupports *) +nsXULDocument::PrepareToWalk(void) + +#---------------------------------------------------------------------- + PR_Malloc nsMemoryImpl::Alloc(unsigned int) @@ -4479,13 +5356,6 @@ nsHashtable::nsHashtable(unsigned int, int) nsRuleNode::Transition(nsIStyleRule *, nsIRuleNode **) nsRuleWalker::Forward(nsIStyleRule *) -# -# Doesn't inherit nsISupports, so vtable is not in expected location. -# - -__builtin_new -XULContentSinkImpl::CreateElement(nsINodeInfo *, nsXULPrototypeElement **) - # # Doesn't inherit nsISupports # @@ -4511,24 +5381,7 @@ nsCheapVoidArray::SwitchToVector(void) __builtin_new nsEventListenerManager::GetListenersByType(EventArrayType, nsHashKey *, int) - -PR_Malloc -PL_HashTableFinalize(PLHashTable *) -PL_HashTableRawAdd -nsHashtable::Put(nsHashKey *, void *) -nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) -nsXBLBinding::GetInsertionPointsFor(nsIContent *, nsISupportsArray **) - - -PR_Malloc -PL_HashTableFinalize(PLHashTable *) -PL_HashTableInit(PLHashTable *, unsigned int, unsigned int (*)(void const *), int (*)(void const *, void const *), int (*)(void const *, void const *), PLHashAllocOps const *, void *) -nsHashtable::nsHashtable(unsigned int, int) -nsXBLBinding::GetInsertionPointsFor(nsIContent *, nsISupportsArray **) - - -__builtin_new -nsXBLBinding::GetInsertionPointsFor(nsIContent *, nsISupportsArray **) +#---------------------------------------------------------------------- PR_Malloc @@ -4558,6 +5411,11 @@ PL_ArenaAllocate nsFixedSizeAllocator::Alloc(unsigned int) nsXBLPrototypeBinding::ConstructAttributeTable(nsIContent *) +#---------------------------------------------------------------------- +# +# nsRuleNode +# + PR_Malloc PL_HashTableFinalize(PLHashTable *) @@ -4566,6 +5424,50 @@ nsHashtable::Put(nsHashKey *, void *) nsSupportsHashtable::Put(nsHashKey *, nsISupports *, nsISupports **) nsRuleNode::Transition(nsIStyleRule *, nsIRuleNode **) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsString::SetCapacity(unsigned int) +nsString::SetLength(unsigned int) +nsAString::do_AppendFromReadable(nsAString const &) +nsAString::do_AppendFromElementPtr(unsigned short const *) +nsRuleNode::ComputeDisplayData(nsStyleStruct *, nsCSSStruct const &, nsIStyleContext *, nsRuleNode *, nsRuleNode::RuleDetail const &, int) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsString::SetCapacity(unsigned int) +nsString::SetLength(unsigned int) +nsAString::do_AppendFromReadable(nsAString const &) +nsAString::do_AppendFromElementPtr(unsigned short const *) +nsRuleNode::ComputeBackgroundData(nsStyleStruct *, nsCSSStruct const &, nsIStyleContext *, nsRuleNode *, nsRuleNode::RuleDetail const &, int) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsString::SetCapacity(unsigned int) +nsString::SetLength(unsigned int) +nsAString::do_AppendFromReadable(nsAString const &) +nsAString::do_AppendFromElementPtr(unsigned short const *) +nsRuleNode::ComputeListData(nsStyleStruct *, nsCSSStruct const &, nsIStyleContext *, nsRuleNode *, nsRuleNode::RuleDetail const &, int) + +#---------------------------------------------------------------------- + PL_DHashAllocTable PL_DHashTableFinish @@ -4652,6 +5554,20 @@ PresShell::AllocateFrame(unsigned int, void **) nsPresContext::AllocateFromShell(unsigned int, void **) nsRuleNode::ComputeBackgroundData(nsStyleStruct *, nsCSSStruct const &, nsIStyleContext *, nsRuleNode *, nsRuleNode::RuleDetail const &, int) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsString::SetCapacity(unsigned int) +nsString::SetLength(unsigned int) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::AssignFromReadable(nsAString const &) +nsStyleBackground::nsStyleBackground(nsStyleBackground const &) + # XXX this'll may be subsumed as nsResetStyleData PR_Malloc @@ -4660,8 +5576,107 @@ PresShell::AllocateFrame(unsigned int, void **) nsPresContext::AllocateFromShell(unsigned int, void **) nsRuleNode::ComputeDisplayData(nsStyleStruct *, nsCSSStruct const &, nsIStyleContext *, nsRuleNode *, nsRuleNode::RuleDetail const &, int) + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsString::SetCapacity(unsigned int) +nsString::SetLength(unsigned int) +nsAString::do_AssignFromReadable(nsAString const &) +nsAString::AssignFromReadable(nsAString const &) +nsStyleDisplay::nsStyleDisplay(nsStyleDisplay const &) + PR_Malloc FrameArena::AllocateFrame(unsigned int, void **) -# ---------------------------------------------------------------------- \ No newline at end of file +# ---------------------------------------------------------------------- +# +# nsCacheService +# + + +__builtin_new +nsCacheService::ActivateEntry(nsCacheRequest *, nsCacheEntry **) + + +__builtin_new +nsCacheEntry::CreateDescriptor(nsCacheRequest *, int, nsICacheEntryDescriptor **) +nsCacheService::ProcessRequest(nsCacheRequest *, int, nsICacheEntryDescriptor **) + + +PR_Malloc +nsMemoryImpl::Alloc(unsigned int) +nsMemory::Alloc(unsigned int) +nsStr::Alloc(nsStr &, unsigned int) +nsStr::Realloc(nsStr &, unsigned int) +nsStr::EnsureCapacity(nsStr &, unsigned int) +nsStr::GrowCapacity(nsStr &, unsigned int) +nsCString::SetCapacity(unsigned int) +nsCString::SetLength(unsigned int) +nsACString::do_AppendFromReadable(nsACString const &) +nsACString::do_AppendFromElementPtr(char const *) +nsCacheService::CreateRequest(nsCacheSession *, char const *, int, int, nsICacheListener *, nsCacheRequest **) + +# ---------------------------------------------------------------------- + + +PR_Malloc +PL_ArenaFinish +PL_HashTableRawAdd +PL_HashTableAdd +nsXMLMIMEDataSource::InitFromFile(nsIFile *) + +#---------------------------------------------------------------------- +# +# nsRegion +# + + +__builtin_new +__builtin_vec_new +RgnRectMemoryAllocator::RgnRectMemoryAllocator(unsigned int) +nsRegion::Offset(int, int) + + +__builtin_new +__builtin_vec_new +RgnRectMemoryAllocator::Alloc(void) +nsRegion::Or(nsRegion const &, nsRectFast const &) + + +#---------------------------------------------------------------------- +# +# nsCharsetMenu +# + + +__builtin_new +__builtin_vec_new +nsSupportsArray::GrowArrayBy(int) +nsSupportsArray::InsertElementAt(nsISupports *, unsigned int) +nsSupportsArray::AppendElement(nsISupports *) +nsCharsetConverterManager::GetRegistryEnumeration2(char *, int, nsISupportsArray **) +nsCharsetConverterManager::GetEncoderList(nsISupportsArray **) +nsCharsetMenu::InitResources(void) + + +__builtin_new +nsCharsetMenu::AddCharsetToItemArray(nsVoidArray *, nsIAtom *, nsMenuEntry **, int) + +#---------------------------------------------------------------------- +# +# nsLoadGroup +# + + +__builtin_new +__builtin_vec_new +nsSupportsArray::GrowArrayBy(int) +nsSupportsArray::InsertElementAt(nsISupports *, unsigned int) +nsSupportsArray::AppendElement(nsISupports *) +nsLoadGroup::AddRequest(nsIRequest *, nsISupports *)