/external/chromium_org/chrome/renderer/safe_browsing/ |
phishing_dom_feature_extractor.h | 74 // slow, we don't do this on every element processed. 91 void HandleLink(const blink::WebElement& element); 92 void HandleForm(const blink::WebElement& element); 93 void HandleImage(const blink::WebElement& element); 94 void HandleInput(const blink::WebElement& element); 95 void HandleScript(const blink::WebElement& element);
|
phishing_dom_feature_extractor.cc | 173 // and advance to the first element. 183 blink::WebElement element = cur_node.to<blink::WebElement>(); local 184 if (element.hasTagName("a")) { 185 HandleLink(element); 186 } else if (element.hasTagName("form")) { 187 HandleForm(element); 188 } else if (element.hasTagName("img")) { 189 HandleImage(element); 190 } else if (element.hasTagName("input")) { 191 HandleInput(element); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
PendingScript.h | 38 class Element; 54 PendingScript(Element* element, ScriptResource* resource) 56 , m_element(element) 91 Element* element() const { return m_element.get(); } function in class:WebCore::PendingScript 92 void setElement(Element* element) { m_element = element; } 93 PassRefPtr<Element> releaseElementAndClear() [all...] |
TreeScope.cpp | 33 #include "core/dom/Element.h" 144 Element* TreeScope::getElementById(const AtomicString& elementId) const 153 void TreeScope::addElementById(const AtomicString& elementId, Element* element) 157 m_elementsById->add(elementId.impl(), element); 161 void TreeScope::removeElementById(const AtomicString& elementId, Element* element) 165 m_elementsById->remove(elementId.impl(), element); 242 Element* TreeScope::elementFromPoint(int x, int y) const 259 void TreeScope::addLabel(const AtomicString& forAttributeValue, HTMLLabelElement* element) 359 Element* element = document.focusedElement(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLLegendElement.cpp | 52 Element* fieldset = parentElement(); 58 // Find first form element inside the fieldset that is not a legend element. 60 Element* element = fieldset; 61 while ((element = ElementTraversal::next(*element, fieldset))) { 62 if (element->isFormControlElement()) 63 return toHTMLFormControlElement(element); 72 Element::focus(true, direction) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderProgress.cpp | 34 RenderProgress::RenderProgress(HTMLElement* element) 35 : RenderBlockFlow(element) 51 HTMLProgressElement* element = progressElement(); local 52 if (m_position == element->position()) 54 m_position = element->position();
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGAltGlyphElement.cpp | 92 Element* element = targetElementFromIRIString(getAttribute(XLinkNames::hrefAttr), document(), &target); local 93 if (!element) 96 if (element->hasTagName(SVGNames::glyphTag)) { 101 if (element->hasTagName(SVGNames::altGlyphDefTag) 102 && static_cast<SVGAltGlyphDefElement*>(element)->hasValidGlyphElements(glyphNames))
|
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
xmlelement_unittest.cc | 170 XmlElement * element = XmlElement::ForStr( local 174 XmlElement * pelCopy = new XmlElement(*element); 179 pelCopy = new XmlElement(*(element->FirstChild()->NextChild()->AsElement())); 194 delete element; 198 XmlElement * element = XmlElement::ForStr( local 209 element->FirstNamed(QName("", "firstname"))); 210 EXPECT_EQ(element->FirstChild(), 211 element->FirstNamed(QName("test-foo", "firstname"))); 212 EXPECT_EQ(element->FirstChild()->NextChild(), 213 element->FirstNamed(QName("test-foo", "middlename"))) [all...] |
/external/droiddriver/src/com/google/android/droiddriver/instrumentation/ |
InstrumentationContext.java | 55 ViewElement element = map.get(view); local 56 if (element == null) { 57 element = new ViewElement(this, view); 58 map.put(view, element); 60 return element;
|
/external/droiddriver/src/com/google/android/droiddriver/uiautomation/ |
UiAutomationContext.java | 49 UiAutomationElement element = map.get(node); local 50 if (element == null) { 51 element = new UiAutomationElement(this, node); 52 map.put(node, element); 54 return element;
|
/external/kernel-headers/original/linux/ |
mempool.h | 12 typedef void (mempool_free_t)(void *element, void *pool_data); 34 extern void mempool_free(void *element, mempool_t *pool); 41 void mempool_free_slab(void *element, void *pool_data); 55 void mempool_kfree(void *element, void *pool_data); 72 void mempool_free_pages(void *element, void *pool_data);
|
/external/srec/shared/include/ |
Int8ArrayListImpl.h | 42 * Virtual number of allocated element slots. 46 * Actual number of allocated element slots. 56 ESR_SHARED_API ESR_ReturnCode Int8ArrayList_Add(Int8ArrayList* self, const asr_int8_t element); 61 ESR_SHARED_API ESR_ReturnCode Int8ArrayList_Remove(Int8ArrayList* self, const asr_int8_t element); 71 ESR_SHARED_API ESR_ReturnCode Int8ArrayList_Contains(Int8ArrayList* self, const asr_int8_t element, ESR_BOOL* exists); 76 ESR_SHARED_API ESR_ReturnCode Int8ArrayList_Get(Int8ArrayList* self, size_t index, asr_int8_t* element); 81 ESR_SHARED_API ESR_ReturnCode Int8ArrayList_Set(Int8ArrayList* self, size_t index, const asr_int8_t element);
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_elementnormalize2.java | 31 * Add an empty text node to an existing attribute node, normalize the containing element 60 Element root; 62 Element element; local 73 element = (Element) elementList.item(0); 74 attrNode = element.getAttributeNode("title"); 76 element.normalize(); 77 attrNode = element.getAttributeNode("title");
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
attrgetownerelement05.java | 34 * The "getOwnerElement()" will return the Element node this attribute is attached to 37 * Retreive an element and its attributes. Then remove the element and check the name of 73 Node element; local 74 Element ownerElement; 75 Element parentElement; 85 element = elementList.item(1); 86 parentElement = (Element) element.getParentNode(); 87 nodeMap = element.getAttributes() [all...] |
elementhasattributens03.java | 35 * and namespace URI is specified on this element or has a default value, 38 * Create a new element and an attribute node that has an empty namespace. 39 * Add the attribute node to the element node. Check if the newly created element 77 Element element; local 84 element = doc.createElementNS("http://www.w3.org/DOM", "address"); 85 assertNotNull("createElementNotNull", element); 87 newAttribute = element.setAttributeNode(attribute); 88 state = element.hasAttributeNS(nullNS, "domestic") [all...] |
elementremoveattributens01.java | 35 * Create a new element and add a new attribute node to it. 38 * method on the element and check if it returns false. 73 Element element; local 78 element = doc.createElementNS("http://www.w3.org/DOM", "elem"); 80 newAttribute = element.setAttributeNodeNS(attribute); 81 element.removeAttributeNS("http://www.w3.org/DOM/Test/createAttributeNS", "attr"); 82 state = element.hasAttributeNS("http://www.w3.org/DOM/Test/createAttributeNS", "attr");
|
elementsetattributenodens06.java | 36 * Attempt to add an attribute node to an element node which is part of the replacement text of 72 Element element; local 80 element = doc.createElementNS("http://www.w3.org/DOM/Test", "elem1"); 84 newAttribute = element.setAttributeNodeNS(attribute); 86 element = (Element) elementList.item(0); 92 newAttribute = element.setAttributeNodeNS(attribute2);
|
namednodemapgetnameditemns03.java | 36 * Create a new Element node and add 2 new attribute nodes having the same local name but different 73 Node element; local 80 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root"); 82 newAttribute = ((Element) /*Node */element).setAttributeNodeNS(newAttr1); 84 newAttribute = ((Element) /*Node */element).setAttributeNodeNS(newAttr2); 85 attributes = element.getAttributes();
|
namednodemapgetnameditemns06.java | 34 * Retreive the second address element node having localName=adrress. Retreive the attributes 35 * of this element into 2 nodemaps. Create a new attribute node and add it to this element. 74 Element element; local 82 element = (Element) elementList.item(1); 83 attributesMap1 = element.getAttributes(); 84 attributesMap2 = element.getAttributes(); 86 newAttribute = element.setAttributeNodeNS(newAttr1) [all...] |
namednodemapremovenameditemns03.java | 36 * Create a new element node and add 2 new attribute nodes to it that have the same localName 38 * new element node and check to see that the second attribute still exists. 73 Node element; local 80 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root"); 82 newAttribute = ((Element) /*Node */element).setAttributeNodeNS(attribute1); 84 newAttribute = ((Element) /*Node */element).setAttributeNodeNS(attribute2); 85 attributes = element.getAttributes();
|
namednodemapsetnameditemns06.java | 34 * Retreieve the first element whose localName is address and its attributes into a named node map. 36 * Retreieve the second element whose localName is address and its attributes into a named node map. 74 Element element; local 79 element = (Element) elementList.item(0); 80 attributes = element.getAttributes(); 82 element = (Element) elementList.item(1); 83 attributes = element.getAttributes() [all...] |
namednodemapsetnameditemns07.java | 36 * attribute of another Element object. 38 * Retreieve the attributes of first element whose localName is address into a named node map. 40 * from the NamedNodeMap. Retreieve the attributes of second element whose localName is address 80 Element element; local 85 element = (Element) elementList.item(0); 86 attributes = element.getAttributes(); 88 element = (Element) elementList.item(1) [all...] |
namednodemapsetnameditemns08.java | 35 * attribute of another Element object. 36 * Retreieve the first element whose localName is address and its attributes into a named node map. 37 * Retreiving the domestic attribute from the namednodemap. Retreieve the second element whose 76 Element element; local 81 element = (Element) elementList.item(0); 82 attributes = element.getAttributes(); 84 element = (Element) elementList.item(1) [all...] |
/external/chromium_org/tools/perf/metrics/ |
media.js | 9 // MediaMetric class responsible for collecting metrics on a media element. 11 function MediaMetricBase(element) { 12 checkElementIsNotBound(element); 15 this.element = element; 29 function HTMLMediaMetric(element) { 30 MediaMetricBase.prototype.constructor.call(this, element); 31 // Set the basic event handlers for HTML5 media element. 40 this.element.addEventListener('play', onVideoLoad); 41 this.element.addEventListener('loadedmetadata', onVideoLoad) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
treeoutline.js | 31 * @param {!Element} listNode 227 * @param {!TreeElement} element 229 TreeOutline.prototype._rememberTreeElement = function(element) 231 if (!this._treeElementsMap.get(element.representedObject)) 232 this._treeElementsMap.put(element.representedObject, []); 234 // check if the element is already known 235 var elements = this._treeElementsMap.get(element.representedObject); 236 if (elements.indexOf(element) !== -1) 239 // add the element 240 elements.push(element); [all...] |