Home
last modified time | relevance | path

Searched refs:currentIndex (Results 1 – 25 of 42) sorted by relevance

12

/external/proguard/src/proguard/
DWordReader.java44 private int currentIndex; field in WordReader
134 currentIndex < currentLineLength && in nextWord()
135 Character.isWhitespace(currentLine.charAt(currentIndex))) in nextWord()
137 currentIndex++; in nextWord()
141 while (currentLine == null || currentIndex == currentLineLength) in nextWord()
167 currentIndex = 0; in nextWord()
168 while (currentIndex < currentLineLength && in nextWord()
169 Character.isWhitespace(currentLine.charAt(currentIndex))) in nextWord()
171 currentIndex++; in nextWord()
176 int startIndex = currentIndex; in nextWord()
[all …]
/external/webkit/Source/WebKit2/UIProcess/cf/
DWebBackForwardListCF.cpp60 int currentIndex = m_current; in createCFDictionaryRepresentation() local
65 if (i <= static_cast<size_t>(currentIndex)) in createCFDictionaryRepresentation()
66 currentIndex--; in createCFDictionaryRepresentation()
81 …inPtr<CFNumberRef> currentIndexNumber(AdoptCF, CFNumberCreate(0, kCFNumberIntType, &currentIndex)); in createCFDictionaryRepresentation()
97 CFIndex currentIndex; in restoreFromCFDictionaryRepresentation() local
98 if (!CFNumberGetValue(cfIndex, kCFNumberCFIndexType, &currentIndex)) { in restoreFromCFDictionaryRepresentation()
110 if (currentIndex != static_cast<CFIndex>(NoCurrentItemIndex) && currentIndex >= size) { in restoreFromCFDictionaryRepresentation()
111 …tion contains an invalid current index (%ld) for the number of entries (%ld)", currentIndex, size); in restoreFromCFDictionaryRepresentation()
115 if (currentIndex == static_cast<CFIndex>(NoCurrentItemIndex) && size) { in restoreFromCFDictionaryRepresentation()
156 m_current = currentIndex; in restoreFromCFDictionaryRepresentation()
/external/apache-http/src/org/apache/http/message/
DBasicListHeaderIterator.java61 protected int currentIndex; field in BasicListHeaderIterator
94 this.currentIndex = findNext(-1); in BasicListHeaderIterator()
143 return (this.currentIndex >= 0); in hasNext()
157 final int current = this.currentIndex; in nextHeader()
163 this.currentIndex = findNext(current); in nextHeader()
194 this.currentIndex--; // adjust for the removed element in remove()
DBasicHeaderIterator.java61 protected int currentIndex; field in BasicHeaderIterator
87 this.currentIndex = findNext(-1); in BasicHeaderIterator()
130 return (this.currentIndex >= 0); in hasNext()
144 final int current = this.currentIndex; in nextHeader()
149 this.currentIndex = findNext(current); in nextHeader()
/external/collada/src/dae/
DdaeUtils.cpp69 size_t currentIndex = 0, nextTokenIndex = 0; in tokenize() local
70 while (currentIndex < s.length() && in tokenize()
71 (nextTokenIndex = s.find_first_of(separators, currentIndex)) != string::npos) { in tokenize()
72 if ((nextTokenIndex - currentIndex) > 0) in tokenize()
73 tokens.push_back(s.substr(currentIndex, nextTokenIndex-currentIndex)); in tokenize()
76 currentIndex = nextTokenIndex+1; in tokenize()
79 if (currentIndex < s.length()) in tokenize()
80 tokens.push_back(s.substr(currentIndex, s.length()-currentIndex)); in tokenize()
/external/icu4c/common/
Dnormlzr.cpp34 currentIndex(0), nextIndex(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
43 currentIndex(0), nextIndex(0), in Normalizer()
52 currentIndex(0), nextIndex(0), in Normalizer()
61 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex), in Normalizer()
101 …return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextI… in hashCode()
288 currentIndex=nextIndex=text->setToStart(); in reset()
295 currentIndex=nextIndex=text->getIndex(); in setIndexOnly()
314 currentIndex=nextIndex=text->setToEnd(); in last()
335 return currentIndex; in getIndex()
476 currentIndex=nextIndex; in nextNormalize()
[all …]
Dulist.c30 int32_t currentIndex; member
52 newList->currentIndex = -1; in ulist_createEmptyList()
66 list->currentIndex = 0; in ulist_addFirstItem()
118 list->currentIndex++; in ulist_addItemBeginList()
155 list->currentIndex++; in ulist_getNext()
171 list->currentIndex = 0; in ulist_resetList()
/external/icu4c/tools/gensprep/
Dstore.c154 static int16_t currentIndex = 0; /* the current index into the data trie */ variable
271 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION+mappingLength] = currentIndex; in storeMappingData()
276 limitIndex = currentIndex; in storeMappingData()
284 trieWord = currentIndex << 2; in storeMappingData()
318 if(currentIndex+value->length+1 > _SPREP_MAX_INDEX_VALUE){ in storeMappingData()
319 … "Too many entries in the mapping table %i. Maximum allowed is %i\n", currentIndex+value->length, … in storeMappingData()
324 if(currentIndex+value->length+1 <= mappingDataCapacity){ in storeMappingData()
328 mappingData[currentIndex++] = (uint16_t) mappingLength; in storeMappingData()
331 … uprv_memmove(mappingData+currentIndex, value->mapping, value->length*U_SIZEOF_UCHAR); in storeMappingData()
332 currentIndex += value->length; in storeMappingData()
[all …]
/external/skia/src/pdf/
DSkPDFCatalog.cpp74 uint32_t currentIndex = pos; in assignObjNum() local
75 if (fCatalog[currentIndex].fObjNumAssigned) in assignObjNum()
76 return currentIndex + 1; in assignObjNum()
83 if (fCatalog[currentIndex].fOnFirstPage) { in assignObjNum()
94 if (objNum - 1 != currentIndex) in assignObjNum()
95 SkTSwap(fCatalog[objNum - 1], fCatalog[currentIndex]); in assignObjNum()
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
DAreaCodeMap.java149 int currentIndex = numOfEntries - 1; in lookup() local
157 currentIndex = binarySearch(0, currentIndex, phonePrefix); in lookup()
158 if (currentIndex < 0) { in lookup()
161 int currentPrefix = areaCodeMapStorage.getPrefix(currentIndex); in lookup()
163 return areaCodeMapStorage.getDescription(currentIndex); in lookup()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DAbstractQueueTest.java42 private int currentIndex = -1; in iterator()
45 return size > 0 && currentIndex < size; in iterator()
52 currentIndex++; in iterator()
53 return (E) elements[currentIndex]; in iterator()
57 if (-1 == currentIndex) { in iterator()
60 for (int i = currentIndex; i < size - 1; i++) { in iterator()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DQtFallbackWebPopup.cpp183 TBrCtlSelectOptionData data(*itemStr, i == currentIndex(), false, itemIsEnabled(i)); in showS60BrowserDialog()
197 newIndex = currentIndex(); in showS60BrowserDialog()
202 if (currentIndex() != newIndex && newIndex >= 0) in showS60BrowserDialog()
233 int currentIndex = -1; in populate() local
252 currentIndex = i; in populate()
257 if (currentIndex >= 0) in populate()
258 m_combo->setCurrentIndex(currentIndex); in populate()
/external/webkit/Source/WebKit2/Shared/
DSessionState.h41 SessionState(const BackForwardListItemVector&, uint32_t currentIndex);
44 uint32_t currentIndex() const { return m_currentIndex; } in currentIndex() function
DSessionState.cpp54 SessionState::SessionState(const BackForwardListItemVector& list, uint32_t currentIndex) in SessionState() argument
56 , m_currentIndex(currentIndex) in SessionState()
/external/webkit/Source/WebCore/platform/graphics/android/
DTexturesGenerator.cpp141 int currentIndex = mRequestedOperations.size() - 1; in popNext() local
156 currentIndex = i; in popNext()
159 mRequestedOperations.remove(currentIndex); in popNext()
/external/v8/src/
Dstring.js558 var currentIndex = 0;
567 result.push(SubString(subject, currentIndex, length));
573 result.push(SubString(subject, currentIndex, length));
579 if (startIndex === endIndex && endIndex === currentIndex) {
584 if (currentIndex + 1 == startMatch) {
585 result.push(%_StringCharAt(subject, currentIndex));
587 result.push(%_SubString(subject, currentIndex, startMatch));
608 startIndex = currentIndex = endIndex;
/external/webkit/Tools/DumpRenderTree/chromium/
DTestNavigationController.cpp97 int currentIndex = currentEntryIndex(); in reload() local
101 if (currentIndex == -1) in reload()
106 m_pendingEntryIndex = currentIndex; in reload()
/external/webkit/Source/WebKit/qt/Api/
Dqwebhistory.cpp530 int currentIndex; in operator >>() local
531 source >> count >> currentIndex; in operator >>()
545 …)->mainFrame()->loader()->history()->setCurrentItem(history.d->lst->entries()[currentIndex].get()); in operator >>()
546 history.goToItem(history.itemAt(currentIndex)); in operator >>()
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DNodeSequence.java426 int currentIndex = m_next-1; in getCurrentNode() local
428 if((currentIndex >= 0) && (currentIndex < vec.size())) in getCurrentNode()
429 return vec.elementAt(currentIndex); in getCurrentNode()
/external/webkit/Source/WebCore/html/
DHTMLFormCollection.cpp82 unsigned currentIndex = info()->position; in item() local
87 if (index == currentIndex) { in item()
94 currentIndex++; in item()
/external/webkit/Source/WebKit2/UIProcess/
DWebBackForwardList.h73 uint32_t currentIndex() { return m_current; } in currentIndex() function
/external/webkit/Source/JavaScriptCore/jit/
DJITPropertyAccess.cpp791 … stubInfo, PolymorphicAccessStructureList* polymorphicStructures, int currentIndex, Structure* str… in privateCompileGetByIdSelfList() argument
825 CodeLocationLabel lastProtoBegin = polymorphicStructures->list[currentIndex - 1].stubRoutine; in privateCompileGetByIdSelfList()
836 …polymorphicStructures->list[currentIndex].set(*m_globalData, m_codeBlock->ownerExecutable(), entry… in privateCompileGetByIdSelfList()
844 …o* stubInfo, PolymorphicAccessStructureList* prototypeStructures, int currentIndex, Structure* str… in privateCompileGetByIdProtoList() argument
895 CodeLocationLabel lastProtoBegin = prototypeStructures->list[currentIndex - 1].stubRoutine; in privateCompileGetByIdProtoList()
903 …prototypeStructures->list[currentIndex].set(*m_globalData, m_codeBlock->ownerExecutable(), entryLa… in privateCompileGetByIdProtoList()
911 …o* stubInfo, PolymorphicAccessStructureList* prototypeStructures, int currentIndex, Structure* str… in privateCompileGetByIdChainList() argument
961 CodeLocationLabel lastProtoBegin = prototypeStructures->list[currentIndex - 1].stubRoutine; in privateCompileGetByIdChainList()
971 …prototypeStructures->list[currentIndex].set(callFrame->globalData(), m_codeBlock->ownerExecutable(… in privateCompileGetByIdChainList()
DJITPropertyAccess32_64.cpp821 … stubInfo, PolymorphicAccessStructureList* polymorphicStructures, int currentIndex, Structure* str… in privateCompileGetByIdSelfList() argument
855 CodeLocationLabel lastProtoBegin = polymorphicStructures->list[currentIndex - 1].stubRoutine; in privateCompileGetByIdSelfList()
866 …polymorphicStructures->list[currentIndex].set(*m_globalData, m_codeBlock->ownerExecutable(), entry… in privateCompileGetByIdSelfList()
874 …o* stubInfo, PolymorphicAccessStructureList* prototypeStructures, int currentIndex, Structure* str… in privateCompileGetByIdProtoList() argument
924 CodeLocationLabel lastProtoBegin = prototypeStructures->list[currentIndex - 1].stubRoutine; in privateCompileGetByIdProtoList()
933 …prototypeStructures->list[currentIndex].set(callFrame->globalData(), m_codeBlock->ownerExecutable(… in privateCompileGetByIdProtoList()
941 …o* stubInfo, PolymorphicAccessStructureList* prototypeStructures, int currentIndex, Structure* str… in privateCompileGetByIdChainList() argument
991 CodeLocationLabel lastProtoBegin = prototypeStructures->list[currentIndex - 1].stubRoutine; in privateCompileGetByIdChainList()
1001 …prototypeStructures->list[currentIndex].set(callFrame->globalData(), m_codeBlock->ownerExecutable(… in privateCompileGetByIdChainList()
/external/webkit/Source/WebCore/platform/graphics/
DMediaPlayer.cpp280 size_t currentIndex = engines.find(current); in nextMediaEngine() local
281 if (currentIndex == WTF::notFound || currentIndex == engines.size()) in nextMediaEngine()
284 return engines[currentIndex + 1]; in nextMediaEngine()
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp120 eapChanged(eapSelect->currentIndex()); in authChanged()
188 int auth = authSelect->currentIndex(); in addNetwork()
265 int encr = encrSelect->currentIndex(); in addNetwork()
624 eapChanged(eapSelect->currentIndex()); in paramsFromConfig()

12