Home
last modified time | relevance | path

Searched refs:namedItems (Results 1 – 12 of 12) sorted by relevance

/external/webkit/WebCore/bindings/js/
DJSHTMLFormElementCustom.cpp41 Vector<RefPtr<Node> > namedItems; in canGetItemsForName() local
42 form->getNamedElements(propertyName, namedItems); in canGetItemsForName()
43 return namedItems.size(); in canGetItemsForName()
51 Vector<RefPtr<Node> > namedItems; in nameGetter() local
52 form->getNamedElements(propertyName, namedItems); in nameGetter()
54 if (namedItems.size() == 1) in nameGetter()
55 return toJS(exec, namedItems[0].get()); in nameGetter()
56 if (namedItems.size() > 1) in nameGetter()
57 return new (exec) JSNamedNodesCollection(exec, jsForm->globalObject(), namedItems); in nameGetter()
DJSHTMLCollectionCustom.cpp40 Vector<RefPtr<Node> > namedItems; in getNamedItems() local
41 collection->impl()->namedItems(propertyName, namedItems); in getNamedItems()
43 if (namedItems.isEmpty()) in getNamedItems()
46 if (namedItems.size() == 1) in getNamedItems()
47 return toJS(exec, collection->globalObject(), namedItems[0].get()); in getNamedItems()
49 return new (exec) JSNamedNodesCollection(exec, collection->globalObject(), namedItems); in getNamedItems()
103 Vector<RefPtr<Node> > namedItems; in canGetItemsForName() local
104 collection->namedItems(propertyName, namedItems); in canGetItemsForName()
105 return !namedItems.isEmpty(); in canGetItemsForName()
/external/webkit/WebCore/bindings/v8/custom/
DV8HTMLCollectionCustom.cpp43 Vector<RefPtr<Node> > namedItems; in getNamedItems() local
44 collection->namedItems(name, namedItems); in getNamedItems()
46 if (!namedItems.size()) in getNamedItems()
49 if (namedItems.size() == 1) in getNamedItems()
50 return V8DOMWrapper::convertNodeToV8Object(namedItems.at(0).release()); in getNamedItems()
52 NodeList* list = new V8NamedNodesCollection(namedItems); in getNamedItems()
DV8HTMLSelectElementCollectionCustom.cpp59 collection->namedItems(v8StringToAtomicWebCoreString(name), items); in NAMED_PROPERTY_GETTER()
/external/webkit/WebCore/html/
DHTMLFormElement.cpp596 void HTMLFormElement::getNamedElements(const AtomicString& name, Vector<RefPtr<Node> >& namedItems) in getNamedElements() argument
598 elements()->namedItems(name, namedItems); in getNamedElements()
604 for (unsigned n = 0; n < namedItems.size(); n++) { in getNamedElements()
605 if (namedItems[n] == aliasElem.get()) { in getNamedElements()
612 namedItems.append(aliasElem.get()); in getNamedElements()
615 if (namedItems.size() && aliasElem != namedItems.first()) in getNamedElements()
616 … addElementAlias(static_cast<HTMLFormControlElement*>(namedItems.first().get()), name); in getNamedElements()
DHTMLCollection.h58 void namedItems(const AtomicString& name, Vector<RefPtr<Node> >&) const;
DHTMLCollection.cpp351 void HTMLCollection::namedItems(const AtomicString& name, Vector<RefPtr<Node> >& result) const in namedItems() function in WebCore::HTMLCollection
/external/webkit/WebCore/
DChangeLog-2005-08-2317714 (HTMLCollection::namedItems):
17898 (DOM::HTMLCollectionImpl::namedItems):
30009 (HTMLCollectionImpl::namedItems):
30153 (HTMLCollection::namedItems):
30165 (HTMLCollectionImpl::namedItems):
30170 (HTMLFormCollectionImpl::namedItems):
DChangeLog-2005-12-193054 (DOM::HTMLCollectionImpl::namedItems):
25106 (DOM::HTMLCollectionImpl::namedItems):
DChangeLog-2006-05-1026688 (WebCore::HTMLCollectionImpl::namedItems):
37673 (DOM::HTMLCollectionImpl::namedItems):
DChangeLog-2006-12-3110388 (WebCore::HTMLCollection::namedItems):
DChangeLog-2008-08-1069080 (WebCore::HTMLCollection::namedItems): Ditto.