/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ElementGetElementsByTagNameNS.java | 3 import org.w3c.dom.Element; 52 Element element; local 55 element = doc.getDocumentElement(); 56 elementList = element.getElementsByTagNameNS("**", "*"); 62 Element element; local 63 Element child1; 64 Element child2; 65 Element child3 89 Element element; local [all...] |
ElementHasAttributeNS.java | 24 import org.w3c.dom.Element; 33 * name and namespace URI is specified on this element or has a default value, 36 * Retreive the first employee element node. Invoke the hasAttributeNS method to 76 Element element; local 81 element = (Element) elementList.item(0); 82 state = element 88 Element element; local 101 Element element; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
BaseMultipleFieldsDateAndTimeInputType.cpp | 132 return toDateTimeEditElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::dateTimeEdit())); 137 return toSpinButtonElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::spinButton())); 142 return toClearButtonElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::clearButton())); 147 return toPickerIndicatorElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::pickerIndicator())); 152 return element().userAgentShadowRoot()->contains(element().document().focusedElement()); 163 RefPtrWillBeRawPtr<HTMLInputElement> protector(element()); 165 element().setFocus(false); 178 // FIXME: Setting the focus flag to non-focused element is too tricky. 179 element().setFocus(true) [all...] |
SearchInputType.cpp | 49 inline SearchInputType::SearchInputType(HTMLInputElement& element) 50 : BaseTextInputType(element) 55 PassRefPtrWillBeRawPtr<InputType> SearchInputType::create(HTMLInputElement& element) 57 return adoptRefWillBeNoop(new SearchInputType(element)); 67 return new RenderSearchField(&element()); 88 Element* container = containerElement(); 89 Element* viewPort = element().userAgentShadowRoot()->getElementById(ShadowElementNames::editingViewPort()); 93 container->insertBefore(SearchFieldDecorationElement::create(element().document()), viewPort); 94 container->insertBefore(SearchFieldCancelButtonElement::create(element().document()), viewPort->nextSibling()) [all...] |
ColorInputType.cpp | 78 PassRefPtrWillBeRawPtr<InputType> ColorInputType::create(HTMLInputElement& element) 80 return adoptRefWillBeNoop(new ColorInputType(element)); 119 bool success = color.setFromString(element().value()); 126 ASSERT(element().shadow()); 128 Document& document = element().document(); 134 element().userAgentShadowRoot()->appendChild(wrapperElement.release()); 136 element().updateView(); 146 element().updateView(); 153 if (element().isDisabledFormControl() || !element().renderer() [all...] |
/external/chromium_org/content/renderer/ |
savable_resources.cc | 63 // Get all savable resource links from current element. One element might 67 const WebElement& element, 73 if (element.hasHTMLTagName("iframe") || 74 element.hasHTMLTagName("frame")) { 75 WebFrame* sub_frame = WebLocalFrame::fromFrameOwnerElement(element); 82 WebString value = GetSubResourceLinkFromElement(element); 136 for (WebElement element = all.firstItem(); !element.isNull(); 137 element = all.nextItem()) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
InplaceEditor.js | 13 * @param {!Element} element 17 WebInspector.InplaceEditor.startEditing = function(element, config) 20 return self.runtime.instance(WebInspector.InplaceEditor).startEditing(element, config); 24 return WebInspector.InplaceEditor._defaultInstance.startEditing(element, config); 32 var element = editingContext.element; 33 if (element.tagName === "INPUT" && element.type === "text") 34 return element.value [all...] |
EmptyView.js | 44 this.element.classList.add("empty-view"); 45 this.element.textContent = this._text; 52 this.element.textContent = this._text;
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrReducedClip.cpp | 11 typedef SkClipStack::Element Element; 40 // The clip established by the element list might be cached based on the last 93 SkNEW_INSERT_AT_LLIST_HEAD(result, Element, (isectRect, SkRegion::kReplace_Op, doAA)); 140 // element. 167 const Element* element = iter.prev(); local 168 if (NULL == element) { 172 if (SkClipStack::kEmptyGenID == element->getGenID()) { 176 if (SkClipStack::kWideOpenGenID == element->getGenID()) 369 Element* element = result->headIter().get(); local [all...] |
/external/skia/src/gpu/ |
GrReducedClip.cpp | 11 typedef SkClipStack::Element Element; 40 // The clip established by the element list might be cached based on the last 93 SkNEW_INSERT_AT_LLIST_HEAD(result, Element, (isectRect, SkRegion::kReplace_Op, doAA)); 140 // element. 167 const Element* element = iter.prev(); local 168 if (NULL == element) { 172 if (SkClipStack::kEmptyGenID == element->getGenID()) { 176 if (SkClipStack::kWideOpenGenID == element->getGenID()) 369 Element* element = result->headIter().get(); local [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/ |
bootstrap-collapse.js | 29 var Collapse = function (element, options) { 30 this.$element = $(element) 45 var hasWidth = this.$element.hasClass('width') 68 this.$element[dimension](0) 70 this.$element[dimension](this.$element[0][scroll]) 77 this.reset(this.$element[dimension]()) 79 this.$element[dimension](0) 85 this.$element [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
SelectorChecker.cpp | 70 static bool matchesCustomPseudoElement(const Element* element, const CSSSelector& selector) 72 ShadowRoot* root = element->containingShadowRoot(); 76 if (element->shadowPseudoId() != selector.value()) 82 static Element* parentElement(const SelectorChecker::SelectorCheckingContext& context) 85 // - If context.scope is some element in some shadow tree and querySelector initialized the context, 87 // (a) context.element has the same treescope as context.scope, need to walk up to its shadow host. 89 if (context.scope && (context.scope == context.element->containingShadowRoot() || context.scope->treeScope() == context.element->treeScope())) 90 return context.element->parentOrShadowHostElement() 503 Element& element = *context.element; local [all...] |
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
lsearch.c | 62 const char *element, *end; local 65 for (element = base; element < end; element += width) 66 if (!compar(key, element)) /* key found */ 67 return((void *)element);
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/ |
ast-builder.rb | 28 def subtree_stream( desc, element = nil ) 29 AST::RewriteRuleSubtreeStream.new( @adaptor, desc, element ) 32 def token_stream( desc, element = nil ) 33 AST::RewriteRuleTokenStream.new( @adaptor, desc, element ) 36 def node_stream( desc, element = nil ) 37 AST::RewriteRuleNodeStream.new( @adaptor, desc, element )
|
/external/chromium_org/content/browser/loader/ |
upload_data_stream_builder.cc | 27 const ResourceRequestBody::Element& element) 28 : net::UploadBytesElementReader(element.bytes(), element.length()), 30 DCHECK_EQ(ResourceRequestBody::Element::TYPE_BYTES, element.type()); 48 const ResourceRequestBody::Element& element) 50 element.path(), 51 element.offset() 99 const ResourceRequestBody::Element& element = (*body->elements())[i]; local 108 const ResourceRequestBody::Element& element = *resolved_elements[i]; local [all...] |
/external/chromium_org/third_party/WebKit/public/web/ |
WebFormElement.h | 43 // A container for passing around a reference to a form element. Provides some 50 WebFormElement(const WebFormElement& element) : WebElement(element) { } 52 WebFormElement& operator=(const WebFormElement& element) 54 WebElement::assign(element); 57 void assign(const WebFormElement& element) { WebElement::assign(element); }
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLQuoteElement.h | 45 inline bool isHTMLQuoteElement(const HTMLElement& element) 47 return element.hasTagName(HTMLNames::qTag) || element.hasTagName(HTMLNames::blockquoteTag);
|
RadioNodeList.cpp | 31 #include "core/dom/Element.h" 55 static inline HTMLInputElement* toRadioButtonInputElement(Element& element) 57 if (!isHTMLInputElement(element)) 59 HTMLInputElement& inputElement = toHTMLInputElement(element); 93 bool RadioNodeList::matchesByIdOrName(const Element& testElement) const 98 bool RadioNodeList::checkElementMatchesRadioNodeListFilter(const Element& testElement) const 111 bool RadioNodeList::elementMatches(const Element& element) const 114 if (!isHTMLImageElement(element)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGTransformableContainer.cpp | 52 ASSERT(element()); 53 if (isSVGSwitchElement(*element())) { 61 } else if (isSVGAElement(*element())) { 63 // The 'a' element may contain any element that its parent may contain, except itself. 74 SVGGraphicsElement* element = toSVGGraphicsElement(this->element()); local 75 ASSERT(element); 77 // If we're either the renderer for a <use> element, or for any <g> element inside the shado [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGFEComponentTransferElement.cpp | 82 for (SVGElement* element = Traversal<SVGElement>::firstChild(*this); element; element = Traversal<SVGElement>::nextSibling(*element)) { 83 if (isSVGFEFuncRElement(*element)) 84 red = toSVGFEFuncRElement(*element).transferFunction(); 85 else if (isSVGFEFuncGElement(*element)) 86 green = toSVGFEFuncGElement(*element).transferFunction(); 87 else if (isSVGFEFuncBElement(*element)) 88 blue = toSVGFEFuncBElement(*element).transferFunction() [all...] |
/external/droiddriver/src/com/google/android/droiddriver/validators/ |
ExemptRootValidator.java | 27 public boolean isApplicable(UiElement element, Action action) { 28 return element.getParent() == null; // don't check root 32 public String validate(UiElement element, Action action) {
|
VisibilityValidator.java | 27 public boolean isApplicable(UiElement element, Action action) { 32 public String validate(UiElement element, Action action) { 33 return element.isVisible() ? null : "invisible";
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListHashCodeTester.java | 31 for (E element : getSampleElements()) { 33 ((element == null) ? 0 : element.hashCode());
|
/external/srec/portable/include/ |
ArrayList.h | 43 * Adds element to list. 46 * @param element Element to be added 49 ESR_ReturnCode(*add)(struct ArrayList_t* self, void* element); 52 * Inserts an element in the the list at the specified location. This 57 * @param index The index where to insert the element. 58 * @param element The element to insert. 64 void *element); 67 * Removes element from list [all...] |
/external/srec/portable/src/ |
ArrayList.c | 27 ESR_ReturnCode ArrayListAdd(ArrayList* self, void* element) 34 return self->add(self, element); 37 ESR_ReturnCode ArrayListInsertAt(ArrayList* self, size_t index, void* element) 44 return self->insertAt(self, index, element); 47 ESR_ReturnCode ArrayListRemove(ArrayList* self, void* element) 54 return self->remove(self, element); 77 ESR_ReturnCode ArrayListContains(ArrayList* self, void* element, ESR_BOOL* exists) 84 return self->contains(self, element, exists); 97 ESR_ReturnCode ArrayListGet(ArrayList* self, size_t index, void** element) 104 return self->get(self, index, element); [all...] |