/dports/www/firefox-esr/firefox-91.8.0/dom/xul/ |
H A D | nsXULPrototypeDocument.cpp | 214 aArray.AppendElement(aPrototype->mNodeInfo); in GetNodeInfos() 219 for (i = 0; i < aPrototype->mAttributes.Length(); ++i) { in GetNodeInfos() 221 nsAttrName* name = &aPrototype->mAttributes[i].mName; in GetNodeInfos() 235 for (i = 0; i < aPrototype->mChildren.Length(); ++i) { in GetNodeInfos() 236 nsXULPrototypeNode* child = aPrototype->mChildren[i]; in GetNodeInfos() 451 aPrototype->mHasIdAttribute = aElement->HasID(); in RebuildPrototypeFromElement() 458 aPrototype->mNodeInfo = newNodeInfo; in RebuildPrototypeFromElement() 461 aPrototype->mAttributes.Clear(); in RebuildPrototypeFromElement() 465 aPrototype->mAttributes.AppendElements(count); in RebuildPrototypeFromElement() 487 aPrototype->mIsAtom = isAtom; in RebuildPrototypeFromElement() [all …]
|
H A D | nsXULElement.cpp | 202 if (aPrototype->mHasIdAttribute) { in CreateFromPrototype() 205 if (aPrototype->mHasClassAttribute) { in CreateFromPrototype() 208 if (aPrototype->mHasStyleAttribute) { in CreateFromPrototype() 212 element->MakeHeavyweight(aPrototype); in CreateFromPrototype() 217 for (const auto& attribute : aPrototype->mAttributes) { in CreateFromPrototype() 233 MOZ_ASSERT(aPrototype != nullptr, "null ptr"); in CreateFromPrototype() 234 if (!aPrototype) return NS_ERROR_NULL_POINTER; in CreateFromPrototype() 241 mozilla::dom::NodeInfo* ni = aPrototype->mNodeInfo; in CreateFromPrototype() 245 nodeInfo = aPrototype->mNodeInfo; in CreateFromPrototype() 1122 if (!aPrototype) { in MakeHeavyweight() [all …]
|
/dports/www/firefox/firefox-99.0/dom/xul/ |
H A D | nsXULPrototypeDocument.cpp | 210 aArray.AppendElement(aPrototype->mNodeInfo); in GetNodeInfos() 215 for (i = 0; i < aPrototype->mAttributes.Length(); ++i) { in GetNodeInfos() 217 nsAttrName* name = &aPrototype->mAttributes[i].mName; in GetNodeInfos() 231 for (i = 0; i < aPrototype->mChildren.Length(); ++i) { in GetNodeInfos() 232 nsXULPrototypeNode* child = aPrototype->mChildren[i]; in GetNodeInfos() 432 aPrototype->mHasIdAttribute = aElement->HasID(); in RebuildPrototypeFromElement() 439 aPrototype->mNodeInfo = newNodeInfo; in RebuildPrototypeFromElement() 442 aPrototype->mAttributes.Clear(); in RebuildPrototypeFromElement() 446 aPrototype->mAttributes.AppendElements(count); in RebuildPrototypeFromElement() 468 aPrototype->mIsAtom = isAtom; in RebuildPrototypeFromElement() [all …]
|
H A D | nsXULElement.cpp | 207 if (aPrototype->mHasIdAttribute) { in CreateFromPrototype() 210 if (aPrototype->mHasClassAttribute) { in CreateFromPrototype() 213 if (aPrototype->mHasStyleAttribute) { in CreateFromPrototype() 217 element->MakeHeavyweight(aPrototype); in CreateFromPrototype() 222 for (const auto& attribute : aPrototype->mAttributes) { in CreateFromPrototype() 238 MOZ_ASSERT(aPrototype != nullptr, "null ptr"); in CreateFromPrototype() 239 if (!aPrototype) return NS_ERROR_NULL_POINTER; in CreateFromPrototype() 246 mozilla::dom::NodeInfo* ni = aPrototype->mNodeInfo; in CreateFromPrototype() 250 nodeInfo = aPrototype->mNodeInfo; in CreateFromPrototype() 1121 if (!aPrototype) { in MakeHeavyweight() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/dom/xul/ |
H A D | nsXULPrototypeDocument.cpp | 214 aArray.AppendElement(aPrototype->mNodeInfo); in GetNodeInfos() 219 for (i = 0; i < aPrototype->mAttributes.Length(); ++i) { in GetNodeInfos() 221 nsAttrName* name = &aPrototype->mAttributes[i].mName; in GetNodeInfos() 235 for (i = 0; i < aPrototype->mChildren.Length(); ++i) { in GetNodeInfos() 236 nsXULPrototypeNode* child = aPrototype->mChildren[i]; in GetNodeInfos() 451 aPrototype->mHasIdAttribute = aElement->HasID(); in RebuildPrototypeFromElement() 458 aPrototype->mNodeInfo = newNodeInfo; in RebuildPrototypeFromElement() 461 aPrototype->mAttributes.Clear(); in RebuildPrototypeFromElement() 465 aPrototype->mAttributes.AppendElements(count); in RebuildPrototypeFromElement() 487 aPrototype->mIsAtom = isAtom; in RebuildPrototypeFromElement() [all …]
|
H A D | nsXULElement.cpp | 202 if (aPrototype->mHasIdAttribute) { in CreateFromPrototype() 205 if (aPrototype->mHasClassAttribute) { in CreateFromPrototype() 208 if (aPrototype->mHasStyleAttribute) { in CreateFromPrototype() 212 element->MakeHeavyweight(aPrototype); in CreateFromPrototype() 217 for (const auto& attribute : aPrototype->mAttributes) { in CreateFromPrototype() 233 MOZ_ASSERT(aPrototype != nullptr, "null ptr"); in CreateFromPrototype() 234 if (!aPrototype) return NS_ERROR_NULL_POINTER; in CreateFromPrototype() 241 mozilla::dom::NodeInfo* ni = aPrototype->mNodeInfo; in CreateFromPrototype() 245 nodeInfo = aPrototype->mNodeInfo; in CreateFromPrototype() 1122 if (!aPrototype) { in MakeHeavyweight() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/dom/xul/ |
H A D | nsXULPrototypeDocument.cpp | 212 aArray.AppendElement(aPrototype->mNodeInfo); in GetNodeInfos() 217 for (i = 0; i < aPrototype->mAttributes.Length(); ++i) { in GetNodeInfos() 219 nsAttrName* name = &aPrototype->mAttributes[i].mName; in GetNodeInfos() 233 for (i = 0; i < aPrototype->mChildren.Length(); ++i) { in GetNodeInfos() 234 nsXULPrototypeNode* child = aPrototype->mChildren[i]; in GetNodeInfos() 449 aPrototype->mHasIdAttribute = aElement->HasID(); in RebuildPrototypeFromElement() 450 aPrototype->mHasClassAttribute = aElement->MayHaveClass(); in RebuildPrototypeFromElement() 456 aPrototype->mNodeInfo = newNodeInfo; in RebuildPrototypeFromElement() 459 aPrototype->mAttributes.Clear(); in RebuildPrototypeFromElement() 463 aPrototype->mAttributes.AppendElements(count); in RebuildPrototypeFromElement() [all …]
|
H A D | nsXULElement.cpp | 184 if (aPrototype->mHasIdAttribute) { in CreateFromPrototype() 187 if (aPrototype->mHasClassAttribute) { in CreateFromPrototype() 190 if (aPrototype->mHasStyleAttribute) { in CreateFromPrototype() 194 element->MakeHeavyweight(aPrototype); in CreateFromPrototype() 199 for (const auto& attribute : aPrototype->mAttributes) { in CreateFromPrototype() 223 MOZ_ASSERT(aPrototype != nullptr, "null ptr"); in CreateFromPrototype() 224 if (!aPrototype) return NS_ERROR_NULL_POINTER; in CreateFromPrototype() 231 mozilla::dom::NodeInfo* ni = aPrototype->mNodeInfo; in CreateFromPrototype() 235 nodeInfo = aPrototype->mNodeInfo; in CreateFromPrototype() 1095 if (!aPrototype) { in MakeHeavyweight() [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/dom/prototype/ |
H A D | PrototypeDocumentContentSink.cpp | 217 entry->mPrototype = aPrototype; in Push() 246 *aPrototype = mTop->mPrototype; in Peek() 268 nsXULPrototypeDocument* aPrototype) { in OnPrototypeLoadDone() argument 269 mCurrentPrototype = aPrototype; in OnPrototypeLoadDone() 270 mDocument->SetPrototypeDocument(aPrototype); in OnPrototypeLoadDone() 1036 MOZ_ASSERT(aPrototype, "null ptr"); in CreateElementFromPrototype() 1037 if (!aPrototype) return NS_ERROR_NULL_POINTER; in CreateElementFromPrototype() 1065 aPrototype->mNodeInfo->NameAtom(), in CreateElementFromPrototype() 1066 aPrototype->mNodeInfo->GetPrefixAtom(), in CreateElementFromPrototype() 1074 if (aPrototype->mIsAtom && in CreateElementFromPrototype() [all …]
|
H A D | PrototypeDocumentContentSink.h | 92 nsresult OnPrototypeLoadDone(nsXULPrototypeDocument* aPrototype); 104 virtual nsresult AddAttributes(nsXULPrototypeElement* aPrototype, 168 nsresult Push(nsXULPrototypeElement* aPrototype, nsIContent* aElement); 170 nsresult Peek(nsXULPrototypeElement** aPrototype, nsIContent** aElement, 235 nsresult CreateElementFromPrototype(nsXULPrototypeElement* aPrototype,
|
/dports/www/firefox/firefox-99.0/dom/prototype/ |
H A D | PrototypeDocumentContentSink.cpp | 219 entry->mPrototype = aPrototype; in Push() 248 *aPrototype = mTop->mPrototype; in Peek() 270 nsXULPrototypeDocument* aPrototype) { in OnPrototypeLoadDone() argument 271 mCurrentPrototype = aPrototype; in OnPrototypeLoadDone() 272 mDocument->SetPrototypeDocument(aPrototype); in OnPrototypeLoadDone() 1037 MOZ_ASSERT(aPrototype, "null ptr"); in CreateElementFromPrototype() 1038 if (!aPrototype) return NS_ERROR_NULL_POINTER; in CreateElementFromPrototype() 1066 aPrototype->mNodeInfo->NameAtom(), in CreateElementFromPrototype() 1067 aPrototype->mNodeInfo->GetPrefixAtom(), in CreateElementFromPrototype() 1075 if (aPrototype->mIsAtom && in CreateElementFromPrototype() [all …]
|
H A D | PrototypeDocumentContentSink.h | 92 nsresult OnPrototypeLoadDone(nsXULPrototypeDocument* aPrototype); 104 virtual nsresult AddAttributes(nsXULPrototypeElement* aPrototype, 168 nsresult Push(nsXULPrototypeElement* aPrototype, nsIContent* aElement); 170 nsresult Peek(nsXULPrototypeElement** aPrototype, nsIContent** aElement, 235 nsresult CreateElementFromPrototype(nsXULPrototypeElement* aPrototype,
|
/dports/mail/thunderbird/thunderbird-91.8.0/dom/prototype/ |
H A D | PrototypeDocumentContentSink.cpp | 217 entry->mPrototype = aPrototype; in Push() 246 *aPrototype = mTop->mPrototype; in Peek() 268 nsXULPrototypeDocument* aPrototype) { in OnPrototypeLoadDone() argument 269 mCurrentPrototype = aPrototype; in OnPrototypeLoadDone() 270 mDocument->SetPrototypeDocument(aPrototype); in OnPrototypeLoadDone() 1036 MOZ_ASSERT(aPrototype, "null ptr"); in CreateElementFromPrototype() 1037 if (!aPrototype) return NS_ERROR_NULL_POINTER; in CreateElementFromPrototype() 1065 aPrototype->mNodeInfo->NameAtom(), in CreateElementFromPrototype() 1066 aPrototype->mNodeInfo->GetPrefixAtom(), in CreateElementFromPrototype() 1074 if (aPrototype->mIsAtom && in CreateElementFromPrototype() [all …]
|
H A D | PrototypeDocumentContentSink.h | 92 nsresult OnPrototypeLoadDone(nsXULPrototypeDocument* aPrototype); 104 virtual nsresult AddAttributes(nsXULPrototypeElement* aPrototype, 168 nsresult Push(nsXULPrototypeElement* aPrototype, nsIContent* aElement); 170 nsresult Peek(nsXULPrototypeElement** aPrototype, nsIContent** aElement, 235 nsresult CreateElementFromPrototype(nsXULPrototypeElement* aPrototype,
|
/dports/lang/spidermonkey78/firefox-78.9.0/dom/prototype/ |
H A D | PrototypeDocumentContentSink.cpp | 200 entry->mPrototype = aPrototype; in Push() 229 *aPrototype = mTop->mPrototype; in Peek() 251 nsXULPrototypeDocument* aPrototype) { in OnPrototypeLoadDone() argument 252 mCurrentPrototype = aPrototype; in OnPrototypeLoadDone() 253 mDocument->SetPrototypeDocument(aPrototype); in OnPrototypeLoadDone() 984 MOZ_ASSERT(aPrototype, "null ptr"); in CreateElementFromPrototype() 985 if (!aPrototype) return NS_ERROR_NULL_POINTER; in CreateElementFromPrototype() 1013 aPrototype->mNodeInfo->NameAtom(), in CreateElementFromPrototype() 1014 aPrototype->mNodeInfo->GetPrefixAtom(), in CreateElementFromPrototype() 1022 if (aPrototype->mIsAtom && in CreateElementFromPrototype() [all …]
|
H A D | PrototypeDocumentContentSink.h | 91 nsresult OnPrototypeLoadDone(nsXULPrototypeDocument* aPrototype); 103 virtual nsresult AddAttributes(nsXULPrototypeElement* aPrototype, 167 nsresult Push(nsXULPrototypeElement* aPrototype, nsIContent* aElement); 169 nsresult Peek(nsXULPrototypeElement** aPrototype, nsIContent** aElement, 217 nsresult CreateElementFromPrototype(nsXULPrototypeElement* aPrototype,
|
/dports/lang/spidermonkey60/firefox-60.9.0/dom/xul/ |
H A D | nsXULPrototypeDocument.cpp | 214 static nsresult GetNodeInfos(nsXULPrototypeElement* aPrototype, in GetNodeInfos() argument 216 if (aArray.IndexOf(aPrototype->mNodeInfo) == aArray.NoIndex) { in GetNodeInfos() 217 aArray.AppendElement(aPrototype->mNodeInfo); in GetNodeInfos() 222 for (i = 0; i < aPrototype->mNumAttributes; ++i) { in GetNodeInfos() 224 nsAttrName* name = &aPrototype->mAttributes[i].mName; in GetNodeInfos() 226 ni = aPrototype->mNodeInfo->NodeInfoManager()->GetNodeInfo( in GetNodeInfos() 238 for (i = 0; i < aPrototype->mChildren.Length(); ++i) { in GetNodeInfos() 239 nsXULPrototypeNode* child = aPrototype->mChildren[i]; in GetNodeInfos()
|
H A D | XULDocument.h | 323 nsresult Push(nsXULPrototypeElement* aPrototype, nsIContent* aElement); 325 nsresult Peek(nsXULPrototypeElement** aPrototype, nsIContent** aElement, 367 nsresult CreateElementFromPrototype(nsXULPrototypeElement* aPrototype, 374 nsresult CreateOverlayElement(nsXULPrototypeElement* aPrototype, 380 nsresult AddAttributes(nsXULPrototypeElement* aPrototype, Element* aElement); 602 ParserObserver(XULDocument* aDocument, nsXULPrototypeDocument* aPrototype);
|
H A D | nsXULElement.cpp | 176 if (aPrototype->mHasIdAttribute) { in Create() 179 if (aPrototype->mHasClassAttribute) { in Create() 182 if (aPrototype->mHasStyleAttribute) { in Create() 186 element->MakeHeavyweight(aPrototype); in Create() 214 NS_PRECONDITION(aPrototype != nullptr, "null ptr"); in Create() 215 if (!aPrototype) return NS_ERROR_NULL_POINTER; in Create() 222 mozilla::dom::NodeInfo* ni = aPrototype->mNodeInfo; in Create() 226 nodeInfo = aPrototype->mNodeInfo; in Create() 230 Create(aPrototype, nodeInfo, aIsScriptable, aIsRoot); in Create() 1622 if (!aPrototype) { in MakeHeavyweight() [all …]
|
H A D | XULDocument.cpp | 1678 entry->mPrototype = aPrototype; in Push() 1707 *aPrototype = mTop->mPrototype; in Peek() 2951 NS_PRECONDITION(aPrototype != nullptr, "null ptr"); in CreateElementFromPrototype() 2952 if (!aPrototype) return NS_ERROR_NULL_POINTER; in CreateElementFromPrototype() 2969 rv = nsXULElement::Create(aPrototype, this, true, aIsRoot, in CreateElementFromPrototype() 2979 aPrototype->mNodeInfo->NameAtom(), in CreateElementFromPrototype() 2980 aPrototype->mNodeInfo->GetPrefixAtom(), in CreateElementFromPrototype() 2981 aPrototype->mNodeInfo->NamespaceID(), ELEMENT_NODE); in CreateElementFromPrototype() 2988 rv = AddAttributes(aPrototype, result); in CreateElementFromPrototype() 3019 for (uint32_t i = 0; i < aPrototype->mNumAttributes; ++i) { in AddAttributes() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/xul/ |
H A D | nsXULPrototypeDocument.cpp | 236 GetNodeInfos(nsXULPrototypeElement* aPrototype, in GetNodeInfos() argument 239 if (aArray.IndexOf(aPrototype->mNodeInfo) == aArray.NoIndex) { in GetNodeInfos() 240 aArray.AppendElement(aPrototype->mNodeInfo); in GetNodeInfos() 245 for (i = 0; i < aPrototype->mNumAttributes; ++i) { in GetNodeInfos() 247 nsAttrName* name = &aPrototype->mAttributes[i].mName; in GetNodeInfos() 249 ni = aPrototype->mNodeInfo->NodeInfoManager()-> in GetNodeInfos() 263 for (i = 0; i < aPrototype->mChildren.Length(); ++i) { in GetNodeInfos() 264 nsXULPrototypeNode* child = aPrototype->mChildren[i]; in GetNodeInfos()
|
H A D | XULDocument.h | 387 nsresult Push(nsXULPrototypeElement* aPrototype, nsIContent* aElement); 389 nsresult Peek(nsXULPrototypeElement** aPrototype, nsIContent** aElement, int32_t* aIndex); 430 nsresult CreateElementFromPrototype(nsXULPrototypeElement* aPrototype, 438 nsresult CreateOverlayElement(nsXULPrototypeElement* aPrototype, 444 nsresult AddAttributes(nsXULPrototypeElement* aPrototype, nsIContent* aElement); 718 nsXULPrototypeDocument* aPrototype);
|
H A D | nsXULElement.cpp | 228 if (aPrototype->mHasIdAttribute) { in Create() 231 if (aPrototype->mHasClassAttribute) { in Create() 234 if (aPrototype->mHasStyleAttribute) { in Create() 238 element->MakeHeavyweight(aPrototype); in Create() 262 nsXULElement::Create(nsXULPrototypeElement* aPrototype, in Create() argument 269 NS_PRECONDITION(aPrototype != nullptr, "null ptr"); in Create() 270 if (! aPrototype) in Create() 279 mozilla::dom::NodeInfo* ni = aPrototype->mNodeInfo; in Create() 284 nodeInfo = aPrototype->mNodeInfo; in Create() 1891 if (!aPrototype) { in MakeHeavyweight() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/base/ |
H A D | CustomElementRegistry.cpp | 448 JS::MutableHandle<JSObject*> aPrototype) in GetCustomPrototype() argument 452 aPrototype.set(definition->mPrototype); in GetCustomPrototype() 454 aPrototype.set(nullptr); in GetCustomPrototype() 844 JSObject* aPrototype, in CustomElementDefinition() argument 850 mPrototype(aPrototype), in CustomElementDefinition()
|
H A D | CustomElementRegistry.h | 106 JSObject* aPrototype, 170 JS::MutableHandle<JSObject*> aPrototype);
|