/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 | 73 void SelectElement::selectAll(SelectElementData& data, Element* element) in selectAll() argument 76 if (!element->renderer() || !data.multiple()) in selectAll() 80 saveLastSelection(data, element); in selectAll() 83 setActiveSelectionAnchorIndex(data, element, nextSelectableListIndex(data, element, -1)); in selectAll() 84 setActiveSelectionEndIndex(data, previousSelectableListIndex(data, element, -1)); in selectAll() 86 updateListBoxSelection(data, element, false); in selectAll() 87 listBoxOnChange(data, element); in selectAll() 90 void SelectElement::saveLastSelection(SelectElementData& data, Element* element) in saveLastSelection() argument 93 data.setLastOnChangeIndex(selectedIndex(data, element)); in saveLastSelection() 100 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 void InputElement::dispatchFocusEvent(InputElement* inputElement, Element* element) in dispatchFocusEvent() argument 60 Document* document = element->document(); in dispatchFocusEvent() 65 void InputElement::dispatchBlurEvent(InputElement* inputElement, Element* element) in dispatchBlurEvent() argument 70 Document* document = element->document(); in dispatchBlurEvent() 78 frame->textFieldDidEndEditing(element); in dispatchBlurEvent() 81 …sAppearance(InputElementData& data, InputElement* inputElement, Element* element, bool restorePrev… in updateFocusAppearance() argument 89 …updateSelectionRange(inputElement, element, data.cachedSelectionStart(), data.cachedSelectionEnd()… in updateFocusAppearance() 91 Document* document = element->document(); in updateFocusAppearance() 96 void InputElement::updateSelectionRange(InputElement* inputElement, Element* element, int start, in… in updateSelectionRange() argument 101 element->document()->updateLayoutIgnorePendingStylesheets(); in updateSelectionRange() [all …]
|
/external/chromium/third_party/icu/source/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/icu4c/i18n/ |
D | ucol_elm.cpp | 43 static uint32_t uprv_uca_processContraction(CntTable *contractions, UCAElements *element, uint32_t … 48 UCAElements *element = (UCAElements *)e.pointer; in prefixLookupHash() local 52 uprv_memcpy(buf, element->cPoints, element->cSize*sizeof(UChar)); in prefixLookupHash() 53 buf[element->cSize] = 0; in prefixLookupHash() 797 UCAElements *element = NULL; in uprv_uca_unsafeCPAddCCNZ() local 801 element = (UCAElements *)e->value.pointer; in uprv_uca_unsafeCPAddCCNZ() 805 NFCbufLen = unorm_normalize(element->cPoints, element->cSize, UNORM_NFC, 0, in uprv_uca_unsafeCPAddCCNZ() 817 UCAElements *element, UErrorCode *status) in uprv_uca_addPrefix() argument 826 UChar *oldCP = element->cPoints; in uprv_uca_addPrefix() 827 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() 407 return(constructContractCE(table->currentTag, element)); in uprv_cnttab_insertContraction() 413 uprv_cnttab_addContraction(CntTable *table, uint32_t element, UChar codePoint, uint32_t value, UErr… in uprv_cnttab_addContraction() argument [all …]
|
/external/chromium/third_party/icu/source/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() 796 UCAElements *element = NULL; in uprv_uca_unsafeCPAddCCNZ() local 800 element = (UCAElements *)e->value.pointer; in uprv_uca_unsafeCPAddCCNZ() 804 NFCbufLen = unorm_normalize(element->cPoints, element->cSize, UNORM_NFC, 0, in uprv_uca_unsafeCPAddCCNZ() 816 UCAElements *element, UErrorCode *status) in uprv_uca_addPrefix() argument 825 UChar *oldCP = element->cPoints; in uprv_uca_addPrefix() 826 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() 407 return(constructContractCE(table->currentTag, element)); in uprv_cnttab_insertContraction() 413 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/webkit/WebKit/chromium/src/ |
D | DOMUtilitiesPrivate.cpp | 82 String nameOfInputElement(HTMLInputElement* element) in nameOfInputElement() argument 84 return WebInputElement(element).nameForAutofill(); in nameOfInputElement() 87 bool elementHasLegalLinkAttribute(const Element* element, in elementHasLegalLinkAttribute() argument 92 if (element->hasTagName(HTMLNames::imgTag) in elementHasLegalLinkAttribute() 93 || element->hasTagName(HTMLNames::scriptTag) in elementHasLegalLinkAttribute() 94 || element->hasTagName(HTMLNames::iframeTag) in elementHasLegalLinkAttribute() 95 || element->hasTagName(HTMLNames::frameTag)) in elementHasLegalLinkAttribute() 97 if (element->hasTagName(HTMLNames::inputTag)) { in elementHasLegalLinkAttribute() 99 static_cast<const HTMLInputElement*>(element); in elementHasLegalLinkAttribute() 105 if (element->hasTagName(HTMLNames::linkTag) in elementHasLegalLinkAttribute() [all …]
|
D | WebPageSerializerImpl.cpp | 129 const Element* element, SerializeDomParam* param, bool* needSkip) in preActionBeforeSerializeOpenTag() argument 138 if (element->hasTagName(HTMLNames::metaTag)) { in preActionBeforeSerializeOpenTag() 139 const HTMLMetaElement* meta = static_cast<const HTMLMetaElement*>(element); in preActionBeforeSerializeOpenTag() 147 param->skipMetaElement = element; in preActionBeforeSerializeOpenTag() 151 } else if (element->hasTagName(HTMLNames::htmlTag)) { in preActionBeforeSerializeOpenTag() 162 } else if (element->hasTagName(HTMLNames::baseTag)) { in preActionBeforeSerializeOpenTag() 194 const Element* element, SerializeDomParam* param) in postActionAfterSerializeOpenTag() argument 203 && element->hasTagName(HTMLNames::headTag)) { in postActionAfterSerializeOpenTag() 218 } else if (element->hasTagName(HTMLNames::scriptTag) in postActionAfterSerializeOpenTag() 219 || element->hasTagName(HTMLNames::styleTag)) { in postActionAfterSerializeOpenTag() [all …]
|
/external/webkit/WebCore/inspector/front-end/ |
D | treeoutline.js | 234 TreeOutline.prototype._rememberTreeElement = function(element) argument 236 if (!this._knownTreeElements[element.identifier]) 237 this._knownTreeElements[element.identifier] = []; 240 var elements = this._knownTreeElements[element.identifier]; 241 if (elements.indexOf(element) !== -1) 245 elements.push(element); 248 TreeOutline.prototype._forgetTreeElement = function(element) argument 250 if (this._knownTreeElements[element.identifier]) 251 this._knownTreeElements[element.identifier].remove(element, true); 600 var element = event.currentTarget; [all …]
|
D | TextViewer.js | 37 this.element = document.createElement("div"); 38 this.element.className = "text-editor monospace"; 39 this.element.tabIndex = 0; 41 this.element.addEventListener("scroll", this._scroll.bind(this), false); 49 this.element.appendChild(this._linesContainerElement); 72 chunk.element.scrollIntoViewIfNeeded(); 123 this._linesContainerElement.appendChild(chunk.element); 149 this._linesContainerElement.insertBefore(prefixChunk.element, oldChunk.element); 155 this._linesContainerElement.insertBefore(lineChunk.element, oldChunk.element); 161 this._linesContainerElement.insertBefore(suffixChunk.element, oldChunk.element); [all …]
|
D | StatusBarButton.js | 33 this.element = document.createElement("button"); 34 this.element.className = className + " status-bar-item"; 35 this.element.addEventListener("click", this._clicked.bind(this), false); 39 this.element.appendChild(this.glyph); 43 this.element.appendChild(this.glyphShadow); 75 this.element.disabled = x; 88 this.element.title = x; 103 this.element.addStyleClass("toggled-on"); 105 this.element.removeStyleClass("toggled-on"); 108 this.element.removeStyleClass("toggled-" + this._state); [all …]
|
D | Drawer.js | 69 x.attach(this.element, this.viewStatusBar); 77 var height = this._savedHeight || this.element.offsetHeight; 104 {element: this.element, end: {height: height}}, property 105 {element: document.getElementById("main"), end: {bottom: height}}, property 106 …{element: document.getElementById("main-status-bar"), start: {"padding-left": anchoredItems.offset… property 107 …{element: document.getElementById("other-drawer-status-bar-items"), start: {opacity: 0}, end: {opa… property 140 this._savedHeight = this.element.offsetHeight; 142 …if (this.element === WebInspector.currentFocusElement || this.element.isAncestor(WebInspector.curr… 156 {element: document.getElementById("main"), end: {bottom: 0}}, property 157 …{element: document.getElementById("main-status-bar"), start: {"padding-left": 0}, end: {"padding-l… property [all …]
|
/external/skia/src/animator/ |
D | SkAnimator.cpp | 196 SkDisplayable* element; in getElement() local 197 if (fMaker->find(id, &element) == false) in getElement() 199 return (const SkDisplayable*) element; in getElement() 203 SkDisplayable* element = (SkDisplayable*) ae; in getElementType() local 204 const SkMemberInfo* info = SkDisplayType::GetMembers(fMaker, element->getType(), NULL); in getElementType() 209 const SkDisplayable* element = getElement(id); in getElementType() local 210 return getElementType(element); in getElementType() 214 SkDisplayable* element = (SkDisplayable*) ae; in getField() local 215 const SkMemberInfo* info = element->getMember(field); in getField() 220 const SkDisplayable* element = getElement(elementID); in getField() local [all …]
|
/external/guava/src/com/google/common/collect/ |
D | ConcurrentHashMultiset.java | 116 @Override public int count(@Nullable Object element) { in count() argument 118 return unbox(countMap.get(element)); in count() 161 E element = entry.getElement(); in snapshot() local 163 list.add(element); in snapshot() 181 @Override public int add(E element, int occurrences) { in add() argument 183 return count(element); in add() 188 int current = count(element); in add() 190 if (countMap.putIfAbsent(element, occurrences) == null) { in add() 198 if (countMap.replace(element, current, next)) { in add() 216 @Override public int remove(@Nullable Object element, int occurrences) { in remove() argument [all …]
|
D | Multisets.java | 104 @Override public boolean add(E element) { in add() argument 108 @Override public int add(E element, int occurences) { in add() argument 116 @Override public boolean remove(Object element) { in remove() argument 120 @Override public int remove(Object element, int occurrences) { in remove() argument 136 @Override public int setCount(E element, int count) { in setCount() argument 140 @Override public boolean setCount(E element, int oldCount, int newCount) { in setCount() argument 201 public int count(Object element) { 202 return delegate.contains(element) ? 1 : 0; 205 public int add(E element, int occurrences) { 209 public int remove(Object element, int occurrences) { [all …]
|
D | SingletonImmutableSet.java | 35 final transient E element; field in SingletonImmutableSet 42 SingletonImmutableSet(E element) { in SingletonImmutableSet() argument 43 this.element = Preconditions.checkNotNull(element); in SingletonImmutableSet() 46 SingletonImmutableSet(E element, int hashCode) { in SingletonImmutableSet() argument 48 this.element = element; in SingletonImmutableSet() 61 return element.equals(target); in contains() 65 return Iterators.singletonIterator(element); in iterator() 69 return new Object[] { element }; in toArray() 81 objectArray[0] = element; in toArray() 91 return that.size() == 1 && element.equals(that.iterator().next()); in equals() [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | encoder.py | 127 for element in value: 128 result += compute_value_size(element) 134 for element in value: 135 result += compute_value_size(element) 156 for element in value: 157 result += compute_value_size(modify_value(element)) 163 for element in value: 164 result += compute_value_size(modify_value(element)) 231 for element in value: 232 l = local_len(element.encode('utf-8')) [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/webkit/WebCore/bindings/generic/ |
D | BindingElement.h | 55 void BindingElement<Binding>::setAttribute(State<Binding>* state, Element* element, const AtomicStr… in setAttribute() argument 57 ASSERT(element); in setAttribute() 59 if (!BindingSecurity<Binding>::allowSettingSrcToJavascriptURL(state, element, name, value)) in setAttribute() 62 element->setAttribute(name, value, ec); in setAttribute() 66 RefPtr<Attr> BindingElement<Binding>::setAttributeNode(State<Binding>* state, Element* element, Att… in setAttributeNode() argument 68 ASSERT(element); in setAttributeNode() 71 …if (!BindingSecurity<Binding>::allowSettingSrcToJavascriptURL(state, element, newAttr->name(), new… in setAttributeNode() 74 return element->setAttributeNode(newAttr, ec); in setAttributeNode() 78 void BindingElement<Binding>::setAttributeNS(State<Binding>* state, Element* element, const AtomicS… in setAttributeNS() argument 80 ASSERT(element); in setAttributeNS() [all …]
|
/external/webkit/WebCore/css/ |
D | CSSSelector.cpp | 161 bool element = false; // pseudo-element in extractPseudoType() local 169 element = true; in extractPseudoType() 177 element = true; in extractPseudoType() 183 element = true; in extractPseudoType() 210 element = true; in extractPseudoType() 215 element = true; in extractPseudoType() 226 element = true; in extractPseudoType() 230 element = true; in extractPseudoType() 242 element = true; in extractPseudoType() 249 element = true; in extractPseudoType() [all …]
|