/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...] |
ForwardingQueue.java | 75 public E element() { method in class:ForwardingQueue 76 return delegate().element(); 95 * A sensible definition of {@link #peek} in terms of {@link #element}. If you 96 * override {@link #element}, you may wish to override {@link #peek} to 103 return element();
|
/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/chromium_org/chrome_frame/ |
urlmon_upload_data_stream.cc | 25 const net::UploadElement& element = *elements[i]; local 28 DCHECK_EQ(net::UploadElement::TYPE_BYTES, element.type()); 29 upload_data_stream->AppendChunk(element.bytes(), element.bytes_length(), 36 const net::UploadElement& element = *elements[i]; local 38 switch (element.type()) { 40 reader = new net::UploadBytesElementReader(element.bytes(), 41 element.bytes_length()); 45 element.file_path(), 46 element.file_range_offset() [all...] |
/external/chromium_org/testing/gtest/test/ |
gtest_xml_test_utils.py | 83 'attribute numbers differ in element ' + actual_node.tagName) 89 'expected attribute %s not found in element %s' % 92 ' values of attribute %s in element %s differ' % 99 'number of child elements differ in element ' + actual_node.tagName) 102 '<%s> is not in <%s> (in element %s)' % 113 def _GetChildren(self, element): 115 Fetches all of the child nodes of element, a DOM Element object. 121 "detail". An exception is raised if any element other than the above 127 for child in element.childNodes [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSCursorImageValue.cpp | 43 Element* element = SVGURIReference::targetElementFromIRIString(url, document); local 44 if (element && element->hasTagName(SVGNames::cursorTag)) 45 return static_cast<SVGCursorElement*>(element); 89 bool CSSCursorImageValue::updateIfSVGCursorIsUsed(Element* element) 91 if (!element || !element->isSVGElement()) 98 if (SVGCursorElement* cursorElement = resourceReferencedByCursorElement(url, element->document())) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
SharedStyleFinder.h | 26 #include "core/dom/Element.h" 30 class Element; 56 Element* findElementForStyleSharing() const; 63 bool canShareStyleWithElement(Element& candidate) const; 64 bool canShareStyleWithControl(Element& candidate) const; 65 bool sharingCandidateHasIdenticalStyleAffectingAttributes(Element& candidate) const; 68 Element& element() const { return *m_context.element(); } function in class:WebCore::SharedStyleFinder 69 Document& document() const { return element().document(); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
ReplaceNodeWithSpanCommand.cpp | 44 ReplaceNodeWithSpanCommand::ReplaceNodeWithSpanCommand(PassRefPtr<HTMLElement> element) 45 : SimpleEditCommand(element->document()) 46 , m_elementToReplace(element)
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
ClassList.h | 30 #include "core/dom/Element.h" 37 class Element; 43 static PassOwnPtr<ClassList> create(Element* element) 45 return adoptPtr(new ClassList(element)); 54 virtual Element* element() OVERRIDE { return m_element; } 59 ClassList(Element*); 68 Element* m_element;
|
DOMFormData.cpp | 55 FormAssociatedElement* element = form->associatedElements()[i]; local 56 if (!toHTMLElement(element)->isDisabledFormControl()) 57 element->appendFormData(*this, true);
|
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/ |
PickerIndicatorElement.h | 83 DEFINE_TYPE_CASTS(PickerIndicatorElement, Element, element, element->isPickerIndicatorElement(), element.isPickerIndicatorElement());
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGResourceFilterPrimitive.cpp | 47 if (element()->hasTagName(SVGNames::feFloodTag)) { 52 } else if (element()->hasTagName(SVGNames::feDiffuseLightingTag) || element()->hasTagName(SVGNames::feSpecularLightingTag)) {
|
RenderSVGViewportContainer.cpp | 45 if (!element()->hasTagName(SVGNames::svgTag)) 48 m_isLayoutSizeChanged = toSVGSVGElement(element())->hasRelativeLengths() && selfNeedsLayout(); 59 SVGElement* element = this->element(); local 60 if (!element->hasTagName(SVGNames::svgTag)) 62 SVGSVGElement* svg = toSVGSVGElement(element); 65 SVGLengthContext lengthContext(element); 91 // If attributes width and/or height are provided on the 'use' element, then these attributes 93 // the generated 'svg' element will use values of 100% for these attributes. 95 // Spec (<use> on <svg>): If attributes width and/or height are provided on the 'use' element, then thes [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGSwitchElement.cpp | 56 // It will create a renderer for any valid SVG element children, not just the first one. 62 SVGElement* element = toSVGElement(node); local 63 if (!element || !element->isValid())
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
DatabaseQueryView.js | 36 this.element.classList.add("storage-view"); 37 this.element.classList.add("query"); 38 this.element.classList.add("monospace"); 39 this.element.addEventListener("selectstart", this._selectStart.bind(this), false); 45 this.element.appendChild(this._promptElement); 50 this.element.addEventListener("click", this._messagesClicked.bind(this), true); 65 * @param {!Element} proxyElement 191 var element = document.createElement("div"); 192 element.className = "database-user-query"; 193 this.element.insertBefore(element, this.prompt.proxyElement) [all...] |
/external/chromium_org/third_party/freetype/src/cff/ |
cffload.h | 35 FT_UInt element ); 44 FT_UInt element, 54 FT_UInt element );
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
linked_list.h | 51 inline void SLL_Push(void **list, void *element) { 52 SLL_SetNext(element, *list); 53 *list = element;
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
linked_list.h | 51 inline void SLL_Push(void **list, void *element) { 52 SLL_SetNext(element, *list); 53 *list = element;
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
PropertyDescriptorEditorProvider.java | 62 Object element = enumElements[i]; local 63 if (i % 3 == 0 && !(element instanceof String)) { 66 if (i % 3 == 2 && !(element instanceof String)) {
|
/external/freetype/src/cff/ |
cffload.h | 35 FT_UInt element ); 44 FT_UInt element, 54 FT_UInt element );
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
ArraySerializer.java | 64 Object element = Array.get(array, i); 65 if (element == null) continue; 66 dimensions[dimension] = Math.max(dimensions[dimension], Array.getLength(element)); 67 if (elementsAreArrays) collectDimensions(element, dimension + 1, dimensions); 121 Object element = Array.get(array, i); 123 if (element != null) writeArray(elementSerializer, buffer, element, dimension + 1, dimensionCount); 125 elementSerializer.writeObject(buffer, element); 127 // Each element could be a different type. Store the class with the object. 128 Serializer.writeClassAndObject(buffer, element); [all...] |
/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);
|
elementgetelementsbytagnamens02.java | 86 Element element; local 89 element = doc.getDocumentElement(); 90 elementList = element.getElementsByTagNameNS("**", "*");
|
elementgetelementsbytagnamens05.java | 87 Element element; local 90 element = doc.getDocumentElement(); 91 elementList = element.getElementsByTagNameNS("http://www.altavista.com", "*");
|
elementhasattribute01.java | 48 * on this element or has a default value, false otherwise 84 Element element; local 87 element = doc.getDocumentElement(); 88 state = element.hasAttribute("");
|