/external/webkit/SunSpider/tests/parse-only/ |
D | prototype-1.6.0.3.js | 1513 function $(element) { argument 1519 if (Object.isString(element)) 1520 element = document.getElementById(element); 1521 return Element.extend(element); 1558 var element = this.Element; 1571 Object.extend(this.Element, element || { }); 1572 if (element) this.Element.prototype = element.prototype; 1578 visible: function(element) { argument 1579 return $(element).style.display != 'none'; 1582 toggle: function(element) { argument [all …]
|
D | concat-jquery-mootools-prototype.js | 2133 // We're going to inject a fake input element with a specified name 5750 var el = $.element(elements[i], !options.cash); 5786 return $.element(this.createElement(tag)).set(props); 5837 return (id) ? $.element(id, nocash) : null; 5840 $.element = function(el, nocash){ function 5850 if (obj.toElement) return $.element(obj.toElement(doc), nocash); 5913 var walk = function(element, walk, start, match, all, nocash){ argument 5914 var el = element[start || walk]; 5942 before: function(context, element){ argument 5943 if (element.parentNode) element.parentNode.insertBefore(context, element); [all …]
|
/external/webkit/WebCore/dom/ |
D | SelectElement.cpp | 72 void SelectElement::selectAll(SelectElementData& data, Element* element) in selectAll() argument 75 if (!element->renderer() || !data.multiple()) in selectAll() 79 saveLastSelection(data, element); in selectAll() 82 setActiveSelectionAnchorIndex(data, element, nextSelectableListIndex(data, element, -1)); in selectAll() 83 setActiveSelectionEndIndex(data, previousSelectableListIndex(data, element, -1)); in selectAll() 85 updateListBoxSelection(data, element, false); in selectAll() 86 listBoxOnChange(data, element); in selectAll() 89 void SelectElement::saveLastSelection(SelectElementData& data, Element* element) in saveLastSelection() argument 92 data.setLastOnChangeIndex(selectedIndex(data, element)); in saveLastSelection() 99 const Vector<Element*>& items = data.listItems(element); in saveLastSelection() [all …]
|
D | OptionElement.cpp | 40 void OptionElement::setSelectedState(OptionElementData& data, Element* element, bool selected) in setSelectedState() argument 46 element->setNeedsStyleRecalc(); in setSelectedState() 49 int OptionElement::optionIndex(SelectElement* selectElement, const Element* element) in optionIndex() argument 62 if (items[i] == element) in optionIndex() 70 …ring OptionElement::collectOptionLabelOrText(const OptionElementData& data, const Element* element) in collectOptionLabelOrText() argument 72 Document* document = element->document(); in collectOptionLabelOrText() 79 text = collectOptionInnerText(element); in collectOptionLabelOrText() 83 String OptionElement::collectOptionInnerText(const Element* element) in collectOptionInnerText() argument 86 Node* n = element->firstChild(); in collectOptionInnerText() 93 n = n->traverseNextSibling(element); in collectOptionInnerText() [all …]
|
D | InputElement.cpp | 55 …utElement::dispatchFocusEvent(InputElementData& data, InputElement* inputElement, Element* element) in dispatchFocusEvent() argument 60 updatePlaceholderVisibility(data, inputElement, element); in dispatchFocusEvent() 62 Document* document = element->document(); in dispatchFocusEvent() 67 …putElement::dispatchBlurEvent(InputElementData& data, InputElement* inputElement, Element* element) in dispatchBlurEvent() argument 72 Document* document = element->document(); in dispatchBlurEvent() 77 updatePlaceholderVisibility(data, inputElement, element); in dispatchBlurEvent() 82 frame->textFieldDidEndEditing(element); in dispatchBlurEvent() 85 …rVisibility(InputElementData& data, InputElement* inputElement, Element* element, bool placeholder… in updatePlaceholderVisibility() argument 88 Document* document = element->document(); in updatePlaceholderVisibility() 92 && document->focusedNode() != element in updatePlaceholderVisibility() [all …]
|
D | OptionGroupElement.cpp | 36 OptionGroupElement* toOptionGroupElement(Element* element) in toOptionGroupElement() argument 38 if (element->isHTMLElement() && element->hasTagName(HTMLNames::optgroupTag)) in toOptionGroupElement() 39 return static_cast<HTMLOptGroupElement*>(element); in toOptionGroupElement() 42 if (element->isWMLElement() && element->hasTagName(WMLNames::optgroupTag)) in toOptionGroupElement() 43 return static_cast<WMLOptGroupElement*>(element); in toOptionGroupElement() 49 bool isOptionGroupElement(Element* element) in isOptionGroupElement() argument 51 return element->hasLocalName(HTMLNames::optgroupTag) in isOptionGroupElement() 53 || element->hasLocalName(WMLNames::optgroupTag) in isOptionGroupElement()
|
D | CheckedRadioButtons.cpp | 28 void CheckedRadioButtons::addButton(HTMLFormControlElement* element) in addButton() argument 31 if (!element->isRadioButton()) in addButton() 35 if (element->name().isEmpty()) in addButton() 38 HTMLInputElement* inputElement = static_cast<HTMLInputElement*>(element); in addButton() 47 …pair<NameToInputMap::iterator, bool> result = m_nameToCheckedRadioButtonMap->add(element->name().i… in addButton() 67 void CheckedRadioButtons::removeButton(HTMLFormControlElement* element) in removeButton() argument 69 if (element->name().isEmpty() || !m_nameToCheckedRadioButtonMap) in removeButton() 72 NameToInputMap::iterator it = m_nameToCheckedRadioButtonMap->find(element->name().impl()); in removeButton() 73 if (it == m_nameToCheckedRadioButtonMap->end() || it->second != element) in removeButton() 76 InputElement* inputElement = toInputElement(element); in removeButton() [all …]
|
/external/webkit/WebCore/inspector/front-end/ |
D | treeoutline.js | 223 TreeOutline.prototype._rememberTreeElement = function(element) argument 225 if (!this._knownTreeElements[element.identifier]) 226 this._knownTreeElements[element.identifier] = []; 229 var elements = this._knownTreeElements[element.identifier]; 230 if (elements.indexOf(element) !== -1) 234 elements.push(element); 237 TreeOutline.prototype._forgetTreeElement = function(element) argument 239 if (this._knownTreeElements[element.identifier]) 240 this._knownTreeElements[element.identifier].remove(element, true); 585 var element = event.currentTarget; [all …]
|
D | DOMStorageDataGrid.js | 49 var element = this._editingNode._element.children[column]; 50 …WebInspector.startEditing(element, this._editingCommitted.bind(this), this._editingCancelled.bind(… 51 window.getSelection().setBaseAndExtent(element, 0, element, 1); 56 var element = event.target.enclosingNodeOrSelfWithNodeName("td"); 57 if (!element) 73 …WebInspector.startEditing(element, this._editingCommitted.bind(this), this._editingCancelled.bind(… 74 window.getSelection().setBaseAndExtent(element, 0, element, 1); 77 _editingCommitted: function(element, newText, oldText, context, moveDirection) argument 79 var columnIdentifier = (element.hasStyleClass("0-column") ? 0 : 1); 116 this._editingCancelled(element); [all …]
|
D | SourceFrame.js | 26 WebInspector.SourceFrame = function(element, addBreakpointDelegate) argument 34 this.element = element || document.createElement("iframe"); 35 this.element.addStyleClass("source-view-frame"); 36 this.element.setAttribute("viewsource", "true"); 38 this.element.addEventListener("load", this._loaded.bind(this), false); 75 this.element.style.removeProperty("height"); 76 if (this.element.contentDocument) 77 this.element.contentDocument.body.removeStyleClass("webkit-height-sized-to-fit"); 85 if (!lineNumber || !this.element.contentDocument) 88 var table = this.element.contentDocument.getElementsByTagName("table")[0]; [all …]
|
D | View.js | 26 WebInspector.View = function(element) argument 28 this.element = element || document.createElement("div"); 52 if (parentElement && parentElement !== this.element.parentNode) { 54 parentElement.appendChild(this.element); 56 if (!this.element.parentNode && this.attach) 58 this.element.addStyleClass("visible"); 63 this.element.removeStyleClass("visible"); 69 if (this.element.parentNode) 70 this.element.parentNode.removeChild(this.element);
|
D | ConsoleView.js | 50 this.messagesElement.insertBefore(this.topGroup.element, this.promptElement); 71 mainElement.appendChild(this.element); 165 this.currentGroup.messagesElement.appendChild(group.element); 508 treeOutline.element.addStyleClass("outline-disclosure"); 510 treeOutline.element.addStyleClass("single-node"); 511 elem.appendChild(treeOutline.element); 516 …sSection(new WebInspector.ObjectProxy(obj), Object.describe(obj, true), null, null, true).element); 652 return this.propertiesSection.element; 654 var element = document.createElement("div"); 655 element.message = this; [all …]
|
/external/icu4c/i18n/ |
D | ucol_elm.cpp | 41 static uint32_t uprv_uca_processContraction(CntTable *contractions, UCAElements *element, uint32_t … 46 UCAElements *element = (UCAElements *)e.pointer; in prefixLookupHash() local 50 uprv_memcpy(buf, element->cPoints, element->cSize*sizeof(UChar)); in prefixLookupHash() 51 buf[element->cSize] = 0; in prefixLookupHash() 779 UCAElements *element = NULL; in uprv_uca_unsafeCPAddCCNZ() local 783 element = (UCAElements *)e->value.pointer; in uprv_uca_unsafeCPAddCCNZ() 787 NFCbufLen = unorm_normalize(element->cPoints, element->cSize, UNORM_NFC, 0, in uprv_uca_unsafeCPAddCCNZ() 799 UCAElements *element, UErrorCode *status) in uprv_uca_addPrefix() argument 808 UChar *oldCP = element->cPoints; in uprv_uca_addPrefix() 809 uint32_t oldCPSize = element->cSize; in uprv_uca_addPrefix() [all …]
|
D | ucol_cnt.cpp | 351 uprv_cnttab_changeLastCE(CntTable *table, uint32_t element, uint32_t value, UErrorCode *status) { in uprv_cnttab_changeLastCE() argument 352 element &= 0xFFFFFF; in uprv_cnttab_changeLastCE() 359 if((element == 0xFFFFFF) || (tbl = table->elements[element]) == NULL) { in uprv_cnttab_changeLastCE() 365 return(constructContractCE(table->currentTag, element)); in uprv_cnttab_changeLastCE() 371 uprv_cnttab_insertContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, U… in uprv_cnttab_insertContraction() argument 378 element &= 0xFFFFFF; in uprv_cnttab_insertContraction() 380 if((element == 0xFFFFFF) || (tbl = table->elements[element]) == NULL) { in uprv_cnttab_insertContraction() 381 tbl = addATableElement(table, &element, status); in uprv_cnttab_insertContraction() 404 return(constructContractCE(table->currentTag, element)); in uprv_cnttab_insertContraction() 410 uprv_cnttab_addContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErr… in uprv_cnttab_addContraction() argument [all …]
|
/external/icu4c/tools/genuca/ |
D | genuca.cpp | 175 static void addNewInverse(UCAElements *element, UErrorCode *status) { in addNewInverse() argument 179 if(VERBOSE && isContinuation(element->CEs[1])) { in addNewInverse() 183 inverseTable[inversePos][0] = element->CEs[0]; in addNewInverse() 184 if(element->noOfCEs > 1 && isContinuation(element->CEs[1])) { in addNewInverse() 185 inverseTable[inversePos][1] = element->CEs[1]; in addNewInverse() 189 if(element->cSize < 2) { in addNewInverse() 190 inverseTable[inversePos][2] = element->cPoints[0]; in addNewInverse() 192 inverseTable[inversePos][2] = ((element->cSize+1) << UCOL_INV_SHIFTVALUE) | sContPos; in addNewInverse() 193 memcpy(stringContinue+sContPos, element->cPoints, element->cSize*sizeof(UChar)); in addNewInverse() 194 sContPos += element->cSize+1; in addNewInverse() [all …]
|
/external/tesseract/ccutil/ |
D | memry.cpp | 174 MEMUNION *element; //current element in alloc_struct() local 202 element = (MEMUNION *) new_struct_block (); in alloc_struct() 203 if (element == NULL) { in alloc_struct() 208 element->ptr = struct_blocks[struct_count]; in alloc_struct() 209 struct_blocks[struct_count] = element; in alloc_struct() 211 element++; //free cell in alloc_struct() 212 returnelement = element; //going to return 1st in alloc_struct() 217 element->ptr = element + struct_count + 1; in alloc_struct() 218 element += struct_count + 1; in alloc_struct() 220 element->ptr = NULL; //end of freelist in alloc_struct() [all …]
|
/external/skia/src/animator/ |
D | SkAnimator.cpp | 207 SkDisplayable* element; in getElement() local 208 if (fMaker->find(id, &element) == false) in getElement() 210 return (const SkDisplayable*) element; in getElement() 214 SkDisplayable* element = (SkDisplayable*) ae; in getElementType() local 215 const SkMemberInfo* info = SkDisplayType::GetMembers(fMaker, element->getType(), NULL); in getElementType() 220 const SkDisplayable* element = getElement(id); in getElementType() local 221 return getElementType(element); in getElementType() 225 SkDisplayable* element = (SkDisplayable*) ae; in getField() local 226 const SkMemberInfo* info = element->getMember(field); in getField() 231 const SkDisplayable* element = getElement(elementID); in getField() local [all …]
|
/external/webkit/WebCore/svg/ |
D | SVGLocatable.cpp | 52 SVGElement* SVGLocatable::nearestViewportElement(const SVGElement* element) in nearestViewportElement() argument 54 ASSERT(element); in nearestViewportElement() 55 for (Node* n = element->parentNode(); n && !n->isDocumentNode(); n = n->parentNode()) { in nearestViewportElement() 63 SVGElement* SVGLocatable::farthestViewportElement(const SVGElement* element) in farthestViewportElement() argument 65 ASSERT(element); in farthestViewportElement() 67 for (Node* n = element->parentNode(); n && !n->isDocumentNode(); n = n->parentNode()) { in farthestViewportElement() 74 FloatRect SVGLocatable::getBBox(const SVGElement* element) in getBBox() argument 76 element->document()->updateLayoutIgnorePendingStylesheets(); in getBBox() 79 if (!element->renderer()) in getBBox() 82 return element->renderer()->objectBoundingBox(); in getBBox() [all …]
|
/external/tesseract/include/ |
D | list.h | 59 #define L_BEGIN_LIST_FORWARD(head, element) \ argument 62 for ((element) = (head); (element); (element) = _leptvar_nextelem_) { \ 63 _leptvar_nextelem_ = (element)->next; 66 #define L_BEGIN_LIST_REVERSE(tail, element) \ argument 69 for ((element) = (tail); (element); (element) = _leptvar_prevelem_) { \ 70 _leptvar_prevelem_ = (element)->prev;
|
/external/tesseract/liblept/ |
D | list.h | 59 #define L_BEGIN_LIST_FORWARD(head, element) \ argument 62 for ((element) = (head); (element); (element) = _leptvar_nextelem_) { \ 63 _leptvar_nextelem_ = (element)->next; 66 #define L_BEGIN_LIST_REVERSE(tail, element) \ argument 69 for ((element) = (tail); (element); (element) = _leptvar_prevelem_) { \ 70 _leptvar_prevelem_ = (element)->prev;
|
/external/webkit/WebCore/manual-tests/wml/ |
D | StartTests.wml | 3 <a href="a-br-element.wml">a-br-element.wml</a><br/> 4 <a href="a-element.wml">a-element.wml</a><br/> 5 <a href="a-img-element.wml">a-img-element.wml</a><br/> 7 <a href="anchor-br-element.wml">anchor-br-element.wml</a><br/> 8 <a href="anchor-element.wml">anchor-element.wml</a><br/> 9 <a href="anchor-img-element.wml">anchor-img-element.wml</a><br/> 15 <a href="go-element.wml">go-element.wml</a><br/> 22 <a href="select-element.wml">select-element.wml</a><br/> 24 <a href="setvar-element.wml">setvar-element.wml</a><br/>
|
/external/webkit/WebCore/inspector/ |
D | InspectorDOMAgent.cpp | 130 Element* element = static_cast<Element*>(node); in handleEvent() local 131 m_frontend->attributesUpdated(id, buildArrayForElementAttributes(element)); in handleEvent() 217 Element* element = static_cast<Element*>(node); in pushChildNodesToFrontend() local 218 ScriptArray children = buildArrayForElementChildren(element, 1); in pushChildNodesToFrontend() 266 Element* element = innerParentElement(nodeToPush); in pushNodePathToFrontend() local 267 ASSERT(element); // Node is detached or is a document itself in pushNodePathToFrontend() 270 while (element && !idForNode(element)) { in pushNodePathToFrontend() 271 path.append(element); in pushNodePathToFrontend() 272 element = innerParentElement(element); in pushNodePathToFrontend() 276 ASSERT(element); in pushNodePathToFrontend() [all …]
|
/external/webkit/WebCore/css/ |
D | CSSCursorImageValue.cpp | 48 Element* element = document->getElementById(SVGURIReference::getTarget(fragmentId)); in resourceReferencedByCursorElement() local 49 if (element && element->hasTagName(SVGNames::cursorTag)) in resourceReferencedByCursorElement() 50 return static_cast<SVGCursorElement*>(element); in resourceReferencedByCursorElement() 81 bool CSSCursorImageValue::updateIfSVGCursorIsUsed(Element* element) in updateIfSVGCursorIsUsed() argument 84 UNUSED_PARAM(element); in updateIfSVGCursorIsUsed() 86 if (!element || !element->isSVGElement()) in updateIfSVGCursorIsUsed() 93 …if (SVGCursorElement* cursorElement = resourceReferencedByCursorElement(url, element->document()))… in updateIfSVGCursorIsUsed() 100 if (cachedImageURL() != element->document()->completeURL(cursorElement->href())) in updateIfSVGCursorIsUsed() 103 SVGElement* svgElement = static_cast<SVGElement*>(element); in updateIfSVGCursorIsUsed() 129 void CSSCursorImageValue::removeReferencedElement(SVGElement* element) in removeReferencedElement() argument [all …]
|
/external/skia/src/svg/ |
D | SkSVGParser.cpp | 74 int SkSVGParser::findAttribute(SkSVGBase* element, const char* attrValue, in findAttribute() argument 77 int count = element->getAttributes(&attributes); in findAttribute() 96 SkSVGElement* element = *ptr; in getFinal() local 97 translate(element, true); in getFinal() 106 SkSVGElement* element = *ptr; in getFinal() local 107 translate(element, false); in getFinal() 184 SkSVGElement* element = fParents[parentIndex]; in onEndElement() local 185 element->onEndElement(*this); in onEndElement() 208 SkSVGElement* element = CreateElement(type, parent); in onStartElementLen() local 211 element->fParent = parent; in onStartElementLen() [all …]
|
/external/srec/portable/include/ |
D | ArrayList.h | 49 ESR_ReturnCode(*add)(struct ArrayList_t* self, void* element); 64 void *element); 73 ESR_ReturnCode(*remove)(struct ArrayList_t* self, const void* element); 101 ESR_ReturnCode(*contains)(struct ArrayList_t* self, const void* element, ESR_BOOL* exists); 120 ESR_ReturnCode(*get)(struct ArrayList_t* self, size_t index, void** element); 131 ESR_ReturnCode(*set)(struct ArrayList_t* self, size_t index, void* element); 187 PORTABLE_API ESR_ReturnCode ArrayListAdd(ArrayList* self, void* element); 205 void *element); 214 PORTABLE_API ESR_ReturnCode ArrayListRemove(ArrayList* self, void* element); 241 PORTABLE_API ESR_ReturnCode ArrayListContains(ArrayList* self, void* element, ESR_BOOL* exists); [all …]
|