Searched refs:currentIndex (Results 1 - 25 of 81) sorted by relevance

1234

/external/proguard/src/proguard/
H A DWordReader.java44 private int currentIndex; field in class:WordReader
138 while (currentIndex < currentLineLength &&
139 Character.isWhitespace(currentLine.charAt(currentIndex)))
141 currentIndex++;
145 if (currentIndex < currentLineLength &&
146 isComment(currentLine.charAt(currentIndex)))
148 currentIndex = currentLineLength;
153 while (currentLine == null || currentIndex == currentLineLength)
164 currentIndex = 0;
165 while (currentIndex < currentLineLengt
[all...]
/external/hamcrest/src/org/hamcrest/internal/
H A DArrayIterator.java8 private int currentIndex = 0; field in class:ArrayIterator
18 return currentIndex < Array.getLength(array);
22 return Array.get(array, currentIndex++);
/external/apache-http/src/org/apache/http/message/
H A DBasicListHeaderIterator.java66 protected int currentIndex; field in class:BasicListHeaderIterator
99 this.currentIndex = findNext(-1);
148 return (this.currentIndex >= 0);
162 final int current = this.currentIndex;
168 this.currentIndex = findNext(current);
199 this.currentIndex--; // adjust for the removed element
H A DBasicHeaderIterator.java66 protected int currentIndex; field in class:BasicHeaderIterator
92 this.currentIndex = findNext(-1);
135 return (this.currentIndex >= 0);
149 final int current = this.currentIndex;
154 this.currentIndex = findNext(current);
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DCollectionIndexCache.h156 unsigned currentIndex = cachedNodeIndex(); local
157 ASSERT(currentIndex > index);
160 bool firstIsCloser = index < currentIndex - index;
170 NodeType* currentNode = collection.traverseBackwardToOffset(index, *cachedNode(), currentIndex);
172 setCachedNode(currentNode, currentIndex);
180 unsigned currentIndex = cachedNodeIndex();
181 ASSERT(currentIndex < index);
184 bool lastIsCloser = isCachedNodeCountValid() && cachedNodeCount() - index < index - currentIndex;
195 NodeType* currentNode = collection.traverseForwardToOffset(index, *cachedNode(), currentIndex);
198 setCachedNodeCount(currentIndex
[all...]
H A DCollectionItemsCache.h94 unsigned currentIndex = 0; local
98 currentNode = collection.traverseForwardToOffset(currentIndex + 1, *currentNode, currentIndex);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/
H A DAnnotationsDirectory.java213 private int currentIndex; field in class:AnnotationsDirectory.AnnotationsDirectoryImpl.AnnotationIteratorImpl
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/chromium_org/third_party/skia/platform_tools/nacl/src/
H A Dnacl_debugger.cpp113 int currentIndex = fDebugger.index(); local
114 if (currentIndex > 1) {
115 fDebugger.setIndex(currentIndex - 1);
123 int currentIndex = fDebugger.index(); local
124 if (currentIndex < fDebugger.getSize() -1) {
125 fDebugger.setIndex(currentIndex + 1);
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/prefixmapper/
H A DPhonePrefixMap.java153 int currentIndex = numOfEntries - 1;
161 currentIndex = binarySearch(0, currentIndex, phonePrefix);
162 if (currentIndex < 0) {
165 int currentPrefix = phonePrefixMapStorage.getPrefix(currentIndex);
167 return phonePrefixMapStorage.getDescription(currentIndex);
/external/skia/platform_tools/nacl/src/
H A Dnacl_debugger.cpp113 int currentIndex = fDebugger.index(); local
114 if (currentIndex > 1) {
115 fDebugger.setIndex(currentIndex - 1);
123 int currentIndex = fDebugger.index(); local
124 if (currentIndex < fDebugger.getSize() -1) {
125 fDebugger.setIndex(currentIndex + 1);
/external/chromium_org/third_party/skia/debugger/QT/
H A DSkSettingsWidget.h44 return fVisibilityCombo.itemData(fVisibilityCombo.currentIndex()).toBool();
53 return fGLMSAACombo.itemData(fGLMSAACombo.currentIndex()).toInt();
59 int index = fFilterCombo.currentIndex();
/external/skia/debugger/QT/
H A DSkSettingsWidget.h44 return fVisibilityCombo.itemData(fVisibilityCombo.currentIndex()).toBool();
53 return fGLMSAACombo.itemData(fGLMSAACombo.currentIndex()).toInt();
59 int index = fFilterCombo.currentIndex();
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/
H A DTabModelOrderController.java60 int currentIndex = TabModelUtils.getTabIndexById(currentModel, currentId);
66 return currentIndex + 1;
70 int index = getIndexOfLastTabOpenedBy(currentId, currentIndex);
74 return currentIndex + 1;
/external/chromium_org/third_party/icu/source/common/
H A Dnormlzr.cpp35 currentIndex(0), nextIndex(0),
44 currentIndex(0), nextIndex(0),
53 currentIndex(0), nextIndex(0),
62 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex),
100 return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex;
287 currentIndex=nextIndex=text->setToStart();
294 currentIndex=nextIndex=text->getIndex();
313 currentIndex=nextIndex=text->setToEnd();
334 return currentIndex;
[all...]
H A Dulist.c30 int32_t currentIndex; member in struct:UList
52 newList->currentIndex = -1;
66 list->currentIndex = 0;
118 list->currentIndex++;
155 list->currentIndex++;
171 list->currentIndex = 0;
/external/icu/icu4c/source/common/
H A Dnormlzr.cpp35 currentIndex(0), nextIndex(0),
44 currentIndex(0), nextIndex(0),
53 currentIndex(0), nextIndex(0),
62 currentIndex(copy.currentIndex), nextIndex(copy.nextIndex),
100 return text->hashCode() + fUMode + fOptions + buffer.hashCode() + bufferPos + currentIndex + nextIndex;
287 currentIndex=nextIndex=text->setToStart();
294 currentIndex=nextIndex=text->getIndex();
313 currentIndex=nextIndex=text->setToEnd();
334 return currentIndex;
[all...]
H A Dulist.c30 int32_t currentIndex; member in struct:UList
52 newList->currentIndex = -1;
66 list->currentIndex = 0;
118 list->currentIndex++;
155 list->currentIndex++;
171 list->currentIndex = 0;
/external/chromium_org/third_party/icu/source/tools/gensprep/
H A 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;
274 limitIndex = currentIndex;
282 trieWord = currentIndex << 2;
316 if(currentIndex+value->length+1 > _SPREP_MAX_INDEX_VALUE){
318 currentIndex+value->length, _SPREP_MAX_INDEX_VALUE);
326 mappingData[currentIndex++] = (uint16_t) mappingLength;
329 uprv_memmove(mappingData+currentIndex, value->mapping, value->length*U_SIZEOF_UCHAR);
330 currentIndex += value->length;
331 if (currentIndex > mappingDataCapacit
[all...]
/external/icu/icu4c/source/tools/gensprep/
H A 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;
274 limitIndex = currentIndex;
282 trieWord = currentIndex << 2;
316 if(currentIndex+value->length+1 > _SPREP_MAX_INDEX_VALUE){
318 currentIndex+value->length, _SPREP_MAX_INDEX_VALUE);
326 mappingData[currentIndex++] = (uint16_t) mappingLength;
329 uprv_memmove(mappingData+currentIndex, value->mapping, value->length*U_SIZEOF_UCHAR);
330 currentIndex += value->length;
331 if (currentIndex > mappingDataCapacit
[all...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
H A DPath.java92 int currentIndex = 0;
95 if (index == -1 || index == currentIndex) {
98 currentIndex++;
/external/chromium_org/chrome/browser/resources/ntp4/
H A Dpage_switcher.js54 var currentIndex = ntp.getCardSlider().currentCard;
56 if (nextCardIndex == currentIndex) {
61 var currentDot = dots[currentIndex];
/external/chromium_org/third_party/skia/src/pdf/
H A DSkPDFCatalog.cpp81 uint32_t currentIndex = pos; local
82 if (fCatalog[currentIndex].fObjNumAssigned) {
83 return currentIndex + 1;
92 if (fCatalog[currentIndex].fOnFirstPage) {
103 if (objNum - 1 != currentIndex) {
104 SkTSwap(fCatalog[objNum - 1], fCatalog[currentIndex]);
/external/chromium_org/v8/test/promises-aplus/lib/
H A 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/skia/src/pdf/
H A DSkPDFCatalog.cpp81 uint32_t currentIndex = pos; local
82 if (fCatalog[currentIndex].fObjNumAssigned) {
83 return currentIndex + 1;
92 if (fCatalog[currentIndex].fOnFirstPage) {
103 if (objNum - 1 != currentIndex) {
104 SkTSwap(fCatalog[objNum - 1], fCatalog[currentIndex]);
/external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/
H A DAndroidPathRenderer.cpp103 int currentIndex = 0; local
109 copyVertex(&buffer[currentIndex++], &perimeter[srcAindex]);
111 copyVertex(&buffer[currentIndex++], &perimeter[srcBindex]);
121 int currentIndex = 0; local
138 Vertex::set(&buffer[currentIndex++],
142 Vertex::set(&buffer[currentIndex++],
152 copyVertex(&buffer[currentIndex++], &buffer[0]);
153 copyVertex(&buffer[currentIndex++], &buffer[1]);
160 int currentIndex = 0; local
178 Vertex::set(&buffer[currentIndex
212 int currentIndex = 0; local
[all...]

Completed in 8561 milliseconds

1234