Searched defs:currentIndex (Results 1 - 25 of 73) sorted by relevance

123

/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 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);
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
/external/icu/android_icu4j/src/main/java/android/icu/impl/
H A DReplaceableUCharacterIterator.java39 this.currentIndex = 0;
51 this.currentIndex = 0;
63 this.currentIndex = 0;
86 if (currentIndex < replaceable.length()) {
87 return replaceable.charAt(currentIndex);
128 * Gets the current currentIndex in text.
129 * @return current currentIndex in text.
132 return currentIndex;
136 * Returns next UTF16 character and increments the iterator's currentIndex by 1.
137 * If the resulting currentIndex i
176 setIndex(int currentIndex) argument
201 private int currentIndex; field in class:ReplaceableUCharacterIterator
[all...]
H A DStringUCharacterIterator.java87 * Gets the current currentIndex in text.
88 * @return current currentIndex in text.
96 * Returns next UTF16 character and increments the iterator's currentIndex
98 * If the resulting currentIndex is greater or equal to the text length,
99 * the currentIndex is reset to the text length and a value of DONE is
101 * @return next UTF16 character in text or DONE if the new currentIndex is
116 * currentIndex by 1.
117 * If the resulting currentIndex is less than 0, the currentIndex is reset
119 * @return next UTF16 character in text or DONE if the new currentIndex i
138 setIndex(int currentIndex) argument
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DReplaceableUCharacterIterator.java37 this.currentIndex = 0;
49 this.currentIndex = 0;
61 this.currentIndex = 0;
84 if (currentIndex < replaceable.length()) {
85 return replaceable.charAt(currentIndex);
126 * Gets the current currentIndex in text.
127 * @return current currentIndex in text.
130 return currentIndex;
134 * Returns next UTF16 character and increments the iterator's currentIndex by 1.
135 * If the resulting currentIndex i
174 setIndex(int currentIndex) argument
199 private int currentIndex; field in class:ReplaceableUCharacterIterator
[all...]
H A DStringUCharacterIterator.java85 * Gets the current currentIndex in text.
86 * @return current currentIndex in text.
94 * Returns next UTF16 character and increments the iterator's currentIndex
96 * If the resulting currentIndex is greater or equal to the text length,
97 * the currentIndex is reset to the text length and a value of DONE is
99 * @return next UTF16 character in text or DONE if the new currentIndex is
114 * currentIndex by 1.
115 * If the resulting currentIndex is less than 0, the currentIndex is reset
117 * @return next UTF16 character in text or DONE if the new currentIndex i
136 setIndex(int currentIndex) argument
[all...]
/external/icu/icu4c/source/common/unicode/
H A Dnormlzr.h762 // of the source in [currentIndex..nextIndex[ .
763 int32_t currentIndex, nextIndex; member in class:Normalizer
/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/icu/icu4c/source/common/
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/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/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/gxvalid/
H A Dgxvmorx1.c118 FT_Short currentIndex; local
136 currentIndex = (FT_Short)( glyphOffset_p->ul );
147 GXV_TRACE(( "markIndex = %d, currentIndex = %d\n",
148 markIndex, currentIndex ));
154 if ( optdata->substitutionTable_num_lookupTables < currentIndex + 1 )
156 (FT_UShort)( currentIndex + 1 );
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/
H A DVBOWithVAOPerformanceTest.java124 private void addRandomSprite (float[] vertArray, int currentIndex) { argument
134 vertArray[currentIndex++] = x;
135 vertArray[currentIndex++] = y;
136 vertArray[currentIndex++] = 0;
137 vertArray[currentIndex++] = r;
138 vertArray[currentIndex++] = g;
139 vertArray[currentIndex++] = b;
140 vertArray[currentIndex++] = a;
141 vertArray[currentIndex++] = 0;
142 vertArray[currentIndex
[all...]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DXMPIteratorImpl.java396 * @param currentIndex the current array index if an arrey is traversed
399 protected String accumulatePath(XMPNode currNode, String parentPath, int currentIndex) argument
410 segmentName = "[" + String.valueOf(currentIndex) + "]";
/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/libgdx/gdx/src/com/badlogic/gdx/utils/
H A DIntSet.java503 int nextIndex, currentIndex; field in class:IntSet.IntSetIterator
512 currentIndex = INDEX_ILLEGAL;
532 if (currentIndex == INDEX_ZERO && set.hasZeroValue) {
534 } else if (currentIndex < 0) {
536 } else if (currentIndex >= set.capacity) {
537 set.removeStashIndex(currentIndex);
538 nextIndex = currentIndex - 1;
541 set.keyTable[currentIndex] = EMPTY;
543 currentIndex = INDEX_ILLEGAL;
551 currentIndex
[all...]
H A DObjectSet.java477 int nextIndex, currentIndex; field in class:ObjectSet.ObjectSetIterator
486 currentIndex = -1;
503 if (currentIndex < 0) throw new IllegalStateException("next must be called before remove.");
504 if (currentIndex >= set.capacity) {
505 set.removeStashIndex(currentIndex);
506 nextIndex = currentIndex - 1;
509 set.keyTable[currentIndex] = null;
511 currentIndex = -1;
524 currentIndex = nextIndex;
H A DIdentityMap.java648 int nextIndex, currentIndex; field in class:IdentityMap.MapIterator
657 currentIndex = -1;
674 if (currentIndex < 0) throw new IllegalStateException("next must be called before remove.");
675 if (currentIndex >= map.capacity) {
676 map.removeStashIndex(currentIndex);
677 nextIndex = currentIndex - 1;
680 map.keyTable[currentIndex] = null;
681 map.valueTable[currentIndex] = null;
683 currentIndex = -1;
702 currentIndex
[all...]
H A DIntFloatMap.java694 int nextIndex, currentIndex; field in class:IntFloatMap.MapIterator
703 currentIndex = INDEX_ILLEGAL;
723 if (currentIndex == INDEX_ZERO && map.hasZeroValue) {
725 } else if (currentIndex < 0) {
727 } else if (currentIndex >= map.capacity) {
728 map.removeStashIndex(currentIndex);
729 nextIndex = currentIndex - 1;
732 map.keyTable[currentIndex] = EMPTY;
734 currentIndex = INDEX_ILLEGAL;
758 currentIndex
[all...]
H A DIntIntMap.java680 int nextIndex, currentIndex; field in class:IntIntMap.MapIterator
689 currentIndex = INDEX_ILLEGAL;
709 if (currentIndex == INDEX_ZERO && map.hasZeroValue) {
711 } else if (currentIndex < 0) {
713 } else if (currentIndex >= map.capacity) {
714 map.removeStashIndex(currentIndex);
715 nextIndex = currentIndex - 1;
718 map.keyTable[currentIndex] = EMPTY;
720 currentIndex = INDEX_ILLEGAL;
744 currentIndex
[all...]
H A DIntMap.java713 int nextIndex, currentIndex; field in class:IntMap.MapIterator
722 currentIndex = INDEX_ILLEGAL;
742 if (currentIndex == INDEX_ZERO && map.hasZeroValue) {
745 } else if (currentIndex < 0) {
747 } else if (currentIndex >= map.capacity) {
748 map.removeStashIndex(currentIndex);
749 nextIndex = currentIndex - 1;
752 map.keyTable[currentIndex] = EMPTY;
753 map.valueTable[currentIndex] = null;
755 currentIndex
[all...]
H A DLongMap.java705 int nextIndex, currentIndex; field in class:LongMap.MapIterator
714 currentIndex = INDEX_ILLEGAL;
734 if (currentIndex == INDEX_ZERO && map.hasZeroValue) {
737 } else if (currentIndex < 0) {
739 } else if (currentIndex >= map.capacity) {
740 map.removeStashIndex(currentIndex);
741 nextIndex = currentIndex - 1;
744 map.keyTable[currentIndex] = EMPTY;
745 map.valueTable[currentIndex] = null;
747 currentIndex
[all...]
H A DObjectFloatMap.java628 int nextIndex, currentIndex; field in class:ObjectFloatMap.MapIterator
637 currentIndex = -1;
654 if (currentIndex < 0) throw new IllegalStateException("next must be called before remove.");
655 if (currentIndex >= map.capacity) {
656 map.removeStashIndex(currentIndex);
657 nextIndex = currentIndex - 1;
660 map.keyTable[currentIndex] = null;
662 currentIndex = -1;
681 currentIndex = nextIndex;
714 currentIndex
[all...]
H A DObjectIntMap.java629 int nextIndex, currentIndex; field in class:ObjectIntMap.MapIterator
638 currentIndex = -1;
655 if (currentIndex < 0) throw new IllegalStateException("next must be called before remove.");
656 if (currentIndex >= map.capacity) {
657 map.removeStashIndex(currentIndex);
658 nextIndex = currentIndex - 1;
661 map.keyTable[currentIndex] = null;
663 currentIndex = -1;
682 currentIndex = nextIndex;
715 currentIndex
[all...]
H A DObjectMap.java674 int nextIndex, currentIndex; field in class:ObjectMap.MapIterator
683 currentIndex = -1;
700 if (currentIndex < 0) throw new IllegalStateException("next must be called before remove.");
701 if (currentIndex >= map.capacity) {
702 map.removeStashIndex(currentIndex);
703 nextIndex = currentIndex - 1;
706 map.keyTable[currentIndex] = null;
707 map.valueTable[currentIndex] = null;
709 currentIndex = -1;
728 currentIndex
[all...]

Completed in 733 milliseconds

123