Home
last modified time | relevance | path

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

123

/external/proguard/src/proguard/
DWordReader.java44 private int currentIndex; field in WordReader
138 while (currentIndex < currentLineLength && in nextWord()
139 Character.isWhitespace(currentLine.charAt(currentIndex))) in nextWord()
141 currentIndex++; in nextWord()
145 if (currentIndex < currentLineLength && in nextWord()
146 isComment(currentLine.charAt(currentIndex))) in nextWord()
148 currentIndex = currentLineLength; in nextWord()
153 while (currentLine == null || currentIndex == currentLineLength) in nextWord()
164 currentIndex = 0; in nextWord()
165 while (currentIndex < currentLineLength && in nextWord()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/html/
DCollectionIndexCache.h157 unsigned currentIndex = cachedNodeIndex(); in nodeBeforeCachedNode() local
158 ASSERT(currentIndex > index); in nodeBeforeCachedNode()
161 bool firstIsCloser = index < currentIndex - index; in nodeBeforeCachedNode()
171 NodeType* currentNode = collection.traverseBackwardToOffset(index, *cachedNode(), currentIndex); in nodeBeforeCachedNode()
173 setCachedNode(currentNode, currentIndex); in nodeBeforeCachedNode()
181 unsigned currentIndex = cachedNodeIndex(); in nodeAfterCachedNode() local
182 ASSERT(currentIndex < index); in nodeAfterCachedNode()
185 … bool lastIsCloser = isCachedNodeCountValid() && cachedNodeCount() - index < index - currentIndex; in nodeAfterCachedNode()
196 NodeType* currentNode = collection.traverseForwardToOffset(index, *cachedNode(), currentIndex); in nodeAfterCachedNode()
199 setCachedNodeCount(currentIndex + 1); in nodeAfterCachedNode()
[all …]
/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/chromium_org/third_party/icu/source/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/icu/icu4c/source/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/chromium_org/third_party/icu/source/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/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
DAnnotationsDirectory.java213 private int currentIndex;
220 this.currentIndex = 0;
224 while (currentItemIndex < itemIndex && (currentIndex+1) < size) {
225 currentIndex++;
226 currentItemIndex = dexFile.readSmallUint(startOffset + (currentIndex*8));
230 return dexFile.readSmallUint(startOffset + (currentIndex*8)+4);
237 this.currentIndex = 0;
/external/icu/icu4c/source/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/prefixmapper/
DPhonePrefixMap.java153 int currentIndex = numOfEntries - 1; in lookup() local
161 currentIndex = binarySearch(0, currentIndex, phonePrefix); in lookup()
162 if (currentIndex < 0) { in lookup()
165 int currentPrefix = phonePrefixMapStorage.getPrefix(currentIndex); in lookup()
167 return phonePrefixMapStorage.getDescription(currentIndex); in lookup()
/external/skia/platform_tools/nacl/src/
Dnacl_debugger.cpp113 int currentIndex = fDebugger.index(); in HandleMessage() local
114 if (currentIndex > 1) { in HandleMessage()
115 fDebugger.setIndex(currentIndex - 1); in HandleMessage()
123 int currentIndex = fDebugger.index(); in HandleMessage() local
124 if (currentIndex < fDebugger.getSize() -1) { in HandleMessage()
125 fDebugger.setIndex(currentIndex + 1); in HandleMessage()
/external/chromium_org/third_party/skia/platform_tools/nacl/src/
Dnacl_debugger.cpp113 int currentIndex = fDebugger.index(); in HandleMessage() local
114 if (currentIndex > 1) { in HandleMessage()
115 fDebugger.setIndex(currentIndex - 1); in HandleMessage()
123 int currentIndex = fDebugger.index(); in HandleMessage() local
124 if (currentIndex < fDebugger.getSize() -1) { in HandleMessage()
125 fDebugger.setIndex(currentIndex + 1); in HandleMessage()
/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/chromium_org/third_party/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/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/chromium_org/v8/test/promises-aplus/lib/
Dmocha.js174 this.currentIndex = 0;
195 this.hasRun = this.currentIndex === this.cases.length;
202 this.cases[this.currentIndex].Run(this, function() {
203 ++this.currentIndex;
223 this.hasRun = this.currentIndex === this.cases.length;
226 ++this.currentIndex;
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/
DTabModelOrderController.java60 int currentIndex = TabModelUtils.getTabIndexById(currentModel, currentId); in determineInsertionIndex() local
66 return currentIndex + 1; in determineInsertionIndex()
70 int index = getIndexOfLastTabOpenedBy(currentId, currentIndex); in determineInsertionIndex()
74 return currentIndex + 1; in determineInsertionIndex()
/external/skia/experimental/AndroidPathRenderer/
DAndroidPathRenderer.cpp103 int currentIndex = 0; in getFillVerticesFromPerimeter() local
109 copyVertex(&buffer[currentIndex++], &perimeter[srcAindex]); in getFillVerticesFromPerimeter()
111 copyVertex(&buffer[currentIndex++], &perimeter[srcBindex]); in getFillVerticesFromPerimeter()
121 int currentIndex = 0; in getStrokeVerticesFromPerimeter() local
138 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromPerimeter()
142 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromPerimeter()
152 copyVertex(&buffer[currentIndex++], &buffer[0]); in getStrokeVerticesFromPerimeter()
153 copyVertex(&buffer[currentIndex++], &buffer[1]); in getStrokeVerticesFromPerimeter()
160 int currentIndex = 0; in getStrokeVerticesFromUnclosedVertices() local
178 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromUnclosedVertices()
[all …]
/external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/
DAndroidPathRenderer.cpp103 int currentIndex = 0; in getFillVerticesFromPerimeter() local
109 copyVertex(&buffer[currentIndex++], &perimeter[srcAindex]); in getFillVerticesFromPerimeter()
111 copyVertex(&buffer[currentIndex++], &perimeter[srcBindex]); in getFillVerticesFromPerimeter()
121 int currentIndex = 0; in getStrokeVerticesFromPerimeter() local
138 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromPerimeter()
142 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromPerimeter()
152 copyVertex(&buffer[currentIndex++], &buffer[0]); in getStrokeVerticesFromPerimeter()
153 copyVertex(&buffer[currentIndex++], &buffer[1]); in getStrokeVerticesFromPerimeter()
160 int currentIndex = 0; in getStrokeVerticesFromUnclosedVertices() local
178 Vertex::set(&buffer[currentIndex++], in getStrokeVerticesFromUnclosedVertices()
[all …]
/external/lzma/CS/7zip/Common/
DCommandLineParser.cs224 int currentIndex = -1; in ParseSubCharsCommand()
232 if (currentIndex >= 0) in ParseSubCharsCommand()
236 currentIndex = j; in ParseSubCharsCommand()
240 if (currentIndex == -1 && !charsSet.EmptyAllowed) in ParseSubCharsCommand()
242 indices.Add(currentIndex); in ParseSubCharsCommand()
/external/chromium_org/third_party/skia/debugger/QT/
DSkSettingsWidget.h44 return fVisibilityCombo.itemData(fVisibilityCombo.currentIndex()).toBool(); in getVisibilityFilter()
53 return fGLMSAACombo.itemData(fGLMSAACombo.currentIndex()).toInt(); in getGLSampleCount()
59 int index = fFilterCombo.currentIndex(); in getFilterOverride()
/external/skia/debugger/QT/
DSkSettingsWidget.h44 return fVisibilityCombo.itemData(fVisibilityCombo.currentIndex()).toBool(); in getVisibilityFilter()
53 return fGLMSAACombo.itemData(fGLMSAACombo.currentIndex()).toInt(); in getGLSampleCount()
59 int index = fFilterCombo.currentIndex(); in getFilterOverride()
/external/chromium_org/chrome/browser/resources/ntp4/
Dpage_switcher.js54 var currentIndex = ntp.getCardSlider().currentCard;
56 if (nextCardIndex == currentIndex) {
61 var currentDot = dots[currentIndex];

123