/external/chromium_org/third_party/WebKit/Source/web/ |
WebPageSerializerImpl.cpp | 84 #include "core/dom/Element.h" 123 const Element* element, SerializeDomParam* param, bool* needSkip) 131 // serializing open tag of HEAD element. 132 ASSERT(element); 133 if (isHTMLMetaElement(*element)) { 134 const HTMLMetaElement& meta = toHTMLMetaElement(*element); 142 param->skipMetaElement = element; 146 } else if (isHTMLHtmlElement(*element)) { 147 // Check something before processing the open tag of HEAD element [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
ucol_cnt.h | 70 /* adds more contractions in table. If element is non existant, it creates on. Returns element handle */ 72 uprv_cnttab_addContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErrorCode *status); 73 /* sets a part of contraction sequence in table. If element is non existant, it creates on. Returns element handle */ 75 uprv_cnttab_setContraction(CntTable *table, uint32_t element, uint32_t offset, UChar codePoint, uint32_t value, UErrorCode *status); 76 /* inserts a part of contraction sequence in table. Sequences behind the offset are moved back. If element is non existant, it creates on. Returns element handle */ 78 uprv_cnttab_insertContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErrorCode *status); 81 uprv_cnttab_changeLastCE(CntTable *table, uint32_t element, uint32_t value, UErrorCode *status) [all...] |
/external/deqp/scripts/ |
convert_case_list_to_xml.py | 36 element = doc.createElement("TestCase") 37 element.setAttribute("Name", testCase.casePath.rsplit(".", 2)[-1]) 38 element.setAttribute("Description", testCase.description) 39 element.setAttribute("CaseType", testCase.caseType) 40 parent.appendChild(element) 42 exportCase(doc, element, child) 68 element = doc.createElement("TestCaseList") variable 69 doc.appendChild(element) 71 exportCase(doc, element, testCase)
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableCollection.java | 61 for (E element : this) { 62 otherAsObjectArray[index++] = element; 71 for (E element : this) { 72 if (element.equals(object)) { 145 public abstract Builder<E> add(E element); 149 for (E element : elements) { 150 add(checkNotNull(element)); 157 for (E element : elements) { 158 add(checkNotNull(element));
|
/external/guava/guava-tests/test/com/google/common/collect/ |
SimpleAbstractMultisetTest.java | 45 public int add(String element, int occurrences) { 47 return super.add(element, occurrences); 70 @Override public int add(E element, int occurrences) { 72 Integer frequency = backingMap.get(element); 80 backingMap.put(element, frequency + occurrences); 125 @Override public int remove(Object element, int occurrences) { 127 Integer count = backingMap.get(element); 131 backingMap.put((E) element, count - occurrences); 134 return backingMap.remove(element);
|
/external/chromium_org/chrome/renderer/autofill/ |
password_generation_agent_browsertest.cc | 58 WebElement element = local 60 ASSERT_FALSE(element.isNull()); 147 WebElement element = local 149 ASSERT_FALSE(element.isNull()); 150 WebInputElement first_password_element = element.to<WebInputElement>(); 151 element = document.getElementById(WebString::fromUTF8("second_password")); 152 ASSERT_FALSE(element.isNull()); 153 WebInputElement second_password_element = element.to<WebInputElement>(); 170 // TODO(zysxqn): Change this back to the address element once Bug 90224 172 element = document.getElementById(WebString::fromUTF8("first_password")) 183 WebElement element = local 265 WebElement element = local [all...] |
/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);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
NamedNodeMap.h | 29 #include "core/dom/Element.h" 42 friend class Element; 44 static PassOwnPtrWillBeRawPtr<NamedNodeMap> create(Element* element) 46 return adoptPtrWillBeNoop(new NamedNodeMap(element)); 68 Element* element() const { return m_element; } function in class:blink::FINAL 73 explicit NamedNodeMap(Element* element) 74 : m_element(element) [all...] |
PendingScript.h | 29 #include "core/dom/Element.h" 63 PendingScript(Element* element, ScriptResource* resource) 65 , m_element(element) 101 Element* element() const { return m_element.get(); } function in class:blink::FINAL 102 void setElement(Element* element) { m_element = element; } 103 PassRefPtrWillBeRawPtr<Element> releaseElementAndClear() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderProgress.cpp | 32 RenderProgress::RenderProgress(HTMLElement* element) 33 : RenderBlockFlow(element) 58 HTMLProgressElement* element = progressElement(); local 59 if (m_position == element->position()) 61 m_position = element->position();
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/ |
GoToLineDialog.js | 40 this.element = document.createElementWithClass("div", "go-to-line-dialog"); 41 this.element.createChild("label").textContent = WebInspector.UIString("Go to line: "); 43 this._input = this.element.createChild("input"); 47 this._goButton = this.element.createChild("button"); 74 WebInspector.Dialog.show(sourceFrame.element, new WebInspector.GoToLineDialog(sourceFrame));
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/ |
TransformController.js | 10 * @param {!Element} element 13 WebInspector.TransformController = function(element, disableRotate) 16 this.element = element; 18 element.addEventListener("keydown", this._onKeyDown.bind(this), false); 19 element.addEventListener("keyup", this._onKeyUp.bind(this), false); 20 element.addEventListener("mousemove", this._onMouseMove.bind(this), false); 21 element.addEventListener("mousedown", this._onMouseDown.bind(this), false); 22 element.addEventListener("mouseup", this._onMouseUp.bind(this), false) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
SuggestBox.js | 96 // Position relative to main DevTools element. 97 var container = WebInspector.Dialog.modalHostView().element; 111 this._overlay.element.classList.toggle("under-anchor", under); 148 this._leftSpacerElement = this._overlay.element.createChild("div", "suggest-box-left-spacer"); 149 this._horizontalElement = this._overlay.element.createChild("div", "suggest-box-horizontal"); 246 var element = document.createElementWithClass("div", "suggest-box-content-item source-code"); 247 element.tabIndex = -1; 249 element.createChild("span", "prefix").textContent = prefix; 250 element.createChild("span", "suffix").textContent = text.substring(prefix.length); 252 element.createChild("span", "suffix").textContent = text [all...] |
/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/chromium_org/third_party/webrtc/libjingle/xmllite/ |
xmlelement_unittest.cc | 153 XmlElement * element = XmlElement::ForStr( local 157 XmlElement * pelCopy = new XmlElement(*element); 162 pelCopy = new XmlElement(*(element->FirstChild()->NextChild()->AsElement())); 177 delete element; 181 XmlElement * element = XmlElement::ForStr( local 192 element->FirstNamed(QName("", "firstname"))); 193 EXPECT_EQ(element->FirstChild(), 194 element->FirstNamed(QName("test-foo", "firstname"))); 195 EXPECT_EQ(element->FirstChild()->NextChild(), 196 element->FirstNamed(QName("test-foo", "middlename"))) [all...] |
/external/chromium_org/ui/compositor/test/ |
layer_animator_test_controller.cc | 43 LayerAnimationElement* element = sequence->CurrentElement(); local 44 if (!(element->properties() & animatable_property)) 47 if (!element->Started() || 48 element->effective_start_time() != base::TimeTicks()) 54 element->animation_group_id(),
|
/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();
|