HomeSort by relevance Sort by last modified time
    Searched refs:element (Results 326 - 350 of 3048) sorted by null

<<11121314151617181920>>

  /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/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"
41 friend class Element;
43 static PassOwnPtrWillBeRawPtr<NamedNodeMap> create(Element* element)
45 return adoptPtrWillBeNoop(new NamedNodeMap(element));
67 Element* element() const { return m_element; } function in class:WebCore::FINAL
72 explicit NamedNodeMap(Element* element)
73 : m_element(element)
    [all...]
PendingScript.h 39 class Element;
56 PendingScript(Element* element, ScriptResource* resource)
58 , m_element(element)
93 Element* element() const { return m_element.get(); } function in class:WebCore::FINAL
94 void setElement(Element* element) { m_element = element; }
95 PassRefPtrWillBeRawPtr<Element> releaseElementAndClear()
    [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/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/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();
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/chrome/browser/resources/chromeos/chromevox/common/
math_util.js 45 * Checks if a node is an element node that belongs to a given class
67 * Checks if an element of a math expression is a Token Element.
75 * @param {!Node} element The element of the math expression.
76 * @return {boolean} True if element is a token.
78 cvox.MathUtil.isToken = function(element) {
79 return cvox.MathUtil.isMathNodeOfClass_(element, cvox.MathUtil.TOKEN_LIST);
93 * Checks if an element of a math expression is a Layout Schema.
106 * @param {!Node} element The element of the math expression
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
treeoutline.js 31 * @param {!Element} listNode
58 this.element = listNode;
228 * @param {!TreeElement} element
230 TreeOutline.prototype._rememberTreeElement = function(element)
232 if (!this._treeElementsMap.get(element.representedObject))
233 this._treeElementsMap.put(element.representedObject, []);
235 // check if the element is already known
236 var elements = this._treeElementsMap.get(element.representedObject);
237 if (elements.indexOf(element) !== -1)
240 // add the element
    [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/guava/guava/src/com/google/common/collect/
ConcurrentHashMultiset.java 63 /** The number of occurrences of each element. */
103 * applies to all occurrences of a given element as a single unit. However, most updates to the
142 * Returns the number of occurrences of {@code element} in this multiset.
144 * @param element the element to look for
145 * @return the nonnegative number of occurrences of the element
147 @Override public int count(@Nullable Object element) {
148 AtomicInteger existingCounter = safeGet(element);
155 * those cases as if the element isn't in the map, by catching the exceptions and returning null.
157 private AtomicInteger safeGet(Object element) {
201 E element = entry.getElement(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
NumberInputType.cpp 96 PassRefPtrWillBeRawPtr<InputType> NumberInputType::create(HTMLInputElement& element)
98 return adoptRefWillBeNoop(new NumberInputType(element));
113 if (!valueChanged && sanitizedValue.isEmpty() && !element().innerEditorValue().isEmpty())
114 element().updateView();
120 return parseToDoubleForNumberType(element().value());
125 element().setValue(serializeForNumberType(newValue), eventBehavior);
130 element().setValue(serializeForNumberType(newValue), eventBehavior);
140 ASSERT(!typeMismatchFor(element().value()));
155 const String stepString = element().fastGetAttribute(stepAttr);
159 const Decimal minimum = parseToDecimalForNumberType(element().fastGetAttribute(minAttr))
    [all...]

Completed in 1169 milliseconds

<<11121314151617181920>>