Home
last modified time | relevance | path

Searched refs:Attr (Results 1 – 25 of 49) sorted by relevance

12

/external/webkit/WebCore/dom/
DAttr.cpp36 inline Attr::Attr(Element* element, Document* document, PassRefPtr<Attribute> attribute) in Attr() function in WebCore::Attr
47 PassRefPtr<Attr> Attr::create(Element* element, Document* document, PassRefPtr<Attribute> attribute) in create()
49 RefPtr<Attr> attr = adoptRef(new Attr(element, document, attribute)); in create()
54 Attr::~Attr() in ~Attr()
60 void Attr::createTextChild() in createTextChild()
74 String Attr::nodeName() const in nodeName()
79 Node::NodeType Attr::nodeType() const in nodeType()
84 const AtomicString& Attr::localName() const in localName()
89 const AtomicString& Attr::namespaceURI() const in namespaceURI()
94 const AtomicString& Attr::prefix() const in prefix()
[all …]
DAttribute.h32 class Attr; variable
41 friend class Attr; variable
57 Attr* attr() const { return m_impl; } in attr()
58 PassRefPtr<Attr> createAttrIfNeeded(Element*);
86 Attr* m_impl;
DElement.h37 class Attr; variable
148 PassRefPtr<Attr> getAttributeNode(const String& name);
149 PassRefPtr<Attr> getAttributeNodeNS(const String& namespaceURI, const String& localName);
150 PassRefPtr<Attr> setAttributeNode(Attr*, ExceptionCode&);
151 PassRefPtr<Attr> setAttributeNodeNS(Attr*, ExceptionCode&);
152 PassRefPtr<Attr> removeAttributeNode(Attr*, ExceptionCode&);
DAttr.h39 class Attr : public ContainerNode {
42 static PassRefPtr<Attr> create(Element*, Document*, PassRefPtr<Attribute>);
43 virtual ~Attr();
64 Attr(Element*, Document*, PassRefPtr<Attribute>);
DAttribute.cpp37 PassRefPtr<Attr> Attribute::createAttrIfNeeded(Element* e) in createAttrIfNeeded()
39 RefPtr<Attr> r = m_impl; in createAttrIfNeeded()
41 r = Attr::create(e, e->document(), this); in createAttrIfNeeded()
DNamedAttrMap.cpp47 if (Attr* attr = m_attributes[i]->attr()) in detachAttributesFromElement()
119 Attr *attr = static_cast<Attr*>(arg); in setNamedItem()
158 RefPtr<Attr> r = a->createAttrIfNeeded(m_element); in removeNamedItem()
247 if (Attr* attr = attribute->attr()) in addAttribute()
278 if (Attr* a = m_attributes[index]->attr()) in removeAttribute()
DElement.idl39 Attr getAttributeNode(in DOMString name);
40 [Custom] Attr setAttributeNode(in Attr newAttr)
42 Attr removeAttributeNode(in Attr oldAttr)
59 [OldStyleObjC] Attr getAttributeNodeNS(in [ConvertNullToNullString] DOMString namespaceURI,
61 [Custom] Attr setAttributeNodeNS(in Attr newAttr)
DElement.cpp531 if (Attr* attrNode = old->attr()) in setAttribute()
563 if (Attr* attrNode = old->attr()) in setAttribute()
1130 PassRefPtr<Attr> Element::setAttributeNode(Attr* attr, ExceptionCode& ec) in setAttributeNode()
1136 return static_pointer_cast<Attr>(attributes(false)->setNamedItem(attr, ec)); in setAttributeNode()
1139 PassRefPtr<Attr> Element::setAttributeNodeNS(Attr* attr, ExceptionCode& ec) in setAttributeNodeNS()
1145 return static_pointer_cast<Attr>(attributes(false)->setNamedItem(attr, ec)); in setAttributeNodeNS()
1148 PassRefPtr<Attr> Element::removeAttributeNode(Attr* attr, ExceptionCode& ec) in removeAttributeNode()
1167 return static_pointer_cast<Attr>(attrs->removeNamedItem(attr->qualifiedName(), ec)); in removeAttributeNode()
1208 PassRefPtr<Attr> Element::getAttributeNode(const String& name) in getAttributeNode()
1214 return static_pointer_cast<Attr>(attrs->getNamedItem(localName)); in getAttributeNode()
[all …]
DNode.cpp1815 const Attr* attr = static_cast<const Attr*>(this); in isDefaultNamespace()
1848 const Attr *attr = static_cast<const Attr *>(this); in lookupPrefix()
1908 const Attr *attr = static_cast<const Attr *>(this); in lookupNamespaceURI()
2051 Attr* attr1 = nodeType() == ATTRIBUTE_NODE ? static_cast<Attr*>(this) : 0; in compareDocumentPosition()
2052 Attr* attr2 = otherNode->nodeType() == ATTRIBUTE_NODE ? static_cast<Attr*>(otherNode) : 0; in compareDocumentPosition()
DAttr.idl26 ] Attr : Node {
DDocument.idl45 [ReturnsNew] Attr createAttribute(in DOMString name)
59 …[OldStyleObjC, ReturnsNew] Attr createAttributeNS(in [ConvertNullToNullString] DOMString namespace…
/external/skia/include/xml/
DSkDOM.h34 typedef SkDOMAttr Attr; typedef
54 const Attr* getFirstAttr(const Node*) const;
55 const Attr* getNextAttr(const Node*, const Attr*) const;
56 const char* getAttrName(const Node*, const Attr*) const;
57 const char* getAttrValue(const Node*, const Attr*) const;
85 const Attr* fAttr;
86 const Attr* fStop;
/external/webkit/WebCore/bindings/generic/
DBindingElement.h47 static RefPtr<Attr> setAttributeNode(State<Binding>*, Element*, Attr*, ExceptionCode&);
49 static RefPtr<Attr> setAttributeNodeNS(State<Binding>*, Element*, Attr*, ExceptionCode&);
66 RefPtr<Attr> BindingElement<Binding>::setAttributeNode(State<Binding>* state, Element* element, Att… in setAttributeNode()
89 RefPtr<Attr> BindingElement<Binding>::setAttributeNodeNS(State<Binding>* state, Element* element, A… in setAttributeNodeNS()
/external/skia/src/xml/
DSkDOM.cpp131 const Attr* attr = node->attrs(); in findAttr()
132 const Attr* stop = attr + node->fAttrCount; in findAttr()
145 const SkDOM::Attr* SkDOM::getFirstAttr(const Node* node) const in getFirstAttr()
150 const SkDOM::Attr* SkDOM::getNextAttr(const Node* node, const Attr* attr) const in getNextAttr()
158 const char* SkDOM::getAttrName(const Node* node, const Attr* attr) const in getAttrName()
165 const char* SkDOM::getAttrValue(const Node* node, const Attr* attr) const in getAttrValue()
225 …OM::Node* node = (SkDOM::Node*)fAlloc->alloc(sizeof(SkDOM::Node) + attrCount * sizeof(SkDOM::Attr), in flushAttributes()
247 memcpy(node->attrs(), fAttrs.begin(), attrCount * sizeof(SkDOM::Attr)); in flushAttributes()
262 SkDOM::Attr* attr = fAttrs.append(); in onAddAttribute()
296 SkTDArray<SkDOM::Attr> fAttrs;
[all …]
/external/webkit/WebCore/bindings/v8/custom/
DV8ElementCustom.cpp75 Attr* newAttr = V8Attr::toNative(v8::Handle<v8::Object>::Cast(args[0])); in setAttributeNodeCallback()
79 …RefPtr<Attr> result = V8BindingElement::setAttributeNode(V8BindingState::Only(), element, newAttr,… in setAttributeNodeCallback()
108 Attr* newAttr = V8Attr::toNative(v8::Handle<v8::Object>::Cast(args[0])); in setAttributeNodeNSCallback()
112 …RefPtr<Attr> result = V8BindingElement::setAttributeNodeNS(V8BindingState::Only(), element, newAtt… in setAttributeNodeNSCallback()
DV8AttrCustom.cpp45 Attr* imp = V8Attr::toNative(info.Holder()); in valueAccessorSetter()
DV8NodeCustom.cpp180 return toV8(static_cast<Attr*>(impl), forceNewObject); in toV8()
/external/webkit/WebCore/xml/
DXPathStep.cpp258 Node* n = static_cast<Attr*>(context)->ownerElement(); in nodesInAxis()
270 n = static_cast<Attr*>(context)->ownerElement(); in nodesInAxis()
302 Node* p = static_cast<Attr*>(context)->ownerElement(); in nodesInAxis()
320 context = static_cast<Attr*>(context)->ownerElement(); in nodesInAxis()
351 … RefPtr<Attr> attr = attrs->attributeItem(i)->createAttrIfNeeded(static_cast<Element*>(context)); in nodesInAxis()
379 n = static_cast<Attr*>(context)->ownerElement(); in nodesInAxis()
DXPathNodeSet.cpp96 if (n->isAttributeNode() && static_cast<Attr*>(n)->ownerElement() == commonAncestor) in sortBlock()
154 n = static_cast<Attr*>(n)->ownerElement(); in sort()
/external/webkit/WebCore/bindings/js/
DJSAttrCustom.cpp45 Attr* imp = static_cast<Attr*>(impl()); in setValue()
DJSElementCustom.cpp94 Attr* newAttr = toAttr(args.at(0)); in setAttributeNode()
128 Attr* newAttr = toAttr(args.at(0)); in setAttributeNodeNS()
DJSNodeCustom.cpp193 wrapper = CREATE_DOM_NODE_WRAPPER(exec, globalObject, Attr, node); in createWrapper()
/external/skia/include/views/
DSkWidget.h370 enum Attr { enum
377 SkPaint& paint(Attr);
442 enum Attr { enum
447 SkPaint& paint(Attr);
/external/bison/src/
Dsymtab.c82 #define SYMBOL_ATTR_PRINT(Attr) \ argument
83 if (s->Attr) \
84 fprintf (f, " %s { %s }", #Attr, s->Attr)
/external/webkit/WebKit/win/
DDOMCreateInstance.cpp184 domNode = new GEN_DOMAttr(static_cast<WebCore::Attr*>(node)); in createInstance()

12