/external/srec/portable/include/ |
ArrayListImpl.h | 41 * Represents an array of void* elements. An element having a value of NULL denotes an 47 * number element in the array. 68 PORTABLE_API ESR_ReturnCode ArrayList_Add(ArrayList* self, void* element); 73 PORTABLE_API ESR_ReturnCode ArrayList_InsertAt(ArrayList* self, size_t index, void* element); 78 PORTABLE_API ESR_ReturnCode ArrayList_Remove(ArrayList* self, const void* element); 93 PORTABLE_API ESR_ReturnCode ArrayList_Contains(ArrayList* self, const void* element, ESR_BOOL* exists); 98 PORTABLE_API ESR_ReturnCode ArrayList_Get(ArrayList* self, size_t index, void** element); 103 PORTABLE_API ESR_ReturnCode ArrayList_Set(ArrayList* self, size_t index, void* element);
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
elementsetattributenodens01.java | 34 * Testing Element.setAttributeNodeNS: If an attribute with that local name 35 * and that namespace URI is already present in the element, it is replaced 37 * Create a new element and two new attribute nodes (in the same namespace 39 * Add the two new attribute nodes to the element node using the 76 Element element; local 87 element = doc.createElementNS("http://www.w3.org/DOM/Test/Level2", "new:element"); 91 newAttribute = element.setAttributeNodeNS(attribute1); 92 newAttribute = element.setAttributeNodeNS(attribute2) [all...] |
elementsetattributens03.java | 35 * Retreive an existing element node with a default attribute node and 74 Element element; local 81 element = (Element) elementList.item(0); 82 assertNotNull("empEmployeeNotNull", element); 83 element.setAttributeNS("http://www.w3.org/DOM/Test/1", "defaultAttr", "default1"); 84 element.setAttributeNS("http://www.w3.org/DOM/Test/2", "defaultAttr", "default2"); 85 attribute = element.getAttributeNodeNS("http://www.w3.org/DOM/Test/1", "defaultAttr");
|
nodesetprefix01.java | 36 * tagName and name attributes of the Element and Attr interfaces, when applicable. 38 * Create a new element node with a namespace prefix. Add it to a new DocumentFragment Node without 39 * a prefix. Call setPrefix on the elemen node. Check if the prefix was set correctly on the element. 74 Element element; local 80 element = doc.createElementNS("http://www.w3.org/DOM/Test", "emp:address"); 81 appendedChild = docFragment.appendChild(element); 82 element.setPrefix("dmstc"); 83 elementTagName = element.getTagName(); 84 elementNodeName = element.getNodeName() [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
ElementSetAttributeNS.java | 6 import org.w3c.dom.Element; 16 * The method setAttributeNS adds a new attribute. Create a new element and add 57 Element element; local 62 element = doc.createElementNS("http://www.w3.org/DOM", "dom:elem"); 63 element.setAttributeNS("http://www.w3.org/DOM/Test/setAttributeNS", 65 attribute = element.getAttributeNodeNS( 74 Element element; local 81 element = (Element) elementList.item(0) 95 Element element; local 118 Element element; local 151 Element element; local 170 Element element; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/ |
StateContentProvider.java | 59 public Object getParent(Object element) { 60 if (element instanceof IGLProperty) { 61 return ((IGLProperty) element).getParent(); 68 public boolean hasChildren(Object element) { 69 if (element instanceof IGLProperty) { 70 return ((IGLProperty) element).isComposite();
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_vs_variant.c | 296 fetch.element[i].type = TRANSLATE_ELEMENT_NORMAL; 297 fetch.element[i].input_format = key->element[i].in.format; 298 fetch.element[i].input_buffer = key->element[i].in.buffer; 299 fetch.element[i].input_offset = key->element[i].in.offset; 300 fetch.element[i].instance_divisor = 0; 301 fetch.element[i].output_format = PIPE_FORMAT_R32G32B32A32_FLOAT; 302 fetch.element[i].output_offset = i * 4 * sizeof(float) [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_vs_variant.c | 296 fetch.element[i].type = TRANSLATE_ELEMENT_NORMAL; 297 fetch.element[i].input_format = key->element[i].in.format; 298 fetch.element[i].input_buffer = key->element[i].in.buffer; 299 fetch.element[i].input_offset = key->element[i].in.offset; 300 fetch.element[i].instance_divisor = 0; 301 fetch.element[i].output_format = PIPE_FORMAT_R32G32B32A32_FLOAT; 302 fetch.element[i].output_offset = i * 4 * sizeof(float) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
Dialog.js | 33 * @param {!Element} relativeToElement 43 this._glassPane.element.tabIndex = 0; 44 this._glassPane.element.addEventListener("focus", this._onGlassPaneFocus.bind(this), false); 46 this._element = this._glassPane.element.createChild("div"); 72 * @param {!Element} relativeToElement 145 * @param {!Element} element 147 show: function(element) 149 element.appendChild(this.element); [all...] |
ExtensionPanel.js | 42 this.element.classList.add("extension-panel"); 43 this._panelStatusBarElement = this.element.createChild("div", "panel-status-bar hidden"); 46 this._searchableView.show(this.element); 49 extensionView.show(this._searchableView.element); 60 * @param {!Element} element 62 addStatusBarItem: function(element) 65 this._panelStatusBarElement.appendChild(element); 114 this.element = document.createElement("button"); 115 this.element.className = "status-bar-item extension" [all...] |
Section.js | 32 * @param {string|!Element} title 37 this.element = document.createElement("div"); 38 this.element.className = "section"; 39 this.element._section = this; 54 this.element.appendChild(this.headerElement); 139 var parent = this.element.parentElement; 155 var parent = this.element.parentElement; 171 var curElement = this.element; 181 var curElement = this.element; 194 this.element.classList.add("expanded") [all...] |
/external/chromium_org/third_party/libjingle/source/talk/xmllite/ |
xmlprinter.cc | 43 void PrintElement(const XmlElement* element); 53 void XmlPrinter::PrintXml(std::ostream* pout, const XmlElement* element) { 55 PrintXml(pout, element, &ns_stack); 58 void XmlPrinter::PrintXml(std::ostream* pout, const XmlElement* element, 61 printer.PrintElement(element); 69 void XmlPrinterImpl::PrintElement(const XmlElement* element) { 74 for (attr = element->FirstAttr(); attr; attr = attr->NextAttr()) { 86 prefix = ns_stack_->AddNewPrefix(element->Name().Namespace(), false); 89 new_ns.push_back(element->Name().Namespace()); 92 for (attr = element->FirstAttr(); attr; attr = attr->NextAttr()) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkClipStack.cpp | 19 void SkClipStack::Element::invertShapeFillType() { 34 void SkClipStack::Element::checkEmpty() const { 42 bool SkClipStack::Element::canBeIntersectedInPlace(int saveCount, SkRegion::Op op) const { 54 bool SkClipStack::Element::rectRectIntersectAllowed(const SkRect& newR, bool newAA) const { 82 void SkClipStack::Element::combineBoundsDiff(FillCombo combination, const SkRect& prevFinite) { 119 SkDEBUGFAIL("SkClipStack::Element::combineBoundsDiff Invalid fill combination"); 124 void SkClipStack::Element::combineBoundsXOR(int combination, const SkRect& prevFinite) { 151 SkDEBUGFAIL("SkClipStack::Element::combineBoundsXOR Invalid fill combination"); 157 void SkClipStack::Element::combineBoundsUnion(int combination, const SkRect& prevFinite) { 181 SkDEBUGFAIL("SkClipStack::Element::combineBoundsUnion Invalid fill combination") 432 Element* element = (Element*)fDeque.back(); local 451 Element* element = (Element*)fDeque.back(); local 465 Element* element = (Element*)fDeque.back(); local 506 const Element* element = iter.prev(); local 532 Element* element = (Element*) iter.prev(); local 575 Element* element = (Element*)fDeque.back(); local 607 Element* element = (Element*) fDeque.back(); local 655 const SkClipStack::Element* element = NULL; local [all...] |
/external/skia/src/core/ |
SkClipStack.cpp | 19 void SkClipStack::Element::invertShapeFillType() { 34 void SkClipStack::Element::checkEmpty() const { 42 bool SkClipStack::Element::canBeIntersectedInPlace(int saveCount, SkRegion::Op op) const { 54 bool SkClipStack::Element::rectRectIntersectAllowed(const SkRect& newR, bool newAA) const { 82 void SkClipStack::Element::combineBoundsDiff(FillCombo combination, const SkRect& prevFinite) { 119 SkDEBUGFAIL("SkClipStack::Element::combineBoundsDiff Invalid fill combination"); 124 void SkClipStack::Element::combineBoundsXOR(int combination, const SkRect& prevFinite) { 151 SkDEBUGFAIL("SkClipStack::Element::combineBoundsXOR Invalid fill combination"); 157 void SkClipStack::Element::combineBoundsUnion(int combination, const SkRect& prevFinite) { 181 SkDEBUGFAIL("SkClipStack::Element::combineBoundsUnion Invalid fill combination") 432 Element* element = (Element*)fDeque.back(); local 451 Element* element = (Element*)fDeque.back(); local 465 Element* element = (Element*)fDeque.back(); local 506 const Element* element = iter.prev(); local 532 Element* element = (Element*) iter.prev(); local 575 Element* element = (Element*)fDeque.back(); local 607 Element* element = (Element*) fDeque.back(); local 655 const SkClipStack::Element* element = NULL; local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
NodeRenderingContext.cpp | 61 Element* element = m_node->isElementNode() ? toElement(m_node) : 0; 62 if (element && element->shouldBeReparentedUnderRenderView(m_style.get())) { 69 if (!element->isInTopLayer()) 72 const Vector<RefPtr<Element> >& topLayerElements = element->document().topLayerElements(); 73 size_t position = topLayerElements.find(element); 162 Element* element = toElement(m_node) local 201 Element* element = toElement(m_node); local [all...] |
PresentationAttributeStyle.cpp | 37 #include "core/dom/Element.h" 118 static void makePresentationAttributeCacheKey(Element& element, PresentationAttributeCacheKey& result) 121 if (!element.isHTMLElement()) 124 if (element.hasTagName(inputTag)) 126 unsigned size = element.attributeCount(); 128 const Attribute* attribute = element.attributeItem(i); 129 if (!element.isPresentationAttribute(attribute->name())) 143 result.tagName = element.localName().impl(); 155 PassRefPtr<StylePropertySet> computePresentationAttributeStyle(Element& element [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
PointerTrackerQueue.java | 29 public interface Element { 39 private final ArrayList<Element> mExpandableArrayOfActivePointers = 49 public void add(final Element pointer) { 54 final ArrayList<Element> expandableArray = mExpandableArrayOfActivePointers; 65 public void remove(final Element pointer) { 70 final ArrayList<Element> expandableArray = mExpandableArrayOfActivePointers; 74 final Element element = expandableArray.get(index); local 75 if (element == pointer) { 77 Log.w(TAG, "Found duplicated element in remove: " + pointer) 106 final Element element = expandableArray.get(index); local 123 final Element element = expandableArray.get(index); local 158 final Element element = expandableArray.get(index); local 184 final Element element = expandableArray.get(index); local 201 final Element element = expandableArray.get(index); local 218 final Element element = expandableArray.get(index); local 231 final Element element = expandableArray.get(index); local [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/keyboard/ |
keyboard_utils.js | 54 * @param {HTMLElement} element Element that should receive the event. 59 keyboard.raiseTabKeyEvent_ = function(element, eventType, shift) { 72 element.dispatchEvent(event); 76 * Raises shift+tab keyboard events to focus previous element. 77 * @param {HTMLElement} element Element that should receive the event. 79 keyboard.raiseKeyFocusPrevious = function(element) { 80 keyboard.raiseTabKeyEvent_(element, 'keydown', true); 81 keyboard.raiseTabKeyEvent_(element, 'keypress', true) [all...] |
/external/chromium_org/chrome/test/chromedriver/js/ |
get_element_region.js | 5 function getElementRegion(element) { 6 // Check that node type is element. 7 if (element.nodeType != 1) 8 throw new Error(element + ' is not an element'); 10 // We try 2 methods to determine element region. Try the first client rect, 13 var clientRects = element.getClientRects(); 15 var box = element.getBoundingClientRect(); 16 if (element.tagName.toLowerCase() == 'area') { 17 var coords = element.coords.split(',') [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/custom/ |
CustomElementCallbackInvocation.cpp | 34 #include "core/dom/Element.h" 47 virtual void dispatch(Element*) OVERRIDE; 51 void CreatedInvocation::dispatch(Element* element) 53 if (element->inDocument() && element->document().domWindow()) 54 CustomElementCallbackScheduler::scheduleAttachedCallback(callbacks(), element); local 55 callbacks()->created(element); 63 virtual void dispatch(Element*) OVERRIDE; 75 void AttachedDetachedInvocation::dispatch(Element* element [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
free_list.h | 123 // Pops the top element off the linked list whose first element is at 124 // |*list|, and updates |*list| to point to the next element in the 125 // list. Returns the address of the element that was removed from the 137 // Makes the element at |t| a singleton doubly linked list. 143 // Pushes element to a linked list whose first element is at 146 inline void FL_Push(void **list, void *element) { 149 FL_Init(element); 152 FL_SetNext(element, old) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGPathData.cpp | 37 static void updatePathFromCircleElement(SVGElement* element, Path& path) 39 SVGCircleElement* circle = toSVGCircleElement(element); 41 SVGLengthContext lengthContext(element); 47 static void updatePathFromEllipseElement(SVGElement* element, Path& path) 49 SVGEllipseElement* ellipse = toSVGEllipseElement(element); 51 SVGLengthContext lengthContext(element); 61 static void updatePathFromLineElement(SVGElement* element, Path& path) 63 SVGLineElement* line = toSVGLineElement(element); 65 SVGLengthContext lengthContext(element); 70 static void updatePathFromPathElement(SVGElement* element, Path& path [all...] |
/external/chromium_org/third_party/WebKit/Source/core/plugins/ |
PluginOcclusionSupport.cpp | 35 #include "core/dom/Element.h" 139 static const Element* topLayerAncestor(const Element* element) 141 while (element && !element->isInTopLayer()) 142 element = element->parentOrShadowHostElement(); 143 return element; 151 void getPluginOcclusions(Element* element, Widget* parentWidget, const IntRect& frameRect, Vector<IntRect>& occlusions 176 HTMLElement* element = frameView->frame().ownerElement(); local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
AbstractMultiset.java | 59 @Override public boolean contains(@Nullable Object element) { 60 return count(element) > 0; 68 public int count(Object element) { 70 if (Objects.equal(entry.getElement(), element)) { 79 @Override public boolean add(@Nullable E element) { 80 add(element, 1); 85 public int add(E element, int occurrences) { 89 @Override public boolean remove(Object element) { 90 return remove(element, 1) > 0; 94 public int remove(Object element, int occurrences) [all...] |
/external/chromium/testing/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 73 template <typename E> // E is the element type. 105 // Gets the first element of the queue, or NULL if the queue is empty. 109 // Gets the last element of the queue, or NULL if the queue is empty 144 E* element = new E(old_head->element()); local [all...] |