Home
last modified time | relevance | path

Searched refs:currentIndex (Results 1 – 25 of 44) 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/icu4c/common/
Dnormlzr.cpp35 currentIndex(0), nextIndex(0), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
44 currentIndex(0), nextIndex(0), in Normalizer()
53 currentIndex(0), nextIndex(0), in Normalizer()
62 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex), in Normalizer()
100 …return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextI… in hashCode()
287 currentIndex=nextIndex=text->setToStart(); in reset()
294 currentIndex=nextIndex=text->getIndex(); in setIndexOnly()
313 currentIndex=nextIndex=text->setToEnd(); in last()
334 return currentIndex; in getIndex()
475 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.c155 static int16_t currentIndex = 0; /* the current index into the data trie */ variable
269 indexes[_SPREP_NORM_CORRECTNS_LAST_UNI_VERSION+mappingLength] = currentIndex; in storeMappingData()
274 limitIndex = currentIndex; in storeMappingData()
282 trieWord = currentIndex << 2; in storeMappingData()
316 if(currentIndex+value->length+1 > _SPREP_MAX_INDEX_VALUE){ in storeMappingData()
318 currentIndex+value->length, _SPREP_MAX_INDEX_VALUE); in storeMappingData()
326 mappingData[currentIndex++] = (uint16_t) mappingLength; in storeMappingData()
329 … uprv_memmove(mappingData+currentIndex, value->mapping, value->length*U_SIZEOF_UCHAR); in storeMappingData()
330 currentIndex += value->length; in storeMappingData()
331 if (currentIndex > mappingDataCapacity) { in storeMappingData()
[all …]
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
DAreaCodeMap.java152 int currentIndex = numOfEntries - 1; in lookup() local
160 currentIndex = binarySearch(0, currentIndex, phonePrefix); in lookup()
161 if (currentIndex < 0) { in lookup()
164 int currentPrefix = areaCodeMapStorage.getPrefix(currentIndex); in lookup()
166 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/hamcrest/src/org/hamcrest/internal/
DArrayIterator.java8 private int currentIndex = 0; field in ArrayIterator
18 return currentIndex < Array.getLength(array); in hasNext()
22 return Array.get(array, currentIndex++); in next()
/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/skia/src/pdf/
DSkPDFCatalog.cpp81 uint32_t currentIndex = pos; in assignObjNum() local
82 if (fCatalog[currentIndex].fObjNumAssigned) { in assignObjNum()
83 return currentIndex + 1; in assignObjNum()
92 if (fCatalog[currentIndex].fOnFirstPage) { in assignObjNum()
103 if (objNum - 1 != currentIndex) { in assignObjNum()
104 SkTSwap(fCatalog[objNum - 1], fCatalog[currentIndex]); in assignObjNum()
/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/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
DPath.java92 int currentIndex = 0; in getPaths() local
95 if (index == -1 || index == currentIndex) { in getPaths()
98 currentIndex++; in getPaths()
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DTexturesGenerator.cpp120 int currentIndex = mRequestedOperations.size() - 1; in popNext() local
136 currentIndex = i; in popNext()
146 mRequestedOperations.remove(currentIndex); in popNext()
/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/v8/src/
Dstring.js628 var currentIndex = 0;
637 result.push(SubString(subject, currentIndex, length));
643 result.push(SubString(subject, currentIndex, length));
649 if (startIndex === endIndex && endIndex === currentIndex) {
654 if (currentIndex + 1 == startMatch) {
655 result.push(%_StringCharAt(subject, currentIndex));
657 result.push(%_SubString(subject, currentIndex, startMatch));
678 startIndex = currentIndex = endIndex;
/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()

12