Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLAllCollection.cpp69 Vector<RefPtr<Node> > namedItems; in anonymousNamedGetter() local
70 this->namedItems(name, namedItems); in anonymousNamedGetter()
72 if (!namedItems.size()) in anonymousNamedGetter()
75 if (namedItems.size() == 1) { in anonymousNamedGetter()
77 returnValue1 = namedItems.at(0); in anonymousNamedGetter()
84 returnValue0 = NamedNodesCollection::create(namedItems); in anonymousNamedGetter()
DHTMLOptionsCollection.cpp101 Vector<RefPtr<Node> > namedItems; in anonymousNamedGetter() local
102 this->namedItems(name, namedItems); in anonymousNamedGetter()
104 if (!namedItems.size()) in anonymousNamedGetter()
107 if (namedItems.size() == 1) { in anonymousNamedGetter()
109 returnValue1 = namedItems.at(0); in anonymousNamedGetter()
114 returnValue0 = NamedNodesCollection::create(namedItems); in anonymousNamedGetter()
DHTMLFormControlsCollection.cpp164 Vector<RefPtr<Node> > namedItems; in namedGetter() local
165 this->namedItems(name, namedItems); in namedGetter()
167 if (!namedItems.size()) in namedGetter()
170 if (namedItems.size() == 1) { in namedGetter()
172 returnValue1 = namedItems.at(0); in namedGetter()
DHTMLFormElement.cpp765 void HTMLFormElement::getNamedElements(const AtomicString& name, Vector<RefPtr<Node> >& namedItems) in getNamedElements() argument
768 elements()->namedItems(name, namedItems); in getNamedElements()
771 if (namedItems.size() && namedItems.first() != elementFromPast) in getNamedElements()
772 addToPastNamesMap(namedItems.first().get(), name); in getNamedElements()
773 else if (elementFromPast && namedItems.isEmpty()) in getNamedElements()
774 namedItems.append(elementFromPast); in getNamedElements()
DHTMLCollection.h44 void namedItems(const AtomicString& name, Vector<RefPtr<Node> >&) const;
DHTMLCollection.cpp666 void HTMLCollection::namedItems(const AtomicString& name, Vector<RefPtr<Node> >& result) const in namedItems() function in WebCore::HTMLCollection
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8HTMLFormControlsCollectionCustom.cpp45 Vector<RefPtr<Node> > namedItems; in getNamedItems() local
46 collection->namedItems(name, namedItems); in getNamedItems()
48 if (!namedItems.size()) in getNamedItems()
51 if (namedItems.size() == 1) in getNamedItems()
52 return toV8(namedItems.at(0).release(), info.Holder(), info.GetIsolate()); in getNamedItems()
DV8HTMLOptionsCollectionCustom.cpp51 Vector<RefPtr<Node> > namedItems; in getNamedItems() local
52 collection->namedItems(name, namedItems); in getNamedItems()
54 if (!namedItems.size()) { in getNamedItems()
59 if (namedItems.size() == 1) { in getNamedItems()
60 v8SetReturnValueFast(info, namedItems.at(0).release(), collection); in getNamedItems()
64 v8SetReturnValueFast(info, NamedNodesCollection::create(namedItems), collection); in getNamedItems()
DV8HTMLAllCollectionCustom.cpp46 Vector<RefPtr<Node> > namedItems; in getNamedItems() local
47 collection->namedItems(name, namedItems); in getNamedItems()
49 if (!namedItems.size()) in getNamedItems()
52 if (namedItems.size() == 1) in getNamedItems()
53 return toV8(namedItems.at(0).release(), info.Holder(), info.GetIsolate()); in getNamedItems()
57 return toV8(NamedNodesCollection::create(namedItems), info.Holder(), info.GetIsolate()); in getNamedItems()