/external/chromium_org/third_party/WebKit/Source/core/css/ |
SelectorCheckerFastPath.cpp | 33 #include "core/dom/Element.h" 42 template <bool checkValue(const Element&, const CSSSelector*)> 43 inline bool fastCheckSingleSelector(const CSSSelector*& selector, const Element*& element, const CSSSelector*& topChildOrSubselector, const Element*& topChildOrSubselectorMatchElement) 45 for (; element; element = element->parentElement()) { 46 if (checkValue(*element, selector)) { 52 topChildOrSubselectorMatchElement = element; 130 const Element* element = &m_element; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_draw.c | 56 const struct pipe_vertex_element *element = local 59 &vertex_buffers[element->vertex_buffer_index]; 72 format_desc = util_format_description(element->src_format); 85 if (element->src_offset >= buffer_size) { 90 buffer_size -= element->src_offset; 104 if (element->instance_divisor == 0) { 111 assert((info->start_instance + info->instance_count)/element->instance_divisor
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_draw.c | 56 const struct pipe_vertex_element *element = local 59 &vertex_buffers[element->vertex_buffer_index]; 72 format_desc = util_format_description(element->src_format); 85 if (element->src_offset >= buffer_size) { 90 buffer_size -= element->src_offset; 104 if (element->instance_divisor == 0) { 111 assert((info->start_instance + info->instance_count)/element->instance_divisor
|
/external/v8/src/ |
liveobjectlist-inl.h | 92 // specified key. If no matching element is found, then it returns NULL. 94 inline LiveObjectList::Element* 95 LiveObjectList::FindElementFor(T (*GetValue)(LiveObjectList::Element*), T key) { 98 Element* elements = lol->elements_; 100 Element* element = &elements[i]; local 101 if (GetValue(element) == key) { 102 return element; 111 inline int LiveObjectList::GetElementId(LiveObjectList::Element* element) { [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
documentcreateelementNS01.java | 47 * The method createElementNS creates an element of the given valid qualifiedName and NamespaceURI. 50 * and qualifiedName. Check if a valid Element object is returned with the same node attributes. 79 Element element; local 88 element = doc.createElementNS(namespaceURI, qualifiedName); 89 nodeName = element.getNodeName(); 90 nsURI = element.getNamespaceURI(); 91 localName = element.getLocalName(); 92 prefix = element.getPrefix(); 93 tagName = element.getTagName() [all...] |
elementgetelementsbytagnamens04.java | 36 * Create a new element node ('root') and append three newly created child nodes (all have 76 Element element; local 77 Element child1; 78 Element child2; 79 Element child3; 85 element = doc.createElementNS("http://www.w3.org/DOM", "root"); 89 appendedChild = element.appendChild(child1); 90 appendedChild = element.appendChild(child2); 91 appendedChild = element.appendChild(child3) [all...] |
getElementById02.java | 68 Element element; local 70 element = doc.getElementById("Cancun"); 71 assertNull("throw_Null", element);
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
NamedNodeMapSetNamedItemNS.java | 29 import org.w3c.dom.Element; 41 * Retreive the first element whose localName is address and namespaceURI 86 Node element; local 95 element = elementList.item(0); 96 attributes = element.getAttributes(); 98 ((Element) /* Node */element).setAttributeNodeNS(newAttr1); 107 Element element; local 113 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root") 131 Element element; local 166 Element element; local 232 Element element; local 258 Element element; local 284 Element element; local [all...] |
ElementGetAttributeNodeNS.java | 3 import org.w3c.dom.Element; 11 * namespace URI. Create a new element node and add 2 new attribute nodes to it 52 Element element; local 64 element = doc.createElementNS("namespaceURI", "root"); 67 element.setAttributeNodeNS(attribute1); 70 element.setAttributeNodeNS(attribute2); 71 attribute = element.getAttributeNodeNS("http://www.w3.org/DOM/Level2", 89 Element element; local [all...] |
AttrGetOwnerElement.java | 5 import org.w3c.dom.Element; 39 // Element element; 40 // Element ownerElement; 50 // element = (Element) elementList.item(1); 51 // attributes = element.getAttributes(); 60 Element element; local 61 Element ownerElement 86 Element element; local 105 Node element; local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/lib/html/parser/ |
HtmlTreeBuilder.java | 38 /** Stack contains HTML4.Element objects to keep track of unclosed tags */ 39 private final List<HTML.Element> stack = new ArrayList<HTML.Element>(); 72 HTML.Element element = t.getElement(); local 73 if (element.isEmpty()) { 82 tree.addStartTag(HtmlDocument.createTag(element, 85 EndTag end = HtmlDocument.createEndTag(element); 90 push(element); // Track the open tags 98 HTML.Element element = t.getElement() local 144 HTML.Element element = pop(); local 196 HTML.Element element = tag.getElement(); local 232 HTML.Element element= endTag.getElement(); local [all...] |
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
HtmlTreeBuilder.java | 38 /** Stack contains HTML4.Element objects to keep track of unclosed tags */ 39 private final List<HTML.Element> stack = new ArrayList<HTML.Element>(); 72 HTML.Element element = t.getElement(); local 73 if (element.isEmpty()) { 82 tree.addStartTag(HtmlDocument.createTag(element, 85 EndTag end = HtmlDocument.createEndTag(element); 90 push(element); // Track the open tags 98 HTML.Element element = t.getElement() local 144 HTML.Element element = pop(); local 196 HTML.Element element = tag.getElement(); local 232 HTML.Element element= endTag.getElement(); local [all...] |
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
ArrayInitializerFormatter.java | 68 public void outElement(String element) { 69 if (!element.equals(mFixedElement)) { 73 final int nextLen = mBufferedLen + " ".length() + element.length(); 76 mBuffer.append(element); 83 mBuffer.append(element); 84 mBufferedLen = element.length(); 87 mFixedElement = element;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
AttributeDescriptorLabelProvider.java | 39 public Image getImage(Object element) { 40 if (element instanceof UiAbstractTextAttributeNode) { 41 UiAbstractTextAttributeNode node = (UiAbstractTextAttributeNode) element; 55 public String getText(Object element) { 56 if (element instanceof UiAbstractTextAttributeNode) { 57 return ((UiAbstractTextAttributeNode)element).getCurrentValue(); 76 public boolean isLabelProperty(Object element, String property) {
|
/external/chromium_org/third_party/WebKit/Source/core/html/forms/ |
RangeInputType.cpp | 77 PassRefPtr<InputType> RangeInputType::create(HTMLInputElement& element) 79 return adoptRef(new RangeInputType(element)); 82 RangeInputType::RangeInputType(HTMLInputElement& element) 83 : InputType(element) 105 return parseToDoubleForNumberType(element().value()); 110 element().setValue(serialize(newValue), eventBehavior); 127 const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), rangeDefaultMinimum); 128 const Decimal maximum = ensureMaximum(parseToNumber(element().fastGetAttribute(maxAttr), rangeDefaultMaximum), minimum, rangeDefaultMaximum); 130 const AtomicString& precisionValue = element().fastGetAttribute(precisionAttr); 136 const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr)) [all...] |
URLInputType.cpp | 41 PassRefPtr<InputType> URLInputType::create(HTMLInputElement& element) 43 return adoptRef(new URLInputType(element)); 63 return typeMismatchFor(element().value());
|
/external/protobuf/gtest/samples/ |
sample3-inl.h | 42 // The element type must support copy constructor. 43 template <typename E> // E is the element type 46 // QueueNode is a node in a Queue, which consists of an element of 48 template <typename E> // E is the element type 53 // Gets the element in this node. 54 const E & element() const { return element_; } function in class:QueueNode 61 // Creates a node with a given element value. The next pointer is 63 QueueNode(const E & element) : element_(element), next_(NULL) {} 73 template <typename E> // E is the element type 144 E * element = new E(old_head->element()); local [all...] |
/external/chromium_org/chrome/browser/ui/webui/options/ |
settings_format_browsertest.js | 30 MISSING_CHECK_WRAPPER: 'Element $1 should be enclosed in <div class="$2">', 65 * @param {!Element} element The element that triggered the failure. 68 fail: function(key, element, args) { 69 var subs = [this.getLabel(element)].concat( 82 * @param {!Element} element The target element to identify. 83 * @return {string} Name to facilitate tracking down the element [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
StyleResolverState.cpp | 31 StyleResolverState::StyleResolverState(Document& document, Element* element, RenderStyle* parentStyle, RenderRegion* regionForStyling) 32 : m_elementContext(element ? ElementResolveContext(*element) : ElementResolveContext())
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
ClearButtonElement.h | 59 DEFINE_TYPE_CASTS(ClearButtonElement, Element, element, element->isClearButtonElement(), element.isClearButtonElement());
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
SingletonImmutableList_CustomFieldSerializer.java | 37 Object element = reader.readObject(); local 38 return new SingletonImmutableList<Object>(element); 43 writer.writeObject(instance.element);
|
SingletonImmutableSet_CustomFieldSerializer.java | 36 Object element = reader.readObject(); local 37 return new SingletonImmutableSet<Object>(element); 42 writer.writeObject(instance.element);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/ |
StateLabelProvider.java | 54 private String getValue(IGLProperty element) { 55 return element.getStringValue(); 58 private String getName(IGLProperty element) { 59 IGLProperty parent = element.getParent(); 63 int index = ((GLListProperty) parent).indexOf(element); 64 if (element.getType() == GLStateType.GL_STATE_ES1) { 66 } else if (element.getType() == GLStateType.GL_STATE_ES2) { 74 int index = ((GLSparseArrayProperty) parent).keyFor(element); 78 return element.getType().getDescription(); 83 Object element = cell.getElement() local [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/parse-only/ |
concat-jquery-mootools-prototype.js | 68 // Otherwise, we inject the element directly into the jQuery object 102 // The number of elements contained in the matched element set 107 // Get the Nth element in the matched element set OR 108 // Get the whole matched element set as a clean array 120 // (returning the new matched element set) 122 // Build a new jQuery matched element set 135 // Return the newly-formed element set 151 // Execute a callback for every element in the matched set. 158 // Determine the position of an element withi [all...] |
/external/chromium_org/components/autofill/content/renderer/ |
form_autofill_util.cc | 68 bool IsOptionElement(const WebElement& element) { 70 return element.hasTagName(kOption); 73 bool IsScriptElement(const WebElement& element) { 75 return element.hasTagName(kScript); 78 bool IsNoScriptElement(const WebElement& element) { 80 return element.hasTagName(kNoScript); 87 bool IsAutofillableElement(const WebFormControlElement& element) { 88 const WebInputElement* input_element = toWebInputElement(&element); 90 IsSelectElement(element) || 91 IsTextAreaElement(element); 150 const WebElement element = node.toConst<WebElement>(); local 492 WebFormControlElement* element = &control_elements[i]; local 687 blink::WebElement element; local 728 WebFormControlElement element = control_elements[i]; local [all...] |