/external/icu4c/common/ |
H A D | bmpset.cpp | 110 int32_t listIndex=0; local 114 start=list[listIndex++]; 115 if(listIndex<listLength) { 116 limit=list[listIndex++]; 136 start=list[listIndex++]; 137 if(listIndex<listLength) { 138 limit=list[listIndex++]; 182 start=list[listIndex++]; 183 if(listIndex<listLength) { 184 limit=list[listIndex [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
H A D | AutoFillPopupMenuClient.cpp | 67 WebString AutoFillPopupMenuClient::getSuggestion(unsigned listIndex) const 69 int index = convertListIndexToInternalIndex(listIndex); 77 WebString AutoFillPopupMenuClient::getLabel(unsigned listIndex) const 79 int index = convertListIndexToInternalIndex(listIndex); 87 WebString AutoFillPopupMenuClient::getIcon(unsigned listIndex) const 89 int index = convertListIndexToInternalIndex(listIndex); 97 void AutoFillPopupMenuClient::removeSuggestionAtIndex(unsigned listIndex) argument 99 if (!canRemoveSuggestionAtIndex(listIndex)) 102 int index = convertListIndexToInternalIndex(listIndex); 116 bool AutoFillPopupMenuClient::canRemoveSuggestionAtIndex(unsigned listIndex) argument 124 valueChanged(unsigned listIndex, bool fireEvents) argument 142 selectionChanged(unsigned listIndex, bool fireEvents) argument 241 setTextFromItem(unsigned listIndex) argument [all...] |
/external/webkit/Source/WebCore/html/ |
H A D | HTMLSelectElement.cpp | 129 int listIndex = optionToListIndex(0); local 130 ASSERT(listIndex >= 0); 131 if (listIndex < 0) 133 HTMLOptionElement* option = static_cast<HTMLOptionElement*>(listItems()[listIndex]); 134 return !option->disabled() && !listIndex && option->value().isEmpty(); 148 void HTMLSelectElement::listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow) argument 151 setSelectedIndexByUser(listToOptionIndex(listIndex), true, fireOnChangeNow); 153 updateSelectedState(m_data, this, listIndex, allowMultiplySelections, shift); 192 int listIndex = optionToListIndex(optionIndex); local 193 if (listIndex < [all...] |
/external/webkit/Source/WebCore/rendering/ |
H A D | RenderMenuList.cpp | 310 void RenderMenuList::valueChanged(unsigned listIndex, bool fireOnChange) argument 319 select->setSelectedIndexByUser(select->listToOptionIndex(listIndex), true, fireOnChange); 323 void RenderMenuList::listBoxSelectItem(int listIndex, bool allowMultiplySelections, bool shift, bool fireOnChangeNow) argument 326 select->listBoxSelectItem(listIndex, allowMultiplySelections, shift, fireOnChangeNow); 348 String RenderMenuList::itemText(unsigned listIndex) const 352 if (listIndex >= listItems.size()) 354 Element* element = listItems[listIndex]; 372 String RenderMenuList::itemAccessibilityText(unsigned listIndex) const 377 if (listIndex >= listItems.size()) 380 return listItems[listIndex] 560 setTextFromItem(unsigned listIndex) argument [all...] |
H A D | RenderListBox.cpp | 358 void RenderListBox::paintItemForeground(PaintInfo& paintInfo, int tx, int ty, int listIndex) argument 362 Element* element = listItems[listIndex]; 394 IntRect r = itemBoundingBoxRect(tx, ty, listIndex); 409 void RenderListBox::paintItemBackground(PaintInfo& paintInfo, int tx, int ty, int listIndex) argument 413 Element* element = listItems[listIndex]; 428 IntRect itemRect = itemBoundingBoxRect(tx, ty, listIndex); 586 void RenderListBox::valueChanged(unsigned listIndex) argument 590 select->setSelectedIndex(select->listToOptionIndex(listIndex));
|
H A D | RenderTextControlSingleLine.cpp | 882 void RenderTextControlSingleLine::valueChanged(unsigned listIndex, bool fireEvents) argument 885 ASSERT(static_cast<int>(listIndex) < listSize()); 887 if (static_cast<int>(listIndex) == (listSize() - 1)) { 898 input->setValue(itemText(listIndex)); 905 String RenderTextControlSingleLine::itemText(unsigned listIndex) const 909 ASSERT(!listIndex); 912 if (!listIndex) 914 if (itemIsSeparator(listIndex)) 916 if (static_cast<int>(listIndex) == (size - 1)) 918 return m_recentSearches[listIndex 1018 setTextFromItem(unsigned listIndex) argument [all...] |
/external/webkit/Source/WebCore/wml/ |
H A D | WMLSelectElement.cpp | 164 int WMLSelectElement::listToOptionIndex(int listIndex) const 166 return SelectElement::listToOptionIndex(m_data, this, listIndex); 371 int listIndex = optionToListIndex(optionIndex - 1); local 372 ASSERT(listIndex >= 0); 373 ASSERT(listIndex < (int) items.size()); 375 if (OptionElement* optionElement = toOptionElement(items[listIndex])) 503 int listIndex = optionToListIndex((*it) - 1); local 504 ASSERT(listIndex >= 0); 505 ASSERT(listIndex < (int) items.size()); 507 if (OptionElement* optionElement = toOptionElement(items[listIndex])) { [all...] |
/external/webkit/Source/WebKit/chromium/tests/ |
H A D | PopupMenuTest.cpp | 58 virtual void valueChanged(unsigned listIndex, bool fireEvents = true) argument 60 m_selectIndex = listIndex; 65 virtual String itemText(unsigned listIndex) const 68 str.append(String::number(listIndex)); 73 virtual String itemToolTip(unsigned listIndex) const { return itemText(listIndex); } 74 virtual String itemAccessibilityText(unsigned listIndex) const { return itemText(listIndex); } 75 virtual bool itemIsEnabled(unsigned listIndex) const { return true; } 76 virtual PopupMenuStyle itemStyle(unsigned listIndex) cons 94 setTextFromItem(unsigned listIndex) argument [all...] |
/external/webkit/Source/WebCore/dom/ |
H A D | SelectElement.cpp | 78 // Returns the 1st valid item |skip| items from |listIndex| in direction |direction| if there is one. 79 // Otherwise, it returns the valid item closest to that boundary which is past |listIndex| if there is one. 80 // Otherwise, it returns |listIndex|. 82 static int nextValidIndex(const Vector<Element*>& listItems, int listIndex, SkipDirection direction, int skip) argument 85 int lastGoodIndex = listIndex; 87 for (listIndex += direction; listIndex >= 0 && listIndex < size; listIndex += direction) { 89 if (!listItems[listIndex] 367 int listIndex = optionToListIndex(data, element, optionIndex); local 425 listToOptionIndex(const SelectElementData& data, const Element* element, int listIndex) argument 600 int listIndex = optionToListIndex(data, element, selectedIndex(data, element)); local 678 int listIndex = optionToListIndex(data, element, selectedIndex(data, element)); local 707 updateSelectedState(SelectElementData& data, Element* element, int listIndex, bool multi, bool shift) argument 766 int listIndex = toRenderListBox(element->renderer())->listIndexAtOffset(localOffset.x(), localOffset.y()); local 1011 int listIndex = optionToListIndex(data, element, index); local [all...] |
/external/webkit/Source/JavaScriptCore/jit/ |
H A D | JITStubs.cpp | 1629 int listIndex = 1; local 1637 listIndex = stubInfo->u.getByIdSelfList.listSize; 1639 if (listIndex < POLYMORPHIC_LIST_CACHE_SIZE) { 1641 JIT::compileGetByIdSelfList(callFrame->scopeChain()->globalData, codeBlock, stubInfo, polymorphicStructureList, listIndex, baseValue.asCell()->structure(), ident, slot, slot.cachedOffset()); 1643 if (listIndex == (POLYMORPHIC_LIST_CACHE_SIZE - 1)) 1651 static PolymorphicAccessStructureList* getPolymorphicAccessStructureListSlot(JSGlobalData& globalData, ScriptExecutable* owner, StructureStubInfo* stubInfo, int& listIndex) argument 1654 listIndex = 1; 1669 listIndex = stubInfo->u.getByIdProtoList.listSize; 1670 if (listIndex < POLYMORPHIC_LIST_CACHE_SIZE) 1677 ASSERT(listIndex < 1750 int listIndex; local 1760 int listIndex; local [all...] |