/external/guava/guava/src/com/google/common/collect/ |
ForwardingList.java | 65 public void add(int index, E element) { 66 delegate().add(index, element); 80 public int indexOf(Object element) { 81 return delegate().indexOf(element); 85 public int lastIndexOf(Object element) { 86 return delegate().lastIndexOf(element); 105 public E set(int index, E element) { 106 return delegate().set(index, element); 130 @Beta protected boolean standardAdd(E element){ 131 add(size(), element); local [all...] |
Constraints.java | 49 public Object checkElement(Object element) { 50 return checkNotNull(element); 59 * Returns a constraint that verifies that the element is not null. If the 60 * element is null, a {@link NullPointerException} is thrown. 98 @Override public boolean add(E element) { 99 constraint.checkElement(element); 100 return delegate.add(element); 136 @Override public boolean add(E element) { 137 constraint.checkElement(element); 138 return delegate.add(element); [all...] |
ForwardingMultiset.java | 61 public int count(Object element) { 62 return delegate().count(element); 66 public int add(E element, int occurrences) { 67 return delegate().add(element, occurrences); 71 public int remove(Object element, int occurrences) { 72 return delegate().remove(element, occurrences); 94 public int setCount(E element, int count) { 95 return delegate().setCount(element, count); 99 public boolean setCount(E element, int oldCount, int newCount) { 100 return delegate().setCount(element, oldCount, newCount) [all...] |
/external/webkit/Source/WebCore/html/ |
FileInputType.cpp | 41 inline FileInputType::FileInputType(HTMLInputElement* element) 42 : BaseButtonInputType(element) 47 PassOwnPtr<InputType> FileInputType::create(HTMLInputElement* element) 49 return adoptPtr(new FileInputType(element)); 59 FileList* fileList = element()->files(); 70 encoding.appendData(element()->name(), fileList->item(i)->fileName()); 77 encoding.appendBlob(element()->name(), File::create("")); 82 encoding.appendBlob(element()->name(), fileList->item(i)); 93 return element()->multiple() ? validationMessageValueMissingForMultipleFileText() : validationMessageValueMissingForFileText(); 98 if (element()->disabled() || !element()->renderer() [all...] |
HTMLLabelElement.cpp | 41 if (!node || !node->isElementNode() || !static_cast<Element*>(node)->isFormControlElement()) 71 // Search the children and descendants of the label element for a form element. 72 // per http://dev.w3.org/html5/spec/Overview.html#the-label-element 73 // the form element must be "labelable form-associated element". 82 // Find the first element whose id is controlId. If it is found and it is a labelable form control, 96 if (HTMLElement* element = control()) 97 element->setActive(down, pause); 109 if (HTMLElement* element = control() 118 RefPtr<HTMLElement> element = control(); local [all...] |
EmailInputType.cpp | 53 PassOwnPtr<InputType> EmailInputType::create(HTMLInputElement* element) 55 return adoptPtr(new EmailInputType(element)); 67 if (!element()->multiple()) 80 return typeMismatchFor(element()->value()); 85 return element()->multiple() ? validationMessageTypeMismatchForMultipleEmailText() : validationMessageTypeMismatchForEmailText();
|
WeekInputType.cpp | 47 PassOwnPtr<InputType> WeekInputType::create(HTMLInputElement* element) 49 return adoptPtr(new WeekInputType(element)); 59 return parseToDouble(element()->fastGetAttribute(minAttr), DateComponents::minimumWeek()); 64 return parseToDouble(element()->fastGetAttribute(maxAttr), DateComponents::maximumWeek()); 69 return parseToDouble(element()->fastGetAttribute(minAttr), weekDefaultStepBase);
|
/external/srec/shared/include/ |
IntArrayListImpl.h | 42 * Virtual number of allocated element slots. 46 * Actual number of allocated element slots. 56 ESR_SHARED_API ESR_ReturnCode IntArrayList_Add(IntArrayList* self, const int element); 61 ESR_SHARED_API ESR_ReturnCode IntArrayList_Remove(IntArrayList* self, const int element); 71 ESR_SHARED_API ESR_ReturnCode IntArrayList_Contains(IntArrayList* self, const int element, ESR_BOOL* exists); 76 ESR_SHARED_API ESR_ReturnCode IntArrayList_Get(IntArrayList* self, size_t index, int* element); 81 ESR_SHARED_API ESR_ReturnCode IntArrayList_Set(IntArrayList* self, size_t index, const int element);
|
Int8ArrayList.h | 43 * Adds element to list. 46 * @param element Element to be added 48 ESR_ReturnCode(*add)(struct Int8ArrayList_t* self, asr_int8_t element); 51 * Removes element from list. 54 * @param element Element to be removed 56 ESR_ReturnCode(*remove)(struct Int8ArrayList_t* self, asr_int8_t element); 66 * Indicates if element is contained within the list. 69 * @param element Element to check fo [all...] |
/external/webkit/Source/WebKit/android/WebCoreSupport/autofill/ |
StringUtils.h | 50 inline string16 nameForAutofill(const HTMLFormControlElement& element) 53 // to use WebCore types for accessing element properties. 54 String name = element.name(); 58 name = element.getIdAttribute(); 65 inline string16 formControlType(const HTMLFormControlElement& element) 68 // to use WebCore types for accessing element properties. 69 return WTFStringToString16(element.type());
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
elementhasattribute03.java | 35 * on this element or has a default value, false otherwise. 36 * Create an element Node and an attribute Node. Invoke hasAttribute method 37 * to verify that there is no attribute. Append the attribute node to the element node. 38 * Invoke the hasAttribute method on the element and verify if it returns true. 67 Element element; local 72 element = doc.createElement("address"); 74 state = element.hasAttribute("domestic"); 76 newAttribute = element.setAttributeNode(attribute); 77 state = element.hasAttribute("domestic") [all...] |
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...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ElementRemoveAttributeNS.java | 3 import org.w3c.dom.Element; 11 * URI. Create a new element and add a new attribute node to it. Remove the 13 * was remove by invoking the hasAttributeNS method on the element and check if 52 Element element; local 57 element = doc.createElementNS("http://www.w3.org/DOM", "elem"); 60 element.setAttributeNodeNS(attribute); 61 element.removeAttributeNS( 63 state = element.hasAttributeNS(
|
NodeHasAttributes.java | 26 import org.w3c.dom.Element; 35 * The method hasAttributes returns whether this node (if it is an element) has 36 * any attributes. Retreive an element node without attributes. Verify if 37 * hasAttributes returns false. Retreive another element node with attributes. 76 Element element; local 81 element = (Element) elementList.item(0); 82 hasAttributes = element.hasAttributes(); 85 element = (Element) elementList.item(0) 100 Element element; local 116 Element element; local [all...] |
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/location/ |
WayPointLabelProvider.java | 30 public Image getColumnImage(Object element, int columnIndex) { 35 public String getColumnText(Object element, int columnIndex) { 36 if (element instanceof WayPoint) { 37 WayPoint wayPoint = (WayPoint)element; 70 public boolean isLabelProperty(Object element, String property) {
|
/external/srec/shared/src/ |
Int8ArrayList.c | 26 ESR_ReturnCode Int8ArrayListAdd(Int8ArrayList* self, asr_int8_t element) 33 return self->add(self, element); 36 ESR_ReturnCode Int8ArrayListRemove(Int8ArrayList* self, asr_int8_t element) 43 return self->remove(self, element); 56 ESR_ReturnCode Int8ArrayListContains(Int8ArrayList* self, asr_int8_t element, ESR_BOOL* exists) 63 return self->contains(self, element, exists); 76 ESR_ReturnCode Int8ArrayListGet(Int8ArrayList* self, size_t index, asr_int8_t* element) 83 return self->get(self, index, element); 86 ESR_ReturnCode Int8ArrayListSet(Int8ArrayList* self, size_t index, asr_int8_t element) 93 return self->set(self, index, element); [all...] |
/external/webkit/Source/WebCore/svg/ |
SVGPathSegCurvetoCubicSmooth.h | 31 SVGPathSegCurvetoCubicSmooth(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2) 32 : SVGPathSegWithContext(element, role) 77 static PassRefPtr<SVGPathSegCurvetoCubicSmoothAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2) 79 return adoptRef(new SVGPathSegCurvetoCubicSmoothAbs(element, role, x, y, x2, y2)); 83 SVGPathSegCurvetoCubicSmoothAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2) 84 : SVGPathSegCurvetoCubicSmooth(element, role, x, y, x2, y2) 94 static PassRefPtr<SVGPathSegCurvetoCubicSmoothRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2) 96 return adoptRef(new SVGPathSegCurvetoCubicSmoothRel(element, role, x, y, x2, y2)); 100 SVGPathSegCurvetoCubicSmoothRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2) 101 : SVGPathSegCurvetoCubicSmooth(element, role, x, y, x2, y2 [all...] |
SVGPathSegCurvetoQuadratic.h | 31 SVGPathSegCurvetoQuadratic(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1) 32 : SVGPathSegWithContext(element, role) 77 static PassRefPtr<SVGPathSegCurvetoQuadraticAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1) 79 return adoptRef(new SVGPathSegCurvetoQuadraticAbs(element, role, x, y, x1, y1)); 83 SVGPathSegCurvetoQuadraticAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1) 84 : SVGPathSegCurvetoQuadratic(element, role, x, y, x1, y1) 94 static PassRefPtr<SVGPathSegCurvetoQuadraticRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1) 96 return adoptRef(new SVGPathSegCurvetoQuadraticRel(element, role, x, y, x1, y1)); 100 SVGPathSegCurvetoQuadraticRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1) 101 : SVGPathSegCurvetoQuadratic(element, role, x, y, x1, y1 [all...] |
/external/webkit/Source/WebCore/html/parser/ |
HTMLElementStack.cpp | 31 #include "Element.h" 145 void HTMLElementStack::ElementRecord::replaceElement(PassRefPtr<Element> element) 147 ASSERT(element); 150 m_node = element; 184 // If we have a body element, it must always be the second element on the 185 // stack, as we always start with an html element, and any other element 186 // would cause the implicit creation of a body element [all...] |
/external/webkit/Source/WebCore/css/ |
CSSCursorImageValue.cpp | 48 Element* element = document->getElementById(SVGURIReference::getTarget(fragmentId)); local 49 if (element && element->hasTagName(SVGNames::cursorTag)) 50 return static_cast<SVGCursorElement*>(element); 81 bool CSSCursorImageValue::updateIfSVGCursorIsUsed(Element* element) 84 UNUSED_PARAM(element); 86 if (!element || !element->isSVGElement() [all...] |
/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...] |
/external/webkit/Source/WebCore/dom/ |
SelectorNodeList.cpp | 36 #include "Element.h" 54 Element* element = document->getElementById(onlySelector->value()); local 55 if (element && (rootNode->isDocumentNode() || element->isDescendantOf(rootNode)) && selectorChecker.checkSelector(onlySelector, element)) 56 nodes.append(element); 60 Element* element = static_cast<Element*>(n) local [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
Placard.js | 28 this.element = document.createElement("div"); 29 this.element.className = "placard"; 30 this.element.placard = this; 38 this.element.appendChild(this.subtitleElement); 39 this.element.appendChild(this.titleElement); 91 this.element.addStyleClass("selected"); 99 this.element.removeStyleClass("selected");
|
TabbedPane.js | 31 WebInspector.TabbedPane = function(element) 33 this.element = element || document.createElement("div"); 34 this.element.addStyleClass("tabbed-pane"); 35 this._tabsElement = this.element.createChild("div", "tabbed-pane-header"); 36 this._contentElement = this.element.createChild("div", "tabbed-pane-content"); 48 this._contentElement.appendChild(view.element);
|
/external/webkit/Source/WebKit/chromium/src/ |
WebPageSerializer.cpp | 35 #include "Element.h" 60 KURL getSubResourceURLFromElement(Element* element) 62 ASSERT(element); 64 if (element->hasTagName(HTMLNames::imgTag) || element->hasTagName(HTMLNames::scriptTag)) 66 else if (element->hasTagName(HTMLNames::inputTag)) { 67 HTMLInputElement* input = static_cast<HTMLInputElement*>(element); 70 } else if (element->hasTagName(HTMLNames::bodyTag) 71 || element->hasTagName(HTMLNames::tableTag [all...] |