Home
last modified time | relevance | path

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

12

/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/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
DVBOWithVAOPerformanceTest.java124 private void addRandomSprite (float[] vertArray, int currentIndex) { in addRandomSprite() argument
134 vertArray[currentIndex++] = x; in addRandomSprite()
135 vertArray[currentIndex++] = y; in addRandomSprite()
136 vertArray[currentIndex++] = 0; in addRandomSprite()
137 vertArray[currentIndex++] = r; in addRandomSprite()
138 vertArray[currentIndex++] = g; in addRandomSprite()
139 vertArray[currentIndex++] = b; in addRandomSprite()
140 vertArray[currentIndex++] = a; in addRandomSprite()
141 vertArray[currentIndex++] = 0; in addRandomSprite()
142 vertArray[currentIndex++] = 1; in addRandomSprite()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DReplaceableUCharacterIterator.java39 this.currentIndex = 0; in ReplaceableUCharacterIterator()
51 this.currentIndex = 0; in ReplaceableUCharacterIterator()
63 this.currentIndex = 0; in ReplaceableUCharacterIterator()
86 if (currentIndex < replaceable.length()) { in current()
87 return replaceable.charAt(currentIndex); in current()
132 return currentIndex; in getIndex()
144 if (currentIndex < replaceable.length()) { in next()
145 return replaceable.charAt(currentIndex++); in next()
160 if (currentIndex > 0) { in previous()
161 return replaceable.charAt(--currentIndex); in previous()
[all …]
DStringUCharacterIterator.java138 public void setIndex(int currentIndex) throws IndexOutOfBoundsException in setIndex() argument
140 if (currentIndex < 0 || currentIndex > m_text_.length()) { in setIndex()
143 m_currentIndex_ = currentIndex; in setIndex()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DReplaceableUCharacterIterator.java37 this.currentIndex = 0; in ReplaceableUCharacterIterator()
49 this.currentIndex = 0; in ReplaceableUCharacterIterator()
61 this.currentIndex = 0; in ReplaceableUCharacterIterator()
84 if (currentIndex < replaceable.length()) { in current()
85 return replaceable.charAt(currentIndex); in current()
130 return currentIndex; in getIndex()
142 if (currentIndex < replaceable.length()) { in next()
143 return replaceable.charAt(currentIndex++); in next()
158 if (currentIndex > 0) { in previous()
159 return replaceable.charAt(--currentIndex); in previous()
[all …]
DStringUCharacterIterator.java136 public void setIndex(int currentIndex) throws IndexOutOfBoundsException in setIndex() argument
138 if (currentIndex < 0 || currentIndex > m_text_.length()) { in setIndex()
141 m_currentIndex_ = currentIndex; in setIndex()
/external/apache-http/src/org/apache/http/message/
DBasicListHeaderIterator.java66 protected int currentIndex; field in BasicListHeaderIterator
99 this.currentIndex = findNext(-1); in BasicListHeaderIterator()
148 return (this.currentIndex >= 0); in hasNext()
162 final int current = this.currentIndex; in nextHeader()
168 this.currentIndex = findNext(current); in nextHeader()
199 this.currentIndex--; // adjust for the removed element in remove()
DBasicHeaderIterator.java66 protected int currentIndex; field in BasicHeaderIterator
92 this.currentIndex = findNext(-1); in BasicHeaderIterator()
135 return (this.currentIndex >= 0); in hasNext()
149 final int current = this.currentIndex; in nextHeader()
154 this.currentIndex = findNext(current); in nextHeader()
/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/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/internal/prefixmapper/src/com/google/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/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/v8/test/promises-aplus/lib/
Dmocha.js165 this.currentIndex = 0;
186 this.hasRun = this.currentIndex === this.cases.length;
193 this.cases[this.currentIndex].Run(this, function() {
194 ++this.currentIndex;
214 this.hasRun = this.currentIndex === this.cases.length;
217 ++this.currentIndex;
/external/libgdx/gdx/src/com/badlogic/gdx/utils/
DIntSet.java503 int nextIndex, currentIndex; field in IntSet.IntSetIterator
512 currentIndex = INDEX_ILLEGAL; in reset()
532 if (currentIndex == INDEX_ZERO && set.hasZeroValue) { in remove()
534 } else if (currentIndex < 0) { in remove()
536 } else if (currentIndex >= set.capacity) { in remove()
537 set.removeStashIndex(currentIndex); in remove()
538 nextIndex = currentIndex - 1; in remove()
541 set.keyTable[currentIndex] = EMPTY; in remove()
543 currentIndex = INDEX_ILLEGAL; in remove()
551 currentIndex = nextIndex; in next()
DIntMap.java713 int nextIndex, currentIndex; field in IntMap.MapIterator
722 currentIndex = INDEX_ILLEGAL; in reset()
742 if (currentIndex == INDEX_ZERO && map.hasZeroValue) { in remove()
745 } else if (currentIndex < 0) { in remove()
747 } else if (currentIndex >= map.capacity) { in remove()
748 map.removeStashIndex(currentIndex); in remove()
749 nextIndex = currentIndex - 1; in remove()
752 map.keyTable[currentIndex] = EMPTY; in remove()
753 map.valueTable[currentIndex] = null; in remove()
755 currentIndex = INDEX_ILLEGAL; in remove()
[all …]
DLongMap.java705 int nextIndex, currentIndex; field in LongMap.MapIterator
714 currentIndex = INDEX_ILLEGAL; in reset()
734 if (currentIndex == INDEX_ZERO && map.hasZeroValue) { in remove()
737 } else if (currentIndex < 0) { in remove()
739 } else if (currentIndex >= map.capacity) { in remove()
740 map.removeStashIndex(currentIndex); in remove()
741 nextIndex = currentIndex - 1; in remove()
744 map.keyTable[currentIndex] = EMPTY; in remove()
745 map.valueTable[currentIndex] = null; in remove()
747 currentIndex = INDEX_ILLEGAL; in remove()
[all …]
DIntFloatMap.java694 int nextIndex, currentIndex; field in IntFloatMap.MapIterator
703 currentIndex = INDEX_ILLEGAL; in reset()
723 if (currentIndex == INDEX_ZERO && map.hasZeroValue) { in remove()
725 } else if (currentIndex < 0) { in remove()
727 } else if (currentIndex >= map.capacity) { in remove()
728 map.removeStashIndex(currentIndex); in remove()
729 nextIndex = currentIndex - 1; in remove()
732 map.keyTable[currentIndex] = EMPTY; in remove()
734 currentIndex = INDEX_ILLEGAL; in remove()
758 currentIndex = nextIndex; in next()
[all …]
DIntIntMap.java680 int nextIndex, currentIndex; field in IntIntMap.MapIterator
689 currentIndex = INDEX_ILLEGAL; in reset()
709 if (currentIndex == INDEX_ZERO && map.hasZeroValue) { in remove()
711 } else if (currentIndex < 0) { in remove()
713 } else if (currentIndex >= map.capacity) { in remove()
714 map.removeStashIndex(currentIndex); in remove()
715 nextIndex = currentIndex - 1; in remove()
718 map.keyTable[currentIndex] = EMPTY; in remove()
720 currentIndex = INDEX_ILLEGAL; in remove()
744 currentIndex = nextIndex; in next()
[all …]
DObjectSet.java477 int nextIndex, currentIndex; field in ObjectSet.ObjectSetIterator
486 currentIndex = -1; in reset()
503 if (currentIndex < 0) throw new IllegalStateException("next must be called before remove."); in remove()
504 if (currentIndex >= set.capacity) { in remove()
505 set.removeStashIndex(currentIndex); in remove()
506 nextIndex = currentIndex - 1; in remove()
509 set.keyTable[currentIndex] = null; in remove()
511 currentIndex = -1; in remove()
524 currentIndex = nextIndex; in next()
DIdentityMap.java648 int nextIndex, currentIndex; field in IdentityMap.MapIterator
657 currentIndex = -1; in reset()
674 if (currentIndex < 0) throw new IllegalStateException("next must be called before remove."); in remove()
675 if (currentIndex >= map.capacity) { in remove()
676 map.removeStashIndex(currentIndex); in remove()
677 nextIndex = currentIndex - 1; in remove()
680 map.keyTable[currentIndex] = null; in remove()
681 map.valueTable[currentIndex] = null; in remove()
683 currentIndex = -1; in remove()
702 currentIndex = nextIndex; in next()
[all …]
DObjectMap.java674 int nextIndex, currentIndex; field in ObjectMap.MapIterator
683 currentIndex = -1; in reset()
700 if (currentIndex < 0) throw new IllegalStateException("next must be called before remove."); in remove()
701 if (currentIndex >= map.capacity) { in remove()
702 map.removeStashIndex(currentIndex); in remove()
703 nextIndex = currentIndex - 1; in remove()
706 map.keyTable[currentIndex] = null; in remove()
707 map.valueTable[currentIndex] = null; in remove()
709 currentIndex = -1; in remove()
728 currentIndex = nextIndex; in next()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/gxvalid/
Dgxvmorx1.c118 FT_Short currentIndex; in gxv_morx_subtable_type1_entry_validate() local
136 currentIndex = (FT_Short)( glyphOffset_p->ul ); in gxv_morx_subtable_type1_entry_validate()
148 markIndex, currentIndex )); in gxv_morx_subtable_type1_entry_validate()
154 if ( optdata->substitutionTable_num_lookupTables < currentIndex + 1 ) in gxv_morx_subtable_type1_entry_validate()
156 (FT_UShort)( currentIndex + 1 ); in gxv_morx_subtable_type1_entry_validate()
/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()

12