/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
documentgetelementbyid01.java | 47 * The method getElementById returns the element whose ID is given by elementId. 48 * If not such element exists, returns null. 51 * This should return a null element. 80 Element element; local 83 element = doc.getElementById(elementId); 84 assertNull("documentgetelementbyid01", element);
|
elementsetattributens08.java | 38 * Invoke the setAttributeNS method on a new Element object with namespaceURI that is 70 Element element; local 72 element = doc.createElementNS("http://www.w3.org/DOMTest/level2", "dom:elem"); 77 element.setAttributeNS("http://www.w3.org/DOMTest/level2", "xmlns", "test"); 87 element.setAttributeNS("http://www.w3.org/DOMTest/level2", "xmlns:root", "test");
|
getElementById02.java | 68 Element element; local 70 element = doc.getElementById("Cancun"); 71 assertNull("throw_Null", element);
|
nodehasattributes01.java | 34 * The method hasAttributes returns whether this node (if it is an element) has any attributes. 35 * Retreive an element node without attributes. Verify if hasAttributes returns false. 36 * Retreive another element node with attributes. Verify if hasAttributes returns true. 64 Element element; local 69 element = (Element) elementList.item(0); 70 hasAttributes = element.hasAttributes(); 73 element = (Element) elementList.item(0) [all...] |
nodehasattributes03.java | 34 * The method hasAttributes returns whether this node (if it is an element) has any attributes. 35 * Retreive an element node with a default attributes. Verify if hasAttributes returns true. 63 Element element; local 68 element = (Element) elementList.item(0); 69 assertNotNull("empEmployeeNotNull", element); 70 hasAttributes = element.hasAttributes();
|
nodesetprefix06.java | 36 * Invoke the setPrefix method on this Element object with namespaceURI that is different from 66 Element element; local 68 element = doc.createElementNS("http://www.w3.org/DOM/Test/L2", "dom:elem"); 73 element.setPrefix("xml");
|
documentcreateelementNS02.java | 47 * The method createElementNS creates an element of the given valid qualifiedName and NamespaceURI. 79 Element element; local 88 element = doc.createElementNS(namespaceURI, qualifiedName);
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ElementSetAttributeNS.java | 6 import org.w3c.dom.Element; 16 * The method setAttributeNS adds a new attribute. Create a new element and add 57 Element element; local 62 element = doc.createElementNS("http://www.w3.org/DOM", "dom:elem"); 63 element.setAttributeNS("http://www.w3.org/DOM/Test/setAttributeNS", 65 attribute = element.getAttributeNodeNS( 74 Element element; local 81 element = (Element) elementList.item(0) 95 Element element; local 118 Element element; local 151 Element element; local 170 Element element; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
SetPropertyFix.java | 37 import org.w3c.dom.Element; 54 protected String getProposal(Element element) { 72 if (node instanceof Element) { 73 Element element = (Element) node; local 74 String proposal = getProposal(element); 83 //element.setAttributeNS(ANDROID_URI, localAttribute, proposal); 85 element.setAttribute(attribute, proposal) [all...] |
/external/apache-http/src/org/apache/http/client/methods/ |
HttpOptions.java | 98 for (HeaderElement element : elements) { 99 methods.add(element.getName());
|
/external/chromium/net/base/ |
upload_data_stream.cc | 59 std::vector<UploadData::Element>& elements = *data_->elements(); 64 UploadData::Element& element = elements[next_element_]; local 67 if (element.type() == UploadData::TYPE_BYTES || 68 element.type() == UploadData::TYPE_CHUNK) { 69 const std::vector<char>& d = element.bytes(); 75 // address of an element in |d| and that will throw an exception if |d| 88 DCHECK(element.type() == UploadData::TYPE_FILE); 94 if (!element.expected_file_modification_time().is_null()) { 96 if (file_util::GetFileInfo(element.file_path(), &info) & [all...] |
/external/guava/guava/src/com/google/common/collect/ |
RegularImmutableSortedMultiset.java | 37 final E element; field in class:RegularImmutableSortedMultiset.CumulativeCountEntry 41 CumulativeCountEntry(E element, int count, @Nullable CumulativeCountEntry<E> previous) { 42 this.element = element; 49 return element; 139 public int count(@Nullable Object element) { 140 if (element == null) { 145 elementList(), (E) element, comparator(), ANY_PRESENT, INVERTED_INSERTION_INDEX);
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
Multiset_CustomFieldSerializerBase.java | 39 Object element = reader.readObject(); local 41 builder.addCopies(element, count); 51 Object element = reader.readObject(); local 53 multiset.add(element, count);
|
/external/webkit/Source/WebCore/bindings/v8/ |
ScriptValue.cpp | 96 RefPtr<InspectorValue> element = v8ToInspectorValue(value); local 97 if (!element) { 99 element = InspectorValue::null(); 101 inspectorArray->pushValue(element);
|
/external/webkit/Source/WebCore/dom/ |
TreeScope.cpp | 29 #include "Element.h" 78 Element* TreeScope::getElementById(const AtomicString& elementId) const 85 void TreeScope::addElementById(const AtomicString& elementId, Element* element) 87 m_elementsById.add(elementId.impl(), element); 90 void TreeScope::removeElementById(const AtomicString& elementId, Element* element) 92 m_elementsById.remove(elementId.impl(), element); 95 Element* TreeScope::getElementByAccessKey(const String& key) const 103 Element* element = static_cast<Element*>(n) local [all...] |
/external/webkit/Source/WebCore/html/ |
FormAssociatedElement.cpp | 57 HTMLElement* element = toHTMLElement(this); local 58 if (element->fastHasAttribute(formAttr)) 59 element->document()->unregisterFormElementWithFormAttribute(this); 64 HTMLElement* element = toHTMLElement(this); local 65 if (element->fastHasAttribute(formAttr)) 66 element->document()->registerFormElementWithFormAttribute(this); 71 HTMLElement* element = toHTMLElement(this); local 72 if (element->fastHasAttribute(formAttr)) 73 element->document()->unregisterFormElementWithFormAttribute(this); 78 HTMLElement* element = toHTMLElement(this) local 109 HTMLElement* element = toHTMLElement(this); local 127 HTMLElement* element = toHTMLElement(this); local 153 HTMLElement* element = toHTMLElement(this); local 171 const HTMLElement* element = static_cast<const HTMLObjectElement*>(associatedElement); local [all...] |
ValidityState.cpp | 46 HTMLElement* element = toHTMLElement(m_control); 47 bool isInputElement = element->isFormControlElement() && element->hasTagName(inputTag); 48 bool isTextAreaElement = element->isFormControlElement() && element->hasTagName(textareaTag); 52 if (element->hasTagName(selectTag)) 55 return static_cast<HTMLInputElement*>(element)->valueMissingText(); 60 return static_cast<HTMLInputElement*>(element)->typeMismatchText(); 70 HTMLTextFormControlElement* text = static_cast<HTMLTextFormControlElement*>(element); 78 return validationMessageRangeUnderflowText(static_cast<HTMLInputElement*>(element)->minimumString()) 108 HTMLElement* element = toHTMLElement(m_control); local 129 HTMLElement* element = toHTMLElement(m_control); local 140 HTMLElement* element = toHTMLElement(m_control); local 152 HTMLElement* element = toHTMLElement(m_control); local 169 HTMLElement* element = toHTMLElement(m_control); local 181 HTMLElement* element = toHTMLElement(m_control); local 193 HTMLElement* element = toHTMLElement(m_control); local 205 HTMLElement* element = toHTMLElement(m_control); local [all...] |
/external/webkit/Source/WebCore/html/parser/ |
HTMLElementStack.h | 30 #include "Element.h" 42 class Element; 58 Element* element() const { return toElement(m_node.get()); } function in class:WebCore::HTMLElementStack::ElementRecord 60 void replaceElement(PassRefPtr<Element>); 80 Element* top() const 82 ASSERT(m_top->element()); 83 return m_top->element(); 92 Element* oneBelowTop() const; 94 Element* bottom() const [all...] |
/external/webkit/Source/WebCore/plugins/ |
IFrameShimSupport.cpp | 34 #include "Element.h" 122 void getPluginOcclusions(Element* element, Widget* parentWidget, const IntRect& frameRect, Vector<IntRect>& occlusions) 124 RenderObject* pluginNode = element->renderer(); 144 // Check to make sure we can get both the element and the RenderObject 150 HTMLElement* element = frameView->frame()->ownerElement(); local 151 RenderObject* iframeRenderer = element->renderer(); 153 if (element->hasTagName(HTMLNames::iframeTag)
|
/external/webkit/Source/WebCore/svg/ |
SVGElementInstance.cpp | 56 // Register as instance for passed element. 70 // Deregister as instance for passed element. 81 void SVGElementInstance::setShadowTreeElement(SVGElement* element) 83 ASSERT(element); 84 m_shadowTreeElement = element; 92 void SVGElementInstance::invalidateAllInstancesOfElement(SVGElement* element) 94 if (!element || !element->inDocument()) 97 if (element->isStyled() && static_cast<SVGStyledElement*>(element)->instanceUpdatesBlocked() 138 SVGElement* element = shadowTreeElement(); local [all...] |
SVGGradientElement.cpp | 154 SVGElement* element = n->isSVGElement() ? static_cast<SVGElement*>(n) : 0; local 155 if (!element || !element->isGradientStop()) 158 SVGStopElement* stop = static_cast<SVGStopElement*>(element);
|
/external/webkit/Source/WebKit/chromium/src/ |
WebFormElement.cpp | 97 HTMLFormControlElement* element = static_cast<HTMLFormControlElement*>(form->associatedElements()[i]); local 98 if (element->hasLocalName(HTMLNames::inputTag) 99 || element->hasLocalName(HTMLNames::selectTag)) 100 tempVector.append(element);
|
/external/webkit/Source/WebKit2/Platform/CoreIPC/ |
ArgumentCoders.h | 94 T element; local 95 if (!decoder->decode(element)) 98 tmp.append(element); 134 T element; local 135 if (!decoder->decode(element)) 138 tmp.uncheckedAppend(element);
|
/external/webkit/Source/WebKit2/WebProcess/FullScreen/ |
WebFullScreenManager.cpp | 54 WebCore::Element* WebFullScreenManager::element() function in class:WebKit::WebFullScreenManager 73 void WebFullScreenManager::enterFullScreenForElement(WebCore::Element* element) 75 ASSERT(element); 76 m_element = element; 78 m_page->injectedBundleFullScreenClient().enterFullScreenForElement(m_page.get(), element); 81 void WebFullScreenManager::exitFullScreenForElement(WebCore::Element* element) 83 ASSERT(element); [all...] |
/hardware/qcom/media/mm-video/vidc/vdec/src/ |
ts_parser.cpp | 213 timestamp *element = NULL,*duplicate = NULL; local 224 if (!element) 225 element = &phead->input_timestamps[i]; 227 if (element->timestamps > phead->input_timestamps[i].timestamps){ 228 element = &phead->input_timestamps[i]; 230 } else if(element->timestamps == phead->input_timestamps[i].timestamps) 235 if (element) { 237 header->nTimeStamp = element->timestamps; 240 element->in_use = false;
|